2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.5.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.5.3:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class
for DLL loading
912 --enable-dynamicloader use
(new
) wxDynamicLibrary class
913 --enable-exceptions build exception
-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual
file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP
/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf
()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support
in wxProtocol
941 --enable-protocol-ftp FTP support
in wxProtocol
942 --enable-protocol-file FILE support
in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use
help subsystem
946 --enable-mshtmlhelp use MS HTML Help
(win32
)
947 --enable-html use wxHTML sub
-library
948 --enable-htmlhelp use wxHTML
-based help
949 --enable-xrc use XRC resources sub
-library
950 --enable-constraints use layout
-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl
(Mac
)
958 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
959 --enable-prologio not available
; see contrib
960 --enable-resources not available
; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag
'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-display use wxDisplay class
976 --enable-gauge use wxGauge class
977 --enable-grid use wxGrid class
978 --enable-imaglist use wxImageList class
979 --enable-listbook use wxListbook class
980 --enable-listbox use wxListBox class
981 --enable-listctrl use wxListCtrl class
982 --enable-notebook use wxNotebook class
983 --enable-radiobox use wxRadioBox class
984 --enable-radiobtn use wxRadioButton class
985 --enable-sash use wxSashWindow class
986 --enable-scrollbar use wxScrollBar class and scrollable windows
987 --enable-slider use wxSlider class
988 --enable-spinbtn use wxSpinButton class
989 --enable-spinctrl use wxSpinCtrl class
990 --enable-splitter use wxSplitterWindow class
991 --enable-statbmp use wxStaticBitmap class
992 --enable-statbox use wxStaticBox class
993 --enable-statline use wxStaticLine class
994 --enable-stattext use wxStaticText class
995 --enable-statusbar use wxStatusBar class
996 --enable-tabdialog use wxTabControl class
997 --enable-textctrl use wxTextCtrl class
998 --enable-togglebtn use wxToggleButton class
999 --enable-toolbar use wxToolBar class
1000 --enable-tbarnative use native wxToolBar class
1001 --enable-tbarsmpl use wxToolBarSimple class
1002 --enable-treectrl use wxTreeCtrl class
1003 --enable-tipwindow use wxTipWindow class
1004 --enable-popupwin use wxPopUpWindow class
1005 --enable-commondlg use all common dialogs
1006 --enable-choicedlg use wxChoiceDialog
1007 --enable-coldlg use wxColourDialog
1008 --enable-filedlg use wxFileDialog
1009 --enable-finddlg use wxFindReplaceDialog
1010 --enable-fontdlg use wxFontDialog
1011 --enable-dirdlg use wxDirDialog
1012 --enable-msgdlg use wxMessageDialog
1013 --enable-numberdlg use wxNumberEntryDialog
1014 --enable-splash use wxSplashScreen
1015 --enable-textdlg use wxTextDialog
1016 --enable-tipdlg use startup tips
1017 --enable-progressdlg use wxProgressDialog
1018 --enable-wizarddlg use wxWizard
1019 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1020 --enable-miniframe use wxMiniFrame class
1021 --enable-tooltips use wxToolTip class
1022 --enable-splines use spline drawing code
1023 --enable-validators use wxValidator and derived classes
1024 --enable-busyinfo use wxBusyInfo
1025 --enable-joystick use wxJoystick
(Linux only
)
1026 --enable-metafiles use wxMetaFile
(Windows only
)
1027 --enable-dragimage use wxDragImage
1028 --enable-accessibility enable accessibility support
1029 --enable-palette use wxPalette class
1030 --enable-image use wxImage class
1031 --enable-gif use gif images
(GIF
file format
)
1032 --enable-pcx use pcx images
(PCX
file format
)
1033 --enable-iff use iff images
(IFF
file format
)
1034 --enable-pnm use pnm images
(PNM
file format
)
1035 --enable-xpm use xpm images
(XPM
file format
)
1036 --enable-icocur use Windows ICO and CUR formats
1037 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1038 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1039 --disable-largefile omit support
for large files
1040 --disable-gtktest do not try to compile and run a
test GTK
+ program
1041 --disable-gtktest Do not try to compile and run a
test GTK program
1042 --disable-sdltest Do not try to compile and run a
test SDL program
1043 --enable-omf use OMF object format
(OS
/2)
1044 --disable-precomp-headers
1045 don
't use precompiled headers even if compiler can
1048 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1049 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1051 --with-motif use Motif/Lesstif
1052 --with-mac use Mac OS X
1053 --with-cocoa use Cocoa
1054 --with-wine use Wine
1055 --with-msw use MS-Windows
1056 --with-pm use OS/2 Presentation Manager
1057 --with-mgl use SciTech MGL
1058 --with-microwin use MicroWindows
1060 --with-libpng use libpng (PNG image format)
1061 --with-libjpeg use libjpeg (JPEG file format)
1062 --with-libtiff use libtiff (TIFF file format)
1063 --with-libxpm use libxpm (XPM file format)
1064 --with-libmspack use libmspack (CHM help files loading)
1065 --with-sdl use SDL for audio on Unix
1066 --with-gnomeprint use GNOME print for printing under Unix
1067 --with-opengl use OpenGL (or Mesa)
1068 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1069 --with-regex enable support for wxRegEx class
1070 --with-zlib use zlib for LZW compression
1071 --with-odbc use the IODBC and wxODBC classes
1072 --with-expat enable XML support using expat parser
1073 --with-flavour=NAME specify a name to identify this build
1074 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1075 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1076 --with-x use the X Window System
1077 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1078 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1079 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1080 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1081 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1083 Some influential environment variables:
1084 CC C compiler command
1085 CFLAGS C compiler flags
1086 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1087 nonstandard directory <lib dir>
1088 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1089 headers in a nonstandard directory <include dir>
1091 CXX C++ compiler command
1092 CXXFLAGS C++ compiler flags
1093 CXXCPP C++ preprocessor
1095 Use these variables to override the choices made by `configure' or to
help
1096 it to
find libraries and programs with nonstandard names
/locations.
1098 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1105 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1106 test -d $ac_dir || continue
1109 if test "$ac_dir" != .
; then
1110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 ac_dir_suffix
= ac_top_builddir
=
1118 .
) # No --srcdir option. We are building in place.
1120 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1125 [\\/]* | ?
:[\\/]* ) # Absolute path.
1126 ac_srcdir
=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir
=$srcdir ;;
1129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1136 .
) ac_abs_builddir
="$ac_dir";;
1139 .
) ac_abs_builddir
=`pwd`;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 case ${ac_top_builddir}.
in
1148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_srcdir
=$ac_srcdir;;
1157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1162 case $ac_abs_builddir in
1163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 case $ac_top_srcdir in
1166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu
; then
1176 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1177 elif test -f $ac_srcdir/configure
; then
1179 $SHELL $ac_srcdir/configure
--help=recursive
1180 elif test -f $ac_srcdir/configure.ac
||
1181 test -f $ac_srcdir/configure.
in; then
1183 $ac_configure --help
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1194 wxWidgets configure
2.5.3
1195 generated by GNU Autoconf
2.59
1197 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1198 This configure
script is free software
; the Free Software Foundation
1199 gives unlimited permission to copy
, distribute and modify it.
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1208 It was created by wxWidgets $as_me 2.5.3, which was
1209 generated by GNU Autoconf 2.59. Invocation command line was
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1243 test -z "$as_dir" && as_dir
=.
1244 echo "PATH: $as_dir"
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_must_keep_next
=false
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1284 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true
; then
1286 ac_must_keep_next
=false
# Got value, back to normal.
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1297 -* ) ac_must_keep_next
=true
;;
1300 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1307 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1308 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1326 # The following way of writing the cache mishandles newlines in values,
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1349 for ac_var in $ac_subst_vars
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1356 if test -n "$ac_subst_files"; then
1363 for ac_var in $ac_subst_files
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1371 if test -s confdefs.h; then
1378 sed "/^$/d" confdefs.h | sort
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1389 for ac_signal
in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest
* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1399 # Predefined preprocessor variables.
1401 cat >>confdefs.h
<<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1421 cat >>confdefs.h
<<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE
; then
1430 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1432 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 for ac_site_file
in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1451 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1452 *) . .
/$cache_file;;
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1461 # Check that the precious variables saved in the cache have kept the same
1463 ac_cache_corrupted
=false
1464 for ac_var
in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1467 eval ac_new_set
=\
$ac_env_${ac_var}_set
1468 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val
="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted
=: ;;
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1484 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1485 echo "$as_me: former value: $ac_old_val" >&2;}
1486 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1487 echo "$as_me: current value: $ac_new_val" >&2;}
1488 ac_cache_corrupted
=:
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg
=$ac_var=$ac_new_val ;;
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1513 ac_cpp
='$CPP $CPPFLAGS'
1514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1548 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1549 if test -f $ac_dir/install-sh; then
1551 ac_install_sh
="$ac_aux_dir/install-sh -c"
1553 elif test -f $ac_dir/install.sh
; then
1555 ac_install_sh
="$ac_aux_dir/install.sh -c"
1557 elif test -f $ac_dir/shtool
; then
1559 ac_install_sh
="$ac_aux_dir/shtool install -c"
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 ac_cv_build_alias
=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias
=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1599 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604 echo "$as_me:$LINENO: checking host system type" >&5
1605 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1606 if test "${ac_cv_host+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 ac_cv_host_alias
=$host_alias
1610 test -z "$ac_cv_host_alias" &&
1611 ac_cv_host_alias
=$ac_cv_build_alias
1612 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1618 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1619 echo "${ECHO_T}$ac_cv_host" >&6
1621 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626 echo "$as_me:$LINENO: checking target system type" >&5
1627 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1628 if test "${ac_cv_target+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_target_alias
=$target_alias
1632 test "x$ac_cv_target_alias" = "x" &&
1633 ac_cv_target_alias
=$ac_cv_host_alias
1634 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1641 echo "${ECHO_T}$ac_cv_target" >&6
1642 target
=$ac_cv_target
1643 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648 # The aliases save the names the user supplied, while $host etc.
1649 # will get canonicalized.
1650 test -n "$target_alias" &&
1651 test "$program_prefix$program_suffix$program_transform_name" = \
1653 program_prefix
=${target_alias}-
1657 wx_major_version_number
=2
1658 wx_minor_version_number
=5
1660 wx_subrelease_number
=3
1662 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1663 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1664 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1666 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1682 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1688 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1694 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1696 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1698 DEFAULT_wxUSE_COCOA
=0
1702 DEFAULT_wxUSE_MICROWIN
=0
1703 DEFAULT_wxUSE_MOTIF
=0
1708 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1709 DEFAULT_DEFAULT_wxUSE_GTK
=0
1710 DEFAULT_DEFAULT_wxUSE_MAC
=0
1711 DEFAULT_DEFAULT_wxUSE_MGL
=0
1712 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1713 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_MSW
=0
1715 DEFAULT_DEFAULT_wxUSE_PM
=0
1716 DEFAULT_DEFAULT_wxUSE_X11
=0
1721 SAMPLES_RPATH_POSTLINK
=
1726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1727 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1729 cat >>confdefs.h
<<\_ACEOF
1736 cat >>confdefs.h
<<\_ACEOF
1741 if test "x$TMP" = "xalpha"; then
1743 cat >>confdefs.h
<<\_ACEOF
1748 DEFAULT_DEFAULT_wxUSE_GTK
=1
1750 *-*-gnu* | *-*-k*bsd
*-gnu )
1753 if test "x$TMP" = "xalpha"; then
1755 cat >>confdefs.h
<<\_ACEOF
1760 DEFAULT_DEFAULT_wxUSE_GTK
=1
1762 *-*-irix5* | *-*-irix6* )
1765 cat >>confdefs.h
<<\_ACEOF
1769 cat >>confdefs.h
<<\_ACEOF
1773 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1779 cat >>confdefs.h
<<\_ACEOF
1783 cat >>confdefs.h
<<\_ACEOF
1784 #define __SOLARIS__ 1
1787 cat >>confdefs.h
<<\_ACEOF
1791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1792 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1798 cat >>confdefs.h
<<\_ACEOF
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1815 cat >>confdefs.h
<<\_ACEOF
1816 #define __FREEBSD__ 1
1819 cat >>confdefs.h
<<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_GTK
=1
1828 cat >>confdefs.h
<<\_ACEOF
1829 #define __OPENBSD__ 1
1832 cat >>confdefs.h
<<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_GTK
=1
1841 cat >>confdefs.h
<<\_ACEOF
1842 #define __NETBSD__ 1
1845 cat >>confdefs.h
<<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_GTK
=1
1854 cat >>confdefs.h
<<\_ACEOF
1858 cat >>confdefs.h
<<\_ACEOF
1862 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1863 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1868 cat >>confdefs.h
<<\_ACEOF
1872 cat >>confdefs.h
<<\_ACEOF
1876 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1881 cat >>confdefs.h
<<\_ACEOF
1885 cat >>confdefs.h
<<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1896 cat >>confdefs.h
<<\_ACEOF
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1915 cat >>confdefs.h
<<\_ACEOF
1916 #define __UNIXWARE__ 1
1921 *-*-cygwin* | *-*-mingw32* )
1925 DEFAULT_DEFAULT_wxUSE_MSW
=1
1931 cat >>confdefs.h
<<\_ACEOF
1936 DEFAULT_DEFAULT_wxUSE_MGL
=1
1937 LIBS
="$LIBS -lstdc++"
1940 *-pc-os2_emx | *-pc-os2-emx )
1941 cat >>confdefs.h
<<\_ACEOF
1946 cat >>confdefs.h
<<\_ACEOF
1951 DEFAULT_DEFAULT_wxUSE_PM
=1
1953 LDFLAGS
="$LDFLAGS -Zcrtdll"
1954 ac_executable_extensions
=".exe"
1955 export ac_executable_extensions
1959 for ac_dir
in $PATH; do
1961 if test -z "$ac_TEMP_PATH"; then
1962 ac_TEMP_PATH
="$ac_dir"
1964 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1967 export PATH
="$ac_TEMP_PATH"
1975 cat >>confdefs.h
<<\_ACEOF
1979 cat >>confdefs.h
<<\_ACEOF
1980 #define __DARWIN__ 1
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __POWERPC__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2075 DEFAULT_wxUSE_STD_IOSTREAM
=no
2076 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2077 DEFAULT_wxUSE_DATETIME
=no
2078 DEFAULT_wxUSE_TIMER
=no
2079 DEFAULT_wxUSE_STOPWATCH
=no
2080 DEFAULT_wxUSE_FILE
=no
2081 DEFAULT_wxUSE_FFILE
=no
2082 DEFAULT_wxUSE_TEXTBUFFER
=no
2083 DEFAULT_wxUSE_TEXTFILE
=no
2084 DEFAULT_wxUSE_SOUND
=no
2085 DEFAULT_wxUSE_MEDIACTRL
=no
2086 DEFAULT_wxUSE_DIRECTSHOW
=no
2087 DEFAULT_wxUSE_INTL
=no
2088 DEFAULT_wxUSE_CONFIG
=no
2089 DEFAULT_wxUSE_FONTMAP
=no
2090 DEFAULT_wxUSE_STREAMS
=no
2091 DEFAULT_wxUSE_SOCKETS
=no
2092 DEFAULT_wxUSE_OLE
=no
2093 DEFAULT_wxUSE_DATAOBJ
=no
2094 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2095 DEFAULT_wxUSE_JOYSTICK
=no
2096 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2097 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2098 DEFAULT_wxUSE_LONGLONG
=no
2099 DEFAULT_wxUSE_GEOMETRY
=no
2101 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2102 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2103 DEFAULT_wxUSE_POSTSCRIPT
=no
2105 DEFAULT_wxUSE_CLIPBOARD
=no
2106 DEFAULT_wxUSE_TOOLTIPS
=no
2107 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2108 DEFAULT_wxUSE_DRAGIMAGE
=no
2109 DEFAULT_wxUSE_SPLINES
=no
2111 DEFAULT_wxUSE_MDI
=no
2112 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2113 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_RESOURCES
=no
2117 DEFAULT_wxUSE_CONSTRAINTS
=no
2118 DEFAULT_wxUSE_IPC
=no
2119 DEFAULT_wxUSE_HELP
=no
2120 DEFAULT_wxUSE_MS_HTML_HELP
=no
2121 DEFAULT_wxUSE_WXHTML_HELP
=no
2122 DEFAULT_wxUSE_TREELAYOUT
=no
2123 DEFAULT_wxUSE_METAFILE
=no
2124 DEFAULT_wxUSE_MIMETYPE
=no
2125 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2126 DEFAULT_wxUSE_PROTOCOL
=no
2127 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2128 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2129 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2130 DEFAULT_wxUSE_URL
=no
2132 DEFAULT_wxUSE_COMMONDLGS
=no
2133 DEFAULT_wxUSE_CHOICEDLG
=no
2134 DEFAULT_wxUSE_COLOURDLG
=no
2135 DEFAULT_wxUSE_DIRDLG
=no
2136 DEFAULT_wxUSE_FILEDLG
=no
2137 DEFAULT_wxUSE_FINDREPLDLG
=no
2138 DEFAULT_wxUSE_FONTDLG
=no
2139 DEFAULT_wxUSE_MSGDLG
=no
2140 DEFAULT_wxUSE_NUMBERDLG
=no
2141 DEFAULT_wxUSE_TEXTDLG
=no
2142 DEFAULT_wxUSE_SPLASH
=no
2143 DEFAULT_wxUSE_STARTUP_TIPS
=no
2144 DEFAULT_wxUSE_PROGRESSDLG
=no
2145 DEFAULT_wxUSE_WIZARDDLG
=no
2147 DEFAULT_wxUSE_MENUS
=no
2148 DEFAULT_wxUSE_MINIFRAME
=no
2149 DEFAULT_wxUSE_HTML
=no
2150 DEFAULT_wxUSE_XRC
=no
2151 DEFAULT_wxUSE_WEBKIT
=no
2152 DEFAULT_wxUSE_FILESYSTEM
=no
2153 DEFAULT_wxUSE_FS_INET
=no
2154 DEFAULT_wxUSE_FS_ZIP
=no
2155 DEFAULT_wxUSE_BUSYINFO
=no
2156 DEFAULT_wxUSE_ZIPSTREAM
=no
2157 DEFAULT_wxUSE_VALIDATORS
=no
2159 DEFAULT_wxUSE_ACCEL
=no
2160 DEFAULT_wxUSE_BUTTON
=no
2161 DEFAULT_wxUSE_BMPBUTTON
=no
2162 DEFAULT_wxUSE_CALCTRL
=no
2163 DEFAULT_wxUSE_CARET
=no
2164 DEFAULT_wxUSE_CHECKBOX
=no
2165 DEFAULT_wxUSE_CHECKLST
=no
2166 DEFAULT_wxUSE_CHOICE
=no
2167 DEFAULT_wxUSE_CHOICEBOOK
=no
2168 DEFAULT_wxUSE_COMBOBOX
=no
2169 DEFAULT_wxUSE_DISPLAY
=no
2170 DEFAULT_wxUSE_GAUGE
=no
2171 DEFAULT_wxUSE_GRID
=no
2172 DEFAULT_wxUSE_IMAGLIST
=no
2173 DEFAULT_wxUSE_LISTBOOK
=no
2174 DEFAULT_wxUSE_LISTBOX
=no
2175 DEFAULT_wxUSE_LISTCTRL
=no
2176 DEFAULT_wxUSE_NOTEBOOK
=no
2177 DEFAULT_wxUSE_RADIOBOX
=no
2178 DEFAULT_wxUSE_RADIOBTN
=no
2179 DEFAULT_wxUSE_SASH
=no
2180 DEFAULT_wxUSE_SCROLLBAR
=no
2181 DEFAULT_wxUSE_SLIDER
=no
2182 DEFAULT_wxUSE_SPINBTN
=no
2183 DEFAULT_wxUSE_SPINCTRL
=no
2184 DEFAULT_wxUSE_SPLITTER
=no
2185 DEFAULT_wxUSE_STATBMP
=no
2186 DEFAULT_wxUSE_STATBOX
=no
2187 DEFAULT_wxUSE_STATLINE
=no
2188 DEFAULT_wxUSE_STATTEXT
=no
2189 DEFAULT_wxUSE_STATUSBAR
=yes
2190 DEFAULT_wxUSE_TABDIALOG
=no
2191 DEFAULT_wxUSE_TEXTCTRL
=no
2192 DEFAULT_wxUSE_TOGGLEBTN
=no
2193 DEFAULT_wxUSE_TOOLBAR
=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2196 DEFAULT_wxUSE_TREECTRL
=no
2197 DEFAULT_wxUSE_POPUPWIN
=no
2198 DEFAULT_wxUSE_TIPWINDOW
=no
2200 DEFAULT_wxUSE_UNICODE
=no
2201 DEFAULT_wxUSE_UNICODE_MSLU
=no
2202 DEFAULT_wxUSE_WCSRTOMBS
=no
2204 DEFAULT_wxUSE_PALETTE
=no
2205 DEFAULT_wxUSE_IMAGE
=no
2206 DEFAULT_wxUSE_GIF
=no
2207 DEFAULT_wxUSE_PCX
=no
2208 DEFAULT_wxUSE_PNM
=no
2209 DEFAULT_wxUSE_IFF
=no
2210 DEFAULT_wxUSE_XPM
=no
2211 DEFAULT_wxUSE_ICO_CUR
=no
2212 DEFAULT_wxUSE_ACCESSIBILITY
=no
2214 DEFAULT_wxUSE_MONOLITHIC
=no
2215 DEFAULT_wxUSE_PLUGINS
=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2218 DEFAULT_wxUSE_UNIVERSAL
=no
2219 DEFAULT_wxUSE_STL
=no
2221 DEFAULT_wxUSE_NANOX
=no
2223 DEFAULT_wxUSE_THREADS
=yes
2225 DEFAULT_wxUSE_SHARED
=yes
2226 DEFAULT_wxUSE_OPTIMISE
=yes
2227 DEFAULT_wxUSE_PROFILE
=no
2228 DEFAULT_wxUSE_NO_DEPS
=no
2229 DEFAULT_wxUSE_NO_RTTI
=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2231 DEFAULT_wxUSE_RPATH
=yes
2232 DEFAULT_wxUSE_PERMISSIVE
=no
2233 DEFAULT_wxUSE_DEBUG_FLAG
=no
2234 DEFAULT_wxUSE_DEBUG_INFO
=no
2235 DEFAULT_wxUSE_DEBUG_GDB
=no
2236 DEFAULT_wxUSE_MEM_TRACING
=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2238 DEFAULT_wxUSE_DMALLOC
=no
2239 DEFAULT_wxUSE_APPLE_IEEE
=yes
2241 DEFAULT_wxUSE_EXCEPTIONS
=yes
2242 DEFAULT_wxUSE_LOG
=yes
2243 DEFAULT_wxUSE_LOGWINDOW
=yes
2244 DEFAULT_wxUSE_LOGGUI
=yes
2245 DEFAULT_wxUSE_LOGDIALOG
=yes
2247 DEFAULT_wxUSE_GUI
=yes
2249 DEFAULT_wxUSE_REGEX
=yes
2250 DEFAULT_wxUSE_XML
=yes
2251 DEFAULT_wxUSE_EXPAT
=yes
2252 DEFAULT_wxUSE_ZLIB
=yes
2253 DEFAULT_wxUSE_LIBPNG
=yes
2254 DEFAULT_wxUSE_LIBJPEG
=yes
2255 DEFAULT_wxUSE_LIBTIFF
=yes
2256 DEFAULT_wxUSE_LIBXPM
=yes
2257 DEFAULT_wxUSE_LIBMSPACK
=yes
2258 DEFAULT_wxUSE_LIBSDL
=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2260 DEFAULT_wxUSE_ODBC
=no
2261 DEFAULT_wxUSE_OPENGL
=no
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2264 DEFAULT_wxUSE_STACKWALKER
=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM
=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2268 DEFAULT_wxUSE_DATETIME
=yes
2269 DEFAULT_wxUSE_TIMER
=yes
2270 DEFAULT_wxUSE_STOPWATCH
=yes
2271 DEFAULT_wxUSE_FILE
=yes
2272 DEFAULT_wxUSE_FFILE
=yes
2273 DEFAULT_wxUSE_TEXTBUFFER
=yes
2274 DEFAULT_wxUSE_TEXTFILE
=yes
2275 DEFAULT_wxUSE_SOUND
=yes
2276 DEFAULT_wxUSE_MEDIACTRL
=no
2277 DEFAULT_wxUSE_DIRECTSHOW
=no
2278 DEFAULT_wxUSE_INTL
=yes
2279 DEFAULT_wxUSE_CONFIG
=yes
2280 DEFAULT_wxUSE_FONTMAP
=yes
2281 DEFAULT_wxUSE_STREAMS
=yes
2282 DEFAULT_wxUSE_SOCKETS
=yes
2283 DEFAULT_wxUSE_OLE
=yes
2284 DEFAULT_wxUSE_DATAOBJ
=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2286 DEFAULT_wxUSE_JOYSTICK
=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2289 DEFAULT_wxUSE_LONGLONG
=yes
2290 DEFAULT_wxUSE_GEOMETRY
=yes
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2294 DEFAULT_wxUSE_POSTSCRIPT
=yes
2296 DEFAULT_wxUSE_CLIPBOARD
=yes
2297 DEFAULT_wxUSE_TOOLTIPS
=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2299 DEFAULT_wxUSE_DRAGIMAGE
=yes
2300 DEFAULT_wxUSE_SPLINES
=yes
2302 DEFAULT_wxUSE_MDI
=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_RESOURCES
=no
2308 DEFAULT_wxUSE_CONSTRAINTS
=yes
2309 DEFAULT_wxUSE_IPC
=yes
2310 DEFAULT_wxUSE_HELP
=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2312 DEFAULT_wxUSE_WXHTML_HELP
=yes
2313 DEFAULT_wxUSE_TREELAYOUT
=yes
2314 DEFAULT_wxUSE_METAFILE
=yes
2315 DEFAULT_wxUSE_MIMETYPE
=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2317 DEFAULT_wxUSE_PROTOCOL
=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2321 DEFAULT_wxUSE_URL
=yes
2323 DEFAULT_wxUSE_COMMONDLGS
=yes
2324 DEFAULT_wxUSE_CHOICEDLG
=yes
2325 DEFAULT_wxUSE_COLOURDLG
=yes
2326 DEFAULT_wxUSE_DIRDLG
=yes
2327 DEFAULT_wxUSE_FILEDLG
=yes
2328 DEFAULT_wxUSE_FINDREPLDLG
=yes
2329 DEFAULT_wxUSE_FONTDLG
=yes
2330 DEFAULT_wxUSE_MSGDLG
=yes
2331 DEFAULT_wxUSE_NUMBERDLG
=yes
2332 DEFAULT_wxUSE_TEXTDLG
=yes
2333 DEFAULT_wxUSE_SPLASH
=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2335 DEFAULT_wxUSE_PROGRESSDLG
=yes
2336 DEFAULT_wxUSE_WIZARDDLG
=yes
2338 DEFAULT_wxUSE_MENUS
=yes
2339 DEFAULT_wxUSE_MINIFRAME
=yes
2340 DEFAULT_wxUSE_HTML
=yes
2341 DEFAULT_wxUSE_XRC
=yes
2342 DEFAULT_wxUSE_WEBKIT
=yes
2343 DEFAULT_wxUSE_FILESYSTEM
=yes
2344 DEFAULT_wxUSE_FS_INET
=yes
2345 DEFAULT_wxUSE_FS_ZIP
=yes
2346 DEFAULT_wxUSE_BUSYINFO
=yes
2347 DEFAULT_wxUSE_ZIPSTREAM
=yes
2348 DEFAULT_wxUSE_VALIDATORS
=yes
2350 DEFAULT_wxUSE_ACCEL
=yes
2351 DEFAULT_wxUSE_BUTTON
=yes
2352 DEFAULT_wxUSE_BMPBUTTON
=yes
2353 DEFAULT_wxUSE_CALCTRL
=yes
2354 DEFAULT_wxUSE_CARET
=yes
2355 DEFAULT_wxUSE_CHECKBOX
=yes
2356 DEFAULT_wxUSE_CHECKLST
=yes
2357 DEFAULT_wxUSE_CHOICE
=yes
2358 DEFAULT_wxUSE_CHOICEBOOK
=yes
2359 DEFAULT_wxUSE_COMBOBOX
=yes
2360 DEFAULT_wxUSE_DISPLAY
=yes
2361 DEFAULT_wxUSE_GAUGE
=yes
2362 DEFAULT_wxUSE_GRID
=yes
2363 DEFAULT_wxUSE_IMAGLIST
=yes
2364 DEFAULT_wxUSE_LISTBOOK
=yes
2365 DEFAULT_wxUSE_LISTBOX
=yes
2366 DEFAULT_wxUSE_LISTCTRL
=yes
2367 DEFAULT_wxUSE_NOTEBOOK
=yes
2368 DEFAULT_wxUSE_RADIOBOX
=yes
2369 DEFAULT_wxUSE_RADIOBTN
=yes
2370 DEFAULT_wxUSE_SASH
=yes
2371 DEFAULT_wxUSE_SCROLLBAR
=yes
2372 DEFAULT_wxUSE_SLIDER
=yes
2373 DEFAULT_wxUSE_SPINBTN
=yes
2374 DEFAULT_wxUSE_SPINCTRL
=yes
2375 DEFAULT_wxUSE_SPLITTER
=yes
2376 DEFAULT_wxUSE_STATBMP
=yes
2377 DEFAULT_wxUSE_STATBOX
=yes
2378 DEFAULT_wxUSE_STATLINE
=yes
2379 DEFAULT_wxUSE_STATTEXT
=yes
2380 DEFAULT_wxUSE_STATUSBAR
=yes
2381 DEFAULT_wxUSE_TABDIALOG
=no
2382 DEFAULT_wxUSE_TEXTCTRL
=yes
2383 DEFAULT_wxUSE_TOGGLEBTN
=yes
2384 DEFAULT_wxUSE_TOOLBAR
=yes
2385 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2386 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2387 DEFAULT_wxUSE_TREECTRL
=yes
2388 DEFAULT_wxUSE_POPUPWIN
=yes
2389 DEFAULT_wxUSE_TIPWINDOW
=yes
2391 DEFAULT_wxUSE_UNICODE
=no
2392 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2393 DEFAULT_wxUSE_WCSRTOMBS
=no
2395 DEFAULT_wxUSE_PALETTE
=yes
2396 DEFAULT_wxUSE_IMAGE
=yes
2397 DEFAULT_wxUSE_GIF
=yes
2398 DEFAULT_wxUSE_PCX
=yes
2399 DEFAULT_wxUSE_IFF
=no
2400 DEFAULT_wxUSE_PNM
=yes
2401 DEFAULT_wxUSE_XPM
=yes
2402 DEFAULT_wxUSE_ICO_CUR
=yes
2403 DEFAULT_wxUSE_ACCESSIBILITY
=no
2405 DEFAULT_wxUSE_MONOLITHIC
=no
2406 DEFAULT_wxUSE_PLUGINS
=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2409 DEFAULT_wxUSE_GTK2
=yes
2414 for toolkit
in `echo $ALL_TOOLKITS`; do
2415 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2416 if test "x$LINE" != "x" ; then
2417 has_toolkit_in_cache
=1
2418 eval "DEFAULT_$LINE"
2419 eval "CACHE_$toolkit=1"
2426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2427 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2429 # Check whether --enable-gui or --disable-gui was given.
2430 if test "${enable_gui+set}" = set; then
2431 enableval
="$enable_gui"
2433 if test "$enableval" = yes; then
2434 ac_cv_use_gui
='wxUSE_GUI=yes'
2436 ac_cv_use_gui
='wxUSE_GUI=no'
2441 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2442 if test "x$LINE" != x
; then
2443 eval "DEFAULT_$LINE"
2448 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2452 eval "$ac_cv_use_gui"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2457 if test "$wxUSE_GUI" = yes; then
2458 echo "$as_me:$LINENO: result: yes" >&5
2459 echo "${ECHO_T}yes" >&6
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2468 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2470 # Check whether --enable-monolithic or --disable-monolithic was given.
2471 if test "${enable_monolithic+set}" = set; then
2472 enableval
="$enable_monolithic"
2474 if test "$enableval" = yes; then
2475 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2477 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2482 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x
; then
2484 eval "DEFAULT_$LINE"
2489 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2493 eval "$ac_cv_use_monolithic"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2498 if test "$wxUSE_MONOLITHIC" = yes; then
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2509 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2511 # Check whether --enable-plugins or --disable-plugins was given.
2512 if test "${enable_plugins+set}" = set; then
2513 enableval
="$enable_plugins"
2515 if test "$enableval" = yes; then
2516 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2518 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2523 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x
; then
2525 eval "DEFAULT_$LINE"
2530 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2534 eval "$ac_cv_use_plugins"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2539 if test "$wxUSE_PLUGINS" = yes; then
2540 echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2548 if test "$wxUSE_GUI" = "yes"; then
2552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2553 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2555 # Check whether --enable-universal or --disable-universal was given.
2556 if test "${enable_universal+set}" = set; then
2557 enableval
="$enable_universal"
2559 if test "$enableval" = yes; then
2560 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2562 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2567 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x
; then
2569 eval "DEFAULT_$LINE"
2574 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2578 eval "$ac_cv_use_universal"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_UNIVERSAL" = yes; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6
2592 # Check whether --with-gtk or --without-gtk was given.
2593 if test "${with_gtk+set}" = set; then
2595 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2598 # Check whether --with-motif or --without-motif was given.
2599 if test "${with_motif+set}" = set; then
2600 withval
="$with_motif"
2601 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2604 # Check whether --with-mac or --without-mac was given.
2605 if test "${with_mac+set}" = set; then
2607 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2610 # Check whether --with-cocoa or --without-cocoa was given.
2611 if test "${with_cocoa+set}" = set; then
2612 withval
="$with_cocoa"
2613 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2616 # Check whether --with-wine or --without-wine was given.
2617 if test "${with_wine+set}" = set; then
2618 withval
="$with_wine"
2619 wxUSE_WINE
="$withval" CACHE_WINE
=1
2622 # Check whether --with-msw or --without-msw was given.
2623 if test "${with_msw+set}" = set; then
2625 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2628 # Check whether --with-pm or --without-pm was given.
2629 if test "${with_pm+set}" = set; then
2631 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2634 # Check whether --with-mgl or --without-mgl was given.
2635 if test "${with_mgl+set}" = set; then
2637 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2640 # Check whether --with-microwin or --without-microwin was given.
2641 if test "${with_microwin+set}" = set; then
2642 withval
="$with_microwin"
2643 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2646 # Check whether --with-x11 or --without-x11 was given.
2647 if test "${with_x11+set}" = set; then
2649 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2656 # Check whether --enable-nanox or --disable-nanox was given.
2657 if test "${enable_nanox+set}" = set; then
2658 enableval
="$enable_nanox"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2663 ac_cv_use_nanox
='wxUSE_NANOX=no'
2668 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2679 eval "$ac_cv_use_nanox"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_NANOX" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2696 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2698 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2699 if test "${enable_gtk2+set}" = set; then
2700 enableval
="$enable_gtk2"
2702 if test "$enableval" = yes; then
2703 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2705 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2710 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x
; then
2712 eval "DEFAULT_$LINE"
2717 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2721 eval "$ac_cv_use_gtk2"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_GTK2" = yes; then
2727 echo "$as_me:$LINENO: result: yes" >&5
2728 echo "${ECHO_T}yes" >&6
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2737 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2739 # Check whether --enable-gpe or --disable-gpe was given.
2740 if test "${enable_gpe+set}" = set; then
2741 enableval
="$enable_gpe"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_gpe
='wxUSE_GPE=yes'
2746 ac_cv_use_gpe
='wxUSE_GPE=no'
2751 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2762 eval "$ac_cv_use_gpe"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_GPE" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2777 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2778 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2781 # Check whether --with-libpng or --without-libpng was given.
2782 if test "${with_libpng+set}" = set; then
2783 withval
="$with_libpng"
2785 if test "$withval" = yes; then
2786 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2787 elif test "$withval" = no
; then
2788 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2789 elif test "$withval" = sys
; then
2790 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2791 elif test "$withval" = builtin; then
2792 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2796 { (exit 1); exit 1; }; }
2801 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x
; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2812 eval "$ac_cv_use_libpng"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2817 if test "$wxUSE_LIBPNG" = yes; then
2818 echo "$as_me:$LINENO: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2820 elif test "$wxUSE_LIBPNG" = no
; then
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2823 elif test "$wxUSE_LIBPNG" = sys
; then
2824 echo "$as_me:$LINENO: result: system version" >&5
2825 echo "${ECHO_T}system version" >&6
2826 elif test "$wxUSE_LIBPNG" = builtin; then
2827 echo "$as_me:$LINENO: result: builtin version" >&5
2828 echo "${ECHO_T}builtin version" >&6
2830 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2831 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2832 { (exit 1); exit 1; }; }
2836 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2837 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2840 # Check whether --with-libjpeg or --without-libjpeg was given.
2841 if test "${with_libjpeg+set}" = set; then
2842 withval
="$with_libjpeg"
2844 if test "$withval" = yes; then
2845 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2846 elif test "$withval" = no
; then
2847 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2848 elif test "$withval" = sys
; then
2849 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2860 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2871 eval "$ac_cv_use_libjpeg"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2876 if test "$wxUSE_LIBJPEG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBJPEG" = no
; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBJPEG" = sys
; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBJPEG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2896 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2899 # Check whether --with-libtiff or --without-libtiff was given.
2900 if test "${with_libtiff+set}" = set; then
2901 withval
="$with_libtiff"
2903 if test "$withval" = yes; then
2904 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2905 elif test "$withval" = no
; then
2906 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2907 elif test "$withval" = sys
; then
2908 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2919 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2930 eval "$ac_cv_use_libtiff"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_LIBTIFF" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBTIFF" = no
; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBTIFF" = sys
; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBTIFF" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2954 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2955 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2958 # Check whether --with-libxpm or --without-libxpm was given.
2959 if test "${with_libxpm+set}" = set; then
2960 withval
="$with_libxpm"
2962 if test "$withval" = yes; then
2963 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2964 elif test "$withval" = no
; then
2965 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2966 elif test "$withval" = sys
; then
2967 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2978 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2989 eval "$ac_cv_use_libxpm"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_LIBXPM" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBXPM" = no
; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBXPM" = sys
; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBXPM" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3013 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3014 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3017 # Check whether --with-libmspack or --without-libmspack was given.
3018 if test "${with_libmspack+set}" = set; then
3019 withval
="$with_libmspack"
3021 if test "$withval" = yes; then
3022 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3024 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3029 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3040 eval "$ac_cv_use_libmspack"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3045 if test "$wxUSE_LIBMSPACK" = yes; then
3046 echo "$as_me:$LINENO: result: yes" >&5
3047 echo "${ECHO_T}yes" >&6
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3054 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3055 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3058 # Check whether --with-sdl or --without-sdl was given.
3059 if test "${with_sdl+set}" = set; then
3062 if test "$withval" = yes; then
3063 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3065 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3070 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3081 eval "$ac_cv_use_sdl"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3086 if test "$wxUSE_LIBSDL" = yes; then
3087 echo "$as_me:$LINENO: result: yes" >&5
3088 echo "${ECHO_T}yes" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3096 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3099 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3100 if test "${with_gnomeprint+set}" = set; then
3101 withval
="$with_gnomeprint"
3103 if test "$withval" = yes; then
3104 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3106 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3111 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x
; then
3113 eval "DEFAULT_$LINE"
3118 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3122 eval "$ac_cv_use_gnomeprint"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3136 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3137 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3140 # Check whether --with-opengl or --without-opengl was given.
3141 if test "${with_opengl+set}" = set; then
3142 withval
="$with_opengl"
3144 if test "$withval" = yes; then
3145 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3147 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3152 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3163 eval "$ac_cv_use_opengl"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3168 if test "$wxUSE_OPENGL" = yes; then
3169 echo "$as_me:$LINENO: result: yes" >&5
3170 echo "${ECHO_T}yes" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3180 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3181 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3184 # Check whether --with-dmalloc or --without-dmalloc was given.
3185 if test "${with_dmalloc+set}" = set; then
3186 withval
="$with_dmalloc"
3188 if test "$withval" = yes; then
3189 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3191 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3196 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x
; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3207 eval "$ac_cv_use_dmalloc"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_DMALLOC" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3221 echo "$as_me:$LINENO: checking for --with-regex" >&5
3222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3225 # Check whether --with-regex or --without-regex was given.
3226 if test "${with_regex+set}" = set; then
3227 withval
="$with_regex"
3229 if test "$withval" = yes; then
3230 ac_cv_use_regex
='wxUSE_REGEX=yes'
3231 elif test "$withval" = no
; then
3232 ac_cv_use_regex
='wxUSE_REGEX=no'
3233 elif test "$withval" = sys
; then
3234 ac_cv_use_regex
='wxUSE_REGEX=sys'
3235 elif test "$withval" = builtin; then
3236 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3240 { (exit 1); exit 1; }; }
3245 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3256 eval "$ac_cv_use_regex"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_REGEX" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 elif test "$wxUSE_REGEX" = no
; then
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 elif test "$wxUSE_REGEX" = sys
; then
3268 echo "$as_me:$LINENO: result: system version" >&5
3269 echo "${ECHO_T}system version" >&6
3270 elif test "$wxUSE_REGEX" = builtin; then
3271 echo "$as_me:$LINENO: result: builtin version" >&5
3272 echo "${ECHO_T}builtin version" >&6
3274 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3275 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3276 { (exit 1); exit 1; }; }
3280 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3281 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3284 # Check whether --with-zlib or --without-zlib was given.
3285 if test "${with_zlib+set}" = set; then
3286 withval
="$with_zlib"
3288 if test "$withval" = yes; then
3289 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3290 elif test "$withval" = no
; then
3291 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3292 elif test "$withval" = sys
; then
3293 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3294 elif test "$withval" = builtin; then
3295 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3299 { (exit 1); exit 1; }; }
3304 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3315 eval "$ac_cv_use_zlib"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_ZLIB" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 elif test "$wxUSE_ZLIB" = no
; then
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 elif test "$wxUSE_ZLIB" = sys
; then
3327 echo "$as_me:$LINENO: result: system version" >&5
3328 echo "${ECHO_T}system version" >&6
3329 elif test "$wxUSE_ZLIB" = builtin; then
3330 echo "$as_me:$LINENO: result: builtin version" >&5
3331 echo "${ECHO_T}builtin version" >&6
3333 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3334 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3335 { (exit 1); exit 1; }; }
3339 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3340 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3343 # Check whether --with-odbc or --without-odbc was given.
3344 if test "${with_odbc+set}" = set; then
3345 withval
="$with_odbc"
3347 if test "$withval" = yes; then
3348 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3349 elif test "$withval" = no
; then
3350 ac_cv_use_odbc
='wxUSE_ODBC=no'
3351 elif test "$withval" = sys
; then
3352 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3353 elif test "$withval" = builtin; then
3354 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3358 { (exit 1); exit 1; }; }
3363 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3374 eval "$ac_cv_use_odbc"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3379 if test "$wxUSE_ODBC" = yes; then
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3382 elif test "$wxUSE_ODBC" = no
; then
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3385 elif test "$wxUSE_ODBC" = sys
; then
3386 echo "$as_me:$LINENO: result: system version" >&5
3387 echo "${ECHO_T}system version" >&6
3388 elif test "$wxUSE_ODBC" = builtin; then
3389 echo "$as_me:$LINENO: result: builtin version" >&5
3390 echo "${ECHO_T}builtin version" >&6
3392 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3393 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3394 { (exit 1); exit 1; }; }
3398 echo "$as_me:$LINENO: checking for --with-expat" >&5
3399 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3402 # Check whether --with-expat or --without-expat was given.
3403 if test "${with_expat+set}" = set; then
3404 withval
="$with_expat"
3406 if test "$withval" = yes; then
3407 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3408 elif test "$withval" = no
; then
3409 ac_cv_use_expat
='wxUSE_EXPAT=no'
3410 elif test "$withval" = sys
; then
3411 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3412 elif test "$withval" = builtin; then
3413 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3417 { (exit 1); exit 1; }; }
3422 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x
; then
3424 eval "DEFAULT_$LINE"
3429 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3433 eval "$ac_cv_use_expat"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_EXPAT" = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3441 elif test "$wxUSE_EXPAT" = no
; then
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3444 elif test "$wxUSE_EXPAT" = sys
; then
3445 echo "$as_me:$LINENO: result: system version" >&5
3446 echo "${ECHO_T}system version" >&6
3447 elif test "$wxUSE_EXPAT" = builtin; then
3448 echo "$as_me:$LINENO: result: builtin version" >&5
3449 echo "${ECHO_T}builtin version" >&6
3451 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3452 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3453 { (exit 1); exit 1; }; }
3460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3463 # Check whether --enable-shared or --disable-shared was given.
3464 if test "${enable_shared+set}" = set; then
3465 enableval
="$enable_shared"
3467 if test "$enableval" = yes; then
3468 ac_cv_use_shared
='wxUSE_SHARED=yes'
3470 ac_cv_use_shared
='wxUSE_SHARED=no'
3475 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3486 eval "$ac_cv_use_shared"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3491 if test "$wxUSE_SHARED" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3502 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3504 # Check whether --enable-optimise or --disable-optimise was given.
3505 if test "${enable_optimise+set}" = set; then
3506 enableval
="$enable_optimise"
3508 if test "$enableval" = yes; then
3509 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3511 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3516 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x
; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3527 eval "$ac_cv_use_optimise"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3532 if test "$wxUSE_OPTIMISE" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3543 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3545 # Check whether --enable-debug or --disable-debug was given.
3546 if test "${enable_debug+set}" = set; then
3547 enableval
="$enable_debug"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3552 ac_cv_use_debug
='wxUSE_DEBUG=no'
3557 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x
; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3568 eval "$ac_cv_use_debug"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3573 if test "$wxUSE_DEBUG" = yes; then
3574 echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3577 echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6
3583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3584 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3586 # Check whether --enable-stl or --disable-stl was given.
3587 if test "${enable_stl+set}" = set; then
3588 enableval
="$enable_stl"
3590 if test "$enableval" = yes; then
3591 ac_cv_use_stl
='wxUSE_STL=yes'
3593 ac_cv_use_stl
='wxUSE_STL=no'
3598 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x
; then
3600 eval "DEFAULT_$LINE"
3605 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3609 eval "$ac_cv_use_stl"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3614 if test "$wxUSE_STL" = yes; then
3615 echo "$as_me:$LINENO: result: yes" >&5
3616 echo "${ECHO_T}yes" >&6
3618 echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6
3622 if test "$USE_OS2" = "1"; then
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3626 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3628 # Check whether --enable-omf or --disable-omf was given.
3629 if test "${enable_omf+set}" = set; then
3630 enableval
="$enable_omf"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_omf
='wxUSE_OMF=yes'
3635 ac_cv_use_omf
='wxUSE_OMF=no'
3640 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3651 eval "$ac_cv_use_omf"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_OMF" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3666 if test "$wxUSE_DEBUG" = "yes"; then
3667 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3668 DEFAULT_wxUSE_DEBUG_INFO
=yes
3670 elif test "$wxUSE_DEBUG" = "no"; then
3671 DEFAULT_wxUSE_DEBUG_FLAG
=no
3672 DEFAULT_wxUSE_DEBUG_INFO
=no
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3679 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3681 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3682 if test "${enable_debug_flag+set}" = set; then
3683 enableval
="$enable_debug_flag"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3693 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3704 eval "$ac_cv_use_debug_flag"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_DEBUG_FLAG" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3722 # Check whether --enable-debug_info or --disable-debug_info was given.
3723 if test "${enable_debug_info+set}" = set; then
3724 enableval
="$enable_debug_info"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3734 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3745 eval "$ac_cv_use_debug_info"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_DEBUG_INFO" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3763 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3764 if test "${enable_debug_gdb+set}" = set; then
3765 enableval
="$enable_debug_gdb"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3775 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3786 eval "$ac_cv_use_debug_gdb"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_DEBUG_GDB" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3804 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3805 if test "${enable_debug_cntxt+set}" = set; then
3806 enableval
="$enable_debug_cntxt"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3816 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3827 eval "$ac_cv_use_debug_cntxt"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3845 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3846 if test "${enable_mem_tracing+set}" = set; then
3847 enableval
="$enable_mem_tracing"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3857 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x
; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3868 eval "$ac_cv_use_mem_tracing"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_MEM_TRACING" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3886 # Check whether --enable-profile or --disable-profile was given.
3887 if test "${enable_profile+set}" = set; then
3888 enableval
="$enable_profile"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3893 ac_cv_use_profile
='wxUSE_PROFILE=no'
3898 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x
; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3909 eval "$ac_cv_use_profile"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_PROFILE" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3927 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3928 if test "${enable_no_rtti+set}" = set; then
3929 enableval
="$enable_no_rtti"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3939 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x
; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3950 eval "$ac_cv_use_no_rtti"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_NO_RTTI" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3968 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3969 if test "${enable_no_exceptions+set}" = set; then
3970 enableval
="$enable_no_exceptions"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3980 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x
; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3991 eval "$ac_cv_use_no_exceptions"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4009 # Check whether --enable-permissive or --disable-permissive was given.
4010 if test "${enable_permissive+set}" = set; then
4011 enableval
="$enable_permissive"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4021 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4032 eval "$ac_cv_use_permissive"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_PERMISSIVE" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4050 # Check whether --enable-no_deps or --disable-no_deps was given.
4051 if test "${enable_no_deps+set}" = set; then
4052 enableval
="$enable_no_deps"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4062 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x
; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4073 eval "$ac_cv_use_no_deps"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_NO_DEPS" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4092 # Check whether --enable-compat22 or --disable-compat22 was given.
4093 if test "${enable_compat22+set}" = set; then
4094 enableval
="$enable_compat22"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4104 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4115 eval "$ac_cv_use_compat22"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4120 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4129 enablestring
=disable
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval
="$enable_compat24"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4145 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4173 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4175 # Check whether --enable-rpath or --disable-rpath was given.
4176 if test "${enable_rpath+set}" = set; then
4177 enableval
="$enable_rpath"
4179 if test "$enableval" = yes; then
4180 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4182 ac_cv_use_rpath
='wxUSE_RPATH=no'
4187 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x
; then
4189 eval "DEFAULT_$LINE"
4194 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4198 eval "$ac_cv_use_rpath"
4199 if test "$no_cache" != 1; then
4200 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4203 if test "$wxUSE_RPATH" = yes; then
4204 echo "$as_me:$LINENO: result: yes" >&5
4205 echo "${ECHO_T}yes" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4217 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4219 # Check whether --enable-intl or --disable-intl was given.
4220 if test "${enable_intl+set}" = set; then
4221 enableval
="$enable_intl"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_intl
='wxUSE_INTL=yes'
4226 ac_cv_use_intl
='wxUSE_INTL=no'
4231 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4242 eval "$ac_cv_use_intl"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4247 if test "$wxUSE_INTL" = yes; then
4248 echo "$as_me:$LINENO: result: yes" >&5
4249 echo "${ECHO_T}yes" >&6
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4260 # Check whether --enable-config or --disable-config was given.
4261 if test "${enable_config+set}" = set; then
4262 enableval
="$enable_config"
4264 if test "$enableval" = yes; then
4265 ac_cv_use_config
='wxUSE_CONFIG=yes'
4267 ac_cv_use_config
='wxUSE_CONFIG=no'
4272 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x
; then
4274 eval "DEFAULT_$LINE"
4279 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4283 eval "$ac_cv_use_config"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_CONFIG" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4302 # Check whether --enable-protocols or --disable-protocols was given.
4303 if test "${enable_protocols+set}" = set; then
4304 enableval
="$enable_protocols"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4314 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4325 eval "$ac_cv_use_protocols"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_PROTOCOL" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4343 # Check whether --enable-ftp or --disable-ftp was given.
4344 if test "${enable_ftp+set}" = set; then
4345 enableval
="$enable_ftp"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4355 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4366 eval "$ac_cv_use_ftp"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4384 # Check whether --enable-http or --disable-http was given.
4385 if test "${enable_http+set}" = set; then
4386 enableval
="$enable_http"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4396 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4407 eval "$ac_cv_use_http"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4425 # Check whether --enable-fileproto or --disable-fileproto was given.
4426 if test "${enable_fileproto+set}" = set; then
4427 enableval
="$enable_fileproto"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4437 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4448 eval "$ac_cv_use_fileproto"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4466 # Check whether --enable-sockets or --disable-sockets was given.
4467 if test "${enable_sockets+set}" = set; then
4468 enableval
="$enable_sockets"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4473 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4478 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4489 eval "$ac_cv_use_sockets"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_SOCKETS" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4507 # Check whether --enable-ole or --disable-ole was given.
4508 if test "${enable_ole+set}" = set; then
4509 enableval
="$enable_ole"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_ole
='wxUSE_OLE=yes'
4514 ac_cv_use_ole
='wxUSE_OLE=no'
4519 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x
; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4530 eval "$ac_cv_use_ole"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_OLE" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4548 # Check whether --enable-dataobj or --disable-dataobj was given.
4549 if test "${enable_dataobj+set}" = set; then
4550 enableval
="$enable_dataobj"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4560 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x
; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4571 eval "$ac_cv_use_dataobj"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_DATAOBJ" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4590 # Check whether --enable-ipc or --disable-ipc was given.
4591 if test "${enable_ipc+set}" = set; then
4592 enableval
="$enable_ipc"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_ipc
='wxUSE_IPC=yes'
4597 ac_cv_use_ipc
='wxUSE_IPC=no'
4602 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4613 eval "$ac_cv_use_ipc"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_IPC" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4632 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4633 if test "${enable_apple_ieee+set}" = set; then
4634 enableval
="$enable_apple_ieee"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4644 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4655 eval "$ac_cv_use_apple_ieee"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_APPLE_IEEE" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4673 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4674 if test "${enable_catch_segvs+set}" = set; then
4675 enableval
="$enable_catch_segvs"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4680 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4685 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x
; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4696 eval "$ac_cv_use_catch_segvs"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4714 # Check whether --enable-backtrace or --disable-backtrace was given.
4715 if test "${enable_backtrace+set}" = set; then
4716 enableval
="$enable_backtrace"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4721 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4726 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4737 eval "$ac_cv_use_backtrace"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_STACKWALKER" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4755 # Check whether --enable-cmdline or --disable-cmdline was given.
4756 if test "${enable_cmdline+set}" = set; then
4757 enableval
="$enable_cmdline"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4762 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4767 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x
; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4778 eval "$ac_cv_use_cmdline"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4796 # Check whether --enable-datetime or --disable-datetime was given.
4797 if test "${enable_datetime+set}" = set; then
4798 enableval
="$enable_datetime"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4803 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4808 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x
; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4819 eval "$ac_cv_use_datetime"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_DATETIME" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4837 # Check whether --enable-dialupman or --disable-dialupman was given.
4838 if test "${enable_dialupman+set}" = set; then
4839 enableval
="$enable_dialupman"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4844 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4849 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x
; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4860 eval "$ac_cv_use_dialupman"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4878 # Check whether --enable-dynlib or --disable-dynlib was given.
4879 if test "${enable_dynlib+set}" = set; then
4880 enableval
="$enable_dynlib"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4885 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4890 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x
; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4901 eval "$ac_cv_use_dynlib"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4919 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4920 if test "${enable_dynamicloader+set}" = set; then
4921 enableval
="$enable_dynamicloader"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4926 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4931 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x
; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4942 eval "$ac_cv_use_dynamicloader"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4960 # Check whether --enable-exceptions or --disable-exceptions was given.
4961 if test "${enable_exceptions+set}" = set; then
4962 enableval
="$enable_exceptions"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4967 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4972 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4983 eval "$ac_cv_use_exceptions"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_EXCEPTIONS" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5001 # Check whether --enable-ffile or --disable-ffile was given.
5002 if test "${enable_ffile+set}" = set; then
5003 enableval
="$enable_ffile"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5008 ac_cv_use_ffile
='wxUSE_FFILE=no'
5013 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x
; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5024 eval "$ac_cv_use_ffile"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_FFILE" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5042 # Check whether --enable-file or --disable-file was given.
5043 if test "${enable_file+set}" = set; then
5044 enableval
="$enable_file"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_file
='wxUSE_FILE=yes'
5049 ac_cv_use_file
='wxUSE_FILE=no'
5054 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x
; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5065 eval "$ac_cv_use_file"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_FILE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5083 # Check whether --enable-filesystem or --disable-filesystem was given.
5084 if test "${enable_filesystem+set}" = set; then
5085 enableval
="$enable_filesystem"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5090 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5095 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x
; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5106 eval "$ac_cv_use_filesystem"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_FILESYSTEM" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5124 # Check whether --enable-fontmap or --disable-fontmap was given.
5125 if test "${enable_fontmap+set}" = set; then
5126 enableval
="$enable_fontmap"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5131 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5136 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5147 eval "$ac_cv_use_fontmap"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_FONTMAP" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5165 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5166 if test "${enable_fs_inet+set}" = set; then
5167 enableval
="$enable_fs_inet"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5172 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5177 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5188 eval "$ac_cv_use_fs_inet"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_FS_INET" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5206 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5207 if test "${enable_fs_zip+set}" = set; then
5208 enableval
="$enable_fs_zip"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5213 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5218 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5229 eval "$ac_cv_use_fs_zip"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_FS_ZIP" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5247 # Check whether --enable-geometry or --disable-geometry was given.
5248 if test "${enable_geometry+set}" = set; then
5249 enableval
="$enable_geometry"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5254 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5259 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x
; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5270 eval "$ac_cv_use_geometry"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_GEOMETRY" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5288 # Check whether --enable-log or --disable-log was given.
5289 if test "${enable_log+set}" = set; then
5290 enableval
="$enable_log"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_log
='wxUSE_LOG=yes'
5295 ac_cv_use_log
='wxUSE_LOG=no'
5300 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x
; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5311 eval "$ac_cv_use_log"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_LOG" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5329 # Check whether --enable-longlong or --disable-longlong was given.
5330 if test "${enable_longlong+set}" = set; then
5331 enableval
="$enable_longlong"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5336 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5341 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5352 eval "$ac_cv_use_longlong"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_LONGLONG" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5370 # Check whether --enable-mimetype or --disable-mimetype was given.
5371 if test "${enable_mimetype+set}" = set; then
5372 enableval
="$enable_mimetype"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5377 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5382 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x
; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5393 eval "$ac_cv_use_mimetype"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_MIMETYPE" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5411 # Check whether --enable-mslu or --disable-mslu was given.
5412 if test "${enable_mslu+set}" = set; then
5413 enableval
="$enable_mslu"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5418 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5423 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5434 eval "$ac_cv_use_mslu"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_UNICODE_MSLU" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5452 # Check whether --enable-snglinst or --disable-snglinst was given.
5453 if test "${enable_snglinst+set}" = set; then
5454 enableval
="$enable_snglinst"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5459 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5464 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5475 eval "$ac_cv_use_snglinst"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5493 # Check whether --enable-streams or --disable-streams was given.
5494 if test "${enable_streams+set}" = set; then
5495 enableval
="$enable_streams"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5500 ac_cv_use_streams
='wxUSE_STREAMS=no'
5505 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5516 eval "$ac_cv_use_streams"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_STREAMS" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5534 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5535 if test "${enable_std_iostreams+set}" = set; then
5536 enableval
="$enable_std_iostreams"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5541 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5546 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5557 eval "$ac_cv_use_std_iostreams"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_STD_IOSTREAM" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5575 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5576 if test "${enable_stopwatch+set}" = set; then
5577 enableval
="$enable_stopwatch"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5582 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5587 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5598 eval "$ac_cv_use_stopwatch"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_STOPWATCH" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5616 # Check whether --enable-system_options or --disable-system_options was given.
5617 if test "${enable_system_options+set}" = set; then
5618 enableval
="$enable_system_options"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5623 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5628 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5639 eval "$ac_cv_use_system_options"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5657 # Check whether --enable-textbuf or --disable-textbuf was given.
5658 if test "${enable_textbuf+set}" = set; then
5659 enableval
="$enable_textbuf"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5664 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5669 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x
; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5680 eval "$ac_cv_use_textbuf"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_TEXTBUFFER" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5698 # Check whether --enable-textfile or --disable-textfile was given.
5699 if test "${enable_textfile+set}" = set; then
5700 enableval
="$enable_textfile"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5705 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5710 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x
; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5721 eval "$ac_cv_use_textfile"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_TEXTFILE" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5739 # Check whether --enable-timer or --disable-timer was given.
5740 if test "${enable_timer+set}" = set; then
5741 enableval
="$enable_timer"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_timer
='wxUSE_TIMER=yes'
5746 ac_cv_use_timer
='wxUSE_TIMER=no'
5751 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x
; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5762 eval "$ac_cv_use_timer"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_TIMER" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5780 # Check whether --enable-unicode or --disable-unicode was given.
5781 if test "${enable_unicode+set}" = set; then
5782 enableval
="$enable_unicode"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5787 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5792 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x
; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5803 eval "$ac_cv_use_unicode"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_UNICODE" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5821 # Check whether --enable-sound or --disable-sound was given.
5822 if test "${enable_sound+set}" = set; then
5823 enableval
="$enable_sound"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_sound
='wxUSE_SOUND=yes'
5828 ac_cv_use_sound
='wxUSE_SOUND=no'
5833 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x
; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5844 eval "$ac_cv_use_sound"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_SOUND" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5862 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5863 if test "${enable_mediactrl+set}" = set; then
5864 enableval
="$enable_mediactrl"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5869 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5874 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x
; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5885 eval "$ac_cv_use_mediactrl"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_MEDIACTRL" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5903 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5904 if test "${enable_wxprintfv+set}" = set; then
5905 enableval
="$enable_wxprintfv"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5910 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5915 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x
; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5926 eval "$ac_cv_use_wxprintfv"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5944 # Check whether --enable-zipstream or --disable-zipstream was given.
5945 if test "${enable_zipstream+set}" = set; then
5946 enableval
="$enable_zipstream"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5951 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5956 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x
; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5967 eval "$ac_cv_use_zipstream"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_ZIPSTREAM" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5986 # Check whether --enable-url or --disable-url was given.
5987 if test "${enable_url+set}" = set; then
5988 enableval
="$enable_url"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_url
='wxUSE_URL=yes'
5993 ac_cv_use_url
='wxUSE_URL=no'
5998 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6009 eval "$ac_cv_use_url"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6014 if test "$wxUSE_URL" = yes; then
6015 echo "$as_me:$LINENO: result: yes" >&5
6016 echo "${ECHO_T}yes" >&6
6018 echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6
6024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6025 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6027 # Check whether --enable-protocol or --disable-protocol was given.
6028 if test "${enable_protocol+set}" = set; then
6029 enableval
="$enable_protocol"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6034 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6039 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6050 eval "$ac_cv_use_protocol"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_PROTOCOL" = yes; then
6056 echo "$as_me:$LINENO: result: yes" >&5
6057 echo "${ECHO_T}yes" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6068 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6069 if test "${enable_protocol_http+set}" = set; then
6070 enableval
="$enable_protocol_http"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6075 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6080 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6091 eval "$ac_cv_use_protocol_http"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6096 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6097 echo "$as_me:$LINENO: result: yes" >&5
6098 echo "${ECHO_T}yes" >&6
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6109 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6110 if test "${enable_protocol_ftp+set}" = set; then
6111 enableval
="$enable_protocol_ftp"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6116 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6121 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6132 eval "$ac_cv_use_protocol_ftp"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6138 echo "$as_me:$LINENO: result: yes" >&5
6139 echo "${ECHO_T}yes" >&6
6141 echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6150 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6151 if test "${enable_protocol_file+set}" = set; then
6152 enableval
="$enable_protocol_file"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6157 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6162 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6173 eval "$ac_cv_use_protocol_file"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6192 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6194 # Check whether --enable-threads or --disable-threads was given.
6195 if test "${enable_threads+set}" = set; then
6196 enableval
="$enable_threads"
6198 if test "$enableval" = yes; then
6199 ac_cv_use_threads
='wxUSE_THREADS=yes'
6201 ac_cv_use_threads
='wxUSE_THREADS=no'
6206 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6207 if test "x$LINE" != x
; then
6208 eval "DEFAULT_$LINE"
6213 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6217 eval "$ac_cv_use_threads"
6218 if test "$no_cache" != 1; then
6219 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6222 if test "$wxUSE_THREADS" = yes; then
6223 echo "$as_me:$LINENO: result: yes" >&5
6224 echo "${ECHO_T}yes" >&6
6226 echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6
6231 if test "$wxUSE_GUI" = "yes"; then
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6239 # Check whether --enable-docview or --disable-docview was given.
6240 if test "${enable_docview+set}" = set; then
6241 enableval
="$enable_docview"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6246 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6251 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x
; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6262 eval "$ac_cv_use_docview"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6280 # Check whether --enable-help or --disable-help was given.
6281 if test "${enable_help+set}" = set; then
6282 enableval
="$enable_help"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_help
='wxUSE_HELP=yes'
6287 ac_cv_use_help
='wxUSE_HELP=no'
6292 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x
; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6303 eval "$ac_cv_use_help"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_HELP" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6321 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6322 if test "${enable_mshtmlhelp+set}" = set; then
6323 enableval
="$enable_mshtmlhelp"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6328 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6333 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6344 eval "$ac_cv_use_mshtmlhelp"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_MS_HTML_HELP" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6362 # Check whether --enable-html or --disable-html was given.
6363 if test "${enable_html+set}" = set; then
6364 enableval
="$enable_html"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_html
='wxUSE_HTML=yes'
6369 ac_cv_use_html
='wxUSE_HTML=no'
6374 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6385 eval "$ac_cv_use_html"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_HTML" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6403 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6404 if test "${enable_htmlhelp+set}" = set; then
6405 enableval
="$enable_htmlhelp"
6407 if test "$enableval" = yes; then
6408 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6410 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6415 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x
; then
6417 eval "DEFAULT_$LINE"
6422 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6426 eval "$ac_cv_use_htmlhelp"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_WXHTML_HELP" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6444 # Check whether --enable-xrc or --disable-xrc was given.
6445 if test "${enable_xrc+set}" = set; then
6446 enableval
="$enable_xrc"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_xrc
='wxUSE_XRC=yes'
6451 ac_cv_use_xrc
='wxUSE_XRC=no'
6456 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6467 eval "$ac_cv_use_xrc"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_XRC" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6485 # Check whether --enable-constraints or --disable-constraints was given.
6486 if test "${enable_constraints+set}" = set; then
6487 enableval
="$enable_constraints"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6492 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6497 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x
; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6508 eval "$ac_cv_use_constraints"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_CONSTRAINTS" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6526 # Check whether --enable-printarch or --disable-printarch was given.
6527 if test "${enable_printarch+set}" = set; then
6528 enableval
="$enable_printarch"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6533 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6538 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x
; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6549 eval "$ac_cv_use_printarch"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6567 # Check whether --enable-mdi or --disable-mdi was given.
6568 if test "${enable_mdi+set}" = set; then
6569 enableval
="$enable_mdi"
6571 if test "$enableval" = yes; then
6572 ac_cv_use_mdi
='wxUSE_MDI=yes'
6574 ac_cv_use_mdi
='wxUSE_MDI=no'
6579 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x
; then
6581 eval "DEFAULT_$LINE"
6586 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6590 eval "$ac_cv_use_mdi"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6595 if test "$wxUSE_MDI" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6608 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6609 if test "${enable_mdidoc+set}" = set; then
6610 enableval
="$enable_mdidoc"
6612 if test "$enableval" = yes; then
6613 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6615 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6620 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x
; then
6622 eval "DEFAULT_$LINE"
6627 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6631 eval "$ac_cv_use_mdidoc"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6649 # Check whether --enable-loggui or --disable-loggui was given.
6650 if test "${enable_loggui+set}" = set; then
6651 enableval
="$enable_loggui"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6656 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6661 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x
; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6672 eval "$ac_cv_use_loggui"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6677 if test "$wxUSE_LOGGUI" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6690 # Check whether --enable-logwin or --disable-logwin was given.
6691 if test "${enable_logwin+set}" = set; then
6692 enableval
="$enable_logwin"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6697 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6702 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6713 eval "$ac_cv_use_logwin"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_LOGWINDOW" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6731 # Check whether --enable-logdialog or --disable-logdialog was given.
6732 if test "${enable_logdialog+set}" = set; then
6733 enableval
="$enable_logdialog"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6738 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6743 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6754 eval "$ac_cv_use_logdialog"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_LOGDIALOG" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6772 # Check whether --enable-webkit or --disable-webkit was given.
6773 if test "${enable_webkit+set}" = set; then
6774 enableval
="$enable_webkit"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6779 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6784 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6795 eval "$ac_cv_use_webkit"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_WEBKIT" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6814 # Check whether --enable-postscript or --disable-postscript was given.
6815 if test "${enable_postscript+set}" = set; then
6816 enableval
="$enable_postscript"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6821 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6826 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6837 eval "$ac_cv_use_postscript"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_POSTSCRIPT" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6856 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6858 # Check whether --enable-prologio or --disable-prologio was given.
6859 if test "${enable_prologio+set}" = set; then
6860 enableval
="$enable_prologio"
6862 if test "$enableval" = yes; then
6863 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6865 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6870 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x
; then
6872 eval "DEFAULT_$LINE"
6877 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6881 eval "$ac_cv_use_prologio"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6886 if test "$wxUSE_PROLOGIO" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888 echo "${ECHO_T}yes" >&6
6890 echo "$as_me:$LINENO: result: no" >&5
6891 echo "${ECHO_T}no" >&6
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6899 # Check whether --enable-resources or --disable-resources was given.
6900 if test "${enable_resources+set}" = set; then
6901 enableval
="$enable_resources"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6906 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6911 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6922 eval "$ac_cv_use_resources"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6927 if test "$wxUSE_RESOURCES" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929 echo "${ECHO_T}yes" >&6
6931 echo "$as_me:$LINENO: result: no" >&5
6932 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6942 # Check whether --enable-clipboard or --disable-clipboard was given.
6943 if test "${enable_clipboard+set}" = set; then
6944 enableval
="$enable_clipboard"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6949 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6954 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6965 eval "$ac_cv_use_clipboard"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_CLIPBOARD" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6983 # Check whether --enable-dnd or --disable-dnd was given.
6984 if test "${enable_dnd+set}" = set; then
6985 enableval
="$enable_dnd"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6990 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6995 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7006 eval "$ac_cv_use_dnd"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7024 # Check whether --enable-metafile or --disable-metafile was given.
7025 if test "${enable_metafile+set}" = set; then
7026 enableval
="$enable_metafile"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7031 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7036 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7047 eval "$ac_cv_use_metafile"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_METAFILE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7068 # Check whether --enable-controls or --disable-controls was given.
7069 if test "${enable_controls+set}" = set; then
7070 enableval
="$enable_controls"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7075 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7080 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7091 eval "$ac_cv_use_controls"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7096 if test "$wxUSE_CONTROLS" = yes; then
7097 echo "$as_me:$LINENO: result: yes" >&5
7098 echo "${ECHO_T}yes" >&6
7100 echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6
7105 if test "$wxUSE_CONTROLS" = "yes"; then
7106 DEFAULT_wxUSE_ACCEL
=yes
7107 DEFAULT_wxUSE_BMPBUTTON
=yes
7108 DEFAULT_wxUSE_BUTTON
=yes
7109 DEFAULT_wxUSE_CALCTRL
=no
7110 DEFAULT_wxUSE_CARET
=yes
7111 DEFAULT_wxUSE_COMBOBOX
=yes
7112 DEFAULT_wxUSE_CHECKBOX
=yes
7113 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7114 DEFAULT_wxUSE_CHOICE
=yes
7115 DEFAULT_wxUSE_CHOICEBOOK
=yes
7116 DEFAULT_wxUSE_GAUGE
=yes
7117 DEFAULT_wxUSE_GRID
=yes
7118 DEFAULT_wxUSE_IMAGLIST
=yes
7119 DEFAULT_wxUSE_LISTBOOK
=yes
7120 DEFAULT_wxUSE_LISTBOX
=yes
7121 DEFAULT_wxUSE_LISTCTRL
=yes
7122 DEFAULT_wxUSE_NOTEBOOK
=yes
7123 DEFAULT_wxUSE_RADIOBOX
=yes
7124 DEFAULT_wxUSE_RADIOBTN
=yes
7125 DEFAULT_wxUSE_SASH
=yes
7126 DEFAULT_wxUSE_SCROLLBAR
=yes
7127 DEFAULT_wxUSE_SLIDER
=yes
7128 DEFAULT_wxUSE_SPINBTN
=yes
7129 DEFAULT_wxUSE_SPINCTRL
=yes
7130 DEFAULT_wxUSE_SPLITTER
=yes
7131 DEFAULT_wxUSE_STATBMP
=yes
7132 DEFAULT_wxUSE_STATBOX
=yes
7133 DEFAULT_wxUSE_STATLINE
=yes
7134 DEFAULT_wxUSE_STATUSBAR
=yes
7135 DEFAULT_wxUSE_TAB_DIALOG
=yes
7136 DEFAULT_wxUSE_TOGGLEBTN
=yes
7137 DEFAULT_wxUSE_TOOLBAR
=yes
7138 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7139 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7140 DEFAULT_wxUSE_TOOLTIPS
=yes
7141 DEFAULT_wxUSE_TREECTRL
=yes
7142 DEFAULT_wxUSE_POPUPWIN
=yes
7143 DEFAULT_wxUSE_TIPWINDOW
=yes
7144 elif test "$wxUSE_CONTROLS" = "no"; then
7145 DEFAULT_wxUSE_ACCEL
=no
7146 DEFAULT_wxUSE_BMPBUTTON
=no
7147 DEFAULT_wxUSE_BUTTON
=no
7148 DEFAULT_wxUSE_CALCTRL
=no
7149 DEFAULT_wxUSE_CARET
=no
7150 DEFAULT_wxUSE_COMBOBOX
=no
7151 DEFAULT_wxUSE_CHECKBOX
=no
7152 DEFAULT_wxUSE_CHECKLISTBOX
=no
7153 DEFAULT_wxUSE_CHOICE
=no
7154 DEFAULT_wxUSE_CHOICEBOOK
=no
7155 DEFAULT_wxUSE_GAUGE
=no
7156 DEFAULT_wxUSE_GRID
=no
7157 DEFAULT_wxUSE_IMAGLIST
=no
7158 DEFAULT_wxUSE_LISTBOOK
=no
7159 DEFAULT_wxUSE_LISTBOX
=no
7160 DEFAULT_wxUSE_LISTCTRL
=no
7161 DEFAULT_wxUSE_NOTEBOOK
=no
7162 DEFAULT_wxUSE_RADIOBOX
=no
7163 DEFAULT_wxUSE_RADIOBTN
=no
7164 DEFAULT_wxUSE_SASH
=no
7165 DEFAULT_wxUSE_SCROLLBAR
=no
7166 DEFAULT_wxUSE_SLIDER
=no
7167 DEFAULT_wxUSE_SPINBTN
=no
7168 DEFAULT_wxUSE_SPINCTRL
=no
7169 DEFAULT_wxUSE_SPLITTER
=no
7170 DEFAULT_wxUSE_STATBMP
=no
7171 DEFAULT_wxUSE_STATBOX
=no
7172 DEFAULT_wxUSE_STATLINE
=no
7173 DEFAULT_wxUSE_STATUSBAR
=no
7174 DEFAULT_wxUSE_TAB_DIALOG
=no
7175 DEFAULT_wxUSE_TOGGLEBTN
=no
7176 DEFAULT_wxUSE_TOOLBAR
=no
7177 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7178 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7179 DEFAULT_wxUSE_TOOLTIPS
=no
7180 DEFAULT_wxUSE_TREECTRL
=no
7181 DEFAULT_wxUSE_POPUPWIN
=no
7182 DEFAULT_wxUSE_TIPWINDOW
=no
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7190 # Check whether --enable-accel or --disable-accel was given.
7191 if test "${enable_accel+set}" = set; then
7192 enableval
="$enable_accel"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7197 ac_cv_use_accel
='wxUSE_ACCEL=no'
7202 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x
; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7213 eval "$ac_cv_use_accel"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_ACCEL" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7231 # Check whether --enable-button or --disable-button was given.
7232 if test "${enable_button+set}" = set; then
7233 enableval
="$enable_button"
7235 if test "$enableval" = yes; then
7236 ac_cv_use_button
='wxUSE_BUTTON=yes'
7238 ac_cv_use_button
='wxUSE_BUTTON=no'
7243 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x
; then
7245 eval "DEFAULT_$LINE"
7250 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7254 eval "$ac_cv_use_button"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_BUTTON" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7272 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7273 if test "${enable_bmpbutton+set}" = set; then
7274 enableval
="$enable_bmpbutton"
7276 if test "$enableval" = yes; then
7277 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7279 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7284 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x
; then
7286 eval "DEFAULT_$LINE"
7291 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7295 eval "$ac_cv_use_bmpbutton"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7300 if test "$wxUSE_BMPBUTTON" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7313 # Check whether --enable-calendar or --disable-calendar was given.
7314 if test "${enable_calendar+set}" = set; then
7315 enableval
="$enable_calendar"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7320 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7325 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x
; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7336 eval "$ac_cv_use_calendar"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7341 if test "$wxUSE_CALCTRL" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7354 # Check whether --enable-caret or --disable-caret was given.
7355 if test "${enable_caret+set}" = set; then
7356 enableval
="$enable_caret"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_caret
='wxUSE_CARET=yes'
7361 ac_cv_use_caret
='wxUSE_CARET=no'
7366 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7377 eval "$ac_cv_use_caret"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_CARET" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7395 # Check whether --enable-checkbox or --disable-checkbox was given.
7396 if test "${enable_checkbox+set}" = set; then
7397 enableval
="$enable_checkbox"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7402 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7407 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7418 eval "$ac_cv_use_checkbox"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7423 if test "$wxUSE_CHECKBOX" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7436 # Check whether --enable-checklst or --disable-checklst was given.
7437 if test "${enable_checklst+set}" = set; then
7438 enableval
="$enable_checklst"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7443 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7448 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7459 eval "$ac_cv_use_checklst"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_CHECKLST" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7477 # Check whether --enable-choice or --disable-choice was given.
7478 if test "${enable_choice+set}" = set; then
7479 enableval
="$enable_choice"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7484 ac_cv_use_choice
='wxUSE_CHOICE=no'
7489 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7500 eval "$ac_cv_use_choice"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_CHOICE" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7518 # Check whether --enable-choicebook or --disable-choicebook was given.
7519 if test "${enable_choicebook+set}" = set; then
7520 enableval
="$enable_choicebook"
7522 if test "$enableval" = yes; then
7523 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7525 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7530 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x
; then
7532 eval "DEFAULT_$LINE"
7537 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7541 eval "$ac_cv_use_choicebook"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7546 if test "$wxUSE_CHOICEBOOK" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548 echo "${ECHO_T}yes" >&6
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7559 # Check whether --enable-combobox or --disable-combobox was given.
7560 if test "${enable_combobox+set}" = set; then
7561 enableval
="$enable_combobox"
7563 if test "$enableval" = yes; then
7564 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7566 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7571 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x
; then
7573 eval "DEFAULT_$LINE"
7578 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7582 eval "$ac_cv_use_combobox"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7587 if test "$wxUSE_COMBOBOX" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589 echo "${ECHO_T}yes" >&6
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7600 # Check whether --enable-display or --disable-display was given.
7601 if test "${enable_display+set}" = set; then
7602 enableval
="$enable_display"
7604 if test "$enableval" = yes; then
7605 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7607 ac_cv_use_display
='wxUSE_DISPLAY=no'
7612 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x
; then
7614 eval "DEFAULT_$LINE"
7619 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7623 eval "$ac_cv_use_display"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7628 if test "$wxUSE_DISPLAY" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7641 # Check whether --enable-gauge or --disable-gauge was given.
7642 if test "${enable_gauge+set}" = set; then
7643 enableval
="$enable_gauge"
7645 if test "$enableval" = yes; then
7646 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7648 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7653 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x
; then
7655 eval "DEFAULT_$LINE"
7660 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7664 eval "$ac_cv_use_gauge"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7669 if test "$wxUSE_GAUGE" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7682 # Check whether --enable-grid or --disable-grid was given.
7683 if test "${enable_grid+set}" = set; then
7684 enableval
="$enable_grid"
7686 if test "$enableval" = yes; then
7687 ac_cv_use_grid
='wxUSE_GRID=yes'
7689 ac_cv_use_grid
='wxUSE_GRID=no'
7694 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x
; then
7696 eval "DEFAULT_$LINE"
7701 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7705 eval "$ac_cv_use_grid"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_GRID" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7723 # Check whether --enable-imaglist or --disable-imaglist was given.
7724 if test "${enable_imaglist+set}" = set; then
7725 enableval
="$enable_imaglist"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7730 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7735 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x
; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7746 eval "$ac_cv_use_imaglist"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7751 if test "$wxUSE_IMAGLIST" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7764 # Check whether --enable-listbook or --disable-listbook was given.
7765 if test "${enable_listbook+set}" = set; then
7766 enableval
="$enable_listbook"
7768 if test "$enableval" = yes; then
7769 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7771 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7776 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x
; then
7778 eval "DEFAULT_$LINE"
7783 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7787 eval "$ac_cv_use_listbook"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7792 if test "$wxUSE_LISTBOOK" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6
7796 echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7805 # Check whether --enable-listbox or --disable-listbox was given.
7806 if test "${enable_listbox+set}" = set; then
7807 enableval
="$enable_listbox"
7809 if test "$enableval" = yes; then
7810 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7812 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7817 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x
; then
7819 eval "DEFAULT_$LINE"
7824 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7828 eval "$ac_cv_use_listbox"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_LISTBOX" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7846 # Check whether --enable-listctrl or --disable-listctrl was given.
7847 if test "${enable_listctrl+set}" = set; then
7848 enableval
="$enable_listctrl"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7853 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7858 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7869 eval "$ac_cv_use_listctrl"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_LISTCTRL" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7887 # Check whether --enable-notebook or --disable-notebook was given.
7888 if test "${enable_notebook+set}" = set; then
7889 enableval
="$enable_notebook"
7891 if test "$enableval" = yes; then
7892 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7894 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7899 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x
; then
7901 eval "DEFAULT_$LINE"
7906 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7910 eval "$ac_cv_use_notebook"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7915 if test "$wxUSE_NOTEBOOK" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6
7919 echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7928 # Check whether --enable-radiobox or --disable-radiobox was given.
7929 if test "${enable_radiobox+set}" = set; then
7930 enableval
="$enable_radiobox"
7932 if test "$enableval" = yes; then
7933 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7935 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7940 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x
; then
7942 eval "DEFAULT_$LINE"
7947 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7951 eval "$ac_cv_use_radiobox"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7956 if test "$wxUSE_RADIOBOX" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6
7960 echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7969 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7970 if test "${enable_radiobtn+set}" = set; then
7971 enableval
="$enable_radiobtn"
7973 if test "$enableval" = yes; then
7974 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7976 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7981 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x
; then
7983 eval "DEFAULT_$LINE"
7988 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7992 eval "$ac_cv_use_radiobtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_RADIOBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6
8001 echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8010 # Check whether --enable-sash or --disable-sash was given.
8011 if test "${enable_sash+set}" = set; then
8012 enableval
="$enable_sash"
8014 if test "$enableval" = yes; then
8015 ac_cv_use_sash
='wxUSE_SASH=yes'
8017 ac_cv_use_sash
='wxUSE_SASH=no'
8022 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x
; then
8024 eval "DEFAULT_$LINE"
8029 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8033 eval "$ac_cv_use_sash"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8038 if test "$wxUSE_SASH" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8051 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8052 if test "${enable_scrollbar+set}" = set; then
8053 enableval
="$enable_scrollbar"
8055 if test "$enableval" = yes; then
8056 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8058 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8063 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x
; then
8065 eval "DEFAULT_$LINE"
8070 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8074 eval "$ac_cv_use_scrollbar"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8079 if test "$wxUSE_SCROLLBAR" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8083 echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8092 # Check whether --enable-slider or --disable-slider was given.
8093 if test "${enable_slider+set}" = set; then
8094 enableval
="$enable_slider"
8096 if test "$enableval" = yes; then
8097 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8099 ac_cv_use_slider
='wxUSE_SLIDER=no'
8104 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x
; then
8106 eval "DEFAULT_$LINE"
8111 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8115 eval "$ac_cv_use_slider"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8120 if test "$wxUSE_SLIDER" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6
8124 echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8133 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8134 if test "${enable_spinbtn+set}" = set; then
8135 enableval
="$enable_spinbtn"
8137 if test "$enableval" = yes; then
8138 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8140 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8145 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x
; then
8147 eval "DEFAULT_$LINE"
8152 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8156 eval "$ac_cv_use_spinbtn"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8161 if test "$wxUSE_SPINBTN" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8174 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8175 if test "${enable_spinctrl+set}" = set; then
8176 enableval
="$enable_spinctrl"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8181 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8186 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x
; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8197 eval "$ac_cv_use_spinctrl"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8202 if test "$wxUSE_SPINCTRL" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8215 # Check whether --enable-splitter or --disable-splitter was given.
8216 if test "${enable_splitter+set}" = set; then
8217 enableval
="$enable_splitter"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8222 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8227 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x
; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8238 eval "$ac_cv_use_splitter"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_SPLITTER" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8256 # Check whether --enable-statbmp or --disable-statbmp was given.
8257 if test "${enable_statbmp+set}" = set; then
8258 enableval
="$enable_statbmp"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8263 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8268 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8279 eval "$ac_cv_use_statbmp"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_STATBMP" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8297 # Check whether --enable-statbox or --disable-statbox was given.
8298 if test "${enable_statbox+set}" = set; then
8299 enableval
="$enable_statbox"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8304 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8309 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x
; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8320 eval "$ac_cv_use_statbox"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_STATBOX" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8338 # Check whether --enable-statline or --disable-statline was given.
8339 if test "${enable_statline+set}" = set; then
8340 enableval
="$enable_statline"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8345 ac_cv_use_statline
='wxUSE_STATLINE=no'
8350 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x
; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8361 eval "$ac_cv_use_statline"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_STATLINE" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8379 # Check whether --enable-stattext or --disable-stattext was given.
8380 if test "${enable_stattext+set}" = set; then
8381 enableval
="$enable_stattext"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8386 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8391 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x
; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8402 eval "$ac_cv_use_stattext"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_STATTEXT" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8420 # Check whether --enable-statusbar or --disable-statusbar was given.
8421 if test "${enable_statusbar+set}" = set; then
8422 enableval
="$enable_statusbar"
8424 if test "$enableval" = yes; then
8425 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8427 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8432 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x
; then
8434 eval "DEFAULT_$LINE"
8439 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8443 eval "$ac_cv_use_statusbar"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8448 if test "$wxUSE_STATUSBAR" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8461 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8462 if test "${enable_tabdialog+set}" = set; then
8463 enableval
="$enable_tabdialog"
8465 if test "$enableval" = yes; then
8466 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8468 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8473 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x
; then
8475 eval "DEFAULT_$LINE"
8480 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8484 eval "$ac_cv_use_tabdialog"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8489 if test "$wxUSE_TABDIALOG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8502 # Check whether --enable-textctrl or --disable-textctrl was given.
8503 if test "${enable_textctrl+set}" = set; then
8504 enableval
="$enable_textctrl"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8509 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8514 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x
; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8525 eval "$ac_cv_use_textctrl"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8530 if test "$wxUSE_TEXTCTRL" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8543 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8544 if test "${enable_togglebtn+set}" = set; then
8545 enableval
="$enable_togglebtn"
8547 if test "$enableval" = yes; then
8548 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8550 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8555 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x
; then
8557 eval "DEFAULT_$LINE"
8562 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8566 eval "$ac_cv_use_togglebtn"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_TOGGLEBTN" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8584 # Check whether --enable-toolbar or --disable-toolbar was given.
8585 if test "${enable_toolbar+set}" = set; then
8586 enableval
="$enable_toolbar"
8588 if test "$enableval" = yes; then
8589 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8591 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8596 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x
; then
8598 eval "DEFAULT_$LINE"
8603 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8607 eval "$ac_cv_use_toolbar"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8612 if test "$wxUSE_TOOLBAR" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8625 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8626 if test "${enable_tbarnative+set}" = set; then
8627 enableval
="$enable_tbarnative"
8629 if test "$enableval" = yes; then
8630 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8632 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8637 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x
; then
8639 eval "DEFAULT_$LINE"
8644 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8648 eval "$ac_cv_use_tbarnative"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8653 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8666 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8667 if test "${enable_tbarsmpl+set}" = set; then
8668 enableval
="$enable_tbarsmpl"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8673 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8678 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8689 eval "$ac_cv_use_tbarsmpl"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8707 # Check whether --enable-treectrl or --disable-treectrl was given.
8708 if test "${enable_treectrl+set}" = set; then
8709 enableval
="$enable_treectrl"
8711 if test "$enableval" = yes; then
8712 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8714 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8719 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x
; then
8721 eval "DEFAULT_$LINE"
8726 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8730 eval "$ac_cv_use_treectrl"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_TREECTRL" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8748 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8749 if test "${enable_tipwindow+set}" = set; then
8750 enableval
="$enable_tipwindow"
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8755 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8760 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x
; then
8762 eval "DEFAULT_$LINE"
8767 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8771 eval "$ac_cv_use_tipwindow"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8776 if test "$wxUSE_TIPWINDOW" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8789 # Check whether --enable-popupwin or --disable-popupwin was given.
8790 if test "${enable_popupwin+set}" = set; then
8791 enableval
="$enable_popupwin"
8793 if test "$enableval" = yes; then
8794 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8796 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8801 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x
; then
8803 eval "DEFAULT_$LINE"
8808 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8812 eval "$ac_cv_use_popupwin"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8817 if test "$wxUSE_POPUPWIN" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8832 # Check whether --enable-commondlg or --disable-commondlg was given.
8833 if test "${enable_commondlg+set}" = set; then
8834 enableval
="$enable_commondlg"
8836 if test "$enableval" = yes; then
8837 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8839 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8844 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x
; then
8846 eval "DEFAULT_$LINE"
8851 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8855 eval "$ac_cv_use_commondlg"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8860 if test "$wxUSE_COMMONDLGS" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8873 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8874 if test "${enable_choicedlg+set}" = set; then
8875 enableval
="$enable_choicedlg"
8877 if test "$enableval" = yes; then
8878 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8880 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8885 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x
; then
8887 eval "DEFAULT_$LINE"
8892 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8896 eval "$ac_cv_use_choicedlg"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8901 if test "$wxUSE_CHOICEDLG" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8914 # Check whether --enable-coldlg or --disable-coldlg was given.
8915 if test "${enable_coldlg+set}" = set; then
8916 enableval
="$enable_coldlg"
8918 if test "$enableval" = yes; then
8919 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8921 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8926 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x
; then
8928 eval "DEFAULT_$LINE"
8933 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8937 eval "$ac_cv_use_coldlg"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8942 if test "$wxUSE_COLOURDLG" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8955 # Check whether --enable-filedlg or --disable-filedlg was given.
8956 if test "${enable_filedlg+set}" = set; then
8957 enableval
="$enable_filedlg"
8959 if test "$enableval" = yes; then
8960 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8962 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8967 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x
; then
8969 eval "DEFAULT_$LINE"
8974 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8978 eval "$ac_cv_use_filedlg"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8983 if test "$wxUSE_FILEDLG" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8996 # Check whether --enable-finddlg or --disable-finddlg was given.
8997 if test "${enable_finddlg+set}" = set; then
8998 enableval
="$enable_finddlg"
9000 if test "$enableval" = yes; then
9001 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9003 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9008 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x
; then
9010 eval "DEFAULT_$LINE"
9015 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9019 eval "$ac_cv_use_finddlg"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9024 if test "$wxUSE_FINDREPLDLG" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9037 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9038 if test "${enable_fontdlg+set}" = set; then
9039 enableval
="$enable_fontdlg"
9041 if test "$enableval" = yes; then
9042 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9044 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9049 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x
; then
9051 eval "DEFAULT_$LINE"
9056 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9060 eval "$ac_cv_use_fontdlg"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9065 if test "$wxUSE_FONTDLG" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9078 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9079 if test "${enable_dirdlg+set}" = set; then
9080 enableval
="$enable_dirdlg"
9082 if test "$enableval" = yes; then
9083 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9085 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9090 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x
; then
9092 eval "DEFAULT_$LINE"
9097 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9101 eval "$ac_cv_use_dirdlg"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9106 if test "$wxUSE_DIRDLG" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9119 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9120 if test "${enable_msgdlg+set}" = set; then
9121 enableval
="$enable_msgdlg"
9123 if test "$enableval" = yes; then
9124 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9126 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9131 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x
; then
9133 eval "DEFAULT_$LINE"
9138 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9142 eval "$ac_cv_use_msgdlg"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9147 if test "$wxUSE_MSGDLG" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9160 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9161 if test "${enable_numberdlg+set}" = set; then
9162 enableval
="$enable_numberdlg"
9164 if test "$enableval" = yes; then
9165 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9167 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9172 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x
; then
9174 eval "DEFAULT_$LINE"
9179 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9183 eval "$ac_cv_use_numberdlg"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9188 if test "$wxUSE_NUMBERDLG" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9201 # Check whether --enable-splash or --disable-splash was given.
9202 if test "${enable_splash+set}" = set; then
9203 enableval
="$enable_splash"
9205 if test "$enableval" = yes; then
9206 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9208 ac_cv_use_splash
='wxUSE_SPLASH=no'
9213 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x
; then
9215 eval "DEFAULT_$LINE"
9220 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9224 eval "$ac_cv_use_splash"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9229 if test "$wxUSE_SPLASH" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231 echo "${ECHO_T}yes" >&6
9233 echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9242 # Check whether --enable-textdlg or --disable-textdlg was given.
9243 if test "${enable_textdlg+set}" = set; then
9244 enableval
="$enable_textdlg"
9246 if test "$enableval" = yes; then
9247 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9249 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9254 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x
; then
9256 eval "DEFAULT_$LINE"
9261 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9265 eval "$ac_cv_use_textdlg"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9270 if test "$wxUSE_TEXTDLG" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9283 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9284 if test "${enable_tipdlg+set}" = set; then
9285 enableval
="$enable_tipdlg"
9287 if test "$enableval" = yes; then
9288 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9290 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9295 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x
; then
9297 eval "DEFAULT_$LINE"
9302 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9306 eval "$ac_cv_use_tipdlg"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9311 if test "$wxUSE_STARTUP_TIPS" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9324 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9325 if test "${enable_progressdlg+set}" = set; then
9326 enableval
="$enable_progressdlg"
9328 if test "$enableval" = yes; then
9329 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9331 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9336 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x
; then
9338 eval "DEFAULT_$LINE"
9343 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9347 eval "$ac_cv_use_progressdlg"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9352 if test "$wxUSE_PROGRESSDLG" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9365 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9366 if test "${enable_wizarddlg+set}" = set; then
9367 enableval
="$enable_wizarddlg"
9369 if test "$enableval" = yes; then
9370 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9372 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9377 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x
; then
9379 eval "DEFAULT_$LINE"
9384 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9388 eval "$ac_cv_use_wizarddlg"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9393 if test "$wxUSE_WIZARDDLG" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9408 # Check whether --enable-menus or --disable-menus was given.
9409 if test "${enable_menus+set}" = set; then
9410 enableval
="$enable_menus"
9412 if test "$enableval" = yes; then
9413 ac_cv_use_menus
='wxUSE_MENUS=yes'
9415 ac_cv_use_menus
='wxUSE_MENUS=no'
9420 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x
; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9431 eval "$ac_cv_use_menus"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9436 if test "$wxUSE_MENUS" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9449 # Check whether --enable-miniframe or --disable-miniframe was given.
9450 if test "${enable_miniframe+set}" = set; then
9451 enableval
="$enable_miniframe"
9453 if test "$enableval" = yes; then
9454 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9456 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9461 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x
; then
9463 eval "DEFAULT_$LINE"
9468 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9472 eval "$ac_cv_use_miniframe"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9477 if test "$wxUSE_MINIFRAME" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9490 # Check whether --enable-tooltips or --disable-tooltips was given.
9491 if test "${enable_tooltips+set}" = set; then
9492 enableval
="$enable_tooltips"
9494 if test "$enableval" = yes; then
9495 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9497 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9502 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x
; then
9504 eval "DEFAULT_$LINE"
9509 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9513 eval "$ac_cv_use_tooltips"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9518 if test "$wxUSE_TOOLTIPS" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9529 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9531 # Check whether --enable-splines or --disable-splines was given.
9532 if test "${enable_splines+set}" = set; then
9533 enableval
="$enable_splines"
9535 if test "$enableval" = yes; then
9536 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9538 ac_cv_use_splines
='wxUSE_SPLINES=no'
9543 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x
; then
9545 eval "DEFAULT_$LINE"
9550 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9554 eval "$ac_cv_use_splines"
9555 if test "$no_cache" != 1; then
9556 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9559 if test "$wxUSE_SPLINES" = yes; then
9560 echo "$as_me:$LINENO: result: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9563 echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6
9569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9572 # Check whether --enable-validators or --disable-validators was given.
9573 if test "${enable_validators+set}" = set; then
9574 enableval
="$enable_validators"
9576 if test "$enableval" = yes; then
9577 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9579 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9584 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9585 if test "x$LINE" != x
; then
9586 eval "DEFAULT_$LINE"
9591 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9595 eval "$ac_cv_use_validators"
9596 if test "$no_cache" != 1; then
9597 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9600 if test "$wxUSE_VALIDATORS" = yes; then
9601 echo "$as_me:$LINENO: result: yes" >&5
9602 echo "${ECHO_T}yes" >&6
9604 echo "$as_me:$LINENO: result: no" >&5
9605 echo "${ECHO_T}no" >&6
9610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9611 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9613 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9614 if test "${enable_busyinfo+set}" = set; then
9615 enableval
="$enable_busyinfo"
9617 if test "$enableval" = yes; then
9618 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9620 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9625 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9626 if test "x$LINE" != x
; then
9627 eval "DEFAULT_$LINE"
9632 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9636 eval "$ac_cv_use_busyinfo"
9637 if test "$no_cache" != 1; then
9638 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9641 if test "$wxUSE_BUSYINFO" = yes; then
9642 echo "$as_me:$LINENO: result: yes" >&5
9643 echo "${ECHO_T}yes" >&6
9645 echo "$as_me:$LINENO: result: no" >&5
9646 echo "${ECHO_T}no" >&6
9651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9652 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9654 # Check whether --enable-joystick or --disable-joystick was given.
9655 if test "${enable_joystick+set}" = set; then
9656 enableval
="$enable_joystick"
9658 if test "$enableval" = yes; then
9659 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9661 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9666 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x
; then
9668 eval "DEFAULT_$LINE"
9673 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9677 eval "$ac_cv_use_joystick"
9678 if test "$no_cache" != 1; then
9679 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9682 if test "$wxUSE_JOYSTICK" = yes; then
9683 echo "$as_me:$LINENO: result: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9686 echo "$as_me:$LINENO: result: no" >&5
9687 echo "${ECHO_T}no" >&6
9692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9695 # Check whether --enable-metafile or --disable-metafile was given.
9696 if test "${enable_metafile+set}" = set; then
9697 enableval
="$enable_metafile"
9699 if test "$enableval" = yes; then
9700 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9702 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9707 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x
; then
9709 eval "DEFAULT_$LINE"
9714 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9718 eval "$ac_cv_use_metafile"
9719 if test "$no_cache" != 1; then
9720 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9723 if test "$wxUSE_METAFILE" = yes; then
9724 echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9727 echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6
9733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9734 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9736 # Check whether --enable-dragimage or --disable-dragimage was given.
9737 if test "${enable_dragimage+set}" = set; then
9738 enableval
="$enable_dragimage"
9740 if test "$enableval" = yes; then
9741 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9743 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9748 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x
; then
9750 eval "DEFAULT_$LINE"
9755 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9759 eval "$ac_cv_use_dragimage"
9760 if test "$no_cache" != 1; then
9761 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9764 if test "$wxUSE_DRAGIMAGE" = yes; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9777 # Check whether --enable-accessibility or --disable-accessibility was given.
9778 if test "${enable_accessibility+set}" = set; then
9779 enableval
="$enable_accessibility"
9781 if test "$enableval" = yes; then
9782 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9784 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9789 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x
; then
9791 eval "DEFAULT_$LINE"
9796 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9800 eval "$ac_cv_use_accessibility"
9801 if test "$no_cache" != 1; then
9802 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9805 if test "$wxUSE_ACCESSIBILITY" = yes; then
9806 echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9820 # Check whether --enable-palette or --disable-palette was given.
9821 if test "${enable_palette+set}" = set; then
9822 enableval
="$enable_palette"
9824 if test "$enableval" = yes; then
9825 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9827 ac_cv_use_palette
='wxUSE_PALETTE=no'
9832 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9843 eval "$ac_cv_use_palette"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9848 if test "$wxUSE_PALETTE" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9859 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9861 # Check whether --enable-image or --disable-image was given.
9862 if test "${enable_image+set}" = set; then
9863 enableval
="$enable_image"
9865 if test "$enableval" = yes; then
9866 ac_cv_use_image
='wxUSE_IMAGE=yes'
9868 ac_cv_use_image
='wxUSE_IMAGE=no'
9873 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x
; then
9875 eval "DEFAULT_$LINE"
9880 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9884 eval "$ac_cv_use_image"
9885 if test "$no_cache" != 1; then
9886 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9889 if test "$wxUSE_IMAGE" = yes; then
9890 echo "$as_me:$LINENO: result: yes" >&5
9891 echo "${ECHO_T}yes" >&6
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9902 # Check whether --enable-gif or --disable-gif was given.
9903 if test "${enable_gif+set}" = set; then
9904 enableval
="$enable_gif"
9906 if test "$enableval" = yes; then
9907 ac_cv_use_gif
='wxUSE_GIF=yes'
9909 ac_cv_use_gif
='wxUSE_GIF=no'
9914 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x
; then
9916 eval "DEFAULT_$LINE"
9921 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9925 eval "$ac_cv_use_gif"
9926 if test "$no_cache" != 1; then
9927 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9930 if test "$wxUSE_GIF" = yes; then
9931 echo "$as_me:$LINENO: result: yes" >&5
9932 echo "${ECHO_T}yes" >&6
9934 echo "$as_me:$LINENO: result: no" >&5
9935 echo "${ECHO_T}no" >&6
9940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9943 # Check whether --enable-pcx or --disable-pcx was given.
9944 if test "${enable_pcx+set}" = set; then
9945 enableval
="$enable_pcx"
9947 if test "$enableval" = yes; then
9948 ac_cv_use_pcx
='wxUSE_PCX=yes'
9950 ac_cv_use_pcx
='wxUSE_PCX=no'
9955 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x
; then
9957 eval "DEFAULT_$LINE"
9962 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9966 eval "$ac_cv_use_pcx"
9967 if test "$no_cache" != 1; then
9968 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9971 if test "$wxUSE_PCX" = yes; then
9972 echo "$as_me:$LINENO: result: yes" >&5
9973 echo "${ECHO_T}yes" >&6
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9984 # Check whether --enable-iff or --disable-iff was given.
9985 if test "${enable_iff+set}" = set; then
9986 enableval
="$enable_iff"
9988 if test "$enableval" = yes; then
9989 ac_cv_use_iff
='wxUSE_IFF=yes'
9991 ac_cv_use_iff
='wxUSE_IFF=no'
9996 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x
; then
9998 eval "DEFAULT_$LINE"
10003 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10007 eval "$ac_cv_use_iff"
10008 if test "$no_cache" != 1; then
10009 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10012 if test "$wxUSE_IFF" = yes; then
10013 echo "$as_me:$LINENO: result: yes" >&5
10014 echo "${ECHO_T}yes" >&6
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10025 # Check whether --enable-pnm or --disable-pnm was given.
10026 if test "${enable_pnm+set}" = set; then
10027 enableval
="$enable_pnm"
10029 if test "$enableval" = yes; then
10030 ac_cv_use_pnm
='wxUSE_PNM=yes'
10032 ac_cv_use_pnm
='wxUSE_PNM=no'
10037 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x
; then
10039 eval "DEFAULT_$LINE"
10044 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10048 eval "$ac_cv_use_pnm"
10049 if test "$no_cache" != 1; then
10050 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10053 if test "$wxUSE_PNM" = yes; then
10054 echo "$as_me:$LINENO: result: yes" >&5
10055 echo "${ECHO_T}yes" >&6
10057 echo "$as_me:$LINENO: result: no" >&5
10058 echo "${ECHO_T}no" >&6
10063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10066 # Check whether --enable-xpm or --disable-xpm was given.
10067 if test "${enable_xpm+set}" = set; then
10068 enableval
="$enable_xpm"
10070 if test "$enableval" = yes; then
10071 ac_cv_use_xpm
='wxUSE_XPM=yes'
10073 ac_cv_use_xpm
='wxUSE_XPM=no'
10078 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x
; then
10080 eval "DEFAULT_$LINE"
10085 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10089 eval "$ac_cv_use_xpm"
10090 if test "$no_cache" != 1; then
10091 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10094 if test "$wxUSE_XPM" = yes; then
10095 echo "$as_me:$LINENO: result: yes" >&5
10096 echo "${ECHO_T}yes" >&6
10098 echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6
10104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10107 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10108 if test "${enable_ico_cur+set}" = set; then
10109 enableval
="$enable_ico_cur"
10111 if test "$enableval" = yes; then
10112 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10114 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10119 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x
; then
10121 eval "DEFAULT_$LINE"
10126 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10130 eval "$ac_cv_use_ico_cur"
10131 if test "$no_cache" != 1; then
10132 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10135 if test "$wxUSE_ICO_CUR" = yes; then
10136 echo "$as_me:$LINENO: result: yes" >&5
10137 echo "${ECHO_T}yes" >&6
10139 echo "$as_me:$LINENO: result: no" >&5
10140 echo "${ECHO_T}no" >&6
10148 # Check whether --with-flavour or --without-flavour was given.
10149 if test "${with_flavour+set}" = set; then
10150 withval
="$with_flavour"
10151 WX_FLAVOUR
="$withval"
10157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10160 # Check whether --enable-official_build or --disable-official_build was given.
10161 if test "${enable_official_build+set}" = set; then
10162 enableval
="$enable_official_build"
10164 if test "$enableval" = yes; then
10165 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10167 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10172 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10173 if test "x$LINE" != x
; then
10174 eval "DEFAULT_$LINE"
10179 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10183 eval "$ac_cv_use_official_build"
10184 if test "$no_cache" != 1; then
10185 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10188 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10189 echo "$as_me:$LINENO: result: yes" >&5
10190 echo "${ECHO_T}yes" >&6
10192 echo "$as_me:$LINENO: result: no" >&5
10193 echo "${ECHO_T}no" >&6
10196 # Check whether --enable-vendor or --disable-vendor was given.
10197 if test "${enable_vendor+set}" = set; then
10198 enableval
="$enable_vendor"
10199 VENDOR
="$enableval"
10201 if test "x$VENDOR" = "x"; then
10208 echo "saving argument cache $wx_arg_cache_file"
10209 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10213 echo "$as_me:$LINENO: checking for toolkit" >&5
10214 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10216 # In Wine, we need to default to MSW, not GTK or MOTIF
10217 if test "$wxUSE_WINE" = "yes"; then
10218 DEFAULT_DEFAULT_wxUSE_GTK
=0
10219 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10220 DEFAULT_DEFAULT_wxUSE_MSW
=1
10224 if test "$wxUSE_GUI" = "yes"; then
10226 if test "$USE_BEOS" = 1; then
10227 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10228 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10229 { (exit 1); exit 1; }; }
10232 if test "$TOOLKIT_GIVEN" = 1; then
10233 for toolkit
in `echo $ALL_TOOLKITS`; do
10235 eval "value=\$${var}"
10236 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10239 for toolkit
in `echo $ALL_TOOLKITS`; do
10240 if test "$has_toolkit_in_cache" != 1; then
10241 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10243 var
=DEFAULT_wxUSE_
$toolkit
10245 eval "wxUSE_$toolkit=\$${var}"
10249 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10250 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10251 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10254 *-pc-os2_emx | *-pc-os2-emx )
10255 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10258 case "$NUM_TOOLKITS" in
10262 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10263 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10264 { (exit 1); exit 1; }; }
10267 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10268 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10269 { (exit 1); exit 1; }; }
10272 for toolkit
in `echo $ALL_TOOLKITS`; do
10274 eval "value=\$${var}"
10275 if test "x$value" != x
; then
10276 cache_var
=CACHE_
$toolkit
10277 eval "cache=\$${cache_var}"
10278 if test "$cache" = 1; then
10279 echo "$var=$value" >> ${wx_arg_cache_file}
10281 if test "$value" = 1; then
10282 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10283 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10284 echo "${ECHO_T}$toolkit_echo" >&6
10289 if test "x$host_alias" != "x"; then
10290 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10291 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10293 echo "$as_me:$LINENO: result: base only" >&5
10294 echo "${ECHO_T}base only" >&6
10299 doesnt_want_win32
=0
10302 if test "$wxUSE_MSW" = 1 ; then
10305 doesnt_want_win32
=1
10313 if test "$wxUSE_WINE" = "yes"; then
10318 LDFLAGS_GUI
="-mwindows"
10321 if test "$wants_win32" = 1 ; then
10324 cat >>confdefs.h
<<\_ACEOF
10325 #define __WIN32__ 1
10328 cat >>confdefs.h
<<\_ACEOF
10329 #define __WIN95__ 1
10332 cat >>confdefs.h
<<\_ACEOF
10333 #define __WINDOWS__ 1
10336 cat >>confdefs.h
<<\_ACEOF
10337 #define __GNUWIN32__ 1
10340 cat >>confdefs.h
<<\_ACEOF
10344 cat >>confdefs.h
<<\_ACEOF
10345 #define WINVER 0x0400
10349 if test "$doesnt_want_win32" = 1 ; then
10354 if test "$USE_UNIX" = 1 ; then
10356 cat >>confdefs.h
<<\_ACEOF
10363 cat >confcache
<<\_ACEOF
10364 # This file is a shell script that caches the results of configure
10365 # tests run on this system so they can be shared between configure
10366 # scripts and configure runs, see configure's option --config-cache.
10367 # It is not useful on other systems. If it contains results you don't
10368 # want to keep, you may remove or edit it.
10370 # config.status only pays attention to the cache file if you give it
10371 # the --recheck option to rerun configure.
10373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10375 # following values.
10379 # The following way of writing the cache mishandles newlines in values,
10380 # but we know of no workaround that is simple, portable, and efficient.
10381 # So, don't put newlines in cache variables' values.
10382 # Ultrix sh set writes to stderr and can't be redirected directly,
10383 # and sets the high bit in the cache file unless we assign to the vars.
10386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10388 # `set' does not quote correctly, so add quotes (double-quote
10389 # substitution turns \\\\ into \\, and sed turns \\ into \).
10392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10395 # `set' quotes correctly as required by POSIX, so do not add quotes.
10397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10408 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10409 if test -w $cache_file; then
10410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10411 cat confcache
>$cache_file
10413 echo "not updating unwritable cache $cache_file"
10418 if test "$build" != "$host" ; then
10419 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10421 CXX
=$host_alias-c++
10423 RANLIB
=$host_alias-ranlib
10424 DLLTOOL
=$host_alias-dlltool
10425 RESCOMP
=$host_alias-windres
10426 STRIP
=$host_alias-strip
10427 elif test "x$CC" '!=' "x"; then
10428 echo "You set CC, I assume you know what you are doing."
10430 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10431 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10432 { (exit 1); exit 1; }; }
10438 ac_cpp
='$CPP $CPPFLAGS'
10439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10442 if test -n "$ac_tool_prefix"; then
10443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10444 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10445 echo "$as_me:$LINENO: checking for $ac_word" >&5
10446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10447 if test "${ac_cv_prog_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 if test -n "$CC"; then
10451 ac_cv_prog_CC
="$CC" # Let the user override the test.
10453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10454 for as_dir
in $PATH
10457 test -z "$as_dir" && as_dir
=.
10458 for ac_exec_ext
in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 if test -n "$CC"; then
10471 echo "$as_me:$LINENO: result: $CC" >&5
10472 echo "${ECHO_T}$CC" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10479 if test -z "$ac_cv_prog_CC"; then
10481 # Extract the first word of "gcc", so it can be a program name with args.
10482 set dummy gcc
; ac_word
=$2
10483 echo "$as_me:$LINENO: checking for $ac_word" >&5
10484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 if test -n "$ac_ct_CC"; then
10489 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10492 for as_dir
in $PATH
10495 test -z "$as_dir" && as_dir
=.
10496 for ac_exec_ext
in '' $ac_executable_extensions; do
10497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10498 ac_cv_prog_ac_ct_CC
="gcc"
10499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10507 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10508 if test -n "$ac_ct_CC"; then
10509 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10510 echo "${ECHO_T}$ac_ct_CC" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 CC
="$ac_cv_prog_CC"
10521 if test -z "$CC"; then
10522 if test -n "$ac_tool_prefix"; then
10523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10524 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10525 echo "$as_me:$LINENO: checking for $ac_word" >&5
10526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10527 if test "${ac_cv_prog_CC+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 if test -n "$CC"; then
10531 ac_cv_prog_CC
="$CC" # Let the user override the test.
10533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10534 for as_dir
in $PATH
10537 test -z "$as_dir" && as_dir
=.
10538 for ac_exec_ext
in '' $ac_executable_extensions; do
10539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10540 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10550 if test -n "$CC"; then
10551 echo "$as_me:$LINENO: result: $CC" >&5
10552 echo "${ECHO_T}$CC" >&6
10554 echo "$as_me:$LINENO: result: no" >&5
10555 echo "${ECHO_T}no" >&6
10559 if test -z "$ac_cv_prog_CC"; then
10561 # Extract the first word of "cc", so it can be a program name with args.
10562 set dummy cc
; ac_word
=$2
10563 echo "$as_me:$LINENO: checking for $ac_word" >&5
10564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 if test -n "$ac_ct_CC"; then
10569 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_ac_ct_CC
="cc"
10579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10588 if test -n "$ac_ct_CC"; then
10589 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10590 echo "${ECHO_T}$ac_ct_CC" >&6
10592 echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6
10598 CC
="$ac_cv_prog_CC"
10602 if test -z "$CC"; then
10603 # Extract the first word of "cc", so it can be a program name with args.
10604 set dummy cc
; ac_word
=$2
10605 echo "$as_me:$LINENO: checking for $ac_word" >&5
10606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10607 if test "${ac_cv_prog_CC+set}" = set; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 if test -n "$CC"; then
10611 ac_cv_prog_CC
="$CC" # Let the user override the test.
10613 ac_prog_rejected
=no
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10622 ac_prog_rejected
=yes
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 if test $ac_prog_rejected = yes; then
10633 # We found a bogon in the path, so make sure we never use it.
10634 set dummy
$ac_cv_prog_CC
10636 if test $# != 0; then
10637 # We chose a different compiler from the bogus one.
10638 # However, it has the same basename, so the bogon will be chosen
10639 # first if we set CC to just the basename; use the full file name.
10641 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10656 if test -z "$CC"; then
10657 if test -n "$ac_tool_prefix"; then
10660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10661 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10662 echo "$as_me:$LINENO: checking for $ac_word" >&5
10663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10664 if test "${ac_cv_prog_CC+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 if test -n "$CC"; then
10668 ac_cv_prog_CC
="$CC" # Let the user override the test.
10670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10671 for as_dir
in $PATH
10674 test -z "$as_dir" && as_dir
=.
10675 for ac_exec_ext
in '' $ac_executable_extensions; do
10676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10687 if test -n "$CC"; then
10688 echo "$as_me:$LINENO: result: $CC" >&5
10689 echo "${ECHO_T}$CC" >&6
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10695 test -n "$CC" && break
10698 if test -z "$CC"; then
10702 # Extract the first word of "$ac_prog", so it can be a program name with args.
10703 set dummy
$ac_prog; ac_word
=$2
10704 echo "$as_me:$LINENO: checking for $ac_word" >&5
10705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 if test -n "$ac_ct_CC"; then
10710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10713 for as_dir
in $PATH
10716 test -z "$as_dir" && as_dir
=.
10717 for ac_exec_ext
in '' $ac_executable_extensions; do
10718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_prog_ac_ct_CC
="$ac_prog"
10720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10729 if test -n "$ac_ct_CC"; then
10730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10731 echo "${ECHO_T}$ac_ct_CC" >&6
10733 echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6
10737 test -n "$ac_ct_CC" && break
10746 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10747 See \`config.log' for more details." >&5
10748 echo "$as_me: error: no acceptable C compiler found in \$PATH
10749 See \`config.log' for more details." >&2;}
10750 { (exit 1); exit 1; }; }
10752 # Provide some information about the compiler.
10753 echo "$as_me:$LINENO:" \
10754 "checking for C compiler version" >&5
10755 ac_compiler
=`set X $ac_compile; echo $2`
10756 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10757 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }
10761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10762 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }
10766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10767 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }
10772 cat >conftest.
$ac_ext <<_ACEOF
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10787 ac_clean_files_save
=$ac_clean_files
10788 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10789 # Try to create an executable without -o first, disregard a.out.
10790 # It will help us diagnose broken compilers, and finding out an intuition
10792 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10793 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10794 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10795 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10796 (eval $ac_link_default) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; then
10800 # Find the output, starting from the most likely. This scheme is
10801 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10804 # Be careful to initialize this variable, since it used to be cached.
10805 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10807 # b.out is created by i960 compilers.
10808 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10810 test -f "$ac_file" || continue
10812 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10815 # This is the source file.
10818 # We found the default executable, but exeext='' is most
10822 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10823 # FIXME: I believe we export ac_cv_exeext for Libtool,
10824 # but it would be cool to find out if it's true. Does anybody
10825 # maintain Libtool? --akim.
10826 export ac_cv_exeext
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.
$ac_ext >&5
10836 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: C compiler cannot create executables
10839 See \`config.log' for more details." >&2;}
10840 { (exit 77); exit 77; }; }
10843 ac_exeext
=$ac_cv_exeext
10844 echo "$as_me:$LINENO: result: $ac_file" >&5
10845 echo "${ECHO_T}$ac_file" >&6
10847 # Check the compiler produces executables we can run. If not, either
10848 # the compiler is broken, or we cross compile.
10849 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10850 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10851 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10852 # If not cross compiling, check that we can run a simple program.
10853 if test "$cross_compiling" != yes; then
10854 if { ac_try
='./$ac_file'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10862 if test "$cross_compiling" = maybe
; then
10863 cross_compiling
=yes
10865 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10866 If you meant to cross compile, use \`--host'.
10867 See \`config.log' for more details." >&5
10868 echo "$as_me: error: cannot run C compiled programs.
10869 If you meant to cross compile, use \`--host'.
10870 See \`config.log' for more details." >&2;}
10871 { (exit 1); exit 1; }; }
10875 echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6
10878 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10879 ac_clean_files
=$ac_clean_files_save
10880 # Check the compiler produces executables we can run. If not, either
10881 # the compiler is broken, or we cross compile.
10882 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10883 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10884 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10885 echo "${ECHO_T}$cross_compiling" >&6
10887 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10888 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10890 (eval $ac_link) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; then
10894 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10895 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10896 # work properly (i.e., refer to `conftest.exe'), while it won't with
10898 for ac_file
in conftest.exe conftest conftest.
*; do
10899 test -f "$ac_file" || continue
10901 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10902 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10903 export ac_cv_exeext
10909 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10910 See \`config.log' for more details." >&5
10911 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10912 See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10916 rm -f conftest
$ac_cv_exeext
10917 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10918 echo "${ECHO_T}$ac_cv_exeext" >&6
10920 rm -f conftest.
$ac_ext
10921 EXEEXT
=$ac_cv_exeext
10923 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10924 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10925 if test "${ac_cv_objext+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 cat >conftest.
$ac_ext <<_ACEOF
10931 cat confdefs.h
>>conftest.
$ac_ext
10932 cat >>conftest.
$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10943 rm -f conftest.o conftest.obj
10944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10945 (eval $ac_compile) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; then
10949 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10951 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10952 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.
$ac_ext >&5
10960 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10961 See \`config.log' for more details." >&5
10962 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10963 See \`config.log' for more details." >&2;}
10964 { (exit 1); exit 1; }; }
10967 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10969 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10970 echo "${ECHO_T}$ac_cv_objext" >&6
10971 OBJEXT
=$ac_cv_objext
10973 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10974 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10975 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10978 cat >conftest.
$ac_ext <<_ACEOF
10981 cat confdefs.h
>>conftest.
$ac_ext
10982 cat >>conftest.
$ac_ext <<_ACEOF
10983 /* end confdefs.h. */
10996 rm -f conftest.
$ac_objext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>conftest.er1
11000 grep -v '^ *+' conftest.er1
>conftest.err
11002 cat conftest.err
>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try
='test -z "$ac_c_werror_flag"
11006 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } &&
11012 { ac_try
='test -s conftest.$ac_objext'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then
11018 ac_compiler_gnu
=yes
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.
$ac_ext >&5
11025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11026 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11029 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11030 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11031 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11032 ac_test_CFLAGS
=${CFLAGS+set}
11033 ac_save_CFLAGS
=$CFLAGS
11035 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11036 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11037 if test "${ac_cv_prog_cc_g+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 cat >conftest.
$ac_ext <<_ACEOF
11043 cat confdefs.h
>>conftest.
$ac_ext
11044 cat >>conftest.
$ac_ext <<_ACEOF
11045 /* end confdefs.h. */
11055 rm -f conftest.
$ac_objext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11057 (eval $ac_compile) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1
>conftest.err
11061 cat conftest.err
>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try
='test -z "$ac_c_werror_flag"
11065 || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try
='test -s conftest.$ac_objext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_cv_prog_cc_g
=yes
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.
$ac_ext >&5
11084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11088 if test "$ac_test_CFLAGS" = set; then
11089 CFLAGS
=$ac_save_CFLAGS
11090 elif test $ac_cv_prog_cc_g = yes; then
11091 if test "$GCC" = yes; then
11097 if test "$GCC" = yes; then
11103 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11104 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11105 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 ac_cv_prog_cc_stdc
=no
11110 cat >conftest.
$ac_ext <<_ACEOF
11113 cat confdefs.h
>>conftest.
$ac_ext
11114 cat >>conftest.
$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11116 #include <stdarg.h>
11118 #include <sys/types.h>
11119 #include <sys/stat.h>
11120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11121 struct buf { int x; };
11122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11123 static char *e (p, i)
11129 static char *f (char * (*g) (char **, int), char **p, ...)
11134 s = g (p, va_arg (v,int));
11139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11140 function prototypes and stuff, but not '\xHH' hex character constants.
11141 These don't provoke an error unfortunately, instead are silently treated
11142 as 'x'. The following induces an error, until -std1 is added to get
11143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11144 array size at least. It's necessary to write '\x00'==0 to get something
11145 that's true only with -std1. */
11146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11148 int test (int i, double x);
11149 struct s1 {int (*f) (int a);};
11150 struct s2 {int (*f) (double a);};
11151 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11157 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11162 # Don't try gcc -ansi; that turns off useful extensions and
11163 # breaks some systems' header files.
11164 # AIX -qlanglvl=ansi
11165 # Ultrix and OSF/1 -std1
11166 # HP-UX 10.20 and later -Ae
11167 # HP-UX older versions -Aa -D_HPUX_SOURCE
11168 # SVR4 -Xc -D__EXTENSIONS__
11169 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11171 CC
="$ac_save_CC $ac_arg"
11172 rm -f conftest.
$ac_objext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11174 (eval $ac_compile) 2>conftest.er1
11176 grep -v '^ *+' conftest.er1
>conftest.err
11178 cat conftest.err
>&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } &&
11181 { ac_try
='test -z "$ac_c_werror_flag"
11182 || test ! -s conftest.err'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; } &&
11188 { ac_try
='test -s conftest.$ac_objext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 ac_cv_prog_cc_stdc
=$ac_arg
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.
$ac_ext >&5
11201 rm -f conftest.err conftest.
$ac_objext
11203 rm -f conftest.
$ac_ext conftest.
$ac_objext
11208 case "x$ac_cv_prog_cc_stdc" in
11210 echo "$as_me:$LINENO: result: none needed" >&5
11211 echo "${ECHO_T}none needed" >&6 ;;
11213 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11214 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11215 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11218 # Some people use a C++ compiler to compile C. Since we use `exit',
11219 # in C++ we need to declare it. In case someone uses the same compiler
11220 # for both compiling C and C++ we need to have the C++ compiler decide
11221 # the declaration of exit, since it's the most demanding environment.
11222 cat >conftest.
$ac_ext <<_ACEOF
11223 #ifndef __cplusplus
11227 rm -f conftest.
$ac_objext
11228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11229 (eval $ac_compile) 2>conftest.er1
11231 grep -v '^ *+' conftest.er1
>conftest.err
11233 cat conftest.err
>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } &&
11236 { ac_try
='test -z "$ac_c_werror_flag"
11237 || test ! -s conftest.err'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; } &&
11243 { ac_try
='test -s conftest.$ac_objext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 for ac_declaration
in \
11251 'extern "C" void std::exit (int) throw (); using std::exit;' \
11252 'extern "C" void std::exit (int); using std::exit;' \
11253 'extern "C" void exit (int) throw ();' \
11254 'extern "C" void exit (int);' \
11257 cat >conftest.
$ac_ext <<_ACEOF
11260 cat confdefs.h
>>conftest.
$ac_ext
11261 cat >>conftest.
$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11264 #include <stdlib.h>
11273 rm -f conftest.
$ac_objext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11275 (eval $ac_compile) 2>conftest.er1
11277 grep -v '^ *+' conftest.er1
>conftest.err
11279 cat conftest.err
>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } &&
11282 { ac_try
='test -z "$ac_c_werror_flag"
11283 || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try
='test -s conftest.$ac_objext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.
$ac_ext >&5
11302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11303 cat >conftest.
$ac_ext <<_ACEOF
11306 cat confdefs.h
>>conftest.
$ac_ext
11307 cat >>conftest.
$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11318 rm -f conftest.
$ac_objext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11320 (eval $ac_compile) 2>conftest.er1
11322 grep -v '^ *+' conftest.er1
>conftest.err
11324 cat conftest.err
>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try
='test -s conftest.$ac_objext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 if test -n "$ac_declaration"; then
11350 echo '#ifdef __cplusplus' >>confdefs.h
11351 echo $ac_declaration >>confdefs.h
11352 echo '#endif' >>confdefs.h
11356 echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.
$ac_ext >&5
11360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11362 ac_cpp
='$CPP $CPPFLAGS'
11363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11370 ac_cpp
='$CPP $CPPFLAGS'
11371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11374 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11375 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11376 # On Suns, sometimes $CPP names a directory.
11377 if test -n "$CPP" && test -d "$CPP"; then
11380 if test -z "$CPP"; then
11381 if test "${ac_cv_prog_CPP+set}" = set; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6
11384 # Double quotes because CPP needs to be expanded
11385 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11387 ac_preproc_ok
=false
11388 for ac_c_preproc_warn_flag
in '' yes
11390 # Use a header file that comes with gcc, so configuring glibc
11391 # with a fresh cross-compiler works.
11392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11393 # <limits.h> exists even on freestanding compilers.
11394 # On the NeXT, cc -E runs the code through the compiler's parser,
11395 # not just through cpp. "Syntax error" is here to catch this case.
11396 cat >conftest.
$ac_ext <<_ACEOF
11399 cat confdefs.h
>>conftest.
$ac_ext
11400 cat >>conftest.
$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11403 # include <limits.h>
11405 # include <assert.h>
11409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11410 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11412 grep -v '^ *+' conftest.er1
>conftest.err
11414 cat conftest.err
>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); } >/dev
/null
; then
11417 if test -s conftest.err
; then
11418 ac_cpp_err
=$ac_c_preproc_warn_flag
11419 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11426 if test -z "$ac_cpp_err"; then
11429 echo "$as_me: failed program was:" >&5
11430 sed 's/^/| /' conftest.
$ac_ext >&5
11432 # Broken: fails on valid input.
11435 rm -f conftest.err conftest.
$ac_ext
11437 # OK, works on sane cases. Now check whether non-existent headers
11438 # can be detected and how.
11439 cat >conftest.
$ac_ext <<_ACEOF
11442 cat confdefs.h
>>conftest.
$ac_ext
11443 cat >>conftest.
$ac_ext <<_ACEOF
11444 /* end confdefs.h. */
11445 #include <ac_nonexistent.h>
11447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11448 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11450 grep -v '^ *+' conftest.er1
>conftest.err
11452 cat conftest.err
>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } >/dev
/null
; then
11455 if test -s conftest.err
; then
11456 ac_cpp_err
=$ac_c_preproc_warn_flag
11457 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11464 if test -z "$ac_cpp_err"; then
11465 # Broken: success on invalid input.
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.
$ac_ext >&5
11471 # Passes both tests.
11475 rm -f conftest.err conftest.
$ac_ext
11478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11479 rm -f conftest.err conftest.
$ac_ext
11480 if $ac_preproc_ok; then
11485 ac_cv_prog_CPP
=$CPP
11488 CPP
=$ac_cv_prog_CPP
11490 ac_cv_prog_CPP
=$CPP
11492 echo "$as_me:$LINENO: result: $CPP" >&5
11493 echo "${ECHO_T}$CPP" >&6
11494 ac_preproc_ok
=false
11495 for ac_c_preproc_warn_flag
in '' yes
11497 # Use a header file that comes with gcc, so configuring glibc
11498 # with a fresh cross-compiler works.
11499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11500 # <limits.h> exists even on freestanding compilers.
11501 # On the NeXT, cc -E runs the code through the compiler's parser,
11502 # not just through cpp. "Syntax error" is here to catch this case.
11503 cat >conftest.
$ac_ext <<_ACEOF
11506 cat confdefs.h
>>conftest.
$ac_ext
11507 cat >>conftest.
$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11510 # include <limits.h>
11512 # include <assert.h>
11516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11519 grep -v '^ *+' conftest.er1
>conftest.err
11521 cat conftest.err
>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } >/dev
/null
; then
11524 if test -s conftest.err
; then
11525 ac_cpp_err
=$ac_c_preproc_warn_flag
11526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11533 if test -z "$ac_cpp_err"; then
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.
$ac_ext >&5
11539 # Broken: fails on valid input.
11542 rm -f conftest.err conftest.
$ac_ext
11544 # OK, works on sane cases. Now check whether non-existent headers
11545 # can be detected and how.
11546 cat >conftest.
$ac_ext <<_ACEOF
11549 cat confdefs.h
>>conftest.
$ac_ext
11550 cat >>conftest.
$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 #include <ac_nonexistent.h>
11554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11557 grep -v '^ *+' conftest.er1
>conftest.err
11559 cat conftest.err
>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } >/dev
/null
; then
11562 if test -s conftest.err
; then
11563 ac_cpp_err
=$ac_c_preproc_warn_flag
11564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11571 if test -z "$ac_cpp_err"; then
11572 # Broken: success on invalid input.
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.
$ac_ext >&5
11578 # Passes both tests.
11582 rm -f conftest.err conftest.
$ac_ext
11585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11586 rm -f conftest.err conftest.
$ac_ext
11587 if $ac_preproc_ok; then
11590 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11591 See \`config.log' for more details." >&5
11592 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11593 See \`config.log' for more details." >&2;}
11594 { (exit 1); exit 1; }; }
11598 ac_cpp
='$CPP $CPPFLAGS'
11599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11604 echo "$as_me:$LINENO: checking for egrep" >&5
11605 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11606 if test "${ac_cv_prog_egrep+set}" = set; then
11607 echo $ECHO_N "(cached) $ECHO_C" >&6
11609 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11610 then ac_cv_prog_egrep
='grep -E'
11611 else ac_cv_prog_egrep
='egrep'
11614 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11615 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11616 EGREP
=$ac_cv_prog_egrep
11619 if test $ac_cv_c_compiler_gnu = yes; then
11620 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11621 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11622 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 ac_pattern
="Autoconf.*'x'"
11626 cat >conftest.
$ac_ext <<_ACEOF
11629 cat confdefs.h
>>conftest.
$ac_ext
11630 cat >>conftest.
$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11636 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11637 ac_cv_prog_gcc_traditional
=yes
11639 ac_cv_prog_gcc_traditional
=no
11644 if test $ac_cv_prog_gcc_traditional = no
; then
11645 cat >conftest.
$ac_ext <<_ACEOF
11648 cat confdefs.h
>>conftest.
$ac_ext
11649 cat >>conftest.
$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 #include <termio.h>
11654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11655 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11656 ac_cv_prog_gcc_traditional
=yes
11662 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11663 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11664 if test $ac_cv_prog_gcc_traditional = yes; then
11665 CC
="$CC -traditional"
11673 ac_cpp
='$CXXCPP $CPPFLAGS'
11674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11679 CXXFLAGS
=${CXXFLAGS:=}
11681 ac_cpp
='$CXXCPP $CPPFLAGS'
11682 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11683 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11684 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11685 if test -n "$ac_tool_prefix"; then
11686 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11689 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11690 echo "$as_me:$LINENO: checking for $ac_word" >&5
11691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11692 if test "${ac_cv_prog_CXX+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 if test -n "$CXX"; then
11696 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11699 for as_dir
in $PATH
11702 test -z "$as_dir" && as_dir
=.
11703 for ac_exec_ext
in '' $ac_executable_extensions; do
11704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11705 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11714 CXX
=$ac_cv_prog_CXX
11715 if test -n "$CXX"; then
11716 echo "$as_me:$LINENO: result: $CXX" >&5
11717 echo "${ECHO_T}$CXX" >&6
11719 echo "$as_me:$LINENO: result: no" >&5
11720 echo "${ECHO_T}no" >&6
11723 test -n "$CXX" && break
11726 if test -z "$CXX"; then
11728 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11730 # Extract the first word of "$ac_prog", so it can be a program name with args.
11731 set dummy
$ac_prog; ac_word
=$2
11732 echo "$as_me:$LINENO: checking for $ac_word" >&5
11733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11734 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 if test -n "$ac_ct_CXX"; then
11738 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11741 for as_dir
in $PATH
11744 test -z "$as_dir" && as_dir
=.
11745 for ac_exec_ext
in '' $ac_executable_extensions; do
11746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11756 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11757 if test -n "$ac_ct_CXX"; then
11758 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11759 echo "${ECHO_T}$ac_ct_CXX" >&6
11761 echo "$as_me:$LINENO: result: no" >&5
11762 echo "${ECHO_T}no" >&6
11765 test -n "$ac_ct_CXX" && break
11767 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11773 # Provide some information about the compiler.
11774 echo "$as_me:$LINENO:" \
11775 "checking for C++ compiler version" >&5
11776 ac_compiler
=`set X $ac_compile; echo $2`
11777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11778 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); }
11782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11783 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }
11787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11788 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }
11793 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11794 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11795 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 cat >conftest.
$ac_ext <<_ACEOF
11801 cat confdefs.h
>>conftest.
$ac_ext
11802 cat >>conftest.
$ac_ext <<_ACEOF
11803 /* end confdefs.h. */
11816 rm -f conftest.
$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1
>conftest.err
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try
='test -z "$ac_cxx_werror_flag"
11826 || test ! -s conftest.err'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; } &&
11832 { ac_try
='test -s conftest.$ac_objext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_compiler_gnu
=yes
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11846 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11849 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11850 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11851 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11852 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11853 ac_save_CXXFLAGS
=$CXXFLAGS
11855 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11856 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11857 if test "${ac_cv_prog_cxx_g+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 cat >conftest.
$ac_ext <<_ACEOF
11863 cat confdefs.h
>>conftest.
$ac_ext
11864 cat >>conftest.
$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11875 rm -f conftest.
$ac_objext
11876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11877 (eval $ac_compile) 2>conftest.er1
11879 grep -v '^ *+' conftest.er1
>conftest.err
11881 cat conftest.err
>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try
='test -z "$ac_cxx_werror_flag"
11885 || test ! -s conftest.err'
11886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887 (eval $ac_try) 2>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; } &&
11891 { ac_try
='test -s conftest.$ac_objext'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; }; then
11897 ac_cv_prog_cxx_g
=yes
11899 echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.
$ac_ext >&5
11902 ac_cv_prog_cxx_g
=no
11904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11906 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11907 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11908 if test "$ac_test_CXXFLAGS" = set; then
11909 CXXFLAGS
=$ac_save_CXXFLAGS
11910 elif test $ac_cv_prog_cxx_g = yes; then
11911 if test "$GXX" = yes; then
11917 if test "$GXX" = yes; then
11923 for ac_declaration
in \
11925 'extern "C" void std::exit (int) throw (); using std::exit;' \
11926 'extern "C" void std::exit (int); using std::exit;' \
11927 'extern "C" void exit (int) throw ();' \
11928 'extern "C" void exit (int);' \
11931 cat >conftest.
$ac_ext <<_ACEOF
11934 cat confdefs.h
>>conftest.
$ac_ext
11935 cat >>conftest.
$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11938 #include <stdlib.h>
11947 rm -f conftest.
$ac_objext
11948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11949 (eval $ac_compile) 2>conftest.er1
11951 grep -v '^ *+' conftest.er1
>conftest.err
11953 cat conftest.err
>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } &&
11956 { ac_try
='test -z "$ac_cxx_werror_flag"
11957 || test ! -s conftest.err'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; } &&
11963 { ac_try
='test -s conftest.$ac_objext'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; }; then
11971 echo "$as_me: failed program was:" >&5
11972 sed 's/^/| /' conftest.
$ac_ext >&5
11976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11977 cat >conftest.
$ac_ext <<_ACEOF
11980 cat confdefs.h
>>conftest.
$ac_ext
11981 cat >>conftest.
$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11992 rm -f conftest.
$ac_objext
11993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11994 (eval $ac_compile) 2>conftest.er1
11996 grep -v '^ *+' conftest.er1
>conftest.err
11998 cat conftest.err
>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); } &&
12001 { ac_try
='test -z "$ac_cxx_werror_flag"
12002 || test ! -s conftest.err'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; } &&
12008 { ac_try
='test -s conftest.$ac_objext'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then
12016 echo "$as_me: failed program was:" >&5
12017 sed 's/^/| /' conftest.
$ac_ext >&5
12020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12023 if test -n "$ac_declaration"; then
12024 echo '#ifdef __cplusplus' >>confdefs.h
12025 echo $ac_declaration >>confdefs.h
12026 echo '#endif' >>confdefs.h
12030 ac_cpp
='$CXXCPP $CPPFLAGS'
12031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12037 ac_cpp
='$CPP $CPPFLAGS'
12038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12043 if test -n "$ac_tool_prefix"; then
12044 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12045 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12046 echo "$as_me:$LINENO: checking for $ac_word" >&5
12047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12048 if test "${ac_cv_prog_RANLIB+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12051 if test -n "$RANLIB"; then
12052 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12055 for as_dir
in $PATH
12058 test -z "$as_dir" && as_dir
=.
12059 for ac_exec_ext
in '' $ac_executable_extensions; do
12060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12061 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12070 RANLIB
=$ac_cv_prog_RANLIB
12071 if test -n "$RANLIB"; then
12072 echo "$as_me:$LINENO: result: $RANLIB" >&5
12073 echo "${ECHO_T}$RANLIB" >&6
12075 echo "$as_me:$LINENO: result: no" >&5
12076 echo "${ECHO_T}no" >&6
12080 if test -z "$ac_cv_prog_RANLIB"; then
12081 ac_ct_RANLIB
=$RANLIB
12082 # Extract the first word of "ranlib", so it can be a program name with args.
12083 set dummy ranlib
; ac_word
=$2
12084 echo "$as_me:$LINENO: checking for $ac_word" >&5
12085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12086 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6
12089 if test -n "$ac_ct_RANLIB"; then
12090 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12093 for as_dir
in $PATH
12096 test -z "$as_dir" && as_dir
=.
12097 for ac_exec_ext
in '' $ac_executable_extensions; do
12098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12099 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12106 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12109 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12110 if test -n "$ac_ct_RANLIB"; then
12111 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12112 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12114 echo "$as_me:$LINENO: result: no" >&5
12115 echo "${ECHO_T}no" >&6
12118 RANLIB
=$ac_ct_RANLIB
12120 RANLIB
="$ac_cv_prog_RANLIB"
12124 # Extract the first word of "ar", so it can be a program name with args.
12125 set dummy
ar; ac_word
=$2
12126 echo "$as_me:$LINENO: checking for $ac_word" >&5
12127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12128 if test "${ac_cv_prog_AR+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 if test -n "$AR"; then
12132 ac_cv_prog_AR
="$AR" # Let the user override the test.
12134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12135 for as_dir
in $PATH
12138 test -z "$as_dir" && as_dir
=.
12139 for ac_exec_ext
in '' $ac_executable_extensions; do
12140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12151 if test -n "$AR"; then
12152 echo "$as_me:$LINENO: result: $AR" >&5
12153 echo "${ECHO_T}$AR" >&6
12155 echo "$as_me:$LINENO: result: no" >&5
12156 echo "${ECHO_T}no" >&6
12159 if test "x$AR" = "x" ; then
12160 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12161 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12162 { (exit 1); exit 1; }; }
12165 # Find a good install program. We prefer a C program (faster),
12166 # so one script is as good as another. But avoid the broken or
12167 # incompatible versions:
12168 # SysV /etc/install, /usr/sbin/install
12169 # SunOS /usr/etc/install
12170 # IRIX /sbin/install
12172 # AmigaOS /C/install, which installs bootblocks on floppy discs
12173 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12174 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12175 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12176 # OS/2's system install, which has a completely different semantic
12177 # ./install, which can be erroneously created by make from ./install.sh.
12178 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12179 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12180 if test -z "$INSTALL"; then
12181 if test "${ac_cv_path_install+set}" = set; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12185 for as_dir
in $PATH
12188 test -z "$as_dir" && as_dir
=.
12189 # Account for people who put trailing slashes in PATH elements.
12191 .
/ | .
// | /cC
/* | \
12192 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12193 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12196 # OSF1 and SCO ODT 3.0 have their own names for install.
12197 # Don't use installbsd from OSF since it installs stuff as root
12199 for ac_prog
in ginstall scoinst
install; do
12200 for ac_exec_ext
in '' $ac_executable_extensions; do
12201 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12202 if test $ac_prog = install &&
12203 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12204 # AIX install. It has an incompatible calling convention.
12206 elif test $ac_prog = install &&
12207 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12208 # program-specific install script used by HP pwplus--don't use.
12211 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12223 if test "${ac_cv_path_install+set}" = set; then
12224 INSTALL
=$ac_cv_path_install
12226 # As a last resort, use the slow shell script. We don't cache a
12227 # path for INSTALL within a source directory, because that will
12228 # break other packages using the cache if that directory is
12229 # removed, or if the path is relative.
12230 INSTALL
=$ac_install_sh
12233 echo "$as_me:$LINENO: result: $INSTALL" >&5
12234 echo "${ECHO_T}$INSTALL" >&6
12236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12237 # It thinks the first close brace ends the variable substitution.
12238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12242 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12248 ?
:* ) # Drive letter, considered as absolute.
12251 INSTALL
=`pwd`/${INSTALL} ;;
12257 powerpc
-*-darwin* )
12258 INSTALL_PROGRAM
="cp -fp"
12259 INSTALL_DATA
="cp -fp"
12265 # Extract the first word of "strip", so it can be a program name with args.
12266 set dummy strip
; ac_word
=$2
12267 echo "$as_me:$LINENO: checking for $ac_word" >&5
12268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12269 if test "${ac_cv_prog_STRIP+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 if test -n "$STRIP"; then
12273 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12276 for as_dir
in $PATH
12279 test -z "$as_dir" && as_dir
=.
12280 for ac_exec_ext
in '' $ac_executable_extensions; do
12281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12282 ac_cv_prog_STRIP
="strip"
12283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12289 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12292 STRIP
=$ac_cv_prog_STRIP
12293 if test -n "$STRIP"; then
12294 echo "$as_me:$LINENO: result: $STRIP" >&5
12295 echo "${ECHO_T}$STRIP" >&6
12297 echo "$as_me:$LINENO: result: no" >&5
12298 echo "${ECHO_T}no" >&6
12302 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12303 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12304 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12309 egrep -s GNU
> /dev
/null
); then
12310 wx_cv_prog_makeisgnu
="yes"
12312 wx_cv_prog_makeisgnu
="no"
12316 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12317 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12319 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12327 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12328 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12329 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12330 if test "${wx_cv_prog_makevpath+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 cat - << EOF > confMake
12340 if test ! -d sub
; then
12343 echo dummy
> sub
/file
12344 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12346 rm -f sub
/file check final_file confMake
12348 if test "$RESULT" = 0; then
12349 wx_cv_prog_makevpath
="yes"
12351 wx_cv_prog_makevpath
="no"
12355 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12356 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12358 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12359 { { echo "$as_me:$LINENO: error:
12360 You need a make-utility that is able to use the variable
12362 If your version of make does not support VPATH correctly,
12363 please install GNU-make (possibly as gmake), and start
12364 configure with the following command:
12365 export MAKE=gmake; ./configure for sh-type shells
12366 setenv MAKE gmake; ./configure for csh-type shells
12367 Also please do remember to use gmake in this case every time
12368 you are trying to compile.
12370 echo "$as_me: error:
12371 You need a make-utility that is able to use the variable
12373 If your version of make does not support VPATH correctly,
12374 please install GNU-make (possibly as gmake), and start
12375 configure with the following command:
12376 export MAKE=gmake; ./configure for sh-type shells
12377 setenv MAKE gmake; ./configure for csh-type shells
12378 Also please do remember to use gmake in this case every time
12379 you are trying to compile.
12381 { (exit 1); exit 1; }; }
12383 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12384 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12386 if test "$LN_S" = "ln -s"; then
12387 echo "$as_me:$LINENO: result: yes" >&5
12388 echo "${ECHO_T}yes" >&6
12390 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12391 echo "${ECHO_T}no, using $LN_S" >&6
12397 *-pc-os2_emx | *-pc-os2-emx )
12398 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12399 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12400 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12401 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 ac_check_lib_save_LIBS
=$LIBS
12405 LIBS
="-lcExt $LIBS"
12406 cat >conftest.
$ac_ext <<_ACEOF
12409 cat confdefs.h
>>conftest.
$ac_ext
12410 cat >>conftest.
$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12413 /* Override any gcc2 internal prototype to avoid an error. */
12417 /* We use char because int might match the return type of a gcc2
12418 builtin and then its argument prototype would still apply. */
12428 rm -f conftest.
$ac_objext conftest
$ac_exeext
12429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12430 (eval $ac_link) 2>conftest.er1
12432 grep -v '^ *+' conftest.er1
>conftest.err
12434 cat conftest.err
>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } &&
12437 { ac_try
='test -z "$ac_c_werror_flag"
12438 || test ! -s conftest.err'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; } &&
12444 { ac_try
='test -s conftest$ac_exeext'
12445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12446 (eval $ac_try) 2>&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); }; }; then
12450 ac_cv_lib_cExt_drand48
=yes
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12455 ac_cv_lib_cExt_drand48
=no
12457 rm -f conftest.err conftest.
$ac_objext \
12458 conftest
$ac_exeext conftest.
$ac_ext
12459 LIBS
=$ac_check_lib_save_LIBS
12461 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12462 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12463 if test $ac_cv_lib_cExt_drand48 = yes; then
12464 LIBS
="$LIBS -lcExt"
12468 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12470 echo "$as_me:$LINENO: checking for gcc version" >&5
12471 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12472 if test "${wx_cv_gccversion+set}" = set; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 cat >conftest.
$ac_ext <<_ACEOF
12479 cat confdefs.h
>>conftest.
$ac_ext
12480 cat >>conftest.
$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12495 rm -f conftest.
$ac_objext
12496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12497 (eval $ac_compile) 2>conftest.er1
12499 grep -v '^ *+' conftest.er1
>conftest.err
12501 cat conftest.err
>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } &&
12504 { ac_try
='test -z "$ac_c_werror_flag"
12505 || test ! -s conftest.err'
12506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12507 (eval $ac_try) 2>&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }; } &&
12511 { ac_try
='test -s conftest.$ac_objext'
12512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12513 (eval $ac_try) 2>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; }; then
12518 cat >conftest.
$ac_ext <<_ACEOF
12521 cat confdefs.h
>>conftest.
$ac_ext
12522 cat >>conftest.
$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12529 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12530 #error intermediate gcc
12537 rm -f conftest.
$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>conftest.er1
12541 grep -v '^ *+' conftest.er1
>conftest.err
12543 cat conftest.err
>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try
='test -z "$ac_c_werror_flag"
12547 || test ! -s conftest.err'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; } &&
12553 { ac_try
='test -s conftest.$ac_objext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12560 wx_cv_gccversion
=Innotek
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12585 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12586 echo "${ECHO_T}$wx_cv_gccversion" >&6
12587 if test "$wx_cv_gccversion" = "2"; then
12588 LIBS
="$LIBS -lstdcpp"
12589 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12591 if test "$wx_cv_gccversion" = "3"; then
12592 LIBS
="$LIBS -lstdcxx"
12593 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12595 LIBS
="$LIBS -lstdc++"
12598 if test "$wxUSE_OMF" = "yes"; then
12599 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12607 ac_cpp
='$CXXCPP $CPPFLAGS'
12608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12614 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12615 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12616 if test "${ac_cv_string_strcasecmp+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12620 cat >conftest.
$ac_ext <<_ACEOF
12623 cat confdefs.h
>>conftest.
$ac_ext
12624 cat >>conftest.
$ac_ext <<_ACEOF
12625 /* end confdefs.h. */
12627 #include <string.h>
12633 strcasecmp("foo", "bar");
12639 rm -f conftest.
$ac_objext conftest
$ac_exeext
12640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12641 (eval $ac_link) 2>conftest.er1
12643 grep -v '^ *+' conftest.er1
>conftest.err
12645 cat conftest.err
>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } &&
12648 { ac_try
='test -z "$ac_cxx_werror_flag"
12649 || test ! -s conftest.err'
12650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12651 (eval $ac_try) 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; } &&
12655 { ac_try
='test -s conftest$ac_exeext'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; }; then
12661 ac_cv_string_strcasecmp
=yes
12663 echo "$as_me: failed program was:" >&5
12664 sed 's/^/| /' conftest.
$ac_ext >&5
12666 ac_cv_string_strcasecmp
=no
12669 rm -f conftest.err conftest.
$ac_objext \
12670 conftest
$ac_exeext conftest.
$ac_ext
12673 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12674 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12676 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12677 cat >>confdefs.h
<<\_ACEOF
12678 #define HAVE_STRCASECMP_IN_STRING_H 1
12682 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12683 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12684 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 cat >conftest.
$ac_ext <<_ACEOF
12691 cat confdefs.h
>>conftest.
$ac_ext
12692 cat >>conftest.
$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12695 #include <strings.h>
12701 strcasecmp("foo", "bar");
12707 rm -f conftest.
$ac_objext conftest
$ac_exeext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12709 (eval $ac_link) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1
>conftest.err
12713 cat conftest.err
>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try
='test -z "$ac_cxx_werror_flag"
12717 || test ! -s conftest.err'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; } &&
12723 { ac_try
='test -s conftest$ac_exeext'
12724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12725 (eval $ac_try) 2>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); }; }; then
12729 ac_cv_strings_strcasecmp
=yes
12731 echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.
$ac_ext >&5
12734 ac_cv_strings_strcasecmp
=no
12737 rm -f conftest.err conftest.
$ac_objext \
12738 conftest
$ac_exeext conftest.
$ac_ext
12741 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12742 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12744 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12745 cat >>confdefs.h
<<\_ACEOF
12746 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12750 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12751 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12752 { (exit 1); exit 1; }; }
12757 ac_cpp
='$CPP $CPPFLAGS'
12758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12766 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12767 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12768 if test "${ac_cv_header_stdc+set}" = set; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 #include <stdlib.h>
12778 #include <stdarg.h>
12779 #include <string.h>
12790 rm -f conftest.
$ac_objext
12791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12792 (eval $ac_compile) 2>conftest.er1
12794 grep -v '^ *+' conftest.er1
>conftest.err
12796 cat conftest.err
>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } &&
12799 { ac_try
='test -z "$ac_c_werror_flag"
12800 || test ! -s conftest.err'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; } &&
12806 { ac_try
='test -s conftest.$ac_objext'
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; }; then
12812 ac_cv_header_stdc
=yes
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 ac_cv_header_stdc
=no
12819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12821 if test $ac_cv_header_stdc = yes; then
12822 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12823 cat >conftest.
$ac_ext <<_ACEOF
12826 cat confdefs.h
>>conftest.
$ac_ext
12827 cat >>conftest.
$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 #include <string.h>
12832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12833 $EGREP "memchr" >/dev
/null
2>&1; then
12836 ac_cv_header_stdc
=no
12842 if test $ac_cv_header_stdc = yes; then
12843 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850 #include <stdlib.h>
12853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12854 $EGREP "free" >/dev
/null
2>&1; then
12857 ac_cv_header_stdc
=no
12863 if test $ac_cv_header_stdc = yes; then
12864 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12865 if test "$cross_compiling" = yes; then
12868 cat >conftest.
$ac_ext <<_ACEOF
12871 cat confdefs.h
>>conftest.
$ac_ext
12872 cat >>conftest.
$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12875 #if ((' ' & 0x0FF) == 0x020)
12876 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12877 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12879 # define ISLOWER(c) \
12880 (('a' <= (c) && (c) <= 'i') \
12881 || ('j' <= (c) && (c) <= 'r') \
12882 || ('s' <= (c) && (c) <= 'z'))
12883 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12886 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12891 for (i = 0; i < 256; i++)
12892 if (XOR (islower (i), ISLOWER (i))
12893 || toupper (i) != TOUPPER (i))
12898 rm -f conftest
$ac_exeext
12899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12900 (eval $ac_link) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12911 echo "$as_me: program exited with status $ac_status" >&5
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.
$ac_ext >&5
12915 ( exit $ac_status )
12916 ac_cv_header_stdc
=no
12918 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12922 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12923 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12924 if test $ac_cv_header_stdc = yes; then
12926 cat >>confdefs.h
<<\_ACEOF
12927 #define STDC_HEADERS 1
12932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12942 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12943 inttypes.h stdint.h unistd.h
12945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12946 echo "$as_me:$LINENO: checking for $ac_header" >&5
12947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 cat >conftest.
$ac_ext <<_ACEOF
12954 cat confdefs.h
>>conftest.
$ac_ext
12955 cat >>conftest.
$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 $ac_includes_default
12959 #include <$ac_header>
12961 rm -f conftest.
$ac_objext
12962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12963 (eval $ac_compile) 2>conftest.er1
12965 grep -v '^ *+' conftest.er1
>conftest.err
12967 cat conftest.err
>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); } &&
12970 { ac_try
='test -z "$ac_c_werror_flag"
12971 || test ! -s conftest.err'
12972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12973 (eval $ac_try) 2>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); }; } &&
12977 { ac_try
='test -s conftest.$ac_objext'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; }; then
12983 eval "$as_ac_Header=yes"
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.
$ac_ext >&5
12988 eval "$as_ac_Header=no"
12990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12995 cat >>confdefs.h
<<_ACEOF
12996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13005 for ac_header
in stdlib.h
13007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13009 echo "$as_me:$LINENO: checking for $ac_header" >&5
13010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13017 # Is the header compilable?
13018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13020 cat >conftest.
$ac_ext <<_ACEOF
13023 cat confdefs.h
>>conftest.
$ac_ext
13024 cat >>conftest.
$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13026 $ac_includes_default
13027 #include <$ac_header>
13029 rm -f conftest.
$ac_objext
13030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13031 (eval $ac_compile) 2>conftest.er1
13033 grep -v '^ *+' conftest.er1
>conftest.err
13035 cat conftest.err
>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); } &&
13038 { ac_try
='test -z "$ac_c_werror_flag"
13039 || test ! -s conftest.err'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; } &&
13045 { ac_try
='test -s conftest.$ac_objext'
13046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 (eval $ac_try) 2>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); }; }; then
13051 ac_header_compiler
=yes
13053 echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.
$ac_ext >&5
13056 ac_header_compiler
=no
13058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13060 echo "${ECHO_T}$ac_header_compiler" >&6
13062 # Is the header present?
13063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13065 cat >conftest.
$ac_ext <<_ACEOF
13068 cat confdefs.h
>>conftest.
$ac_ext
13069 cat >>conftest.
$ac_ext <<_ACEOF
13070 /* end confdefs.h. */
13071 #include <$ac_header>
13073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13076 grep -v '^ *+' conftest.er1
>conftest.err
13078 cat conftest.err
>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } >/dev
/null
; then
13081 if test -s conftest.err
; then
13082 ac_cpp_err
=$ac_c_preproc_warn_flag
13083 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13090 if test -z "$ac_cpp_err"; then
13091 ac_header_preproc
=yes
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.
$ac_ext >&5
13096 ac_header_preproc
=no
13098 rm -f conftest.err conftest.
$ac_ext
13099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13100 echo "${ECHO_T}$ac_header_preproc" >&6
13102 # So? What about this header?
13103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13109 ac_header_preproc
=yes
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13126 ## ----------------------------------------- ##
13127 ## Report this to wx-dev@lists.wxwidgets.org ##
13128 ## ----------------------------------------- ##
13131 sed "s/^/$as_me: WARNING: /" >&2
13134 echo "$as_me:$LINENO: checking for $ac_header" >&5
13135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13137 echo $ECHO_N "(cached) $ECHO_C" >&6
13139 eval "$as_ac_Header=\$ac_header_preproc"
13141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13146 cat >>confdefs.h
<<_ACEOF
13147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13155 for ac_header
in malloc.h
13157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13159 echo "$as_me:$LINENO: checking for $ac_header" >&5
13160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13167 # Is the header compilable?
13168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13170 cat >conftest.
$ac_ext <<_ACEOF
13173 cat confdefs.h
>>conftest.
$ac_ext
13174 cat >>conftest.
$ac_ext <<_ACEOF
13175 /* end confdefs.h. */
13176 $ac_includes_default
13177 #include <$ac_header>
13179 rm -f conftest.
$ac_objext
13180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13181 (eval $ac_compile) 2>conftest.er1
13183 grep -v '^ *+' conftest.er1
>conftest.err
13185 cat conftest.err
>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); } &&
13188 { ac_try
='test -z "$ac_c_werror_flag"
13189 || test ! -s conftest.err'
13190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 (eval $ac_try) 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; } &&
13195 { ac_try
='test -s conftest.$ac_objext'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; }; then
13201 ac_header_compiler
=yes
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.
$ac_ext >&5
13206 ac_header_compiler
=no
13208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13210 echo "${ECHO_T}$ac_header_compiler" >&6
13212 # Is the header present?
13213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13215 cat >conftest.
$ac_ext <<_ACEOF
13218 cat confdefs.h
>>conftest.
$ac_ext
13219 cat >>conftest.
$ac_ext <<_ACEOF
13220 /* end confdefs.h. */
13221 #include <$ac_header>
13223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13226 grep -v '^ *+' conftest.er1
>conftest.err
13228 cat conftest.err
>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } >/dev
/null
; then
13231 if test -s conftest.err
; then
13232 ac_cpp_err
=$ac_c_preproc_warn_flag
13233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13240 if test -z "$ac_cpp_err"; then
13241 ac_header_preproc
=yes
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.
$ac_ext >&5
13246 ac_header_preproc
=no
13248 rm -f conftest.err conftest.
$ac_ext
13249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13250 echo "${ECHO_T}$ac_header_preproc" >&6
13252 # So? What about this header?
13253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13259 ac_header_preproc
=yes
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13276 ## ----------------------------------------- ##
13277 ## Report this to wx-dev@lists.wxwidgets.org ##
13278 ## ----------------------------------------- ##
13281 sed "s/^/$as_me: WARNING: /" >&2
13284 echo "$as_me:$LINENO: checking for $ac_header" >&5
13285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 eval "$as_ac_Header=\$ac_header_preproc"
13291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13296 cat >>confdefs.h
<<_ACEOF
13297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13305 for ac_header
in unistd.h
13307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13317 # Is the header compilable?
13318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13320 cat >conftest.
$ac_ext <<_ACEOF
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 $ac_includes_default
13327 #include <$ac_header>
13329 rm -f conftest.
$ac_objext
13330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13331 (eval $ac_compile) 2>conftest.er1
13333 grep -v '^ *+' conftest.er1
>conftest.err
13335 cat conftest.err
>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); } &&
13338 { ac_try
='test -z "$ac_c_werror_flag"
13339 || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try
='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 ac_header_compiler
=yes
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.
$ac_ext >&5
13356 ac_header_compiler
=no
13358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13360 echo "${ECHO_T}$ac_header_compiler" >&6
13362 # Is the header present?
13363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13365 cat >conftest.
$ac_ext <<_ACEOF
13368 cat confdefs.h
>>conftest.
$ac_ext
13369 cat >>conftest.
$ac_ext <<_ACEOF
13370 /* end confdefs.h. */
13371 #include <$ac_header>
13373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13376 grep -v '^ *+' conftest.er1
>conftest.err
13378 cat conftest.err
>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } >/dev
/null
; then
13381 if test -s conftest.err
; then
13382 ac_cpp_err
=$ac_c_preproc_warn_flag
13383 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13390 if test -z "$ac_cpp_err"; then
13391 ac_header_preproc
=yes
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 ac_header_preproc
=no
13398 rm -f conftest.err conftest.
$ac_ext
13399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13400 echo "${ECHO_T}$ac_header_preproc" >&6
13402 # So? What about this header?
13403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13409 ac_header_preproc
=yes
13412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13426 ## ----------------------------------------- ##
13427 ## Report this to wx-dev@lists.wxwidgets.org ##
13428 ## ----------------------------------------- ##
13431 sed "s/^/$as_me: WARNING: /" >&2
13434 echo "$as_me:$LINENO: checking for $ac_header" >&5
13435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 eval "$as_ac_Header=\$ac_header_preproc"
13441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13446 cat >>confdefs.h
<<_ACEOF
13447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13455 for ac_header
in wchar.h
13457 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13459 echo "$as_me:$LINENO: checking for $ac_header" >&5
13460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13462 echo $ECHO_N "(cached) $ECHO_C" >&6
13464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13467 # Is the header compilable?
13468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13470 cat >conftest.
$ac_ext <<_ACEOF
13473 cat confdefs.h
>>conftest.
$ac_ext
13474 cat >>conftest.
$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13476 $ac_includes_default
13477 #include <$ac_header>
13479 rm -f conftest.
$ac_objext
13480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13481 (eval $ac_compile) 2>conftest.er1
13483 grep -v '^ *+' conftest.er1
>conftest.err
13485 cat conftest.err
>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } &&
13488 { ac_try
='test -z "$ac_c_werror_flag"
13489 || test ! -s conftest.err'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; } &&
13495 { ac_try
='test -s conftest.$ac_objext'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; }; then
13501 ac_header_compiler
=yes
13503 echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.
$ac_ext >&5
13506 ac_header_compiler
=no
13508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13510 echo "${ECHO_T}$ac_header_compiler" >&6
13512 # Is the header present?
13513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13515 cat >conftest.
$ac_ext <<_ACEOF
13518 cat confdefs.h
>>conftest.
$ac_ext
13519 cat >>conftest.
$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13521 #include <$ac_header>
13523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13526 grep -v '^ *+' conftest.er1
>conftest.err
13528 cat conftest.err
>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } >/dev
/null
; then
13531 if test -s conftest.err
; then
13532 ac_cpp_err
=$ac_c_preproc_warn_flag
13533 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13540 if test -z "$ac_cpp_err"; then
13541 ac_header_preproc
=yes
13543 echo "$as_me: failed program was:" >&5
13544 sed 's/^/| /' conftest.
$ac_ext >&5
13546 ac_header_preproc
=no
13548 rm -f conftest.err conftest.
$ac_ext
13549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13550 echo "${ECHO_T}$ac_header_preproc" >&6
13552 # So? What about this header?
13553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13559 ac_header_preproc
=yes
13562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13576 ## ----------------------------------------- ##
13577 ## Report this to wx-dev@lists.wxwidgets.org ##
13578 ## ----------------------------------------- ##
13581 sed "s/^/$as_me: WARNING: /" >&2
13584 echo "$as_me:$LINENO: checking for $ac_header" >&5
13585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 eval "$as_ac_Header=\$ac_header_preproc"
13591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13596 cat >>confdefs.h
<<_ACEOF
13597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13605 if test "$ac_cv_header_wchar_h" != "yes"; then
13607 for ac_header
in wcstr.h
13609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13611 echo "$as_me:$LINENO: checking for $ac_header" >&5
13612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13614 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13619 # Is the header compilable?
13620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13622 cat >conftest.
$ac_ext <<_ACEOF
13625 cat confdefs.h
>>conftest.
$ac_ext
13626 cat >>conftest.
$ac_ext <<_ACEOF
13627 /* end confdefs.h. */
13628 $ac_includes_default
13629 #include <$ac_header>
13631 rm -f conftest.
$ac_objext
13632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13633 (eval $ac_compile) 2>conftest.er1
13635 grep -v '^ *+' conftest.er1
>conftest.err
13637 cat conftest.err
>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); } &&
13640 { ac_try
='test -z "$ac_c_werror_flag"
13641 || test ! -s conftest.err'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; } &&
13647 { ac_try
='test -s conftest.$ac_objext'
13648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13649 (eval $ac_try) 2>&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); }; }; then
13653 ac_header_compiler
=yes
13655 echo "$as_me: failed program was:" >&5
13656 sed 's/^/| /' conftest.
$ac_ext >&5
13658 ac_header_compiler
=no
13660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13662 echo "${ECHO_T}$ac_header_compiler" >&6
13664 # Is the header present?
13665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13667 cat >conftest.
$ac_ext <<_ACEOF
13670 cat confdefs.h
>>conftest.
$ac_ext
13671 cat >>conftest.
$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13673 #include <$ac_header>
13675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13676 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13678 grep -v '^ *+' conftest.er1
>conftest.err
13680 cat conftest.err
>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } >/dev
/null
; then
13683 if test -s conftest.err
; then
13684 ac_cpp_err
=$ac_c_preproc_warn_flag
13685 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13692 if test -z "$ac_cpp_err"; then
13693 ac_header_preproc
=yes
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.
$ac_ext >&5
13698 ac_header_preproc
=no
13700 rm -f conftest.err conftest.
$ac_ext
13701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13702 echo "${ECHO_T}$ac_header_preproc" >&6
13704 # So? What about this header?
13705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13711 ac_header_preproc
=yes
13714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13718 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13720 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13721 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13724 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13728 ## ----------------------------------------- ##
13729 ## Report this to wx-dev@lists.wxwidgets.org ##
13730 ## ----------------------------------------- ##
13733 sed "s/^/$as_me: WARNING: /" >&2
13736 echo "$as_me:$LINENO: checking for $ac_header" >&5
13737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13741 eval "$as_ac_Header=\$ac_header_preproc"
13743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13748 cat >>confdefs.h
<<_ACEOF
13749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13759 for ac_header
in fnmatch.h
13761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13763 echo "$as_me:$LINENO: checking for $ac_header" >&5
13764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13771 # Is the header compilable?
13772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13774 cat >conftest.
$ac_ext <<_ACEOF
13777 cat confdefs.h
>>conftest.
$ac_ext
13778 cat >>conftest.
$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780 $ac_includes_default
13781 #include <$ac_header>
13783 rm -f conftest.
$ac_objext
13784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>conftest.er1
13787 grep -v '^ *+' conftest.er1
>conftest.err
13789 cat conftest.err
>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } &&
13792 { ac_try
='test -z "$ac_c_werror_flag"
13793 || test ! -s conftest.err'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try
='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 ac_header_compiler
=yes
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.
$ac_ext >&5
13810 ac_header_compiler
=no
13812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13814 echo "${ECHO_T}$ac_header_compiler" >&6
13816 # Is the header present?
13817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13819 cat >conftest.
$ac_ext <<_ACEOF
13822 cat confdefs.h
>>conftest.
$ac_ext
13823 cat >>conftest.
$ac_ext <<_ACEOF
13824 /* end confdefs.h. */
13825 #include <$ac_header>
13827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13830 grep -v '^ *+' conftest.er1
>conftest.err
13832 cat conftest.err
>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } >/dev
/null
; then
13835 if test -s conftest.err
; then
13836 ac_cpp_err
=$ac_c_preproc_warn_flag
13837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13844 if test -z "$ac_cpp_err"; then
13845 ac_header_preproc
=yes
13847 echo "$as_me: failed program was:" >&5
13848 sed 's/^/| /' conftest.
$ac_ext >&5
13850 ac_header_preproc
=no
13852 rm -f conftest.err conftest.
$ac_ext
13853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13854 echo "${ECHO_T}$ac_header_preproc" >&6
13856 # So? What about this header?
13857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13863 ac_header_preproc
=yes
13866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13880 ## ----------------------------------------- ##
13881 ## Report this to wx-dev@lists.wxwidgets.org ##
13882 ## ----------------------------------------- ##
13885 sed "s/^/$as_me: WARNING: /" >&2
13888 echo "$as_me:$LINENO: checking for $ac_header" >&5
13889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13893 eval "$as_ac_Header=\$ac_header_preproc"
13895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13900 cat >>confdefs.h
<<_ACEOF
13901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13909 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13911 for ac_func
in fnmatch
13913 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13914 echo "$as_me:$LINENO: checking for $ac_func" >&5
13915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13916 if eval "test \"\${$as_ac_var+set}\" = set"; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 cat >conftest.
$ac_ext <<_ACEOF
13922 cat confdefs.h
>>conftest.
$ac_ext
13923 cat >>conftest.
$ac_ext <<_ACEOF
13924 /* end confdefs.h. */
13925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13927 #define $ac_func innocuous_$ac_func
13929 /* System header to define __stub macros and hopefully few prototypes,
13930 which can conflict with char $ac_func (); below.
13931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13932 <limits.h> exists even on freestanding compilers. */
13935 # include <limits.h>
13937 # include <assert.h>
13942 /* Override any gcc2 internal prototype to avoid an error. */
13947 /* We use char because int might match the return type of a gcc2
13948 builtin and then its argument prototype would still apply. */
13950 /* The GNU C library defines this for functions which it implements
13951 to always fail with ENOSYS. Some functions are actually named
13952 something starting with __ and the normal name is an alias. */
13953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13956 char (*f) () = $ac_func;
13965 return f != $ac_func;
13970 rm -f conftest.
$ac_objext conftest
$ac_exeext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13972 (eval $ac_link) 2>conftest.er1
13974 grep -v '^ *+' conftest.er1
>conftest.err
13976 cat conftest.err
>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } &&
13979 { ac_try
='test -z "$ac_c_werror_flag"
13980 || test ! -s conftest.err'
13981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13982 (eval $ac_try) 2>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; } &&
13986 { ac_try
='test -s conftest$ac_exeext'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; }; then
13992 eval "$as_ac_var=yes"
13994 echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.
$ac_ext >&5
13997 eval "$as_ac_var=no"
13999 rm -f conftest.err conftest.
$ac_objext \
14000 conftest
$ac_exeext conftest.
$ac_ext
14002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14004 if test `eval echo '${'$as_ac_var'}'` = yes; then
14005 cat >>confdefs.h
<<_ACEOF
14006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14015 for ac_header
in langinfo.h
14017 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14019 echo "$as_me:$LINENO: checking for $ac_header" >&5
14020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14027 # Is the header compilable?
14028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14030 cat >conftest.
$ac_ext <<_ACEOF
14033 cat confdefs.h
>>conftest.
$ac_ext
14034 cat >>conftest.
$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 $ac_includes_default
14037 #include <$ac_header>
14039 rm -f conftest.
$ac_objext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>conftest.er1
14043 grep -v '^ *+' conftest.er1
>conftest.err
14045 cat conftest.err
>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try
='test -z "$ac_c_werror_flag"
14049 || test ! -s conftest.err'
14050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14051 (eval $ac_try) 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; } &&
14055 { ac_try
='test -s conftest.$ac_objext'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14061 ac_header_compiler
=yes
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.
$ac_ext >&5
14066 ac_header_compiler
=no
14068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14070 echo "${ECHO_T}$ac_header_compiler" >&6
14072 # Is the header present?
14073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14075 cat >conftest.
$ac_ext <<_ACEOF
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 #include <$ac_header>
14083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14086 grep -v '^ *+' conftest.er1
>conftest.err
14088 cat conftest.err
>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } >/dev
/null
; then
14091 if test -s conftest.err
; then
14092 ac_cpp_err
=$ac_c_preproc_warn_flag
14093 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14100 if test -z "$ac_cpp_err"; then
14101 ac_header_preproc
=yes
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.
$ac_ext >&5
14106 ac_header_preproc
=no
14108 rm -f conftest.err conftest.
$ac_ext
14109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14110 echo "${ECHO_T}$ac_header_preproc" >&6
14112 # So? What about this header?
14113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14119 ac_header_preproc
=yes
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14136 ## ----------------------------------------- ##
14137 ## Report this to wx-dev@lists.wxwidgets.org ##
14138 ## ----------------------------------------- ##
14141 sed "s/^/$as_me: WARNING: /" >&2
14144 echo "$as_me:$LINENO: checking for $ac_header" >&5
14145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 eval "$as_ac_Header=\$ac_header_preproc"
14151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14156 cat >>confdefs.h
<<_ACEOF
14157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14166 *-pc-os2_emx | *-pc-os2-emx )
14167 if test $ac_cv_header_langinfo_h = "yes"; then
14168 LIBS
="$LIBS -lintl"
14173 if test "$wxUSE_GUI" = "yes"; then
14174 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14176 for ac_header
in X
11/Xlib.h
14178 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14180 echo "$as_me:$LINENO: checking for $ac_header" >&5
14181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14188 # Is the header compilable?
14189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14191 cat >conftest.
$ac_ext <<_ACEOF
14194 cat confdefs.h
>>conftest.
$ac_ext
14195 cat >>conftest.
$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 $ac_includes_default
14198 #include <$ac_header>
14200 rm -f conftest.
$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>conftest.er1
14204 grep -v '^ *+' conftest.er1
>conftest.err
14206 cat conftest.err
>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); } &&
14209 { ac_try
='test -z "$ac_c_werror_flag"
14210 || test ! -s conftest.err'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; } &&
14216 { ac_try
='test -s conftest.$ac_objext'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14222 ac_header_compiler
=yes
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.
$ac_ext >&5
14227 ac_header_compiler
=no
14229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14231 echo "${ECHO_T}$ac_header_compiler" >&6
14233 # Is the header present?
14234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14236 cat >conftest.
$ac_ext <<_ACEOF
14239 cat confdefs.h
>>conftest.
$ac_ext
14240 cat >>conftest.
$ac_ext <<_ACEOF
14241 /* end confdefs.h. */
14242 #include <$ac_header>
14244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14247 grep -v '^ *+' conftest.er1
>conftest.err
14249 cat conftest.err
>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } >/dev
/null
; then
14252 if test -s conftest.err
; then
14253 ac_cpp_err
=$ac_c_preproc_warn_flag
14254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14261 if test -z "$ac_cpp_err"; then
14262 ac_header_preproc
=yes
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.
$ac_ext >&5
14267 ac_header_preproc
=no
14269 rm -f conftest.err conftest.
$ac_ext
14270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14271 echo "${ECHO_T}$ac_header_preproc" >&6
14273 # So? What about this header?
14274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14280 ac_header_preproc
=yes
14283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14297 ## ----------------------------------------- ##
14298 ## Report this to wx-dev@lists.wxwidgets.org ##
14299 ## ----------------------------------------- ##
14302 sed "s/^/$as_me: WARNING: /" >&2
14305 echo "$as_me:$LINENO: checking for $ac_header" >&5
14306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 eval "$as_ac_Header=\$ac_header_preproc"
14312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14317 cat >>confdefs.h
<<_ACEOF
14318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14326 for ac_header
in X
11/XKBlib.h
14328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14329 echo "$as_me:$LINENO: checking for $ac_header" >&5
14330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 cat >conftest.
$ac_ext <<_ACEOF
14337 cat confdefs.h
>>conftest.
$ac_ext
14338 cat >>conftest.
$ac_ext <<_ACEOF
14339 /* end confdefs.h. */
14341 #if HAVE_X11_XLIB_H
14342 #include <X11/Xlib.h>
14346 #include <$ac_header>
14348 rm -f conftest.
$ac_objext
14349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14350 (eval $ac_compile) 2>conftest.er1
14352 grep -v '^ *+' conftest.er1
>conftest.err
14354 cat conftest.err
>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } &&
14357 { ac_try
='test -z "$ac_c_werror_flag"
14358 || test ! -s conftest.err'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; } &&
14364 { ac_try
='test -s conftest.$ac_objext'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; }; then
14370 eval "$as_ac_Header=yes"
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.
$ac_ext >&5
14375 eval "$as_ac_Header=no"
14377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14382 cat >>confdefs.h
<<_ACEOF
14383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14394 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14395 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14396 if test "${ac_cv_c_const+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14399 cat >conftest.
$ac_ext <<_ACEOF
14402 cat confdefs.h
>>conftest.
$ac_ext
14403 cat >>conftest.
$ac_ext <<_ACEOF
14404 /* end confdefs.h. */
14409 /* FIXME: Include the comments suggested by Paul. */
14410 #ifndef __cplusplus
14411 /* Ultrix mips cc rejects this. */
14412 typedef int charset[2];
14414 /* SunOS 4.1.1 cc rejects this. */
14415 char const *const *ccp;
14417 /* NEC SVR4.0.2 mips cc rejects this. */
14418 struct point {int x, y;};
14419 static struct point const zero = {0,0};
14420 /* AIX XL C 1.02.0.0 rejects this.
14421 It does not let you subtract one const X* pointer from another in
14422 an arm of an if-expression whose if-part is not a constant
14424 const char *g = "string";
14425 ccp = &g + (g ? g-g : 0);
14426 /* HPUX 7.0 cc rejects these. */
14429 ccp = (char const *const *) p;
14430 { /* SCO 3.2v4 cc rejects this. */
14432 char const *s = 0 ? (char *) 0 : (char const *) 0;
14436 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14437 int x[] = {25, 17};
14438 const int *foo = &x[0];
14441 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14442 typedef const int *iptr;
14446 { /* AIX XL C 1.02.0.0 rejects this saying
14447 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14448 struct s { int j; const int *ap[3]; };
14449 struct s *b; b->j = 5;
14451 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14452 const int foo = 10;
14460 rm -f conftest.
$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14464 grep -v '^ *+' conftest.er1
>conftest.err
14466 cat conftest.err
>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try
='test -z "$ac_c_werror_flag"
14470 || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try
='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.
$ac_ext >&5
14489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14491 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14492 echo "${ECHO_T}$ac_cv_c_const" >&6
14493 if test $ac_cv_c_const = no
; then
14495 cat >>confdefs.h
<<\_ACEOF
14501 echo "$as_me:$LINENO: checking for inline" >&5
14502 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14503 if test "${ac_cv_c_inline+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 for ac_kw
in inline __inline__ __inline
; do
14508 cat >conftest.
$ac_ext <<_ACEOF
14511 cat confdefs.h
>>conftest.
$ac_ext
14512 cat >>conftest.
$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14514 #ifndef __cplusplus
14516 static $ac_kw foo_t static_foo () {return 0; }
14517 $ac_kw foo_t foo () {return 0; }
14521 rm -f conftest.
$ac_objext
14522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14523 (eval $ac_compile) 2>conftest.er1
14525 grep -v '^ *+' conftest.er1
>conftest.err
14527 cat conftest.err
>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try
='test -z "$ac_c_werror_flag"
14531 || test ! -s conftest.err'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; } &&
14537 { ac_try
='test -s conftest.$ac_objext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_cv_c_inline
=$ac_kw; break
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.
$ac_ext >&5
14549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14554 echo "${ECHO_T}$ac_cv_c_inline" >&6
14557 case $ac_cv_c_inline in
14560 case $ac_cv_c_inline in
14562 *) ac_val
=$ac_cv_c_inline;;
14564 cat >>confdefs.h
<<_ACEOF
14565 #ifndef __cplusplus
14566 #define inline $ac_val
14573 echo "$as_me:$LINENO: checking for char" >&5
14574 echo $ECHO_N "checking for char... $ECHO_C" >&6
14575 if test "${ac_cv_type_char+set}" = set; then
14576 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 cat >conftest.
$ac_ext <<_ACEOF
14581 cat confdefs.h
>>conftest.
$ac_ext
14582 cat >>conftest.
$ac_ext <<_ACEOF
14583 /* end confdefs.h. */
14584 $ac_includes_default
14596 rm -f conftest.
$ac_objext
14597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14598 (eval $ac_compile) 2>conftest.er1
14600 grep -v '^ *+' conftest.er1
>conftest.err
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } &&
14605 { ac_try
='test -z "$ac_c_werror_flag"
14606 || test ! -s conftest.err'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; } &&
14612 { ac_try
='test -s conftest.$ac_objext'
14613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14614 (eval $ac_try) 2>&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); }; }; then
14618 ac_cv_type_char
=yes
14620 echo "$as_me: failed program was:" >&5
14621 sed 's/^/| /' conftest.
$ac_ext >&5
14625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14627 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14628 echo "${ECHO_T}$ac_cv_type_char" >&6
14630 echo "$as_me:$LINENO: checking size of char" >&5
14631 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14632 if test "${ac_cv_sizeof_char+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 if test "$ac_cv_type_char" = yes; then
14636 # The cast to unsigned long works around a bug in the HP C Compiler
14637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14639 # This bug is HP SR number 8606223364.
14640 if test "$cross_compiling" = yes; then
14641 # Depending upon the size, compute the lo and hi bounds.
14642 cat >conftest.
$ac_ext <<_ACEOF
14645 cat confdefs.h
>>conftest.
$ac_ext
14646 cat >>conftest.
$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14648 $ac_includes_default
14652 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14659 rm -f conftest.
$ac_objext
14660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14661 (eval $ac_compile) 2>conftest.er1
14663 grep -v '^ *+' conftest.er1
>conftest.err
14665 cat conftest.err
>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try
='test -z "$ac_c_werror_flag"
14669 || test ! -s conftest.err'
14670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14671 (eval $ac_try) 2>&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); }; } &&
14675 { ac_try
='test -s conftest.$ac_objext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14683 cat >conftest.
$ac_ext <<_ACEOF
14686 cat confdefs.h
>>conftest.
$ac_ext
14687 cat >>conftest.
$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 $ac_includes_default
14693 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14700 rm -f conftest.
$ac_objext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14702 (eval $ac_compile) 2>conftest.er1
14704 grep -v '^ *+' conftest.er1
>conftest.err
14706 cat conftest.err
>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); } &&
14709 { ac_try
='test -z "$ac_c_werror_flag"
14710 || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try
='test -s conftest.$ac_objext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 ac_hi
=$ac_mid; break
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.
$ac_ext >&5
14727 ac_lo
=`expr $ac_mid + 1`
14728 if test $ac_lo -le $ac_mid; then
14732 ac_mid
=`expr 2 '*' $ac_mid + 1`
14734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14740 cat >conftest.
$ac_ext <<_ACEOF
14743 cat confdefs.h
>>conftest.
$ac_ext
14744 cat >>conftest.
$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14746 $ac_includes_default
14750 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14757 rm -f conftest.
$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759 (eval $ac_compile) 2>conftest.er1
14761 grep -v '^ *+' conftest.er1
>conftest.err
14763 cat conftest.err
>&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } &&
14766 { ac_try
='test -z "$ac_c_werror_flag"
14767 || test ! -s conftest.err'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; } &&
14773 { ac_try
='test -s conftest.$ac_objext'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; }; then
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 $ac_includes_default
14791 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14798 rm -f conftest.
$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 ac_lo
=$ac_mid; break
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 ac_hi
=`expr '(' $ac_mid ')' - 1`
14826 if test $ac_mid -le $ac_hi; then
14830 ac_mid
=`expr 2 '*' $ac_mid`
14832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.
$ac_ext >&5
14840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14843 # Binary search between lo and hi bounds.
14844 while test "x$ac_lo" != "x$ac_hi"; do
14845 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14846 cat >conftest.
$ac_ext <<_ACEOF
14849 cat confdefs.h
>>conftest.
$ac_ext
14850 cat >>conftest.
$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14852 $ac_includes_default
14856 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14863 rm -f conftest.
$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>conftest.er1
14867 grep -v '^ *+' conftest.er1
>conftest.err
14869 cat conftest.err
>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try
='test -z "$ac_c_werror_flag"
14873 || test ! -s conftest.err'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; } &&
14879 { ac_try
='test -s conftest.$ac_objext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ac_lo
=`expr '(' $ac_mid ')' + 1`
14892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14895 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14896 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14897 See \`config.log' for more details." >&5
14898 echo "$as_me: error: cannot compute sizeof (char), 77
14899 See \`config.log' for more details." >&2;}
14900 { (exit 1); exit 1; }; } ;;
14903 if test "$cross_compiling" = yes; then
14904 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14905 See \`config.log' for more details." >&5
14906 echo "$as_me: error: cannot run test program while cross compiling
14907 See \`config.log' for more details." >&2;}
14908 { (exit 1); exit 1; }; }
14910 cat >conftest.
$ac_ext <<_ACEOF
14913 cat confdefs.h
>>conftest.
$ac_ext
14914 cat >>conftest.
$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 $ac_includes_default
14917 long longval () { return (long) (sizeof (char)); }
14918 unsigned long ulongval () { return (long) (sizeof (char)); }
14920 #include <stdlib.h>
14925 FILE *f = fopen ("conftest.val", "w");
14928 if (((long) (sizeof (char))) < 0)
14930 long i = longval ();
14931 if (i != ((long) (sizeof (char))))
14933 fprintf (f, "%ld\n", i);
14937 unsigned long i = ulongval ();
14938 if (i != ((long) (sizeof (char))))
14940 fprintf (f, "%lu\n", i);
14942 exit (ferror (f) || fclose (f) != 0);
14948 rm -f conftest
$ac_exeext
14949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14950 (eval $ac_link) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_cv_sizeof_char
=`cat conftest.val`
14961 echo "$as_me: program exited with status $ac_status" >&5
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.
$ac_ext >&5
14965 ( exit $ac_status )
14966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14967 See \`config.log' for more details." >&5
14968 echo "$as_me: error: cannot compute sizeof (char), 77
14969 See \`config.log' for more details." >&2;}
14970 { (exit 1); exit 1; }; }
14972 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14977 ac_cv_sizeof_char
=0
14980 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14981 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14982 cat >>confdefs.h
<<_ACEOF
14983 #define SIZEOF_CHAR $ac_cv_sizeof_char
14987 echo "$as_me:$LINENO: checking for short" >&5
14988 echo $ECHO_N "checking for short... $ECHO_C" >&6
14989 if test "${ac_cv_type_short+set}" = set; then
14990 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 cat >conftest.
$ac_ext <<_ACEOF
14995 cat confdefs.h
>>conftest.
$ac_ext
14996 cat >>conftest.
$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
14998 $ac_includes_default
15004 if (sizeof (short))
15010 rm -f conftest.
$ac_objext
15011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15012 (eval $ac_compile) 2>conftest.er1
15014 grep -v '^ *+' conftest.er1
>conftest.err
15016 cat conftest.err
>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } &&
15019 { ac_try
='test -z "$ac_c_werror_flag"
15020 || test ! -s conftest.err'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; } &&
15026 { ac_try
='test -s conftest.$ac_objext'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; }; then
15032 ac_cv_type_short
=yes
15034 echo "$as_me: failed program was:" >&5
15035 sed 's/^/| /' conftest.
$ac_ext >&5
15037 ac_cv_type_short
=no
15039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15041 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15042 echo "${ECHO_T}$ac_cv_type_short" >&6
15044 echo "$as_me:$LINENO: checking size of short" >&5
15045 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15046 if test "${ac_cv_sizeof_short+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 if test "$ac_cv_type_short" = yes; then
15050 # The cast to unsigned long works around a bug in the HP C Compiler
15051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15053 # This bug is HP SR number 8606223364.
15054 if test "$cross_compiling" = yes; then
15055 # Depending upon the size, compute the lo and hi bounds.
15056 cat >conftest.
$ac_ext <<_ACEOF
15059 cat confdefs.h
>>conftest.
$ac_ext
15060 cat >>conftest.
$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 $ac_includes_default
15066 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15073 rm -f conftest.
$ac_objext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15075 (eval $ac_compile) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try
='test -z "$ac_c_werror_flag"
15083 || test ! -s conftest.err'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; } &&
15089 { ac_try
='test -s conftest.$ac_objext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15097 cat >conftest.
$ac_ext <<_ACEOF
15100 cat confdefs.h
>>conftest.
$ac_ext
15101 cat >>conftest.
$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15107 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15114 rm -f conftest.
$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1
>conftest.err
15120 cat conftest.err
>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try
='test -z "$ac_c_werror_flag"
15124 || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try
='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_hi
=$ac_mid; break
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15141 ac_lo
=`expr $ac_mid + 1`
15142 if test $ac_lo -le $ac_mid; then
15146 ac_mid
=`expr 2 '*' $ac_mid + 1`
15148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15151 echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.
$ac_ext >&5
15154 cat >conftest.
$ac_ext <<_ACEOF
15157 cat confdefs.h
>>conftest.
$ac_ext
15158 cat >>conftest.
$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 $ac_includes_default
15164 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15171 rm -f conftest.
$ac_objext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>conftest.er1
15175 grep -v '^ *+' conftest.er1
>conftest.err
15177 cat conftest.err
>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try
='test -z "$ac_c_werror_flag"
15181 || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try
='test -s conftest.$ac_objext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15195 cat >conftest.
$ac_ext <<_ACEOF
15198 cat confdefs.h
>>conftest.
$ac_ext
15199 cat >>conftest.
$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201 $ac_includes_default
15205 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15212 rm -f conftest.
$ac_objext
15213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15214 (eval $ac_compile) 2>conftest.er1
15216 grep -v '^ *+' conftest.er1
>conftest.err
15218 cat conftest.err
>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } &&
15221 { ac_try
='test -z "$ac_c_werror_flag"
15222 || test ! -s conftest.err'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; } &&
15228 { ac_try
='test -s conftest.$ac_objext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15234 ac_lo
=$ac_mid; break
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.
$ac_ext >&5
15239 ac_hi
=`expr '(' $ac_mid ')' - 1`
15240 if test $ac_mid -le $ac_hi; then
15244 ac_mid
=`expr 2 '*' $ac_mid`
15246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15249 echo "$as_me: failed program was:" >&5
15250 sed 's/^/| /' conftest.
$ac_ext >&5
15254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15257 # Binary search between lo and hi bounds.
15258 while test "x$ac_lo" != "x$ac_hi"; do
15259 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15260 cat >conftest.
$ac_ext <<_ACEOF
15263 cat confdefs.h
>>conftest.
$ac_ext
15264 cat >>conftest.
$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15266 $ac_includes_default
15270 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15277 rm -f conftest.
$ac_objext
15278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15279 (eval $ac_compile) 2>conftest.er1
15281 grep -v '^ *+' conftest.er1
>conftest.err
15283 cat conftest.err
>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } &&
15286 { ac_try
='test -z "$ac_c_werror_flag"
15287 || test ! -s conftest.err'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; } &&
15293 { ac_try
='test -s conftest.$ac_objext'
15294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15295 (eval $ac_try) 2>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); }; }; then
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.
$ac_ext >&5
15304 ac_lo
=`expr '(' $ac_mid ')' + 1`
15306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15309 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15310 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15311 See \`config.log' for more details." >&5
15312 echo "$as_me: error: cannot compute sizeof (short), 77
15313 See \`config.log' for more details." >&2;}
15314 { (exit 1); exit 1; }; } ;;
15317 if test "$cross_compiling" = yes; then
15318 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15319 See \`config.log' for more details." >&5
15320 echo "$as_me: error: cannot run test program while cross compiling
15321 See \`config.log' for more details." >&2;}
15322 { (exit 1); exit 1; }; }
15324 cat >conftest.
$ac_ext <<_ACEOF
15327 cat confdefs.h
>>conftest.
$ac_ext
15328 cat >>conftest.
$ac_ext <<_ACEOF
15329 /* end confdefs.h. */
15330 $ac_includes_default
15331 long longval () { return (long) (sizeof (short)); }
15332 unsigned long ulongval () { return (long) (sizeof (short)); }
15334 #include <stdlib.h>
15339 FILE *f = fopen ("conftest.val", "w");
15342 if (((long) (sizeof (short))) < 0)
15344 long i = longval ();
15345 if (i != ((long) (sizeof (short))))
15347 fprintf (f, "%ld\n", i);
15351 unsigned long i = ulongval ();
15352 if (i != ((long) (sizeof (short))))
15354 fprintf (f, "%lu\n", i);
15356 exit (ferror (f) || fclose (f) != 0);
15362 rm -f conftest
$ac_exeext
15363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15364 (eval $ac_link) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 ac_cv_sizeof_short
=`cat conftest.val`
15375 echo "$as_me: program exited with status $ac_status" >&5
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15379 ( exit $ac_status )
15380 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15381 See \`config.log' for more details." >&5
15382 echo "$as_me: error: cannot compute sizeof (short), 77
15383 See \`config.log' for more details." >&2;}
15384 { (exit 1); exit 1; }; }
15386 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15391 ac_cv_sizeof_short
=0
15394 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15395 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15396 cat >>confdefs.h
<<_ACEOF
15397 #define SIZEOF_SHORT $ac_cv_sizeof_short
15401 echo "$as_me:$LINENO: checking for void *" >&5
15402 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15403 if test "${ac_cv_type_void_p+set}" = set; then
15404 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 cat >conftest.
$ac_ext <<_ACEOF
15409 cat confdefs.h
>>conftest.
$ac_ext
15410 cat >>conftest.
$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15412 $ac_includes_default
15418 if (sizeof (void *))
15424 rm -f conftest.
$ac_objext
15425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15426 (eval $ac_compile) 2>conftest.er1
15428 grep -v '^ *+' conftest.er1
>conftest.err
15430 cat conftest.err
>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); } &&
15433 { ac_try
='test -z "$ac_c_werror_flag"
15434 || test ! -s conftest.err'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; } &&
15440 { ac_try
='test -s conftest.$ac_objext'
15441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15442 (eval $ac_try) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); }; }; then
15446 ac_cv_type_void_p
=yes
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.
$ac_ext >&5
15451 ac_cv_type_void_p
=no
15453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15455 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15456 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15458 echo "$as_me:$LINENO: checking size of void *" >&5
15459 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15460 if test "${ac_cv_sizeof_void_p+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 if test "$ac_cv_type_void_p" = yes; then
15464 # The cast to unsigned long works around a bug in the HP C Compiler
15465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15467 # This bug is HP SR number 8606223364.
15468 if test "$cross_compiling" = yes; then
15469 # Depending upon the size, compute the lo and hi bounds.
15470 cat >conftest.
$ac_ext <<_ACEOF
15473 cat confdefs.h
>>conftest.
$ac_ext
15474 cat >>conftest.
$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15480 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15487 rm -f conftest.
$ac_objext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>conftest.er1
15491 grep -v '^ *+' conftest.er1
>conftest.err
15493 cat conftest.err
>&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try
='test -z "$ac_c_werror_flag"
15497 || test ! -s conftest.err'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; } &&
15503 { ac_try
='test -s conftest.$ac_objext'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15511 cat >conftest.
$ac_ext <<_ACEOF
15514 cat confdefs.h
>>conftest.
$ac_ext
15515 cat >>conftest.
$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15517 $ac_includes_default
15521 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15528 rm -f conftest.
$ac_objext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15530 (eval $ac_compile) 2>conftest.er1
15532 grep -v '^ *+' conftest.er1
>conftest.err
15534 cat conftest.err
>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try
='test -z "$ac_c_werror_flag"
15538 || test ! -s conftest.err'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; } &&
15544 { ac_try
='test -s conftest.$ac_objext'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; }; then
15550 ac_hi
=$ac_mid; break
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.
$ac_ext >&5
15555 ac_lo
=`expr $ac_mid + 1`
15556 if test $ac_lo -le $ac_mid; then
15560 ac_mid
=`expr 2 '*' $ac_mid + 1`
15562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.
$ac_ext >&5
15568 cat >conftest.
$ac_ext <<_ACEOF
15571 cat confdefs.h
>>conftest.
$ac_ext
15572 cat >>conftest.
$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15585 rm -f conftest.
$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>conftest.er1
15589 grep -v '^ *+' conftest.er1
>conftest.err
15591 cat conftest.err
>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try
='test -z "$ac_c_werror_flag"
15595 || test ! -s conftest.err'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; } &&
15601 { ac_try
='test -s conftest.$ac_objext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15609 cat >conftest.
$ac_ext <<_ACEOF
15612 cat confdefs.h
>>conftest.
$ac_ext
15613 cat >>conftest.
$ac_ext <<_ACEOF
15614 /* end confdefs.h. */
15615 $ac_includes_default
15619 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15626 rm -f conftest.
$ac_objext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15628 (eval $ac_compile) 2>conftest.er1
15630 grep -v '^ *+' conftest.er1
>conftest.err
15632 cat conftest.err
>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try
='test -z "$ac_c_werror_flag"
15636 || test ! -s conftest.err'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; } &&
15642 { ac_try
='test -s conftest.$ac_objext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 ac_lo
=$ac_mid; break
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.
$ac_ext >&5
15653 ac_hi
=`expr '(' $ac_mid ')' - 1`
15654 if test $ac_mid -le $ac_hi; then
15658 ac_mid
=`expr 2 '*' $ac_mid`
15660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15671 # Binary search between lo and hi bounds.
15672 while test "x$ac_lo" != "x$ac_hi"; do
15673 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15674 cat >conftest.
$ac_ext <<_ACEOF
15677 cat confdefs.h
>>conftest.
$ac_ext
15678 cat >>conftest.
$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680 $ac_includes_default
15684 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15691 rm -f conftest.
$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>conftest.er1
15695 grep -v '^ *+' conftest.er1
>conftest.err
15697 cat conftest.err
>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try
='test -z "$ac_c_werror_flag"
15701 || test ! -s conftest.err'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; } &&
15707 { ac_try
='test -s conftest.$ac_objext'
15708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709 (eval $ac_try) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); }; }; then
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.
$ac_ext >&5
15718 ac_lo
=`expr '(' $ac_mid ')' + 1`
15720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15723 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15724 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15725 See \`config.log' for more details." >&5
15726 echo "$as_me: error: cannot compute sizeof (void *), 77
15727 See \`config.log' for more details." >&2;}
15728 { (exit 1); exit 1; }; } ;;
15731 if test "$cross_compiling" = yes; then
15732 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15733 See \`config.log' for more details." >&5
15734 echo "$as_me: error: cannot run test program while cross compiling
15735 See \`config.log' for more details." >&2;}
15736 { (exit 1); exit 1; }; }
15738 cat >conftest.
$ac_ext <<_ACEOF
15741 cat confdefs.h
>>conftest.
$ac_ext
15742 cat >>conftest.
$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15744 $ac_includes_default
15745 long longval () { return (long) (sizeof (void *)); }
15746 unsigned long ulongval () { return (long) (sizeof (void *)); }
15748 #include <stdlib.h>
15753 FILE *f = fopen ("conftest.val", "w");
15756 if (((long) (sizeof (void *))) < 0)
15758 long i = longval ();
15759 if (i != ((long) (sizeof (void *))))
15761 fprintf (f, "%ld\n", i);
15765 unsigned long i = ulongval ();
15766 if (i != ((long) (sizeof (void *))))
15768 fprintf (f, "%lu\n", i);
15770 exit (ferror (f) || fclose (f) != 0);
15776 rm -f conftest
$ac_exeext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15778 (eval $ac_link) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; }; then
15787 ac_cv_sizeof_void_p
=`cat conftest.val`
15789 echo "$as_me: program exited with status $ac_status" >&5
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.
$ac_ext >&5
15793 ( exit $ac_status )
15794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15795 See \`config.log' for more details." >&5
15796 echo "$as_me: error: cannot compute sizeof (void *), 77
15797 See \`config.log' for more details." >&2;}
15798 { (exit 1); exit 1; }; }
15800 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15805 ac_cv_sizeof_void_p
=0
15808 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15809 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15810 cat >>confdefs.h
<<_ACEOF
15811 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15815 echo "$as_me:$LINENO: checking for int" >&5
15816 echo $ECHO_N "checking for int... $ECHO_C" >&6
15817 if test "${ac_cv_type_int+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 cat >conftest.
$ac_ext <<_ACEOF
15823 cat confdefs.h
>>conftest.
$ac_ext
15824 cat >>conftest.
$ac_ext <<_ACEOF
15825 /* end confdefs.h. */
15826 $ac_includes_default
15838 rm -f conftest.
$ac_objext
15839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15840 (eval $ac_compile) 2>conftest.er1
15842 grep -v '^ *+' conftest.er1
>conftest.err
15844 cat conftest.err
>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } &&
15847 { ac_try
='test -z "$ac_c_werror_flag"
15848 || test ! -s conftest.err'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; } &&
15854 { ac_try
='test -s conftest.$ac_objext'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; }; then
15862 echo "$as_me: failed program was:" >&5
15863 sed 's/^/| /' conftest.
$ac_ext >&5
15867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15869 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15870 echo "${ECHO_T}$ac_cv_type_int" >&6
15872 echo "$as_me:$LINENO: checking size of int" >&5
15873 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15874 if test "${ac_cv_sizeof_int+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 if test "$ac_cv_type_int" = yes; then
15878 # The cast to unsigned long works around a bug in the HP C Compiler
15879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15881 # This bug is HP SR number 8606223364.
15882 if test "$cross_compiling" = yes; then
15883 # Depending upon the size, compute the lo and hi bounds.
15884 cat >conftest.
$ac_ext <<_ACEOF
15887 cat confdefs.h
>>conftest.
$ac_ext
15888 cat >>conftest.
$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15890 $ac_includes_default
15894 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15901 rm -f conftest.
$ac_objext
15902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15903 (eval $ac_compile) 2>conftest.er1
15905 grep -v '^ *+' conftest.er1
>conftest.err
15907 cat conftest.err
>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); } &&
15910 { ac_try
='test -z "$ac_c_werror_flag"
15911 || test ! -s conftest.err'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; } &&
15917 { ac_try
='test -s conftest.$ac_objext'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15925 cat >conftest.
$ac_ext <<_ACEOF
15928 cat confdefs.h
>>conftest.
$ac_ext
15929 cat >>conftest.
$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 $ac_includes_default
15935 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15942 rm -f conftest.
$ac_objext
15943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15944 (eval $ac_compile) 2>conftest.er1
15946 grep -v '^ *+' conftest.er1
>conftest.err
15948 cat conftest.err
>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } &&
15951 { ac_try
='test -z "$ac_c_werror_flag"
15952 || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try
='test -s conftest.$ac_objext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 ac_hi
=$ac_mid; break
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 ac_lo
=`expr $ac_mid + 1`
15970 if test $ac_lo -le $ac_mid; then
15974 ac_mid
=`expr 2 '*' $ac_mid + 1`
15976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.
$ac_ext >&5
15982 cat >conftest.
$ac_ext <<_ACEOF
15985 cat confdefs.h
>>conftest.
$ac_ext
15986 cat >>conftest.
$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 $ac_includes_default
15992 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15999 rm -f conftest.
$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>conftest.er1
16003 grep -v '^ *+' conftest.er1
>conftest.err
16005 cat conftest.err
>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try
='test -z "$ac_c_werror_flag"
16009 || test ! -s conftest.err'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try
='test -s conftest.$ac_objext'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16023 cat >conftest.
$ac_ext <<_ACEOF
16026 cat confdefs.h
>>conftest.
$ac_ext
16027 cat >>conftest.
$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 $ac_includes_default
16033 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16040 rm -f conftest.
$ac_objext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>conftest.er1
16044 grep -v '^ *+' conftest.er1
>conftest.err
16046 cat conftest.err
>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try
='test -z "$ac_c_werror_flag"
16050 || test ! -s conftest.err'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; } &&
16056 { ac_try
='test -s conftest.$ac_objext'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; }; then
16062 ac_lo
=$ac_mid; break
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.
$ac_ext >&5
16067 ac_hi
=`expr '(' $ac_mid ')' - 1`
16068 if test $ac_mid -le $ac_hi; then
16072 ac_mid
=`expr 2 '*' $ac_mid`
16074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.
$ac_ext >&5
16082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16085 # Binary search between lo and hi bounds.
16086 while test "x$ac_lo" != "x$ac_hi"; do
16087 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16088 cat >conftest.
$ac_ext <<_ACEOF
16091 cat confdefs.h
>>conftest.
$ac_ext
16092 cat >>conftest.
$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 $ac_includes_default
16098 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16105 rm -f conftest.
$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>conftest.er1
16109 grep -v '^ *+' conftest.er1
>conftest.err
16111 cat conftest.err
>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } &&
16114 { ac_try
='test -z "$ac_c_werror_flag"
16115 || test ! -s conftest.err'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; } &&
16121 { ac_try
='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.
$ac_ext >&5
16132 ac_lo
=`expr '(' $ac_mid ')' + 1`
16134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16137 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16138 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16139 See \`config.log' for more details." >&5
16140 echo "$as_me: error: cannot compute sizeof (int), 77
16141 See \`config.log' for more details." >&2;}
16142 { (exit 1); exit 1; }; } ;;
16145 if test "$cross_compiling" = yes; then
16146 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16147 See \`config.log' for more details." >&5
16148 echo "$as_me: error: cannot run test program while cross compiling
16149 See \`config.log' for more details." >&2;}
16150 { (exit 1); exit 1; }; }
16152 cat >conftest.
$ac_ext <<_ACEOF
16155 cat confdefs.h
>>conftest.
$ac_ext
16156 cat >>conftest.
$ac_ext <<_ACEOF
16157 /* end confdefs.h. */
16158 $ac_includes_default
16159 long longval () { return (long) (sizeof (int)); }
16160 unsigned long ulongval () { return (long) (sizeof (int)); }
16162 #include <stdlib.h>
16167 FILE *f = fopen ("conftest.val", "w");
16170 if (((long) (sizeof (int))) < 0)
16172 long i = longval ();
16173 if (i != ((long) (sizeof (int))))
16175 fprintf (f, "%ld\n", i);
16179 unsigned long i = ulongval ();
16180 if (i != ((long) (sizeof (int))))
16182 fprintf (f, "%lu\n", i);
16184 exit (ferror (f) || fclose (f) != 0);
16190 rm -f conftest
$ac_exeext
16191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192 (eval $ac_link) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; }; then
16201 ac_cv_sizeof_int
=`cat conftest.val`
16203 echo "$as_me: program exited with status $ac_status" >&5
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16207 ( exit $ac_status )
16208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16209 See \`config.log' for more details." >&5
16210 echo "$as_me: error: cannot compute sizeof (int), 77
16211 See \`config.log' for more details." >&2;}
16212 { (exit 1); exit 1; }; }
16214 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16222 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16223 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16224 cat >>confdefs.h
<<_ACEOF
16225 #define SIZEOF_INT $ac_cv_sizeof_int
16229 echo "$as_me:$LINENO: checking for long" >&5
16230 echo $ECHO_N "checking for long... $ECHO_C" >&6
16231 if test "${ac_cv_type_long+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16234 cat >conftest.
$ac_ext <<_ACEOF
16237 cat confdefs.h
>>conftest.
$ac_ext
16238 cat >>conftest.
$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16240 $ac_includes_default
16252 rm -f conftest.
$ac_objext
16253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16254 (eval $ac_compile) 2>conftest.er1
16256 grep -v '^ *+' conftest.er1
>conftest.err
16258 cat conftest.err
>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); } &&
16261 { ac_try
='test -z "$ac_c_werror_flag"
16262 || test ! -s conftest.err'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; } &&
16268 { ac_try
='test -s conftest.$ac_objext'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; }; then
16274 ac_cv_type_long
=yes
16276 echo "$as_me: failed program was:" >&5
16277 sed 's/^/| /' conftest.
$ac_ext >&5
16281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16283 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16284 echo "${ECHO_T}$ac_cv_type_long" >&6
16286 echo "$as_me:$LINENO: checking size of long" >&5
16287 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16288 if test "${ac_cv_sizeof_long+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 if test "$ac_cv_type_long" = yes; then
16292 # The cast to unsigned long works around a bug in the HP C Compiler
16293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16295 # This bug is HP SR number 8606223364.
16296 if test "$cross_compiling" = yes; then
16297 # Depending upon the size, compute the lo and hi bounds.
16298 cat >conftest.
$ac_ext <<_ACEOF
16301 cat confdefs.h
>>conftest.
$ac_ext
16302 cat >>conftest.
$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 $ac_includes_default
16308 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16315 rm -f conftest.
$ac_objext
16316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16317 (eval $ac_compile) 2>conftest.er1
16319 grep -v '^ *+' conftest.er1
>conftest.err
16321 cat conftest.err
>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); } &&
16324 { ac_try
='test -z "$ac_c_werror_flag"
16325 || test ! -s conftest.err'
16326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16327 (eval $ac_try) 2>&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); }; } &&
16331 { ac_try
='test -s conftest.$ac_objext'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16339 cat >conftest.
$ac_ext <<_ACEOF
16342 cat confdefs.h
>>conftest.
$ac_ext
16343 cat >>conftest.
$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16349 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16356 rm -f conftest.
$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16360 grep -v '^ *+' conftest.er1
>conftest.err
16362 cat conftest.err
>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try
='test -z "$ac_c_werror_flag"
16366 || test ! -s conftest.err'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try
='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 ac_hi
=$ac_mid; break
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.
$ac_ext >&5
16383 ac_lo
=`expr $ac_mid + 1`
16384 if test $ac_lo -le $ac_mid; then
16388 ac_mid
=`expr 2 '*' $ac_mid + 1`
16390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.
$ac_ext >&5
16396 cat >conftest.
$ac_ext <<_ACEOF
16399 cat confdefs.h
>>conftest.
$ac_ext
16400 cat >>conftest.
$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402 $ac_includes_default
16406 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16413 rm -f conftest.
$ac_objext
16414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16415 (eval $ac_compile) 2>conftest.er1
16417 grep -v '^ *+' conftest.er1
>conftest.err
16419 cat conftest.err
>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); } &&
16422 { ac_try
='test -z "$ac_c_werror_flag"
16423 || test ! -s conftest.err'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; } &&
16429 { ac_try
='test -s conftest.$ac_objext'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; }; then
16437 cat >conftest.
$ac_ext <<_ACEOF
16440 cat confdefs.h
>>conftest.
$ac_ext
16441 cat >>conftest.
$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 $ac_includes_default
16447 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16454 rm -f conftest.
$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>conftest.er1
16458 grep -v '^ *+' conftest.er1
>conftest.err
16460 cat conftest.err
>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try
='test -z "$ac_c_werror_flag"
16464 || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try
='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 ac_lo
=$ac_mid; break
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.
$ac_ext >&5
16481 ac_hi
=`expr '(' $ac_mid ')' - 1`
16482 if test $ac_mid -le $ac_hi; then
16486 ac_mid
=`expr 2 '*' $ac_mid`
16488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.
$ac_ext >&5
16496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16499 # Binary search between lo and hi bounds.
16500 while test "x$ac_lo" != "x$ac_hi"; do
16501 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 $ac_includes_default
16512 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16519 rm -f conftest.
$ac_objext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16521 (eval $ac_compile) 2>conftest.er1
16523 grep -v '^ *+' conftest.er1
>conftest.err
16525 cat conftest.err
>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try
='test -z "$ac_c_werror_flag"
16529 || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try
='test -s conftest.$ac_objext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.
$ac_ext >&5
16546 ac_lo
=`expr '(' $ac_mid ')' + 1`
16548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16551 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16552 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16553 See \`config.log' for more details." >&5
16554 echo "$as_me: error: cannot compute sizeof (long), 77
16555 See \`config.log' for more details." >&2;}
16556 { (exit 1); exit 1; }; } ;;
16559 if test "$cross_compiling" = yes; then
16560 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16561 See \`config.log' for more details." >&5
16562 echo "$as_me: error: cannot run test program while cross compiling
16563 See \`config.log' for more details." >&2;}
16564 { (exit 1); exit 1; }; }
16566 cat >conftest.
$ac_ext <<_ACEOF
16569 cat confdefs.h
>>conftest.
$ac_ext
16570 cat >>conftest.
$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16573 long longval () { return (long) (sizeof (long)); }
16574 unsigned long ulongval () { return (long) (sizeof (long)); }
16576 #include <stdlib.h>
16581 FILE *f = fopen ("conftest.val", "w");
16584 if (((long) (sizeof (long))) < 0)
16586 long i = longval ();
16587 if (i != ((long) (sizeof (long))))
16589 fprintf (f, "%ld\n", i);
16593 unsigned long i = ulongval ();
16594 if (i != ((long) (sizeof (long))))
16596 fprintf (f, "%lu\n", i);
16598 exit (ferror (f) || fclose (f) != 0);
16604 rm -f conftest
$ac_exeext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16606 (eval $ac_link) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 ac_cv_sizeof_long
=`cat conftest.val`
16617 echo "$as_me: program exited with status $ac_status" >&5
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 ( exit $ac_status )
16622 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16623 See \`config.log' for more details." >&5
16624 echo "$as_me: error: cannot compute sizeof (long), 77
16625 See \`config.log' for more details." >&2;}
16626 { (exit 1); exit 1; }; }
16628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16633 ac_cv_sizeof_long
=0
16636 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16637 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16638 cat >>confdefs.h
<<_ACEOF
16639 #define SIZEOF_LONG $ac_cv_sizeof_long
16643 echo "$as_me:$LINENO: checking for size_t" >&5
16644 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16645 if test "${ac_cv_type_size_t+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 cat >conftest.
$ac_ext <<_ACEOF
16651 cat confdefs.h
>>conftest.
$ac_ext
16652 cat >>conftest.
$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16654 $ac_includes_default
16660 if (sizeof (size_t))
16666 rm -f conftest.
$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>conftest.er1
16670 grep -v '^ *+' conftest.er1
>conftest.err
16672 cat conftest.err
>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } &&
16675 { ac_try
='test -z "$ac_c_werror_flag"
16676 || test ! -s conftest.err'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; } &&
16682 { ac_try
='test -s conftest.$ac_objext'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; }; then
16688 ac_cv_type_size_t
=yes
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.
$ac_ext >&5
16693 ac_cv_type_size_t
=no
16695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16697 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16698 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16700 echo "$as_me:$LINENO: checking size of size_t" >&5
16701 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16702 if test "${ac_cv_sizeof_size_t+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 if test "$ac_cv_type_size_t" = yes; then
16706 # The cast to unsigned long works around a bug in the HP C Compiler
16707 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16708 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16709 # This bug is HP SR number 8606223364.
16710 if test "$cross_compiling" = yes; then
16711 # Depending upon the size, compute the lo and hi bounds.
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16718 $ac_includes_default
16722 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16729 rm -f conftest.
$ac_objext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>conftest.er1
16733 grep -v '^ *+' conftest.er1
>conftest.err
16735 cat conftest.err
>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try
='test -z "$ac_c_werror_flag"
16739 || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try
='test -s conftest.$ac_objext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16753 cat >conftest.
$ac_ext <<_ACEOF
16756 cat confdefs.h
>>conftest.
$ac_ext
16757 cat >>conftest.
$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16763 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16770 rm -f conftest.
$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16774 grep -v '^ *+' conftest.er1
>conftest.err
16776 cat conftest.err
>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try
='test -z "$ac_c_werror_flag"
16780 || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try
='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_hi
=$ac_mid; break
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.
$ac_ext >&5
16797 ac_lo
=`expr $ac_mid + 1`
16798 if test $ac_lo -le $ac_mid; then
16802 ac_mid
=`expr 2 '*' $ac_mid + 1`
16804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.
$ac_ext >&5
16810 cat >conftest.
$ac_ext <<_ACEOF
16813 cat confdefs.h
>>conftest.
$ac_ext
16814 cat >>conftest.
$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816 $ac_includes_default
16820 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16827 rm -f conftest.
$ac_objext
16828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16829 (eval $ac_compile) 2>conftest.er1
16831 grep -v '^ *+' conftest.er1
>conftest.err
16833 cat conftest.err
>&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } &&
16836 { ac_try
='test -z "$ac_c_werror_flag"
16837 || test ! -s conftest.err'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; } &&
16843 { ac_try
='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16851 cat >conftest.
$ac_ext <<_ACEOF
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 $ac_includes_default
16861 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16868 rm -f conftest.
$ac_objext
16869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16870 (eval $ac_compile) 2>conftest.er1
16872 grep -v '^ *+' conftest.er1
>conftest.err
16874 cat conftest.err
>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); } &&
16877 { ac_try
='test -z "$ac_c_werror_flag"
16878 || test ! -s conftest.err'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; } &&
16884 { ac_try
='test -s conftest.$ac_objext'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 ac_lo
=$ac_mid; break
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.
$ac_ext >&5
16895 ac_hi
=`expr '(' $ac_mid ')' - 1`
16896 if test $ac_mid -le $ac_hi; then
16900 ac_mid
=`expr 2 '*' $ac_mid`
16902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16913 # Binary search between lo and hi bounds.
16914 while test "x$ac_lo" != "x$ac_hi"; do
16915 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16916 cat >conftest.
$ac_ext <<_ACEOF
16919 cat confdefs.h
>>conftest.
$ac_ext
16920 cat >>conftest.
$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 $ac_includes_default
16926 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16933 rm -f conftest.
$ac_objext
16934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16935 (eval $ac_compile) 2>conftest.er1
16937 grep -v '^ *+' conftest.er1
>conftest.err
16939 cat conftest.err
>&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try
='test -z "$ac_c_werror_flag"
16943 || test ! -s conftest.err'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try
='test -s conftest.$ac_objext'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 ac_lo
=`expr '(' $ac_mid ')' + 1`
16962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16966 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16967 See \`config.log' for more details." >&5
16968 echo "$as_me: error: cannot compute sizeof (size_t), 77
16969 See \`config.log' for more details." >&2;}
16970 { (exit 1); exit 1; }; } ;;
16973 if test "$cross_compiling" = yes; then
16974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16975 See \`config.log' for more details." >&5
16976 echo "$as_me: error: cannot run test program while cross compiling
16977 See \`config.log' for more details." >&2;}
16978 { (exit 1); exit 1; }; }
16980 cat >conftest.
$ac_ext <<_ACEOF
16983 cat confdefs.h
>>conftest.
$ac_ext
16984 cat >>conftest.
$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 $ac_includes_default
16987 long longval () { return (long) (sizeof (size_t)); }
16988 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16990 #include <stdlib.h>
16995 FILE *f = fopen ("conftest.val", "w");
16998 if (((long) (sizeof (size_t))) < 0)
17000 long i = longval ();
17001 if (i != ((long) (sizeof (size_t))))
17003 fprintf (f, "%ld\n", i);
17007 unsigned long i = ulongval ();
17008 if (i != ((long) (sizeof (size_t))))
17010 fprintf (f, "%lu\n", i);
17012 exit (ferror (f) || fclose (f) != 0);
17018 rm -f conftest
$ac_exeext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17020 (eval $ac_link) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 ac_cv_sizeof_size_t
=`cat conftest.val`
17031 echo "$as_me: program exited with status $ac_status" >&5
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 ( exit $ac_status )
17036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17037 See \`config.log' for more details." >&5
17038 echo "$as_me: error: cannot compute sizeof (size_t), 77
17039 See \`config.log' for more details." >&2;}
17040 { (exit 1); exit 1; }; }
17042 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17047 ac_cv_sizeof_size_t
=0
17050 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17051 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17052 cat >>confdefs.h
<<_ACEOF
17053 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17060 echo "$as_me:$LINENO: checking for long long" >&5
17061 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17062 if test "${ac_cv_type_long_long+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 cat >conftest.
$ac_ext <<_ACEOF
17068 cat confdefs.h
>>conftest.
$ac_ext
17069 cat >>conftest.
$ac_ext <<_ACEOF
17070 /* end confdefs.h. */
17071 $ac_includes_default
17075 if ((long long *) 0)
17077 if (sizeof (long long))
17083 rm -f conftest.
$ac_objext
17084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17085 (eval $ac_compile) 2>conftest.er1
17087 grep -v '^ *+' conftest.er1
>conftest.err
17089 cat conftest.err
>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } &&
17092 { ac_try
='test -z "$ac_c_werror_flag"
17093 || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try
='test -s conftest.$ac_objext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 ac_cv_type_long_long
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 ac_cv_type_long_long
=no
17112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17114 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17115 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17117 echo "$as_me:$LINENO: checking size of long long" >&5
17118 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17119 if test "${ac_cv_sizeof_long_long+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 if test "$ac_cv_type_long_long" = yes; then
17123 # The cast to unsigned long works around a bug in the HP C Compiler
17124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17126 # This bug is HP SR number 8606223364.
17127 if test "$cross_compiling" = yes; then
17128 # Depending upon the size, compute the lo and hi bounds.
17129 cat >conftest.
$ac_ext <<_ACEOF
17132 cat confdefs.h
>>conftest.
$ac_ext
17133 cat >>conftest.
$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 $ac_includes_default
17139 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17146 rm -f conftest.
$ac_objext
17147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17148 (eval $ac_compile) 2>conftest.er1
17150 grep -v '^ *+' conftest.er1
>conftest.err
17152 cat conftest.err
>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } &&
17155 { ac_try
='test -z "$ac_c_werror_flag"
17156 || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try
='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17170 cat >conftest.
$ac_ext <<_ACEOF
17173 cat confdefs.h
>>conftest.
$ac_ext
17174 cat >>conftest.
$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 $ac_includes_default
17180 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17187 rm -f conftest.
$ac_objext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17189 (eval $ac_compile) 2>conftest.er1
17191 grep -v '^ *+' conftest.er1
>conftest.err
17193 cat conftest.err
>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try
='test -z "$ac_c_werror_flag"
17197 || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try
='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 ac_hi
=$ac_mid; break
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 ac_lo
=`expr $ac_mid + 1`
17215 if test $ac_lo -le $ac_mid; then
17219 ac_mid
=`expr 2 '*' $ac_mid + 1`
17221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.
$ac_ext >&5
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 $ac_includes_default
17237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17244 rm -f conftest.
$ac_objext
17245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>conftest.er1
17248 grep -v '^ *+' conftest.er1
>conftest.err
17250 cat conftest.err
>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } &&
17253 { ac_try
='test -z "$ac_c_werror_flag"
17254 || test ! -s conftest.err'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; } &&
17260 { ac_try
='test -s conftest.$ac_objext'
17261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262 (eval $ac_try) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; }; then
17268 cat >conftest.
$ac_ext <<_ACEOF
17271 cat confdefs.h
>>conftest.
$ac_ext
17272 cat >>conftest.
$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17274 $ac_includes_default
17278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17285 rm -f conftest.
$ac_objext
17286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17287 (eval $ac_compile) 2>conftest.er1
17289 grep -v '^ *+' conftest.er1
>conftest.err
17291 cat conftest.err
>&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); } &&
17294 { ac_try
='test -z "$ac_c_werror_flag"
17295 || test ! -s conftest.err'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; } &&
17301 { ac_try
='test -s conftest.$ac_objext'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; }; then
17307 ac_lo
=$ac_mid; break
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.
$ac_ext >&5
17312 ac_hi
=`expr '(' $ac_mid ')' - 1`
17313 if test $ac_mid -le $ac_hi; then
17317 ac_mid
=`expr 2 '*' $ac_mid`
17319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17330 # Binary search between lo and hi bounds.
17331 while test "x$ac_lo" != "x$ac_hi"; do
17332 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17333 cat >conftest.
$ac_ext <<_ACEOF
17336 cat confdefs.h
>>conftest.
$ac_ext
17337 cat >>conftest.
$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 $ac_includes_default
17343 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17350 rm -f conftest.
$ac_objext
17351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17352 (eval $ac_compile) 2>conftest.er1
17354 grep -v '^ *+' conftest.er1
>conftest.err
17356 cat conftest.err
>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } &&
17359 { ac_try
='test -z "$ac_c_werror_flag"
17360 || test ! -s conftest.err'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; } &&
17366 { ac_try
='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.
$ac_ext >&5
17377 ac_lo
=`expr '(' $ac_mid ')' + 1`
17379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17382 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17383 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17384 See \`config.log' for more details." >&5
17385 echo "$as_me: error: cannot compute sizeof (long long), 77
17386 See \`config.log' for more details." >&2;}
17387 { (exit 1); exit 1; }; } ;;
17390 if test "$cross_compiling" = yes; then
17391 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17392 See \`config.log' for more details." >&5
17393 echo "$as_me: error: cannot run test program while cross compiling
17394 See \`config.log' for more details." >&2;}
17395 { (exit 1); exit 1; }; }
17397 cat >conftest.
$ac_ext <<_ACEOF
17400 cat confdefs.h
>>conftest.
$ac_ext
17401 cat >>conftest.
$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17403 $ac_includes_default
17404 long longval () { return (long) (sizeof (long long)); }
17405 unsigned long ulongval () { return (long) (sizeof (long long)); }
17407 #include <stdlib.h>
17412 FILE *f = fopen ("conftest.val", "w");
17415 if (((long) (sizeof (long long))) < 0)
17417 long i = longval ();
17418 if (i != ((long) (sizeof (long long))))
17420 fprintf (f, "%ld\n", i);
17424 unsigned long i = ulongval ();
17425 if (i != ((long) (sizeof (long long))))
17427 fprintf (f, "%lu\n", i);
17429 exit (ferror (f) || fclose (f) != 0);
17435 rm -f conftest
$ac_exeext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17437 (eval $ac_link) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_sizeof_long_long
=`cat conftest.val`
17448 echo "$as_me: program exited with status $ac_status" >&5
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ( exit $ac_status )
17453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17454 See \`config.log' for more details." >&5
17455 echo "$as_me: error: cannot compute sizeof (long long), 77
17456 See \`config.log' for more details." >&2;}
17457 { (exit 1); exit 1; }; }
17459 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17464 ac_cv_sizeof_long_long
=0
17467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17468 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17469 cat >>confdefs.h
<<_ACEOF
17470 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17476 echo "$as_me:$LINENO: checking for long long" >&5
17477 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17478 if test "${ac_cv_type_long_long+set}" = set; then
17479 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 cat >conftest.
$ac_ext <<_ACEOF
17484 cat confdefs.h
>>conftest.
$ac_ext
17485 cat >>conftest.
$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487 $ac_includes_default
17491 if ((long long *) 0)
17493 if (sizeof (long long))
17499 rm -f conftest.
$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_c_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try
='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_type_long_long
=yes
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17526 ac_cv_type_long_long
=no
17528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17530 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17531 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17533 echo "$as_me:$LINENO: checking size of long long" >&5
17534 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17535 if test "${ac_cv_sizeof_long_long+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 if test "$ac_cv_type_long_long" = yes; then
17539 # The cast to unsigned long works around a bug in the HP C Compiler
17540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17541 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17542 # This bug is HP SR number 8606223364.
17543 if test "$cross_compiling" = yes; then
17544 # Depending upon the size, compute the lo and hi bounds.
17545 cat >conftest.
$ac_ext <<_ACEOF
17548 cat confdefs.h
>>conftest.
$ac_ext
17549 cat >>conftest.
$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 $ac_includes_default
17555 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17562 rm -f conftest.
$ac_objext
17563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17564 (eval $ac_compile) 2>conftest.er1
17566 grep -v '^ *+' conftest.er1
>conftest.err
17568 cat conftest.err
>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } &&
17571 { ac_try
='test -z "$ac_c_werror_flag"
17572 || test ! -s conftest.err'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; } &&
17578 { ac_try
='test -s conftest.$ac_objext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17586 cat >conftest.
$ac_ext <<_ACEOF
17589 cat confdefs.h
>>conftest.
$ac_ext
17590 cat >>conftest.
$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17596 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17603 rm -f conftest.
$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>conftest.er1
17607 grep -v '^ *+' conftest.er1
>conftest.err
17609 cat conftest.err
>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try
='test -z "$ac_c_werror_flag"
17613 || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try
='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17625 ac_hi
=$ac_mid; break
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.
$ac_ext >&5
17630 ac_lo
=`expr $ac_mid + 1`
17631 if test $ac_lo -le $ac_mid; then
17635 ac_mid
=`expr 2 '*' $ac_mid + 1`
17637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17640 echo "$as_me: failed program was:" >&5
17641 sed 's/^/| /' conftest.
$ac_ext >&5
17643 cat >conftest.
$ac_ext <<_ACEOF
17646 cat confdefs.h
>>conftest.
$ac_ext
17647 cat >>conftest.
$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 $ac_includes_default
17653 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17660 rm -f conftest.
$ac_objext
17661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17662 (eval $ac_compile) 2>conftest.er1
17664 grep -v '^ *+' conftest.er1
>conftest.err
17666 cat conftest.err
>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } &&
17669 { ac_try
='test -z "$ac_c_werror_flag"
17670 || test ! -s conftest.err'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try
='test -s conftest.$ac_objext'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; }; then
17684 cat >conftest.
$ac_ext <<_ACEOF
17687 cat confdefs.h
>>conftest.
$ac_ext
17688 cat >>conftest.
$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690 $ac_includes_default
17694 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17701 rm -f conftest.
$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try
='test -z "$ac_c_werror_flag"
17711 || test ! -s conftest.err'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; } &&
17717 { ac_try
='test -s conftest.$ac_objext'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; }; then
17723 ac_lo
=$ac_mid; break
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.
$ac_ext >&5
17728 ac_hi
=`expr '(' $ac_mid ')' - 1`
17729 if test $ac_mid -le $ac_hi; then
17733 ac_mid
=`expr 2 '*' $ac_mid`
17735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.
$ac_ext >&5
17743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 # Binary search between lo and hi bounds.
17747 while test "x$ac_lo" != "x$ac_hi"; do
17748 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17749 cat >conftest.
$ac_ext <<_ACEOF
17752 cat confdefs.h
>>conftest.
$ac_ext
17753 cat >>conftest.
$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17755 $ac_includes_default
17759 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17766 rm -f conftest.
$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17770 grep -v '^ *+' conftest.er1
>conftest.err
17772 cat conftest.err
>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try
='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try
='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.
$ac_ext >&5
17793 ac_lo
=`expr '(' $ac_mid ')' + 1`
17795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17798 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17799 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17800 See \`config.log' for more details." >&5
17801 echo "$as_me: error: cannot compute sizeof (long long), 77
17802 See \`config.log' for more details." >&2;}
17803 { (exit 1); exit 1; }; } ;;
17806 if test "$cross_compiling" = yes; then
17807 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17808 See \`config.log' for more details." >&5
17809 echo "$as_me: error: cannot run test program while cross compiling
17810 See \`config.log' for more details." >&2;}
17811 { (exit 1); exit 1; }; }
17813 cat >conftest.
$ac_ext <<_ACEOF
17816 cat confdefs.h
>>conftest.
$ac_ext
17817 cat >>conftest.
$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17819 $ac_includes_default
17820 long longval () { return (long) (sizeof (long long)); }
17821 unsigned long ulongval () { return (long) (sizeof (long long)); }
17823 #include <stdlib.h>
17828 FILE *f = fopen ("conftest.val", "w");
17831 if (((long) (sizeof (long long))) < 0)
17833 long i = longval ();
17834 if (i != ((long) (sizeof (long long))))
17836 fprintf (f, "%ld\n", i);
17840 unsigned long i = ulongval ();
17841 if (i != ((long) (sizeof (long long))))
17843 fprintf (f, "%lu\n", i);
17845 exit (ferror (f) || fclose (f) != 0);
17851 rm -f conftest
$ac_exeext
17852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17853 (eval $ac_link) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 ac_cv_sizeof_long_long
=`cat conftest.val`
17864 echo "$as_me: program exited with status $ac_status" >&5
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.
$ac_ext >&5
17868 ( exit $ac_status )
17869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot compute sizeof (long long), 77
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; }
17875 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17880 ac_cv_sizeof_long_long
=0
17883 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17884 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17885 cat >>confdefs.h
<<_ACEOF
17886 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17890 if test "$ac_cv_sizeof_long_long" != "0"; then
17891 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17895 echo "$as_me:$LINENO: checking for long long" >&5
17896 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17897 if test "${ac_cv_type_long_long+set}" = set; then
17898 echo $ECHO_N "(cached) $ECHO_C" >&6
17900 cat >conftest.
$ac_ext <<_ACEOF
17903 cat confdefs.h
>>conftest.
$ac_ext
17904 cat >>conftest.
$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17906 $ac_includes_default
17910 if ((long long *) 0)
17912 if (sizeof (long long))
17918 rm -f conftest.
$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>conftest.er1
17922 grep -v '^ *+' conftest.er1
>conftest.err
17924 cat conftest.err
>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try
='test -z "$ac_c_werror_flag"
17928 || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try
='test -s conftest.$ac_objext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 ac_cv_type_long_long
=yes
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17945 ac_cv_type_long_long
=no
17947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17949 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17950 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17952 echo "$as_me:$LINENO: checking size of long long" >&5
17953 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17954 if test "${ac_cv_sizeof_long_long+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 if test "$ac_cv_type_long_long" = yes; then
17958 # The cast to unsigned long works around a bug in the HP C Compiler
17959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17961 # This bug is HP SR number 8606223364.
17962 if test "$cross_compiling" = yes; then
17963 # Depending upon the size, compute the lo and hi bounds.
17964 cat >conftest.
$ac_ext <<_ACEOF
17967 cat confdefs.h
>>conftest.
$ac_ext
17968 cat >>conftest.
$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17970 $ac_includes_default
17974 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17981 rm -f conftest.
$ac_objext
17982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17983 (eval $ac_compile) 2>conftest.er1
17985 grep -v '^ *+' conftest.er1
>conftest.err
17987 cat conftest.err
>&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } &&
17990 { ac_try
='test -z "$ac_c_werror_flag"
17991 || test ! -s conftest.err'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; } &&
17997 { ac_try
='test -s conftest.$ac_objext'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; }; then
18005 cat >conftest.
$ac_ext <<_ACEOF
18008 cat confdefs.h
>>conftest.
$ac_ext
18009 cat >>conftest.
$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18022 rm -f conftest.
$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>conftest.er1
18026 grep -v '^ *+' conftest.er1
>conftest.err
18028 cat conftest.err
>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); } &&
18031 { ac_try
='test -z "$ac_c_werror_flag"
18032 || test ! -s conftest.err'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; } &&
18038 { ac_try
='test -s conftest.$ac_objext'
18039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040 (eval $ac_try) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; }; then
18044 ac_hi
=$ac_mid; break
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.
$ac_ext >&5
18049 ac_lo
=`expr $ac_mid + 1`
18050 if test $ac_lo -le $ac_mid; then
18054 ac_mid
=`expr 2 '*' $ac_mid + 1`
18056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18062 cat >conftest.
$ac_ext <<_ACEOF
18065 cat confdefs.h
>>conftest.
$ac_ext
18066 cat >>conftest.
$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 $ac_includes_default
18072 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18079 rm -f conftest.
$ac_objext
18080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18081 (eval $ac_compile) 2>conftest.er1
18083 grep -v '^ *+' conftest.er1
>conftest.err
18085 cat conftest.err
>&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } &&
18088 { ac_try
='test -z "$ac_c_werror_flag"
18089 || test ! -s conftest.err'
18090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18091 (eval $ac_try) 2>&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); }; } &&
18095 { ac_try
='test -s conftest.$ac_objext'
18096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18097 (eval $ac_try) 2>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); }; }; then
18103 cat >conftest.
$ac_ext <<_ACEOF
18106 cat confdefs.h
>>conftest.
$ac_ext
18107 cat >>conftest.
$ac_ext <<_ACEOF
18108 /* end confdefs.h. */
18109 $ac_includes_default
18113 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18120 rm -f conftest.
$ac_objext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18122 (eval $ac_compile) 2>conftest.er1
18124 grep -v '^ *+' conftest.er1
>conftest.err
18126 cat conftest.err
>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } &&
18129 { ac_try
='test -z "$ac_c_werror_flag"
18130 || test ! -s conftest.err'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; } &&
18136 { ac_try
='test -s conftest.$ac_objext'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; }; then
18142 ac_lo
=$ac_mid; break
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.
$ac_ext >&5
18147 ac_hi
=`expr '(' $ac_mid ')' - 1`
18148 if test $ac_mid -le $ac_hi; then
18152 ac_mid
=`expr 2 '*' $ac_mid`
18154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.
$ac_ext >&5
18162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18165 # Binary search between lo and hi bounds.
18166 while test "x$ac_lo" != "x$ac_hi"; do
18167 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18168 cat >conftest.
$ac_ext <<_ACEOF
18171 cat confdefs.h
>>conftest.
$ac_ext
18172 cat >>conftest.
$ac_ext <<_ACEOF
18173 /* end confdefs.h. */
18174 $ac_includes_default
18178 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18185 rm -f conftest.
$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18189 grep -v '^ *+' conftest.er1
>conftest.err
18191 cat conftest.err
>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try
='test -z "$ac_c_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try
='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.
$ac_ext >&5
18212 ac_lo
=`expr '(' $ac_mid ')' + 1`
18214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18217 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18218 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18219 See \`config.log' for more details." >&5
18220 echo "$as_me: error: cannot compute sizeof (long long), 77
18221 See \`config.log' for more details." >&2;}
18222 { (exit 1); exit 1; }; } ;;
18225 if test "$cross_compiling" = yes; then
18226 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18227 See \`config.log' for more details." >&5
18228 echo "$as_me: error: cannot run test program while cross compiling
18229 See \`config.log' for more details." >&2;}
18230 { (exit 1); exit 1; }; }
18232 cat >conftest.
$ac_ext <<_ACEOF
18235 cat confdefs.h
>>conftest.
$ac_ext
18236 cat >>conftest.
$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 $ac_includes_default
18239 long longval () { return (long) (sizeof (long long)); }
18240 unsigned long ulongval () { return (long) (sizeof (long long)); }
18242 #include <stdlib.h>
18247 FILE *f = fopen ("conftest.val", "w");
18250 if (((long) (sizeof (long long))) < 0)
18252 long i = longval ();
18253 if (i != ((long) (sizeof (long long))))
18255 fprintf (f, "%ld\n", i);
18259 unsigned long i = ulongval ();
18260 if (i != ((long) (sizeof (long long))))
18262 fprintf (f, "%lu\n", i);
18264 exit (ferror (f) || fclose (f) != 0);
18270 rm -f conftest
$ac_exeext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18272 (eval $ac_link) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 ac_cv_sizeof_long_long
=`cat conftest.val`
18283 echo "$as_me: program exited with status $ac_status" >&5
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18287 ( exit $ac_status )
18288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18289 See \`config.log' for more details." >&5
18290 echo "$as_me: error: cannot compute sizeof (long long), 77
18291 See \`config.log' for more details." >&2;}
18292 { (exit 1); exit 1; }; }
18294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18299 ac_cv_sizeof_long_long
=0
18302 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18303 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18304 cat >>confdefs.h
<<_ACEOF
18305 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18311 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18312 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18313 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18314 echo $ECHO_N "(cached) $ECHO_C" >&6
18317 if test "$cross_compiling" = yes; then
18321 wx_cv_sizeof_wchar_t
=0
18324 wx_cv_sizeof_wchar_t
=4
18330 cat >conftest.
$ac_ext <<_ACEOF
18333 cat confdefs.h
>>conftest.
$ac_ext
18334 cat >>conftest.
$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18337 /* DJGPP only has fake wchar_t: */
18339 # error "fake wchar_t"
18341 #ifdef HAVE_WCHAR_H
18343 # include <stddef.h>
18345 # include <wchar.h>
18347 #ifdef HAVE_STDLIB_H
18348 # include <stdlib.h>
18353 FILE *f=fopen("conftestval", "w");
18355 fprintf(f, "%i", sizeof(wchar_t));
18360 rm -f conftest
$ac_exeext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18362 (eval $ac_link) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 wx_cv_sizeof_wchar_t
=`cat conftestval`
18373 echo "$as_me: program exited with status $ac_status" >&5
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.
$ac_ext >&5
18377 ( exit $ac_status )
18378 wx_cv_sizeof_wchar_t
=0
18380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18384 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18385 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18387 cat >>confdefs.h
<<_ACEOF
18388 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18392 echo "$as_me:$LINENO: checking for va_copy" >&5
18393 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18394 if test "${wx_cv_func_va_copy+set}" = set; then
18395 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 cat >conftest.
$ac_ext <<_ACEOF
18400 #include <stdarg.h>
18401 void foo(char *f, ...)
18415 rm -f conftest.
$ac_objext conftest
$ac_exeext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18417 (eval $ac_link) 2>conftest.er1
18419 grep -v '^ *+' conftest.er1
>conftest.err
18421 cat conftest.err
>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try
='test -z "$ac_c_werror_flag"
18425 || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try
='test -s conftest$ac_exeext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 wx_cv_func_va_copy
=yes
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 wx_cv_func_va_copy
=no
18445 rm -f conftest.err conftest.
$ac_objext \
18446 conftest
$ac_exeext conftest.
$ac_ext
18450 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18451 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18453 if test $wx_cv_func_va_copy = "yes"; then
18454 cat >>confdefs.h
<<\_ACEOF
18455 #define HAVE_VA_COPY 1
18459 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18460 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18461 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18462 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 if test "$cross_compiling" = yes; then
18466 wx_cv_type_va_list_lvalue
=yes
18469 cat >conftest.
$ac_ext <<_ACEOF
18471 #include <stdarg.h>
18472 int foo(char *f, ...)
18477 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18485 return foo("hi", 17);
18488 rm -f conftest
$ac_exeext
18489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18490 (eval $ac_link) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; }; then
18499 wx_cv_type_va_list_lvalue
=yes
18501 echo "$as_me: program exited with status $ac_status" >&5
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.
$ac_ext >&5
18505 ( exit $ac_status )
18506 wx_cv_type_va_list_lvalue
=no
18508 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18513 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18514 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18516 if test $wx_cv_type_va_list_lvalue != "yes"; then
18517 cat >>confdefs.h
<<\_ACEOF
18518 #define VA_LIST_IS_ARRAY 1
18524 # Check whether --enable-largefile or --disable-largefile was given.
18525 if test "${enable_largefile+set}" = set; then
18526 enableval
="$enable_largefile"
18529 if test "$enable_largefile" != no
; then
18532 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18533 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18534 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 cat >conftest.
$ac_ext <<_ACEOF
18541 cat confdefs.h
>>conftest.
$ac_ext
18542 cat >>conftest.
$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 #define _FILE_OFFSET_BITS 64
18545 #include <sys/types.h>
18550 unsigned int field: sizeof(off_t) == 8;
18557 rm -f conftest.
$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18561 grep -v '^ *+' conftest.er1
>conftest.err
18563 cat conftest.err
>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try
='test -z "$ac_c_werror_flag"
18567 || test ! -s conftest.err'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; } &&
18573 { ac_try
='test -s conftest.$ac_objext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_sys_file_offset_bits
=64
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.
$ac_ext >&5
18584 ac_cv_sys_file_offset_bits
=no
18586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18590 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18591 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18593 if test "$ac_cv_sys_file_offset_bits" != no
; then
18595 cat >>confdefs.h
<<_ACEOF
18596 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18601 if test "x$wx_largefile" != "xyes"; then
18603 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18604 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18605 if test "${ac_cv_sys_large_files+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18609 cat >conftest.
$ac_ext <<_ACEOF
18612 cat confdefs.h
>>conftest.
$ac_ext
18613 cat >>conftest.
$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #define _LARGE_FILES 1
18616 #include <sys/types.h>
18621 unsigned int field: sizeof(off_t) == 8;
18628 rm -f conftest.
$ac_objext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18630 (eval $ac_compile) 2>conftest.er1
18632 grep -v '^ *+' conftest.er1
>conftest.err
18634 cat conftest.err
>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } &&
18637 { ac_try
='test -z "$ac_c_werror_flag"
18638 || test ! -s conftest.err'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; } &&
18644 { ac_try
='test -s conftest.$ac_objext'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; }; then
18650 ac_cv_sys_large_files
=1
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.
$ac_ext >&5
18655 ac_cv_sys_large_files
=no
18657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18661 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18662 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18664 if test "$ac_cv_sys_large_files" != no
; then
18666 cat >>confdefs.h
<<_ACEOF
18667 #define _LARGE_FILES $ac_cv_sys_large_files
18674 echo "$as_me:$LINENO: checking if large file support is available" >&5
18675 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18676 if test "x$wx_largefile" = "xyes"; then
18677 cat >>confdefs.h
<<\_ACEOF
18678 #define HAVE_LARGEFILE_SUPPORT 1
18682 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18683 echo "${ECHO_T}$wx_largefile" >&6
18687 if test "x$wx_largefile" = "xyes"; then
18688 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18689 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18691 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18693 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18694 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18695 if test "${ac_cv_sys_largefile_source+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 ac_cv_sys_largefile_source
=no
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_c_werror_flag"
18725 || test ! -s conftest.err'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; } &&
18731 { ac_try
='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.
$ac_ext >&5
18743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18744 cat >conftest.
$ac_ext <<_ACEOF
18747 cat confdefs.h
>>conftest.
$ac_ext
18748 cat >>conftest.
$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 #define _LARGEFILE_SOURCE 1
18760 rm -f conftest.
$ac_objext
18761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18762 (eval $ac_compile) 2>conftest.er1
18764 grep -v '^ *+' conftest.er1
>conftest.err
18766 cat conftest.err
>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } &&
18769 { ac_try
='test -z "$ac_c_werror_flag"
18770 || test ! -s conftest.err'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; } &&
18776 { ac_try
='test -s conftest.$ac_objext'
18777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18778 (eval $ac_try) 2>&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); }; }; then
18782 ac_cv_sys_largefile_source
=1; break
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.
$ac_ext >&5
18788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18792 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18793 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18794 if test "$ac_cv_sys_largefile_source" != no
; then
18796 cat >>confdefs.h
<<_ACEOF
18797 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18803 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18804 # in glibc 2.1.3, but that breaks too many other things.
18805 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18806 echo "$as_me:$LINENO: checking for fseeko" >&5
18807 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18808 if test "${ac_cv_func_fseeko+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 cat >conftest.
$ac_ext <<_ACEOF
18814 cat confdefs.h
>>conftest.
$ac_ext
18815 cat >>conftest.
$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18821 return fseeko && fseeko (stdin, 0, 0);
18826 rm -f conftest.
$ac_objext conftest
$ac_exeext
18827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18828 (eval $ac_link) 2>conftest.er1
18830 grep -v '^ *+' conftest.er1
>conftest.err
18832 cat conftest.err
>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } &&
18835 { ac_try
='test -z "$ac_c_werror_flag"
18836 || test ! -s conftest.err'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; } &&
18842 { ac_try
='test -s conftest$ac_exeext'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; }; then
18848 ac_cv_func_fseeko
=yes
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.
$ac_ext >&5
18853 ac_cv_func_fseeko
=no
18855 rm -f conftest.err conftest.
$ac_objext \
18856 conftest
$ac_exeext conftest.
$ac_ext
18858 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18859 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
18860 if test $ac_cv_func_fseeko = yes; then
18862 cat >>confdefs.h
<<\_ACEOF
18863 #define HAVE_FSEEKO 1
18868 if test "$ac_cv_sys_largefile_source" != no
; then
18869 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
18871 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18874 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18875 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18876 if test "${ac_cv_c_bigendian+set}" = set; then
18877 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 ac_cv_c_bigendian
=unknown
18880 # See if sys/param.h defines the BYTE_ORDER macro.
18881 cat >conftest.
$ac_ext <<_ACEOF
18884 cat confdefs.h
>>conftest.
$ac_ext
18885 cat >>conftest.
$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18887 #include <sys/types.h>
18888 #include <sys/param.h>
18893 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18894 bogus endian macros
18900 rm -f conftest.
$ac_objext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18902 (eval $ac_compile) 2>conftest.er1
18904 grep -v '^ *+' conftest.er1
>conftest.err
18906 cat conftest.err
>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try
='test -z "$ac_c_werror_flag"
18910 || test ! -s conftest.err'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; } &&
18916 { ac_try
='test -s conftest.$ac_objext'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; }; then
18922 # It does; now see whether it defined to BIG_ENDIAN or not.
18923 cat >conftest.
$ac_ext <<_ACEOF
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929 #include <sys/types.h>
18930 #include <sys/param.h>
18935 #if BYTE_ORDER != BIG_ENDIAN
18942 rm -f conftest.
$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_cv_c_bigendian
=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 ac_cv_c_bigendian
=no
18971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18973 echo "$as_me: failed program was:" >&5
18974 sed 's/^/| /' conftest.
$ac_ext >&5
18977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 if test $ac_cv_c_bigendian = unknown
; then
18979 if test "$cross_compiling" = yes; then
18980 ac_cv_c_bigendian
=unknown
18982 cat >conftest.
$ac_ext <<_ACEOF
18985 cat confdefs.h
>>conftest.
$ac_ext
18986 cat >>conftest.
$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18989 /* Are we little or big endian? From Harbison&Steele. */
18993 char c[sizeof (long)];
18996 exit (u.c[sizeof (long) - 1] == 1);
18999 rm -f conftest
$ac_exeext
19000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19001 (eval $ac_link) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; }; then
19010 ac_cv_c_bigendian
=no
19012 echo "$as_me: program exited with status $ac_status" >&5
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.
$ac_ext >&5
19016 ( exit $ac_status )
19017 ac_cv_c_bigendian
=yes
19019 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19023 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19024 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19025 if test $ac_cv_c_bigendian = unknown
; then
19026 { 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
19027 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;}
19029 if test $ac_cv_c_bigendian = yes; then
19030 cat >>confdefs.h
<<\_ACEOF
19031 #define WORDS_BIGENDIAN 1
19038 ac_cpp
='$CXXCPP $CPPFLAGS'
19039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19042 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19043 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19044 if test -z "$CXXCPP"; then
19045 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19046 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 # Double quotes because CXXCPP needs to be expanded
19049 for CXXCPP
in "$CXX -E" "/lib/cpp"
19051 ac_preproc_ok
=false
19052 for ac_cxx_preproc_warn_flag
in '' yes
19054 # Use a header file that comes with gcc, so configuring glibc
19055 # with a fresh cross-compiler works.
19056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19057 # <limits.h> exists even on freestanding compilers.
19058 # On the NeXT, cc -E runs the code through the compiler's parser,
19059 # not just through cpp. "Syntax error" is here to catch this case.
19060 cat >conftest.
$ac_ext <<_ACEOF
19063 cat confdefs.h
>>conftest.
$ac_ext
19064 cat >>conftest.
$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19067 # include <limits.h>
19069 # include <assert.h>
19073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19076 grep -v '^ *+' conftest.er1
>conftest.err
19078 cat conftest.err
>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } >/dev
/null
; then
19081 if test -s conftest.err
; then
19082 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19083 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19090 if test -z "$ac_cpp_err"; then
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.
$ac_ext >&5
19096 # Broken: fails on valid input.
19099 rm -f conftest.err conftest.
$ac_ext
19101 # OK, works on sane cases. Now check whether non-existent headers
19102 # can be detected and how.
19103 cat >conftest.
$ac_ext <<_ACEOF
19106 cat confdefs.h
>>conftest.
$ac_ext
19107 cat >>conftest.
$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19109 #include <ac_nonexistent.h>
19111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19114 grep -v '^ *+' conftest.er1
>conftest.err
19116 cat conftest.err
>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } >/dev
/null
; then
19119 if test -s conftest.err
; then
19120 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19121 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19128 if test -z "$ac_cpp_err"; then
19129 # Broken: success on invalid input.
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.
$ac_ext >&5
19135 # Passes both tests.
19139 rm -f conftest.err conftest.
$ac_ext
19142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19143 rm -f conftest.err conftest.
$ac_ext
19144 if $ac_preproc_ok; then
19149 ac_cv_prog_CXXCPP
=$CXXCPP
19152 CXXCPP
=$ac_cv_prog_CXXCPP
19154 ac_cv_prog_CXXCPP
=$CXXCPP
19156 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19157 echo "${ECHO_T}$CXXCPP" >&6
19158 ac_preproc_ok
=false
19159 for ac_cxx_preproc_warn_flag
in '' yes
19161 # Use a header file that comes with gcc, so configuring glibc
19162 # with a fresh cross-compiler works.
19163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19164 # <limits.h> exists even on freestanding compilers.
19165 # On the NeXT, cc -E runs the code through the compiler's parser,
19166 # not just through cpp. "Syntax error" is here to catch this case.
19167 cat >conftest.
$ac_ext <<_ACEOF
19170 cat confdefs.h
>>conftest.
$ac_ext
19171 cat >>conftest.
$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19174 # include <limits.h>
19176 # include <assert.h>
19180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19183 grep -v '^ *+' conftest.er1
>conftest.err
19185 cat conftest.err
>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } >/dev
/null
; then
19188 if test -s conftest.err
; then
19189 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19190 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19197 if test -z "$ac_cpp_err"; then
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19203 # Broken: fails on valid input.
19206 rm -f conftest.err conftest.
$ac_ext
19208 # OK, works on sane cases. Now check whether non-existent headers
19209 # can be detected and how.
19210 cat >conftest.
$ac_ext <<_ACEOF
19213 cat confdefs.h
>>conftest.
$ac_ext
19214 cat >>conftest.
$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 #include <ac_nonexistent.h>
19218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19221 grep -v '^ *+' conftest.er1
>conftest.err
19223 cat conftest.err
>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } >/dev
/null
; then
19226 if test -s conftest.err
; then
19227 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19228 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19235 if test -z "$ac_cpp_err"; then
19236 # Broken: success on invalid input.
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.
$ac_ext >&5
19242 # Passes both tests.
19246 rm -f conftest.err conftest.
$ac_ext
19249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19250 rm -f conftest.err conftest.
$ac_ext
19251 if $ac_preproc_ok; then
19254 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19255 See \`config.log' for more details." >&5
19256 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19257 See \`config.log' for more details." >&2;}
19258 { (exit 1); exit 1; }; }
19262 ac_cpp
='$CXXCPP $CPPFLAGS'
19263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19272 ac_cpp
='$CXXCPP $CPPFLAGS'
19273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19279 for ac_header
in iostream
19281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19283 echo "$as_me:$LINENO: checking for $ac_header" >&5
19284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19291 # Is the header compilable?
19292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19294 cat >conftest.
$ac_ext <<_ACEOF
19297 cat confdefs.h
>>conftest.
$ac_ext
19298 cat >>conftest.
$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19301 #include <$ac_header>
19303 rm -f conftest.
$ac_objext
19304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19305 (eval $ac_compile) 2>conftest.er1
19307 grep -v '^ *+' conftest.er1
>conftest.err
19309 cat conftest.err
>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); } &&
19312 { ac_try
='test -z "$ac_cxx_werror_flag"
19313 || test ! -s conftest.err'
19314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315 (eval $ac_try) 2>&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); }; } &&
19319 { ac_try
='test -s conftest.$ac_objext'
19320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321 (eval $ac_try) 2>&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); }; }; then
19325 ac_header_compiler
=yes
19327 echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.
$ac_ext >&5
19330 ac_header_compiler
=no
19332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19334 echo "${ECHO_T}$ac_header_compiler" >&6
19336 # Is the header present?
19337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19339 cat >conftest.
$ac_ext <<_ACEOF
19342 cat confdefs.h
>>conftest.
$ac_ext
19343 cat >>conftest.
$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <$ac_header>
19347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19350 grep -v '^ *+' conftest.er1
>conftest.err
19352 cat conftest.err
>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } >/dev
/null
; then
19355 if test -s conftest.err
; then
19356 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19357 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19364 if test -z "$ac_cpp_err"; then
19365 ac_header_preproc
=yes
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.
$ac_ext >&5
19370 ac_header_preproc
=no
19372 rm -f conftest.err conftest.
$ac_ext
19373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19374 echo "${ECHO_T}$ac_header_preproc" >&6
19376 # So? What about this header?
19377 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19383 ac_header_preproc
=yes
19386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19400 ## ----------------------------------------- ##
19401 ## Report this to wx-dev@lists.wxwidgets.org ##
19402 ## ----------------------------------------- ##
19405 sed "s/^/$as_me: WARNING: /" >&2
19408 echo "$as_me:$LINENO: checking for $ac_header" >&5
19409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 eval "$as_ac_Header=\$ac_header_preproc"
19415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19420 cat >>confdefs.h
<<_ACEOF
19421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19429 if test "$ac_cv_header_iostream" = "yes" ; then
19432 cat >>confdefs.h
<<\_ACEOF
19433 #define wxUSE_IOSTREAMH 1
19439 ac_cpp
='$CPP $CPPFLAGS'
19440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19447 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19448 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19449 if test "${wx_cv_cpp_bool+set}" = set; then
19450 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 ac_cpp
='$CXXCPP $CPPFLAGS'
19457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19462 cat >conftest.
$ac_ext <<_ACEOF
19465 cat confdefs.h
>>conftest.
$ac_ext
19466 cat >>conftest.
$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19482 rm -f conftest.
$ac_objext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19484 (eval $ac_compile) 2>conftest.er1
19486 grep -v '^ *+' conftest.er1
>conftest.err
19488 cat conftest.err
>&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } &&
19491 { ac_try
='test -z "$ac_cxx_werror_flag"
19492 || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try
='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.
$ac_ext >&5
19516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19519 ac_cpp
='$CPP $CPPFLAGS'
19520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19526 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19527 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19529 if test "$wx_cv_cpp_bool" = "yes"; then
19530 cat >>confdefs.h
<<\_ACEOF
19531 #define HAVE_BOOL 1
19538 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19539 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19540 if test "${wx_cv_explicit+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19547 ac_cpp
='$CXXCPP $CPPFLAGS'
19548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19553 cat >conftest.
$ac_ext <<_ACEOF
19556 cat confdefs.h
>>conftest.
$ac_ext
19557 cat >>conftest.
$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19560 class Foo { public: explicit Foo(int) {} };
19572 rm -f conftest.
$ac_objext
19573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19574 (eval $ac_compile) 2>conftest.er1
19576 grep -v '^ *+' conftest.er1
>conftest.err
19578 cat conftest.err
>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } &&
19581 { ac_try
='test -z "$ac_cxx_werror_flag"
19582 || test ! -s conftest.err'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; } &&
19588 { ac_try
='test -s conftest.$ac_objext'
19589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590 (eval $ac_try) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); }; }; then
19595 cat >conftest.
$ac_ext <<_ACEOF
19598 cat confdefs.h
>>conftest.
$ac_ext
19599 cat >>conftest.
$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19602 class Foo { public: explicit Foo(int) {} };
19603 static void TakeFoo(const Foo& foo) { }
19616 rm -f conftest.
$ac_objext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19618 (eval $ac_compile) 2>conftest.er1
19620 grep -v '^ *+' conftest.er1
>conftest.err
19622 cat conftest.err
>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
19625 { ac_try
='test -z "$ac_cxx_werror_flag"
19626 || test ! -s conftest.err'
19627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19628 (eval $ac_try) 2>&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); }; } &&
19632 { ac_try
='test -s conftest.$ac_objext'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; }; then
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.
$ac_ext >&5
19646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 ac_cpp
='$CPP $CPPFLAGS'
19659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19665 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19666 echo "${ECHO_T}$wx_cv_explicit" >&6
19668 if test "$wx_cv_explicit" = "yes"; then
19669 cat >>confdefs.h
<<\_ACEOF
19670 #define HAVE_EXPLICIT 1
19676 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19677 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19678 if test "${ac_cv_cxx_const_cast+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19684 ac_cpp
='$CXXCPP $CPPFLAGS'
19685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19689 cat >conftest.
$ac_ext <<_ACEOF
19692 cat confdefs.h
>>conftest.
$ac_ext
19693 cat >>conftest.
$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19699 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19704 rm -f conftest.
$ac_objext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19706 (eval $ac_compile) 2>conftest.er1
19708 grep -v '^ *+' conftest.er1
>conftest.err
19710 cat conftest.err
>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try
='test -z "$ac_cxx_werror_flag"
19714 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try
='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_cv_cxx_const_cast
=yes
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 ac_cv_cxx_const_cast
=no
19733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 ac_cpp
='$CPP $CPPFLAGS'
19736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19742 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19743 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19744 if test "$ac_cv_cxx_const_cast" = yes; then
19746 cat >>confdefs.h
<<\_ACEOF
19747 #define HAVE_CONST_CAST
19752 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19753 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19754 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 ac_cpp
='$CXXCPP $CPPFLAGS'
19761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19765 cat >conftest.
$ac_ext <<_ACEOF
19768 cat confdefs.h
>>conftest.
$ac_ext
19769 cat >>conftest.
$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 #include <typeinfo>
19772 class Base { public : Base () {} virtual void f () = 0;};
19773 class Derived : public Base { public : Derived () {} virtual void f () {} };
19774 class Unrelated { public : Unrelated () {} };
19775 int g (Unrelated&) { return 0; }
19780 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19785 rm -f conftest.
$ac_objext
19786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19787 (eval $ac_compile) 2>conftest.er1
19789 grep -v '^ *+' conftest.er1
>conftest.err
19791 cat conftest.err
>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); } &&
19794 { ac_try
='test -z "$ac_cxx_werror_flag"
19795 || test ! -s conftest.err'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; } &&
19801 { ac_try
='test -s conftest.$ac_objext'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; }; then
19807 ac_cv_cxx_reinterpret_cast
=yes
19809 echo "$as_me: failed program was:" >&5
19810 sed 's/^/| /' conftest.
$ac_ext >&5
19812 ac_cv_cxx_reinterpret_cast
=no
19814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19816 ac_cpp
='$CPP $CPPFLAGS'
19817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19823 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19824 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19825 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19827 cat >>confdefs.h
<<\_ACEOF
19828 #define HAVE_REINTERPRET_CAST
19833 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19834 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19835 if test "${ac_cv_cxx_static_cast+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19841 ac_cpp
='$CXXCPP $CPPFLAGS'
19842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19846 cat >conftest.
$ac_ext <<_ACEOF
19849 cat confdefs.h
>>conftest.
$ac_ext
19850 cat >>conftest.
$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #include <typeinfo>
19853 class Base { public : Base () {} virtual void f () = 0; };
19854 class Derived : public Base { public : Derived () {} virtual void f () {} };
19855 int g (Derived&) { return 0; }
19860 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19865 rm -f conftest.
$ac_objext
19866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19867 (eval $ac_compile) 2>conftest.er1
19869 grep -v '^ *+' conftest.er1
>conftest.err
19871 cat conftest.err
>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } &&
19874 { ac_try
='test -z "$ac_cxx_werror_flag"
19875 || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try
='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 ac_cv_cxx_static_cast
=yes
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.
$ac_ext >&5
19892 ac_cv_cxx_static_cast
=no
19894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19896 ac_cpp
='$CPP $CPPFLAGS'
19897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19903 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19904 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19905 if test "$ac_cv_cxx_static_cast" = yes; then
19907 cat >>confdefs.h
<<\_ACEOF
19908 #define HAVE_STATIC_CAST
19914 if test "$wxUSE_STL" = "yes"; then
19916 ac_cpp
='$CXXCPP $CPPFLAGS'
19917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19922 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19923 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19924 cat >conftest.
$ac_ext <<_ACEOF
19927 cat confdefs.h
>>conftest.
$ac_ext
19928 cat >>conftest.
$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19931 #include <functional>
19932 #include <algorithm>
19938 std::vector<int> moo;
19939 std::list<int> foo;
19940 std::vector<int>::iterator it =
19941 std::find_if(moo.begin(), moo.end(),
19942 std::bind2nd(std::less<int>(), 3));
19947 rm -f conftest.
$ac_objext
19948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19949 (eval $ac_compile) 2>conftest.er1
19951 grep -v '^ *+' conftest.er1
>conftest.err
19953 cat conftest.err
>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } &&
19956 { ac_try
='test -z "$ac_cxx_werror_flag"
19957 || test ! -s conftest.err'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; } &&
19963 { ac_try
='test -s conftest.$ac_objext'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; }; then
19969 echo "$as_me:$LINENO: result: yes" >&5
19970 echo "${ECHO_T}yes" >&6
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.
$ac_ext >&5
19975 echo "$as_me:$LINENO: result: no" >&5
19976 echo "${ECHO_T}no" >&6
19977 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19978 echo "$as_me: error: Basic STL functionality missing" >&2;}
19979 { (exit 1); exit 1; }; }
19981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19983 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19984 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19985 cat >conftest.
$ac_ext <<_ACEOF
19988 cat confdefs.h
>>conftest.
$ac_ext
19989 cat >>conftest.
$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
20000 rm -f conftest.
$ac_objext
20001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20002 (eval $ac_compile) 2>conftest.er1
20004 grep -v '^ *+' conftest.er1
>conftest.err
20006 cat conftest.err
>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } &&
20009 { ac_try
='test -z "$ac_cxx_werror_flag"
20010 || test ! -s conftest.err'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; } &&
20016 { ac_try
='test -s conftest.$ac_objext'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; }; then
20022 echo "$as_me:$LINENO: result: yes" >&5
20023 echo "${ECHO_T}yes" >&6
20024 cat >>confdefs.h
<<\_ACEOF
20025 #define HAVE_STD_WSTRING 1
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.
$ac_ext >&5
20032 echo "$as_me:$LINENO: result: no" >&5
20033 echo "${ECHO_T}no" >&6
20035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20037 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20038 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20049 std::string foo, bar;
20051 foo.compare(1, 1, bar);
20052 foo.compare(1, 1, bar, 1, 1);
20054 foo.compare(1, 1, "");
20055 foo.compare(1, 1, "", 2);
20060 rm -f conftest.
$ac_objext
20061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20062 (eval $ac_compile) 2>conftest.er1
20064 grep -v '^ *+' conftest.er1
>conftest.err
20066 cat conftest.err
>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } &&
20069 { ac_try
='test -z "$ac_cxx_werror_flag"
20070 || test ! -s conftest.err'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; } &&
20076 { ac_try
='test -s conftest.$ac_objext'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; }; then
20082 echo "$as_me:$LINENO: result: yes" >&5
20083 echo "${ECHO_T}yes" >&6
20084 cat >>confdefs.h
<<\_ACEOF
20085 #define HAVE_STD_STRING_COMPARE 1
20089 echo "$as_me: failed program was:" >&5
20090 sed 's/^/| /' conftest.
$ac_ext >&5
20092 echo "$as_me:$LINENO: result: no" >&5
20093 echo "${ECHO_T}no" >&6
20095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20097 if test "${ac_cv_header_hash_map+set}" = set; then
20098 echo "$as_me:$LINENO: checking for hash_map" >&5
20099 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20100 if test "${ac_cv_header_hash_map+set}" = set; then
20101 echo $ECHO_N "(cached) $ECHO_C" >&6
20103 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20104 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20106 # Is the header compilable?
20107 echo "$as_me:$LINENO: checking hash_map usability" >&5
20108 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20109 cat >conftest.
$ac_ext <<_ACEOF
20112 cat confdefs.h
>>conftest.
$ac_ext
20113 cat >>conftest.
$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 $ac_includes_default
20116 #include <hash_map>
20118 rm -f conftest.
$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20122 grep -v '^ *+' conftest.er1
>conftest.err
20124 cat conftest.err
>&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try
='test -z "$ac_cxx_werror_flag"
20128 || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try
='test -s conftest.$ac_objext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 ac_header_compiler
=yes
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.
$ac_ext >&5
20145 ac_header_compiler
=no
20147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20149 echo "${ECHO_T}$ac_header_compiler" >&6
20151 # Is the header present?
20152 echo "$as_me:$LINENO: checking hash_map presence" >&5
20153 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20154 cat >conftest.
$ac_ext <<_ACEOF
20157 cat confdefs.h
>>conftest.
$ac_ext
20158 cat >>conftest.
$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 #include <hash_map>
20162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20165 grep -v '^ *+' conftest.er1
>conftest.err
20167 cat conftest.err
>&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } >/dev
/null
; then
20170 if test -s conftest.err
; then
20171 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20172 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20179 if test -z "$ac_cpp_err"; then
20180 ac_header_preproc
=yes
20182 echo "$as_me: failed program was:" >&5
20183 sed 's/^/| /' conftest.
$ac_ext >&5
20185 ac_header_preproc
=no
20187 rm -f conftest.err conftest.
$ac_ext
20188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20189 echo "${ECHO_T}$ac_header_preproc" >&6
20191 # So? What about this header?
20192 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20194 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20195 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20196 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20197 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20198 ac_header_preproc
=yes
20201 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20202 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20203 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20204 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20205 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20206 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20207 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20208 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20210 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20211 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20212 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20215 ## ----------------------------------------- ##
20216 ## Report this to wx-dev@lists.wxwidgets.org ##
20217 ## ----------------------------------------- ##
20220 sed "s/^/$as_me: WARNING: /" >&2
20223 echo "$as_me:$LINENO: checking for hash_map" >&5
20224 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20225 if test "${ac_cv_header_hash_map+set}" = set; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20228 ac_cv_header_hash_map
=$ac_header_preproc
20230 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20231 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20234 if test $ac_cv_header_hash_map = yes; then
20235 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20236 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20237 cat >conftest.
$ac_ext <<_ACEOF
20240 cat confdefs.h
>>conftest.
$ac_ext
20241 cat >>conftest.
$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 #include <hash_map>
20244 #include <hash_set>
20248 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20249 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20254 rm -f conftest.
$ac_objext
20255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20256 (eval $ac_compile) 2>conftest.er1
20258 grep -v '^ *+' conftest.er1
>conftest.err
20260 cat conftest.err
>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try
='test -z "$ac_cxx_werror_flag"
20264 || test ! -s conftest.err'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; } &&
20270 { ac_try
='test -s conftest.$ac_objext'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20276 echo "$as_me:$LINENO: result: yes" >&5
20277 echo "${ECHO_T}yes" >&6
20278 cat >>confdefs.h
<<\_ACEOF
20279 #define HAVE_HASH_MAP 1
20282 cat >>confdefs.h
<<\_ACEOF
20283 #define HAVE_STD_HASH_MAP 1
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.
$ac_ext >&5
20290 echo "$as_me:$LINENO: result: no" >&5
20291 echo "${ECHO_T}no" >&6
20293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20299 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20300 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20301 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20302 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20303 echo $ECHO_N "(cached) $ECHO_C" >&6
20305 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20306 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20308 # Is the header compilable?
20309 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20310 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20311 cat >conftest.
$ac_ext <<_ACEOF
20314 cat confdefs.h
>>conftest.
$ac_ext
20315 cat >>conftest.
$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 $ac_includes_default
20318 #include <ext/hash_map>
20320 rm -f conftest.
$ac_objext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20322 (eval $ac_compile) 2>conftest.er1
20324 grep -v '^ *+' conftest.er1
>conftest.err
20326 cat conftest.err
>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } &&
20329 { ac_try
='test -z "$ac_cxx_werror_flag"
20330 || test ! -s conftest.err'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; } &&
20336 { ac_try
='test -s conftest.$ac_objext'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; }; then
20342 ac_header_compiler
=yes
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.
$ac_ext >&5
20347 ac_header_compiler
=no
20349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20351 echo "${ECHO_T}$ac_header_compiler" >&6
20353 # Is the header present?
20354 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20355 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20356 cat >conftest.
$ac_ext <<_ACEOF
20359 cat confdefs.h
>>conftest.
$ac_ext
20360 cat >>conftest.
$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <ext/hash_map>
20364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20367 grep -v '^ *+' conftest.er1
>conftest.err
20369 cat conftest.err
>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } >/dev
/null
; then
20372 if test -s conftest.err
; then
20373 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20374 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20381 if test -z "$ac_cpp_err"; then
20382 ac_header_preproc
=yes
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.
$ac_ext >&5
20387 ac_header_preproc
=no
20389 rm -f conftest.err conftest.
$ac_ext
20390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20391 echo "${ECHO_T}$ac_header_preproc" >&6
20393 # So? What about this header?
20394 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20396 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20397 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20398 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20399 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20400 ac_header_preproc
=yes
20403 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20404 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20405 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20406 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20407 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20408 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20409 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20410 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20411 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20412 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20414 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20417 ## ----------------------------------------- ##
20418 ## Report this to wx-dev@lists.wxwidgets.org ##
20419 ## ----------------------------------------- ##
20422 sed "s/^/$as_me: WARNING: /" >&2
20425 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20426 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20427 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 ac_cv_header_ext_hash_map
=$ac_header_preproc
20432 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20433 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20436 if test $ac_cv_header_ext_hash_map = yes; then
20437 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20438 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20439 cat >conftest.
$ac_ext <<_ACEOF
20442 cat confdefs.h
>>conftest.
$ac_ext
20443 cat >>conftest.
$ac_ext <<_ACEOF
20444 /* end confdefs.h. */
20445 #include <ext/hash_map>
20446 #include <ext/hash_set>
20450 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20451 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20456 rm -f conftest.
$ac_objext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20458 (eval $ac_compile) 2>conftest.er1
20460 grep -v '^ *+' conftest.er1
>conftest.err
20462 cat conftest.err
>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } &&
20465 { ac_try
='test -z "$ac_cxx_werror_flag"
20466 || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try
='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 echo "$as_me:$LINENO: result: yes" >&5
20479 echo "${ECHO_T}yes" >&6
20480 cat >>confdefs.h
<<\_ACEOF
20481 #define HAVE_EXT_HASH_MAP 1
20484 cat >>confdefs.h
<<\_ACEOF
20485 #define HAVE_GNU_CXX_HASH_MAP 1
20489 echo "$as_me: failed program was:" >&5
20490 sed 's/^/| /' conftest.
$ac_ext >&5
20492 echo "$as_me:$LINENO: result: no" >&5
20493 echo "${ECHO_T}no" >&6
20495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20502 ac_cpp
='$CPP $CPPFLAGS'
20503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20511 /usr/local/include \
20513 /usr/Motif-2.1/include \
20514 /usr/Motif-1.2/include \
20515 /usr/include/Motif1.2 \
20516 /opt/xpm/include/X11 \
20517 /opt/GBxpm/include/ \
20518 /opt/GBxpm/X11/include/ \
20521 /usr/openwin/include \
20525 /usr/X11R6/include \
20526 /usr/X11R6.4/include \
20527 /usr/X11R5/include \
20528 /usr/X11R4/include \
20530 /usr/include/X11R6 \
20531 /usr/include/X11R5 \
20532 /usr/include/X11R4 \
20534 /usr/local/X11R6/include \
20535 /usr/local/X11R5/include \
20536 /usr/local/X11R4/include \
20538 /usr/local/include/X11R6 \
20539 /usr/local/include/X11R5 \
20540 /usr/local/include/X11R4 \
20544 /usr/local/X11/include \
20545 /usr/local/include/X11 \
20547 /usr/X386/include \
20548 /usr/x386/include \
20549 /usr/XFree86/include/X11 \
20551 X:/XFree86/include \
20552 X:/XFree86/include/X11 \
20555 /usr/local/include/gtk \
20556 /usr/include/glib \
20557 /usr/local/include/glib \
20560 /usr/local/include/qt \
20562 /usr/local/arm/3.3.2/include \
20564 /usr/include/windows \
20565 /usr/include/wine \
20566 /usr/local/include/wine \
20568 /usr/unsupported/include \
20569 /usr/athena/include \
20570 /usr/local/x11r5/include \
20571 /usr/lpp/Xamples/include \
20573 /usr/openwin/share/include"
20575 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20578 cat >confcache
<<\_ACEOF
20579 # This file is a shell script that caches the results of configure
20580 # tests run on this system so they can be shared between configure
20581 # scripts and configure runs, see configure's option --config-cache.
20582 # It is not useful on other systems. If it contains results you don't
20583 # want to keep, you may remove or edit it.
20585 # config.status only pays attention to the cache file if you give it
20586 # the --recheck option to rerun configure.
20588 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20589 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20590 # following values.
20594 # The following way of writing the cache mishandles newlines in values,
20595 # but we know of no workaround that is simple, portable, and efficient.
20596 # So, don't put newlines in cache variables' values.
20597 # Ultrix sh set writes to stderr and can't be redirected directly,
20598 # and sets the high bit in the cache file unless we assign to the vars.
20601 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20603 # `set' does not quote correctly, so add quotes (double-quote
20604 # substitution turns \\\\ into \\, and sed turns \\ into \).
20607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20610 # `set' quotes correctly as required by POSIX, so do not add quotes.
20612 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20619 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20621 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20623 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20624 if test -w $cache_file; then
20625 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20626 cat confcache
>$cache_file
20628 echo "not updating unwritable cache $cache_file"
20633 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20634 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20635 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20636 if test "${wx_cv_lib_glibc21+set}" = set; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20640 cat >conftest.
$ac_ext <<_ACEOF
20643 cat confdefs.h
>>conftest.
$ac_ext
20644 cat >>conftest.
$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #include <features.h>
20651 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20652 #error not glibc2.1
20659 rm -f conftest.
$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1
>conftest.err
20665 cat conftest.err
>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try
='test -z "$ac_c_werror_flag"
20669 || test ! -s conftest.err'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; } &&
20675 { ac_try
='test -s conftest.$ac_objext'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; }; then
20682 wx_cv_lib_glibc21
=yes
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.
$ac_ext >&5
20689 wx_cv_lib_glibc21
=no
20693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20696 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20697 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20698 if test "$wx_cv_lib_glibc21" = "yes"; then
20699 cat >>confdefs.h
<<\_ACEOF
20700 #define wxHAVE_GLIBC2 1
20706 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20707 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20708 cat >>confdefs.h
<<\_ACEOF
20709 #define _GNU_SOURCE 1
20717 if test "$wxUSE_REGEX" != "no"; then
20718 cat >>confdefs.h
<<\_ACEOF
20719 #define wxUSE_REGEX 1
20723 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20724 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20725 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20726 wxUSE_REGEX
=builtin
20729 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20730 if test "${ac_cv_header_regex_h+set}" = set; then
20731 echo "$as_me:$LINENO: checking for regex.h" >&5
20732 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20733 if test "${ac_cv_header_regex_h+set}" = set; then
20734 echo $ECHO_N "(cached) $ECHO_C" >&6
20736 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20737 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20739 # Is the header compilable?
20740 echo "$as_me:$LINENO: checking regex.h usability" >&5
20741 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20742 cat >conftest.
$ac_ext <<_ACEOF
20745 cat confdefs.h
>>conftest.
$ac_ext
20746 cat >>conftest.
$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 $ac_includes_default
20751 rm -f conftest.
$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20755 grep -v '^ *+' conftest.er1
>conftest.err
20757 cat conftest.err
>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try
='test -z "$ac_c_werror_flag"
20761 || test ! -s conftest.err'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; } &&
20767 { ac_try
='test -s conftest.$ac_objext'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; }; then
20773 ac_header_compiler
=yes
20775 echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.
$ac_ext >&5
20778 ac_header_compiler
=no
20780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20782 echo "${ECHO_T}$ac_header_compiler" >&6
20784 # Is the header present?
20785 echo "$as_me:$LINENO: checking regex.h presence" >&5
20786 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20787 cat >conftest.
$ac_ext <<_ACEOF
20790 cat confdefs.h
>>conftest.
$ac_ext
20791 cat >>conftest.
$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20798 grep -v '^ *+' conftest.er1
>conftest.err
20800 cat conftest.err
>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } >/dev
/null
; then
20803 if test -s conftest.err
; then
20804 ac_cpp_err
=$ac_c_preproc_warn_flag
20805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20812 if test -z "$ac_cpp_err"; then
20813 ac_header_preproc
=yes
20815 echo "$as_me: failed program was:" >&5
20816 sed 's/^/| /' conftest.
$ac_ext >&5
20818 ac_header_preproc
=no
20820 rm -f conftest.err conftest.
$ac_ext
20821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20822 echo "${ECHO_T}$ac_header_preproc" >&6
20824 # So? What about this header?
20825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20827 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20828 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20829 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20830 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20831 ac_header_preproc
=yes
20834 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20835 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20836 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20837 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20838 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20839 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20840 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20841 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20842 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20843 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20844 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20845 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20848 ## ----------------------------------------- ##
20849 ## Report this to wx-dev@lists.wxwidgets.org ##
20850 ## ----------------------------------------- ##
20853 sed "s/^/$as_me: WARNING: /" >&2
20856 echo "$as_me:$LINENO: checking for regex.h" >&5
20857 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20858 if test "${ac_cv_header_regex_h+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 ac_cv_header_regex_h
=$ac_header_preproc
20863 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20864 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20867 if test $ac_cv_header_regex_h = yes; then
20869 for ac_func
in regcomp
20871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20872 echo "$as_me:$LINENO: checking for $ac_func" >&5
20873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20874 if eval "test \"\${$as_ac_var+set}\" = set"; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20877 cat >conftest.
$ac_ext <<_ACEOF
20880 cat confdefs.h
>>conftest.
$ac_ext
20881 cat >>conftest.
$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20885 #define $ac_func innocuous_$ac_func
20887 /* System header to define __stub macros and hopefully few prototypes,
20888 which can conflict with char $ac_func (); below.
20889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20890 <limits.h> exists even on freestanding compilers. */
20893 # include <limits.h>
20895 # include <assert.h>
20900 /* Override any gcc2 internal prototype to avoid an error. */
20905 /* We use char because int might match the return type of a gcc2
20906 builtin and then its argument prototype would still apply. */
20908 /* The GNU C library defines this for functions which it implements
20909 to always fail with ENOSYS. Some functions are actually named
20910 something starting with __ and the normal name is an alias. */
20911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20914 char (*f) () = $ac_func;
20923 return f != $ac_func;
20928 rm -f conftest.
$ac_objext conftest
$ac_exeext
20929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20930 (eval $ac_link) 2>conftest.er1
20932 grep -v '^ *+' conftest.er1
>conftest.err
20934 cat conftest.err
>&5
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); } &&
20937 { ac_try
='test -z "$ac_c_werror_flag"
20938 || test ! -s conftest.err'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; } &&
20944 { ac_try
='test -s conftest$ac_exeext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20950 eval "$as_ac_var=yes"
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.
$ac_ext >&5
20955 eval "$as_ac_var=no"
20957 rm -f conftest.err conftest.
$ac_objext \
20958 conftest
$ac_exeext conftest.
$ac_ext
20960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20962 if test `eval echo '${'$as_ac_var'}'` = yes; then
20963 cat >>confdefs.h
<<_ACEOF
20964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20974 if test "x$ac_cv_func_regcomp" != "xyes"; then
20975 if test "$wxUSE_REGEX" = "sys" ; then
20976 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20977 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20978 { (exit 1); exit 1; }; }
20980 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20981 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20982 wxUSE_REGEX
=builtin
20986 cat >>confdefs.h
<<\_ACEOF
20987 #define WX_NO_REGEX_ADVANCED 1
20996 if test "$wxUSE_ZLIB" != "no" ; then
20997 cat >>confdefs.h
<<\_ACEOF
20998 #define wxUSE_ZLIB 1
21002 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21003 if test "$USE_DARWIN" = 1; then
21004 system_zlib_h_ok
="yes"
21006 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21007 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21008 if test "${ac_cv_header_zlib_h+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 if test "$cross_compiling" = yes; then
21012 unset ac_cv_header_zlib_h
21015 cat >conftest.
$ac_ext <<_ACEOF
21018 cat confdefs.h
>>conftest.
$ac_ext
21019 cat >>conftest.
$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21027 FILE *f=fopen("conftestval", "w");
21030 ZLIB_VERSION[0] == '1' &&
21031 (ZLIB_VERSION[2] > '1' ||
21032 (ZLIB_VERSION[2] == '1' &&
21033 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21038 rm -f conftest
$ac_exeext
21039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21040 (eval $ac_link) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then
21049 ac_cv_header_zlib_h
=`cat conftestval`
21051 echo "$as_me: program exited with status $ac_status" >&5
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.
$ac_ext >&5
21055 ( exit $ac_status )
21056 ac_cv_header_zlib_h
=no
21058 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21062 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21063 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21064 if test "${ac_cv_header_zlib_h+set}" = set; then
21065 echo "$as_me:$LINENO: checking for zlib.h" >&5
21066 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21067 if test "${ac_cv_header_zlib_h+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21070 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21071 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21073 # Is the header compilable?
21074 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21075 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21076 cat >conftest.
$ac_ext <<_ACEOF
21079 cat confdefs.h
>>conftest.
$ac_ext
21080 cat >>conftest.
$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21085 rm -f conftest.
$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>conftest.er1
21089 grep -v '^ *+' conftest.er1
>conftest.err
21091 cat conftest.err
>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try
='test -z "$ac_c_werror_flag"
21095 || test ! -s conftest.err'
21096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097 (eval $ac_try) 2>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); }; } &&
21101 { ac_try
='test -s conftest.$ac_objext'
21102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103 (eval $ac_try) 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; }; then
21107 ac_header_compiler
=yes
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.
$ac_ext >&5
21112 ac_header_compiler
=no
21114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21116 echo "${ECHO_T}$ac_header_compiler" >&6
21118 # Is the header present?
21119 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21120 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21121 cat >conftest.
$ac_ext <<_ACEOF
21124 cat confdefs.h
>>conftest.
$ac_ext
21125 cat >>conftest.
$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21132 grep -v '^ *+' conftest.er1
>conftest.err
21134 cat conftest.err
>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } >/dev
/null
; then
21137 if test -s conftest.err
; then
21138 ac_cpp_err
=$ac_c_preproc_warn_flag
21139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21146 if test -z "$ac_cpp_err"; then
21147 ac_header_preproc
=yes
21149 echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.
$ac_ext >&5
21152 ac_header_preproc
=no
21154 rm -f conftest.err conftest.
$ac_ext
21155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21156 echo "${ECHO_T}$ac_header_preproc" >&6
21158 # So? What about this header?
21159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21161 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21162 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21163 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21164 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21165 ac_header_preproc
=yes
21168 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21169 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21170 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21171 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21172 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21173 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21174 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21175 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21176 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21177 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21178 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21179 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21182 ## ----------------------------------------- ##
21183 ## Report this to wx-dev@lists.wxwidgets.org ##
21184 ## ----------------------------------------- ##
21187 sed "s/^/$as_me: WARNING: /" >&2
21190 echo "$as_me:$LINENO: checking for zlib.h" >&5
21191 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21192 if test "${ac_cv_header_zlib_h+set}" = set; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 ac_cv_header_zlib_h
=$ac_header_preproc
21197 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21198 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21204 system_zlib_h_ok
=$ac_cv_header_zlib_h
21207 if test "$system_zlib_h_ok" = "yes"; then
21208 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21209 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21210 if test "${ac_cv_lib_z_deflate+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 ac_check_lib_save_LIBS
=$LIBS
21215 cat >conftest.
$ac_ext <<_ACEOF
21218 cat confdefs.h
>>conftest.
$ac_ext
21219 cat >>conftest.
$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21222 /* Override any gcc2 internal prototype to avoid an error. */
21226 /* We use char because int might match the return type of a gcc2
21227 builtin and then its argument prototype would still apply. */
21237 rm -f conftest.
$ac_objext conftest
$ac_exeext
21238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21239 (eval $ac_link) 2>conftest.er1
21241 grep -v '^ *+' conftest.er1
>conftest.err
21243 cat conftest.err
>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } &&
21246 { ac_try
='test -z "$ac_c_werror_flag"
21247 || test ! -s conftest.err'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; } &&
21253 { ac_try
='test -s conftest$ac_exeext'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; }; then
21259 ac_cv_lib_z_deflate
=yes
21261 echo "$as_me: failed program was:" >&5
21262 sed 's/^/| /' conftest.
$ac_ext >&5
21264 ac_cv_lib_z_deflate
=no
21266 rm -f conftest.err conftest.
$ac_objext \
21267 conftest
$ac_exeext conftest.
$ac_ext
21268 LIBS
=$ac_check_lib_save_LIBS
21270 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21271 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21272 if test $ac_cv_lib_z_deflate = yes; then
21278 if test "x$ZLIB_LINK" = "x" ; then
21279 if test "$wxUSE_ZLIB" = "sys" ; then
21280 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21281 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21282 { (exit 1); exit 1; }; }
21284 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21285 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21296 if test "$wxUSE_LIBPNG" != "no" ; then
21297 cat >>confdefs.h
<<\_ACEOF
21298 #define wxUSE_LIBPNG 1
21302 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21303 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21304 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21308 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21309 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21310 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21311 wxUSE_LIBPNG
=builtin
21314 if test "$wxUSE_MGL" != 1 ; then
21315 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21316 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21317 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21318 if test "${ac_cv_header_png_h+set}" = set; then
21319 echo $ECHO_N "(cached) $ECHO_C" >&6
21321 if test "$cross_compiling" = yes; then
21322 unset ac_cv_header_png_h
21325 cat >conftest.
$ac_ext <<_ACEOF
21328 cat confdefs.h
>>conftest.
$ac_ext
21329 cat >>conftest.
$ac_ext <<_ACEOF
21330 /* end confdefs.h. */
21337 FILE *f=fopen("conftestval", "w");
21340 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21345 rm -f conftest
$ac_exeext
21346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21347 (eval $ac_link) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 ac_cv_header_png_h
=`cat conftestval`
21358 echo "$as_me: program exited with status $ac_status" >&5
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.
$ac_ext >&5
21362 ( exit $ac_status )
21363 ac_cv_header_png_h
=no
21365 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21369 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21370 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21371 if test "${ac_cv_header_png_h+set}" = set; then
21372 echo "$as_me:$LINENO: checking for png.h" >&5
21373 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21374 if test "${ac_cv_header_png_h+set}" = set; then
21375 echo $ECHO_N "(cached) $ECHO_C" >&6
21377 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21378 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21380 # Is the header compilable?
21381 echo "$as_me:$LINENO: checking png.h usability" >&5
21382 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21383 cat >conftest.
$ac_ext <<_ACEOF
21386 cat confdefs.h
>>conftest.
$ac_ext
21387 cat >>conftest.
$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21392 rm -f conftest.
$ac_objext
21393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21394 (eval $ac_compile) 2>conftest.er1
21396 grep -v '^ *+' conftest.er1
>conftest.err
21398 cat conftest.err
>&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } &&
21401 { ac_try
='test -z "$ac_c_werror_flag"
21402 || test ! -s conftest.err'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; } &&
21408 { ac_try
='test -s conftest.$ac_objext'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_header_compiler
=yes
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.
$ac_ext >&5
21419 ac_header_compiler
=no
21421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21423 echo "${ECHO_T}$ac_header_compiler" >&6
21425 # Is the header present?
21426 echo "$as_me:$LINENO: checking png.h presence" >&5
21427 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21428 cat >conftest.
$ac_ext <<_ACEOF
21431 cat confdefs.h
>>conftest.
$ac_ext
21432 cat >>conftest.
$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21439 grep -v '^ *+' conftest.er1
>conftest.err
21441 cat conftest.err
>&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } >/dev
/null
; then
21444 if test -s conftest.err
; then
21445 ac_cpp_err
=$ac_c_preproc_warn_flag
21446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21453 if test -z "$ac_cpp_err"; then
21454 ac_header_preproc
=yes
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.
$ac_ext >&5
21459 ac_header_preproc
=no
21461 rm -f conftest.err conftest.
$ac_ext
21462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21463 echo "${ECHO_T}$ac_header_preproc" >&6
21465 # So? What about this header?
21466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21468 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21469 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21470 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21471 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21472 ac_header_preproc
=yes
21475 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21476 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21477 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21478 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21479 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21480 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21481 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21482 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21483 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21484 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21485 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21486 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21489 ## ----------------------------------------- ##
21490 ## Report this to wx-dev@lists.wxwidgets.org ##
21491 ## ----------------------------------------- ##
21494 sed "s/^/$as_me: WARNING: /" >&2
21497 echo "$as_me:$LINENO: checking for png.h" >&5
21498 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21499 if test "${ac_cv_header_png_h+set}" = set; then
21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 ac_cv_header_png_h
=$ac_header_preproc
21504 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21505 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21511 if test "$ac_cv_header_png_h" = "yes"; then
21512 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21513 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21514 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 ac_check_lib_save_LIBS
=$LIBS
21518 LIBS
="-lpng -lz -lm $LIBS"
21519 cat >conftest.
$ac_ext <<_ACEOF
21522 cat confdefs.h
>>conftest.
$ac_ext
21523 cat >>conftest.
$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21526 /* Override any gcc2 internal prototype to avoid an error. */
21530 /* We use char because int might match the return type of a gcc2
21531 builtin and then its argument prototype would still apply. */
21532 char png_check_sig ();
21541 rm -f conftest.
$ac_objext conftest
$ac_exeext
21542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21543 (eval $ac_link) 2>conftest.er1
21545 grep -v '^ *+' conftest.er1
>conftest.err
21547 cat conftest.err
>&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } &&
21550 { ac_try
='test -z "$ac_c_werror_flag"
21551 || test ! -s conftest.err'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; } &&
21557 { ac_try
='test -s conftest$ac_exeext'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; }; then
21563 ac_cv_lib_png_png_check_sig
=yes
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.
$ac_ext >&5
21568 ac_cv_lib_png_png_check_sig
=no
21570 rm -f conftest.err conftest.
$ac_objext \
21571 conftest
$ac_exeext conftest.
$ac_ext
21572 LIBS
=$ac_check_lib_save_LIBS
21574 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21575 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21576 if test $ac_cv_lib_png_png_check_sig = yes; then
21577 PNG_LINK
=" -lpng -lz"
21582 if test "x$PNG_LINK" = "x" ; then
21583 if test "$wxUSE_LIBPNG" = "sys" ; then
21584 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21585 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21586 { (exit 1); exit 1; }; }
21588 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21589 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21590 wxUSE_LIBPNG
=builtin
21598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21603 if test "$wxUSE_LIBJPEG" != "no" ; then
21604 cat >>confdefs.h
<<\_ACEOF
21605 #define wxUSE_LIBJPEG 1
21609 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21610 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21611 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21615 if test "$wxUSE_MGL" != 1 ; then
21616 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21617 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21618 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21619 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 cat >conftest.
$ac_ext <<_ACEOF
21625 cat confdefs.h
>>conftest.
$ac_ext
21626 cat >>conftest.
$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21629 #undef HAVE_STDLIB_H
21631 #include <jpeglib.h>
21642 rm -f conftest.
$ac_objext
21643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21644 (eval $ac_compile) 2>conftest.er1
21646 grep -v '^ *+' conftest.er1
>conftest.err
21648 cat conftest.err
>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } &&
21651 { ac_try
='test -z "$ac_c_werror_flag"
21652 || test ! -s conftest.err'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; } &&
21658 { ac_try
='test -s conftest.$ac_objext'
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660 (eval $ac_try) 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_header_jpeglib_h
=yes
21666 echo "$as_me: failed program was:" >&5
21667 sed 's/^/| /' conftest.
$ac_ext >&5
21669 ac_cv_header_jpeglib_h
=no
21672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21677 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21679 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21680 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21681 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21682 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 ac_check_lib_save_LIBS
=$LIBS
21686 LIBS
="-ljpeg $LIBS"
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21694 /* Override any gcc2 internal prototype to avoid an error. */
21698 /* We use char because int might match the return type of a gcc2
21699 builtin and then its argument prototype would still apply. */
21700 char jpeg_read_header ();
21704 jpeg_read_header ();
21709 rm -f conftest.
$ac_objext conftest
$ac_exeext
21710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21711 (eval $ac_link) 2>conftest.er1
21713 grep -v '^ *+' conftest.er1
>conftest.err
21715 cat conftest.err
>&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); } &&
21718 { ac_try
='test -z "$ac_c_werror_flag"
21719 || test ! -s conftest.err'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; } &&
21725 { ac_try
='test -s conftest$ac_exeext'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; }; then
21731 ac_cv_lib_jpeg_jpeg_read_header
=yes
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.
$ac_ext >&5
21736 ac_cv_lib_jpeg_jpeg_read_header
=no
21738 rm -f conftest.err conftest.
$ac_objext \
21739 conftest
$ac_exeext conftest.
$ac_ext
21740 LIBS
=$ac_check_lib_save_LIBS
21742 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21743 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21744 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21745 JPEG_LINK
=" -ljpeg"
21750 if test "x$JPEG_LINK" = "x" ; then
21751 if test "$wxUSE_LIBJPEG" = "sys" ; then
21752 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21753 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21754 { (exit 1); exit 1; }; }
21756 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21757 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21758 wxUSE_LIBJPEG
=builtin
21769 TIFF_PREREQ_LINKS
=-lm
21770 if test "$wxUSE_LIBTIFF" != "no" ; then
21771 cat >>confdefs.h
<<\_ACEOF
21772 #define wxUSE_LIBTIFF 1
21776 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21777 if test "$wxUSE_LIBJPEG" = "sys"; then
21778 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21780 if test "$wxUSE_ZLIB" = "sys"; then
21781 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21783 if test "${ac_cv_header_tiffio_h+set}" = set; then
21784 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21785 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21786 if test "${ac_cv_header_tiffio_h+set}" = set; then
21787 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21790 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21792 # Is the header compilable?
21793 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21794 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21795 cat >conftest.
$ac_ext <<_ACEOF
21798 cat confdefs.h
>>conftest.
$ac_ext
21799 cat >>conftest.
$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 $ac_includes_default
21802 #include <tiffio.h>
21804 rm -f conftest.
$ac_objext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21806 (eval $ac_compile) 2>conftest.er1
21808 grep -v '^ *+' conftest.er1
>conftest.err
21810 cat conftest.err
>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } &&
21813 { ac_try
='test -z "$ac_c_werror_flag"
21814 || test ! -s conftest.err'
21815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816 (eval $ac_try) 2>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; } &&
21820 { ac_try
='test -s conftest.$ac_objext'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; }; then
21826 ac_header_compiler
=yes
21828 echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.
$ac_ext >&5
21831 ac_header_compiler
=no
21833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21835 echo "${ECHO_T}$ac_header_compiler" >&6
21837 # Is the header present?
21838 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21839 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21840 cat >conftest.
$ac_ext <<_ACEOF
21843 cat confdefs.h
>>conftest.
$ac_ext
21844 cat >>conftest.
$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 #include <tiffio.h>
21848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21851 grep -v '^ *+' conftest.er1
>conftest.err
21853 cat conftest.err
>&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } >/dev
/null
; then
21856 if test -s conftest.err
; then
21857 ac_cpp_err
=$ac_c_preproc_warn_flag
21858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21865 if test -z "$ac_cpp_err"; then
21866 ac_header_preproc
=yes
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.
$ac_ext >&5
21871 ac_header_preproc
=no
21873 rm -f conftest.err conftest.
$ac_ext
21874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21875 echo "${ECHO_T}$ac_header_preproc" >&6
21877 # So? What about this header?
21878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21880 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21881 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21882 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21883 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21884 ac_header_preproc
=yes
21887 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21888 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21889 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21890 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21891 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21892 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21894 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21895 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21896 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21897 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21898 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21901 ## ----------------------------------------- ##
21902 ## Report this to wx-dev@lists.wxwidgets.org ##
21903 ## ----------------------------------------- ##
21906 sed "s/^/$as_me: WARNING: /" >&2
21909 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21910 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21911 if test "${ac_cv_header_tiffio_h+set}" = set; then
21912 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 ac_cv_header_tiffio_h
=$ac_header_preproc
21916 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21917 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21920 if test $ac_cv_header_tiffio_h = yes; then
21922 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21923 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21924 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21927 ac_check_lib_save_LIBS
=$LIBS
21928 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21929 cat >conftest.
$ac_ext <<_ACEOF
21932 cat confdefs.h
>>conftest.
$ac_ext
21933 cat >>conftest.
$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21936 /* Override any gcc2 internal prototype to avoid an error. */
21940 /* We use char because int might match the return type of a gcc2
21941 builtin and then its argument prototype would still apply. */
21951 rm -f conftest.
$ac_objext conftest
$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>conftest.er1
21955 grep -v '^ *+' conftest.er1
>conftest.err
21957 cat conftest.err
>&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try
='test -z "$ac_c_werror_flag"
21961 || test ! -s conftest.err'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; } &&
21967 { ac_try
='test -s conftest$ac_exeext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 ac_cv_lib_tiff_TIFFError
=yes
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.
$ac_ext >&5
21978 ac_cv_lib_tiff_TIFFError
=no
21980 rm -f conftest.err conftest.
$ac_objext \
21981 conftest
$ac_exeext conftest.
$ac_ext
21982 LIBS
=$ac_check_lib_save_LIBS
21984 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21985 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21986 if test $ac_cv_lib_tiff_TIFFError = yes; then
21987 TIFF_LINK
=" -ltiff"
21996 if test "x$TIFF_LINK" = "x" ; then
21997 if test "$wxUSE_LIBTIFF" = "sys" ; then
21998 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21999 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22000 { (exit 1); exit 1; }; }
22002 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22003 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22004 wxUSE_LIBTIFF
=builtin
22013 if test "$wxUSE_EXPAT" != "no"; then
22015 cat >>confdefs.h
<<\_ACEOF
22016 #define wxUSE_EXPAT 1
22019 cat >>confdefs.h
<<\_ACEOF
22020 #define wxUSE_XML 1
22024 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22025 if test "${ac_cv_header_expat_h+set}" = set; then
22026 echo "$as_me:$LINENO: checking for expat.h" >&5
22027 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22028 if test "${ac_cv_header_expat_h+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22032 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22034 # Is the header compilable?
22035 echo "$as_me:$LINENO: checking expat.h usability" >&5
22036 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22037 cat >conftest.
$ac_ext <<_ACEOF
22040 cat confdefs.h
>>conftest.
$ac_ext
22041 cat >>conftest.
$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22043 $ac_includes_default
22046 rm -f conftest.
$ac_objext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22048 (eval $ac_compile) 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_objext'
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_header_compiler
=yes
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.
$ac_ext >&5
22073 ac_header_compiler
=no
22075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22077 echo "${ECHO_T}$ac_header_compiler" >&6
22079 # Is the header present?
22080 echo "$as_me:$LINENO: checking expat.h presence" >&5
22081 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22082 cat >conftest.
$ac_ext <<_ACEOF
22085 cat confdefs.h
>>conftest.
$ac_ext
22086 cat >>conftest.
$ac_ext <<_ACEOF
22087 /* end confdefs.h. */
22090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22093 grep -v '^ *+' conftest.er1
>conftest.err
22095 cat conftest.err
>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); } >/dev
/null
; then
22098 if test -s conftest.err
; then
22099 ac_cpp_err
=$ac_c_preproc_warn_flag
22100 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22107 if test -z "$ac_cpp_err"; then
22108 ac_header_preproc
=yes
22110 echo "$as_me: failed program was:" >&5
22111 sed 's/^/| /' conftest.
$ac_ext >&5
22113 ac_header_preproc
=no
22115 rm -f conftest.err conftest.
$ac_ext
22116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22117 echo "${ECHO_T}$ac_header_preproc" >&6
22119 # So? What about this header?
22120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22122 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22123 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22124 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22125 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22126 ac_header_preproc
=yes
22129 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22130 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22131 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22132 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22133 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22134 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22135 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22136 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22137 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22138 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22139 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22140 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22143 ## ----------------------------------------- ##
22144 ## Report this to wx-dev@lists.wxwidgets.org ##
22145 ## ----------------------------------------- ##
22148 sed "s/^/$as_me: WARNING: /" >&2
22151 echo "$as_me:$LINENO: checking for expat.h" >&5
22152 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22153 if test "${ac_cv_header_expat_h+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22156 ac_cv_header_expat_h
=$ac_header_preproc
22158 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22159 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22162 if test $ac_cv_header_expat_h = yes; then
22167 if test "x$found_expat_h" = "x1"; then
22168 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22169 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22170 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22171 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 ac_cpp
='$CXXCPP $CPPFLAGS'
22178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22182 cat >conftest.
$ac_ext <<_ACEOF
22185 cat confdefs.h
>>conftest.
$ac_ext
22186 cat >>conftest.
$ac_ext <<_ACEOF
22187 /* end confdefs.h. */
22197 rm -f conftest.
$ac_objext
22198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22199 (eval $ac_compile) 2>conftest.er1
22201 grep -v '^ *+' conftest.er1
>conftest.err
22203 cat conftest.err
>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } &&
22206 { ac_try
='test -z "$ac_cxx_werror_flag"
22207 || test ! -s conftest.err'
22208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22209 (eval $ac_try) 2>&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); }; } &&
22213 { ac_try
='test -s conftest.$ac_objext'
22214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22215 (eval $ac_try) 2>&5
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); }; }; then
22219 wx_cv_expat_is_not_broken
=yes
22221 echo "$as_me: failed program was:" >&5
22222 sed 's/^/| /' conftest.
$ac_ext >&5
22224 wx_cv_expat_is_not_broken
=no
22227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22229 ac_cpp
='$CPP $CPPFLAGS'
22230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22237 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22238 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22239 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22240 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22241 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22242 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22243 echo $ECHO_N "(cached) $ECHO_C" >&6
22245 ac_check_lib_save_LIBS
=$LIBS
22246 LIBS
="-lexpat $LIBS"
22247 cat >conftest.
$ac_ext <<_ACEOF
22250 cat confdefs.h
>>conftest.
$ac_ext
22251 cat >>conftest.
$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22254 /* Override any gcc2 internal prototype to avoid an error. */
22258 /* We use char because int might match the return type of a gcc2
22259 builtin and then its argument prototype would still apply. */
22260 char XML_ParserCreate ();
22264 XML_ParserCreate ();
22269 rm -f conftest.
$ac_objext conftest
$ac_exeext
22270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22271 (eval $ac_link) 2>conftest.er1
22273 grep -v '^ *+' conftest.er1
>conftest.err
22275 cat conftest.err
>&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } &&
22278 { ac_try
='test -z "$ac_c_werror_flag"
22279 || test ! -s conftest.err'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; } &&
22285 { ac_try
='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 ac_cv_lib_expat_XML_ParserCreate
=yes
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.
$ac_ext >&5
22296 ac_cv_lib_expat_XML_ParserCreate
=no
22298 rm -f conftest.err conftest.
$ac_objext \
22299 conftest
$ac_exeext conftest.
$ac_ext
22300 LIBS
=$ac_check_lib_save_LIBS
22302 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22303 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22304 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22305 EXPAT_LINK
=" -lexpat"
22310 if test "x$EXPAT_LINK" = "x" ; then
22311 if test "$wxUSE_EXPAT" = "sys" ; then
22312 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22313 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22314 { (exit 1); exit 1; }; }
22316 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22317 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22318 wxUSE_EXPAT
=builtin
22324 if test "$wxUSE_EXPAT" = "builtin" ; then
22327 subdirs
="$subdirs src/expat"
22334 if test "$wxUSE_LIBMSPACK" != "no"; then
22335 if test "${ac_cv_header_mspack_h+set}" = set; then
22336 echo "$as_me:$LINENO: checking for mspack.h" >&5
22337 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22338 if test "${ac_cv_header_mspack_h+set}" = set; then
22339 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22342 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22344 # Is the header compilable?
22345 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22346 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22347 cat >conftest.
$ac_ext <<_ACEOF
22350 cat confdefs.h
>>conftest.
$ac_ext
22351 cat >>conftest.
$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 $ac_includes_default
22354 #include <mspack.h>
22356 rm -f conftest.
$ac_objext
22357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22358 (eval $ac_compile) 2>conftest.er1
22360 grep -v '^ *+' conftest.er1
>conftest.err
22362 cat conftest.err
>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } &&
22365 { ac_try
='test -z "$ac_c_werror_flag"
22366 || test ! -s conftest.err'
22367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22368 (eval $ac_try) 2>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); }; } &&
22372 { ac_try
='test -s conftest.$ac_objext'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 ac_header_compiler
=yes
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.
$ac_ext >&5
22383 ac_header_compiler
=no
22385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22387 echo "${ECHO_T}$ac_header_compiler" >&6
22389 # Is the header present?
22390 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22391 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22392 cat >conftest.
$ac_ext <<_ACEOF
22395 cat confdefs.h
>>conftest.
$ac_ext
22396 cat >>conftest.
$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 #include <mspack.h>
22400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22403 grep -v '^ *+' conftest.er1
>conftest.err
22405 cat conftest.err
>&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); } >/dev
/null
; then
22408 if test -s conftest.err
; then
22409 ac_cpp_err
=$ac_c_preproc_warn_flag
22410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22417 if test -z "$ac_cpp_err"; then
22418 ac_header_preproc
=yes
22420 echo "$as_me: failed program was:" >&5
22421 sed 's/^/| /' conftest.
$ac_ext >&5
22423 ac_header_preproc
=no
22425 rm -f conftest.err conftest.
$ac_ext
22426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22427 echo "${ECHO_T}$ac_header_preproc" >&6
22429 # So? What about this header?
22430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22432 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22433 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22434 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22435 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22436 ac_header_preproc
=yes
22439 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22440 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22441 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22442 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22443 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22444 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22445 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22446 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22447 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22448 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22449 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22450 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22453 ## ----------------------------------------- ##
22454 ## Report this to wx-dev@lists.wxwidgets.org ##
22455 ## ----------------------------------------- ##
22458 sed "s/^/$as_me: WARNING: /" >&2
22461 echo "$as_me:$LINENO: checking for mspack.h" >&5
22462 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22463 if test "${ac_cv_header_mspack_h+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 ac_cv_header_mspack_h
=$ac_header_preproc
22468 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22469 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22472 if test $ac_cv_header_mspack_h = yes; then
22477 if test "x$found_mspack_h" = "x1"; then
22478 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22479 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22480 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22481 echo $ECHO_N "(cached) $ECHO_C" >&6
22483 ac_check_lib_save_LIBS
=$LIBS
22484 LIBS
="-lmspack $LIBS"
22485 cat >conftest.
$ac_ext <<_ACEOF
22488 cat confdefs.h
>>conftest.
$ac_ext
22489 cat >>conftest.
$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22492 /* Override any gcc2 internal prototype to avoid an error. */
22496 /* We use char because int might match the return type of a gcc2
22497 builtin and then its argument prototype would still apply. */
22498 char mspack_create_chm_decompressor ();
22502 mspack_create_chm_decompressor ();
22507 rm -f conftest.
$ac_objext conftest
$ac_exeext
22508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22509 (eval $ac_link) 2>conftest.er1
22511 grep -v '^ *+' conftest.er1
>conftest.err
22513 cat conftest.err
>&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } &&
22516 { ac_try
='test -z "$ac_c_werror_flag"
22517 || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try
='test -s conftest$ac_exeext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22536 rm -f conftest.err conftest.
$ac_objext \
22537 conftest
$ac_exeext conftest.
$ac_ext
22538 LIBS
=$ac_check_lib_save_LIBS
22540 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22541 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22542 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22543 MSPACK_LINK
=" -lmspack"
22547 if test "x$MSPACK_LINK" = "x" ; then
22552 if test "$wxUSE_LIBMSPACK" != "no"; then
22553 cat >>confdefs.h
<<\_ACEOF
22554 #define wxUSE_LIBMSPACK 1
22568 if test "$USE_WIN32" = 1 ; then
22570 for ac_header
in w32api.h
22572 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22574 echo "$as_me:$LINENO: checking for $ac_header" >&5
22575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22577 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22582 # Is the header compilable?
22583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22585 cat >conftest.
$ac_ext <<_ACEOF
22588 cat confdefs.h
>>conftest.
$ac_ext
22589 cat >>conftest.
$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 $ac_includes_default
22592 #include <$ac_header>
22594 rm -f conftest.
$ac_objext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22596 (eval $ac_compile) 2>conftest.er1
22598 grep -v '^ *+' conftest.er1
>conftest.err
22600 cat conftest.err
>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try
='test -z "$ac_c_werror_flag"
22604 || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try
='test -s conftest.$ac_objext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 ac_header_compiler
=yes
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.
$ac_ext >&5
22621 ac_header_compiler
=no
22623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22625 echo "${ECHO_T}$ac_header_compiler" >&6
22627 # Is the header present?
22628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22630 cat >conftest.
$ac_ext <<_ACEOF
22633 cat confdefs.h
>>conftest.
$ac_ext
22634 cat >>conftest.
$ac_ext <<_ACEOF
22635 /* end confdefs.h. */
22636 #include <$ac_header>
22638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22641 grep -v '^ *+' conftest.er1
>conftest.err
22643 cat conftest.err
>&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } >/dev
/null
; then
22646 if test -s conftest.err
; then
22647 ac_cpp_err
=$ac_c_preproc_warn_flag
22648 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22655 if test -z "$ac_cpp_err"; then
22656 ac_header_preproc
=yes
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.
$ac_ext >&5
22661 ac_header_preproc
=no
22663 rm -f conftest.err conftest.
$ac_ext
22664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22665 echo "${ECHO_T}$ac_header_preproc" >&6
22667 # So? What about this header?
22668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22671 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22673 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22674 ac_header_preproc
=yes
22677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22682 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22684 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22687 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22688 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22691 ## ----------------------------------------- ##
22692 ## Report this to wx-dev@lists.wxwidgets.org ##
22693 ## ----------------------------------------- ##
22696 sed "s/^/$as_me: WARNING: /" >&2
22699 echo "$as_me:$LINENO: checking for $ac_header" >&5
22700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 eval "$as_ac_Header=\$ac_header_preproc"
22706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22711 cat >>confdefs.h
<<_ACEOF
22712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22719 if test "${ac_cv_header_windows_h+set}" = set; then
22720 echo "$as_me:$LINENO: checking for windows.h" >&5
22721 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22722 if test "${ac_cv_header_windows_h+set}" = set; then
22723 echo $ECHO_N "(cached) $ECHO_C" >&6
22725 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22726 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22728 # Is the header compilable?
22729 echo "$as_me:$LINENO: checking windows.h usability" >&5
22730 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22731 cat >conftest.
$ac_ext <<_ACEOF
22734 cat confdefs.h
>>conftest.
$ac_ext
22735 cat >>conftest.
$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 $ac_includes_default
22738 #include <windows.h>
22740 rm -f conftest.
$ac_objext
22741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22742 (eval $ac_compile) 2>conftest.er1
22744 grep -v '^ *+' conftest.er1
>conftest.err
22746 cat conftest.err
>&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try
='test -z "$ac_c_werror_flag"
22750 || test ! -s conftest.err'
22751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752 (eval $ac_try) 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; } &&
22756 { ac_try
='test -s conftest.$ac_objext'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; }; then
22762 ac_header_compiler
=yes
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.
$ac_ext >&5
22767 ac_header_compiler
=no
22769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22771 echo "${ECHO_T}$ac_header_compiler" >&6
22773 # Is the header present?
22774 echo "$as_me:$LINENO: checking windows.h presence" >&5
22775 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22776 cat >conftest.
$ac_ext <<_ACEOF
22779 cat confdefs.h
>>conftest.
$ac_ext
22780 cat >>conftest.
$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22782 #include <windows.h>
22784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22787 grep -v '^ *+' conftest.er1
>conftest.err
22789 cat conftest.err
>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } >/dev
/null
; then
22792 if test -s conftest.err
; then
22793 ac_cpp_err
=$ac_c_preproc_warn_flag
22794 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22801 if test -z "$ac_cpp_err"; then
22802 ac_header_preproc
=yes
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.
$ac_ext >&5
22807 ac_header_preproc
=no
22809 rm -f conftest.err conftest.
$ac_ext
22810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22811 echo "${ECHO_T}$ac_header_preproc" >&6
22813 # So? What about this header?
22814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22816 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22817 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22818 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22819 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22820 ac_header_preproc
=yes
22823 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22824 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22825 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22826 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22827 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22828 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22829 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22830 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22831 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22832 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22833 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22834 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22837 ## ----------------------------------------- ##
22838 ## Report this to wx-dev@lists.wxwidgets.org ##
22839 ## ----------------------------------------- ##
22842 sed "s/^/$as_me: WARNING: /" >&2
22845 echo "$as_me:$LINENO: checking for windows.h" >&5
22846 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22847 if test "${ac_cv_header_windows_h+set}" = set; then
22848 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 ac_cv_header_windows_h
=$ac_header_preproc
22852 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22853 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22856 if test $ac_cv_header_windows_h = yes; then
22860 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22861 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22862 { (exit 1); exit 1; }; }
22868 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22870 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22871 LIBS
="$LIBS -loleacc"
22876 LIBS
="$LIBS -lkernel32 -luser32"
22877 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22880 if test "$wxUSE_ODBC" = "sys" ; then
22883 if test "$wxUSE_ODBC" = "yes" ; then
22884 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22885 cat >>confdefs.h
<<\_ACEOF
22886 #define wxUSE_ODBC 1
22891 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22892 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22894 WIN32INSTALL
=win32install
22897 if test "$wxUSE_GUI" = "yes"; then
22907 if test "$wxUSE_COCOA" = 1 ; then
22908 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22909 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22910 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22911 wxUSE_PRINTING_ARCHITECTURE
=no
22913 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22914 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22915 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22916 wxUSE_DRAG_AND_DROP
=no
22918 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22919 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22920 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22925 if test "$wxUSE_MSW" = 1 ; then
22931 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22935 if test "$wxUSE_GTK" = 1; then
22936 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22937 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22939 gtk_version_cached
=1
22940 if test "${wx_cv_lib_gtk+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22944 gtk_version_cached
=0
22945 echo "$as_me:$LINENO: result: " >&5
22946 echo "${ECHO_T}" >&6
22949 if test "$wxUSE_THREADS" = "yes"; then
22950 GTK_MODULES
=gthread
22954 if test "x$wxUSE_GTK2" = "xyes"; then
22955 # Check whether --enable-gtktest or --disable-gtktest was given.
22956 if test "${enable_gtktest+set}" = set; then
22957 enableval
="$enable_gtktest"
22963 pkg_config_args
=gtk
+-2.0
22964 for module
in .
$GTK_MODULES
22968 pkg_config_args
="$pkg_config_args gthread-2.0"
22975 # Extract the first word of "pkg-config", so it can be a program name with args.
22976 set dummy pkg
-config; ac_word
=$2
22977 echo "$as_me:$LINENO: checking for $ac_word" >&5
22978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22979 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 case $PKG_CONFIG in
22984 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22988 for as_dir
in $PATH
22991 test -z "$as_dir" && as_dir
=.
22992 for ac_exec_ext
in '' $ac_executable_extensions; do
22993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22994 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23001 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23005 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23007 if test -n "$PKG_CONFIG"; then
23008 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23009 echo "${ECHO_T}$PKG_CONFIG" >&6
23011 echo "$as_me:$LINENO: result: no" >&5
23012 echo "${ECHO_T}no" >&6
23016 if test x
$PKG_CONFIG != xno
; then
23017 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23020 echo "*** pkg-config too old; version 0.7 or better required."
23028 min_gtk_version
=2.0.0
23029 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23030 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23032 if test x
$PKG_CONFIG != xno
; then
23033 ## don't try to run the test against uninstalled libtool libs
23034 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23035 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23039 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23046 if test x
"$no_gtk" = x
; then
23047 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23048 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23049 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23051 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23053 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23055 if test "x$enable_gtktest" = "xyes" ; then
23056 ac_save_CFLAGS
="$CFLAGS"
23057 ac_save_LIBS
="$LIBS"
23058 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23059 LIBS
="$GTK_LIBS $LIBS"
23061 if test "$cross_compiling" = yes; then
23062 echo $ac_n "cross compiling; assumed OK... $ac_c"
23064 cat >conftest.
$ac_ext <<_ACEOF
23067 cat confdefs.h
>>conftest.
$ac_ext
23068 cat >>conftest.
$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23071 #include <gtk/gtk.h>
23073 #include <stdlib.h>
23078 int major, minor, micro;
23081 system ("touch conf.gtktest");
23083 /* HP/UX 9 (%@#!) writes to sscanf strings */
23084 tmp_version = g_strdup("$min_gtk_version");
23085 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23086 printf("%s, bad version string\n", "$min_gtk_version");
23090 if ((gtk_major_version != $gtk_config_major_version) ||
23091 (gtk_minor_version != $gtk_config_minor_version) ||
23092 (gtk_micro_version != $gtk_config_micro_version))
23094 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23095 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23096 gtk_major_version, gtk_minor_version, gtk_micro_version);
23097 printf ("*** was found! If pkg-config was correct, then it is best\n");
23098 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23099 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23100 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23101 printf("*** required on your system.\n");
23102 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23103 printf("*** to point to the correct configuration files\n");
23105 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23106 (gtk_minor_version != GTK_MINOR_VERSION) ||
23107 (gtk_micro_version != GTK_MICRO_VERSION))
23109 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23110 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23111 printf("*** library (version %d.%d.%d)\n",
23112 gtk_major_version, gtk_minor_version, gtk_micro_version);
23116 if ((gtk_major_version > major) ||
23117 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23118 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23124 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23125 gtk_major_version, gtk_minor_version, gtk_micro_version);
23126 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23127 major, minor, micro);
23128 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23130 printf("*** If you have already installed a sufficiently new version, this error\n");
23131 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23132 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23133 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23134 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23135 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23136 printf("*** so that the correct libraries are found at run-time))\n");
23143 rm -f conftest
$ac_exeext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23145 (eval $ac_link) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23156 echo "$as_me: program exited with status $ac_status" >&5
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.
$ac_ext >&5
23160 ( exit $ac_status )
23163 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23165 CFLAGS
="$ac_save_CFLAGS"
23166 LIBS
="$ac_save_LIBS"
23169 if test "x$no_gtk" = x
; then
23170 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23171 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23174 echo "$as_me:$LINENO: result: no" >&5
23175 echo "${ECHO_T}no" >&6
23176 if test "$PKG_CONFIG" = "no" ; then
23177 echo "*** A new enough version of pkg-config was not found."
23178 echo "*** See http://pkgconfig.sourceforge.net"
23180 if test -f conf.gtktest
; then
23183 echo "*** Could not run GTK+ test program, checking why..."
23184 ac_save_CFLAGS
="$CFLAGS"
23185 ac_save_LIBS
="$LIBS"
23186 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23187 LIBS
="$LIBS $GTK_LIBS"
23188 cat >conftest.
$ac_ext <<_ACEOF
23191 cat confdefs.h
>>conftest.
$ac_ext
23192 cat >>conftest.
$ac_ext <<_ACEOF
23193 /* end confdefs.h. */
23195 #include <gtk/gtk.h>
23201 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23206 rm -f conftest.
$ac_objext conftest
$ac_exeext
23207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23208 (eval $ac_link) 2>conftest.er1
23210 grep -v '^ *+' conftest.er1
>conftest.err
23212 cat conftest.err
>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try
='test -z "$ac_c_werror_flag"
23216 || test ! -s conftest.err'
23217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23218 (eval $ac_try) 2>&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); }; } &&
23222 { ac_try
='test -s conftest$ac_exeext'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; }; then
23228 echo "*** The test program compiled, but did not run. This usually means"
23229 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23230 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23231 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23232 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23233 echo "*** is required on your system"
23235 echo "*** If you have an old version installed, it is best to remove it, although"
23236 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.
$ac_ext >&5
23241 echo "*** The test program failed to compile or link. See the file config.log for the"
23242 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23244 rm -f conftest.err conftest.
$ac_objext \
23245 conftest
$ac_exeext conftest.
$ac_ext
23246 CFLAGS
="$ac_save_CFLAGS"
23247 LIBS
="$ac_save_LIBS"
23260 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23261 if test "${with_gtk_prefix+set}" = set; then
23262 withval
="$with_gtk_prefix"
23263 gtk_config_prefix
="$withval"
23265 gtk_config_prefix
=""
23268 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23269 if test "${with_gtk_exec_prefix+set}" = set; then
23270 withval
="$with_gtk_exec_prefix"
23271 gtk_config_exec_prefix
="$withval"
23273 gtk_config_exec_prefix
=""
23275 # Check whether --enable-gtktest or --disable-gtktest was given.
23276 if test "${enable_gtktest+set}" = set; then
23277 enableval
="$enable_gtktest"
23283 for module
in .
$GTK_MODULES
23287 gtk_config_args
="$gtk_config_args gthread"
23292 if test x
$gtk_config_exec_prefix != x
; then
23293 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23294 if test x
${GTK_CONFIG+set} != xset
; then
23295 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23298 if test x
$gtk_config_prefix != x
; then
23299 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23300 if test x
${GTK_CONFIG+set} != xset
; then
23301 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23305 # Extract the first word of "gtk-config", so it can be a program name with args.
23306 set dummy gtk
-config; ac_word
=$2
23307 echo "$as_me:$LINENO: checking for $ac_word" >&5
23308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23309 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23310 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 case $GTK_CONFIG in
23314 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23318 for as_dir
in $PATH
23321 test -z "$as_dir" && as_dir
=.
23322 for ac_exec_ext
in '' $ac_executable_extensions; do
23323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23324 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23331 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23335 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23337 if test -n "$GTK_CONFIG"; then
23338 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23339 echo "${ECHO_T}$GTK_CONFIG" >&6
23341 echo "$as_me:$LINENO: result: no" >&5
23342 echo "${ECHO_T}no" >&6
23345 min_gtk_version
=1.2.7
23346 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23347 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23349 if test "$GTK_CONFIG" = "no" ; then
23352 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23353 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23354 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23356 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23358 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23360 if test "x$enable_gtktest" = "xyes" ; then
23361 ac_save_CFLAGS
="$CFLAGS"
23362 ac_save_LIBS
="$LIBS"
23363 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23364 LIBS
="$GTK_LIBS $LIBS"
23366 if test "$cross_compiling" = yes; then
23367 echo $ac_n "cross compiling; assumed OK... $ac_c"
23369 cat >conftest.
$ac_ext <<_ACEOF
23372 cat confdefs.h
>>conftest.
$ac_ext
23373 cat >>conftest.
$ac_ext <<_ACEOF
23374 /* end confdefs.h. */
23376 #include <gtk/gtk.h>
23378 #include <stdlib.h>
23383 int major, minor, micro;
23386 system ("touch conf.gtktest");
23388 /* HP/UX 9 (%@#!) writes to sscanf strings */
23389 tmp_version = g_strdup("$min_gtk_version");
23390 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23391 printf("%s, bad version string\n", "$min_gtk_version");
23395 if ((gtk_major_version != $gtk_config_major_version) ||
23396 (gtk_minor_version != $gtk_config_minor_version) ||
23397 (gtk_micro_version != $gtk_config_micro_version))
23399 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23400 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23401 gtk_major_version, gtk_minor_version, gtk_micro_version);
23402 printf ("*** was found! If gtk-config was correct, then it is best\n");
23403 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23404 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23405 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23406 printf("*** required on your system.\n");
23407 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23408 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23409 printf("*** before re-running configure\n");
23411 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23412 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23413 (gtk_minor_version != GTK_MINOR_VERSION) ||
23414 (gtk_micro_version != GTK_MICRO_VERSION))
23416 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23417 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23418 printf("*** library (version %d.%d.%d)\n",
23419 gtk_major_version, gtk_minor_version, gtk_micro_version);
23421 #endif /* defined (GTK_MAJOR_VERSION) ... */
23424 if ((gtk_major_version > major) ||
23425 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23426 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23432 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23433 gtk_major_version, gtk_minor_version, gtk_micro_version);
23434 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23435 major, minor, micro);
23436 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23438 printf("*** If you have already installed a sufficiently new version, this error\n");
23439 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23440 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23441 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23442 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23443 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23444 printf("*** so that the correct libraries are found at run-time))\n");
23451 rm -f conftest
$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458 (eval $ac_try) 2>&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); }; }; then
23464 echo "$as_me: program exited with status $ac_status" >&5
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.
$ac_ext >&5
23468 ( exit $ac_status )
23471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23473 CFLAGS
="$ac_save_CFLAGS"
23474 LIBS
="$ac_save_LIBS"
23477 if test "x$no_gtk" = x
; then
23478 echo "$as_me:$LINENO: result: yes" >&5
23479 echo "${ECHO_T}yes" >&6
23480 wx_cv_lib_gtk
=1.2.7
23482 echo "$as_me:$LINENO: result: no" >&5
23483 echo "${ECHO_T}no" >&6
23484 if test "$GTK_CONFIG" = "no" ; then
23485 echo "*** The gtk-config script installed by GTK could not be found"
23486 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23487 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23488 echo "*** full path to gtk-config."
23490 if test -f conf.gtktest
; then
23493 echo "*** Could not run GTK test program, checking why..."
23494 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23495 LIBS
="$LIBS $GTK_LIBS"
23496 cat >conftest.
$ac_ext <<_ACEOF
23499 cat confdefs.h
>>conftest.
$ac_ext
23500 cat >>conftest.
$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23503 #include <gtk/gtk.h>
23509 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23514 rm -f conftest.
$ac_objext conftest
$ac_exeext
23515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23516 (eval $ac_link) 2>conftest.er1
23518 grep -v '^ *+' conftest.er1
>conftest.err
23520 cat conftest.err
>&5
23521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23522 (exit $ac_status); } &&
23523 { ac_try
='test -z "$ac_c_werror_flag"
23524 || test ! -s conftest.err'
23525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23526 (eval $ac_try) 2>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); }; } &&
23530 { ac_try
='test -s conftest$ac_exeext'
23531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532 (eval $ac_try) 2>&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; }; then
23536 echo "*** The test program compiled, but did not run. This usually means"
23537 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23538 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23539 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23540 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23541 echo "*** is required on your system"
23543 echo "*** If you have an old version installed, it is best to remove it, although"
23544 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23546 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23547 echo "*** came with the system with the command"
23549 echo "*** rpm --erase --nodeps gtk gtk-devel"
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.
$ac_ext >&5
23554 echo "*** The test program failed to compile or link. See the file config.log for the"
23555 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23556 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23557 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23559 rm -f conftest.err conftest.
$ac_objext \
23560 conftest
$ac_exeext conftest.
$ac_ext
23561 CFLAGS
="$ac_save_CFLAGS"
23562 LIBS
="$ac_save_LIBS"
23574 if test -z "$wx_cv_lib_gtk"; then
23576 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23577 if test "${with_gtk_prefix+set}" = set; then
23578 withval
="$with_gtk_prefix"
23579 gtk_config_prefix
="$withval"
23581 gtk_config_prefix
=""
23584 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23585 if test "${with_gtk_exec_prefix+set}" = set; then
23586 withval
="$with_gtk_exec_prefix"
23587 gtk_config_exec_prefix
="$withval"
23589 gtk_config_exec_prefix
=""
23591 # Check whether --enable-gtktest or --disable-gtktest was given.
23592 if test "${enable_gtktest+set}" = set; then
23593 enableval
="$enable_gtktest"
23599 for module
in .
$GTK_MODULES
23603 gtk_config_args
="$gtk_config_args gthread"
23608 if test x
$gtk_config_exec_prefix != x
; then
23609 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23610 if test x
${GTK_CONFIG+set} != xset
; then
23611 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23614 if test x
$gtk_config_prefix != x
; then
23615 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23616 if test x
${GTK_CONFIG+set} != xset
; then
23617 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23621 # Extract the first word of "gtk-config", so it can be a program name with args.
23622 set dummy gtk
-config; ac_word
=$2
23623 echo "$as_me:$LINENO: checking for $ac_word" >&5
23624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23625 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 case $GTK_CONFIG in
23630 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23634 for as_dir
in $PATH
23637 test -z "$as_dir" && as_dir
=.
23638 for ac_exec_ext
in '' $ac_executable_extensions; do
23639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23640 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23647 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23651 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23653 if test -n "$GTK_CONFIG"; then
23654 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23655 echo "${ECHO_T}$GTK_CONFIG" >&6
23657 echo "$as_me:$LINENO: result: no" >&5
23658 echo "${ECHO_T}no" >&6
23661 min_gtk_version
=1.2.3
23662 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23663 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23665 if test "$GTK_CONFIG" = "no" ; then
23668 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23669 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23670 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23672 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23674 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23676 if test "x$enable_gtktest" = "xyes" ; then
23677 ac_save_CFLAGS
="$CFLAGS"
23678 ac_save_LIBS
="$LIBS"
23679 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23680 LIBS
="$GTK_LIBS $LIBS"
23682 if test "$cross_compiling" = yes; then
23683 echo $ac_n "cross compiling; assumed OK... $ac_c"
23685 cat >conftest.
$ac_ext <<_ACEOF
23688 cat confdefs.h
>>conftest.
$ac_ext
23689 cat >>conftest.
$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23692 #include <gtk/gtk.h>
23694 #include <stdlib.h>
23699 int major, minor, micro;
23702 system ("touch conf.gtktest");
23704 /* HP/UX 9 (%@#!) writes to sscanf strings */
23705 tmp_version = g_strdup("$min_gtk_version");
23706 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23707 printf("%s, bad version string\n", "$min_gtk_version");
23711 if ((gtk_major_version != $gtk_config_major_version) ||
23712 (gtk_minor_version != $gtk_config_minor_version) ||
23713 (gtk_micro_version != $gtk_config_micro_version))
23715 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23716 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23717 gtk_major_version, gtk_minor_version, gtk_micro_version);
23718 printf ("*** was found! If gtk-config was correct, then it is best\n");
23719 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23720 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23721 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23722 printf("*** required on your system.\n");
23723 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23724 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23725 printf("*** before re-running configure\n");
23727 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23728 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23729 (gtk_minor_version != GTK_MINOR_VERSION) ||
23730 (gtk_micro_version != GTK_MICRO_VERSION))
23732 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23733 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23734 printf("*** library (version %d.%d.%d)\n",
23735 gtk_major_version, gtk_minor_version, gtk_micro_version);
23737 #endif /* defined (GTK_MAJOR_VERSION) ... */
23740 if ((gtk_major_version > major) ||
23741 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23742 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23748 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23749 gtk_major_version, gtk_minor_version, gtk_micro_version);
23750 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23751 major, minor, micro);
23752 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23754 printf("*** If you have already installed a sufficiently new version, this error\n");
23755 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23756 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23757 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23758 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23759 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23760 printf("*** so that the correct libraries are found at run-time))\n");
23767 rm -f conftest
$ac_exeext
23768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23769 (eval $ac_link) 2>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23774 (eval $ac_try) 2>&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); }; }; then
23780 echo "$as_me: program exited with status $ac_status" >&5
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.
$ac_ext >&5
23784 ( exit $ac_status )
23787 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23789 CFLAGS
="$ac_save_CFLAGS"
23790 LIBS
="$ac_save_LIBS"
23793 if test "x$no_gtk" = x
; then
23794 echo "$as_me:$LINENO: result: yes" >&5
23795 echo "${ECHO_T}yes" >&6
23796 wx_cv_lib_gtk
=1.2.3
23798 echo "$as_me:$LINENO: result: no" >&5
23799 echo "${ECHO_T}no" >&6
23800 if test "$GTK_CONFIG" = "no" ; then
23801 echo "*** The gtk-config script installed by GTK could not be found"
23802 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23803 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23804 echo "*** full path to gtk-config."
23806 if test -f conf.gtktest
; then
23809 echo "*** Could not run GTK test program, checking why..."
23810 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23811 LIBS
="$LIBS $GTK_LIBS"
23812 cat >conftest.
$ac_ext <<_ACEOF
23815 cat confdefs.h
>>conftest.
$ac_ext
23816 cat >>conftest.
$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23819 #include <gtk/gtk.h>
23825 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23830 rm -f conftest.
$ac_objext conftest
$ac_exeext
23831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23832 (eval $ac_link) 2>conftest.er1
23834 grep -v '^ *+' conftest.er1
>conftest.err
23836 cat conftest.err
>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } &&
23839 { ac_try
='test -z "$ac_c_werror_flag"
23840 || test ! -s conftest.err'
23841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23842 (eval $ac_try) 2>&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; } &&
23846 { ac_try
='test -s conftest$ac_exeext'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; }; then
23852 echo "*** The test program compiled, but did not run. This usually means"
23853 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23854 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23857 echo "*** is required on your system"
23859 echo "*** If you have an old version installed, it is best to remove it, although"
23860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23862 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23863 echo "*** came with the system with the command"
23865 echo "*** rpm --erase --nodeps gtk gtk-devel"
23867 echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.
$ac_ext >&5
23870 echo "*** The test program failed to compile or link. See the file config.log for the"
23871 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23872 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23873 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23875 rm -f conftest.err conftest.
$ac_objext \
23876 conftest
$ac_exeext conftest.
$ac_ext
23877 CFLAGS
="$ac_save_CFLAGS"
23878 LIBS
="$ac_save_LIBS"
23892 if test -z "$wx_cv_lib_gtk"; then
23895 wx_cv_cflags_gtk
=$GTK_CFLAGS
23896 wx_cv_libs_gtk
=$GTK_LIBS
23903 if test "$gtk_version_cached" = 1; then
23904 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23905 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23908 case "$wx_cv_lib_gtk" in
23917 *) { { echo "$as_me:$LINENO: error:
23918 Please check that gtk-config is in path, the directory
23919 where GTK+ libraries are installed (returned by
23920 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23921 equivalent variable and GTK+ is version 1.2.3 or above.
23923 echo "$as_me: error:
23924 Please check that gtk-config is in path, the directory
23925 where GTK+ libraries are installed (returned by
23926 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23927 equivalent variable and GTK+ is version 1.2.3 or above.
23929 { (exit 1); exit 1; }; }
23933 if test "$WXGTK20" = 1; then
23934 save_CFLAGS
="$CFLAGS"
23936 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23937 LIBS
="$LIBS $GTK_LIBS"
23940 for ac_func
in pango_font_family_is_monospace
23942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 echo "$as_me:$LINENO: checking for $ac_func" >&5
23944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23945 if eval "test \"\${$as_ac_var+set}\" = set"; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 cat >conftest.
$ac_ext <<_ACEOF
23951 cat confdefs.h
>>conftest.
$ac_ext
23952 cat >>conftest.
$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23956 #define $ac_func innocuous_$ac_func
23958 /* System header to define __stub macros and hopefully few prototypes,
23959 which can conflict with char $ac_func (); below.
23960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23961 <limits.h> exists even on freestanding compilers. */
23964 # include <limits.h>
23966 # include <assert.h>
23971 /* Override any gcc2 internal prototype to avoid an error. */
23976 /* We use char because int might match the return type of a gcc2
23977 builtin and then its argument prototype would still apply. */
23979 /* The GNU C library defines this for functions which it implements
23980 to always fail with ENOSYS. Some functions are actually named
23981 something starting with __ and the normal name is an alias. */
23982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23985 char (*f) () = $ac_func;
23994 return f != $ac_func;
23999 rm -f conftest.
$ac_objext conftest
$ac_exeext
24000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24001 (eval $ac_link) 2>conftest.er1
24003 grep -v '^ *+' conftest.er1
>conftest.err
24005 cat conftest.err
>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } &&
24008 { ac_try
='test -z "$ac_c_werror_flag"
24009 || test ! -s conftest.err'
24010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011 (eval $ac_try) 2>&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); }; } &&
24015 { ac_try
='test -s conftest$ac_exeext'
24016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24017 (eval $ac_try) 2>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; }; then
24021 eval "$as_ac_var=yes"
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.
$ac_ext >&5
24026 eval "$as_ac_var=no"
24028 rm -f conftest.err conftest.
$ac_objext \
24029 conftest
$ac_exeext conftest.
$ac_ext
24031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24033 if test `eval echo '${'$as_ac_var'}'` = yes; then
24034 cat >>confdefs.h
<<_ACEOF
24035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24042 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24043 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24044 cat >conftest.
$ac_ext <<_ACEOF
24047 cat confdefs.h
>>conftest.
$ac_ext
24048 cat >>conftest.
$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24051 #include <gtk/gtk.h>
24057 #if !GTK_CHECK_VERSION(2,4,0)
24058 #error "Not GTK+ 2.4"
24065 rm -f conftest.
$ac_objext
24066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24067 (eval $ac_compile) 2>conftest.er1
24069 grep -v '^ *+' conftest.er1
>conftest.err
24071 cat conftest.err
>&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); } &&
24074 { ac_try
='test -z "$ac_c_werror_flag"
24075 || test ! -s conftest.err'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; } &&
24081 { ac_try
='test -s conftest.$ac_objext'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; }; then
24088 cat >>confdefs.h
<<\_ACEOF
24089 #define __WXGTK24__ 1
24092 echo "$as_me:$LINENO: result: yes" >&5
24093 echo "${ECHO_T}yes" >&6
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.
$ac_ext >&5
24100 echo "$as_me:$LINENO: result: no" >&5
24101 echo "${ECHO_T}no" >&6
24104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24106 CFLAGS
="$save_CFLAGS"
24109 if test "$wxUSE_UNICODE" = "yes"; then
24110 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24111 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24116 if test "$USE_DARWIN" != 1; then
24118 for ac_func
in poll
24120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24121 echo "$as_me:$LINENO: checking for $ac_func" >&5
24122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24123 if eval "test \"\${$as_ac_var+set}\" = set"; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24126 cat >conftest.
$ac_ext <<_ACEOF
24129 cat confdefs.h
>>conftest.
$ac_ext
24130 cat >>conftest.
$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24134 #define $ac_func innocuous_$ac_func
24136 /* System header to define __stub macros and hopefully few prototypes,
24137 which can conflict with char $ac_func (); below.
24138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24139 <limits.h> exists even on freestanding compilers. */
24142 # include <limits.h>
24144 # include <assert.h>
24149 /* Override any gcc2 internal prototype to avoid an error. */
24154 /* We use char because int might match the return type of a gcc2
24155 builtin and then its argument prototype would still apply. */
24157 /* The GNU C library defines this for functions which it implements
24158 to always fail with ENOSYS. Some functions are actually named
24159 something starting with __ and the normal name is an alias. */
24160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24163 char (*f) () = $ac_func;
24172 return f != $ac_func;
24177 rm -f conftest.
$ac_objext conftest
$ac_exeext
24178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24179 (eval $ac_link) 2>conftest.er1
24181 grep -v '^ *+' conftest.er1
>conftest.err
24183 cat conftest.err
>&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } &&
24186 { ac_try
='test -z "$ac_c_werror_flag"
24187 || test ! -s conftest.err'
24188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24189 (eval $ac_try) 2>&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); }; } &&
24193 { ac_try
='test -s conftest$ac_exeext'
24194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195 (eval $ac_try) 2>&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); }; }; then
24199 eval "$as_ac_var=yes"
24201 echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.
$ac_ext >&5
24204 eval "$as_ac_var=no"
24206 rm -f conftest.err conftest.
$ac_objext \
24207 conftest
$ac_exeext conftest.
$ac_ext
24209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24211 if test `eval echo '${'$as_ac_var'}'` = yes; then
24212 cat >>confdefs.h
<<_ACEOF
24213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24221 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24222 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24224 AFMINSTALL
=afminstall
24228 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24229 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24230 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24231 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 ac_check_lib_save_LIBS
=$LIBS
24235 cat >conftest.
$ac_ext <<_ACEOF
24238 cat confdefs.h
>>conftest.
$ac_ext
24239 cat >>conftest.
$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24242 /* Override any gcc2 internal prototype to avoid an error. */
24246 /* We use char because int might match the return type of a gcc2
24247 builtin and then its argument prototype would still apply. */
24248 char gdk_im_open ();
24257 rm -f conftest.
$ac_objext conftest
$ac_exeext
24258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24259 (eval $ac_link) 2>conftest.er1
24261 grep -v '^ *+' conftest.er1
>conftest.err
24263 cat conftest.err
>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } &&
24266 { ac_try
='test -z "$ac_c_werror_flag"
24267 || test ! -s conftest.err'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; } &&
24273 { ac_try
='test -s conftest$ac_exeext'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
24279 ac_cv_lib_gdk_gdk_im_open
=yes
24281 echo "$as_me: failed program was:" >&5
24282 sed 's/^/| /' conftest.
$ac_ext >&5
24284 ac_cv_lib_gdk_gdk_im_open
=no
24286 rm -f conftest.err conftest.
$ac_objext \
24287 conftest
$ac_exeext conftest.
$ac_ext
24288 LIBS
=$ac_check_lib_save_LIBS
24290 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24291 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24292 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24293 cat >>confdefs.h
<<\_ACEOF
24301 if test "$wxUSE_GPE" = "yes"; then
24302 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24303 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24306 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24308 for ac_extension
in a so sl dylib
; do
24309 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24310 ac_find_libraries
=$ac_dir
24316 if test "$ac_find_libraries" != "" ; then
24318 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24320 if test $result = 0; then
24323 ac_path_to_link
=" -L$ac_find_libraries"
24326 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24328 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24329 echo "${ECHO_T}found at $ac_find_libraries" >&6
24331 echo "$as_me:$LINENO: result: not found" >&5
24332 echo "${ECHO_T}not found" >&6
24338 if test "$wxUSE_MGL" = 1; then
24339 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24340 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24341 if test "x$MGL_ROOT" = x
; then
24342 echo "$as_me:$LINENO: result: not found" >&5
24343 echo "${ECHO_T}not found" >&6
24344 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24345 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24346 { (exit 1); exit 1; }; }
24348 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24349 echo "${ECHO_T}$MGL_ROOT" >&6
24352 echo "$as_me:$LINENO: checking for libmgl location" >&5
24353 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24356 if test "x$wxUSE_SHARED" = xyes
; then
24357 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24359 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24363 mgl_os_candidates
="dos32/dj2"
24366 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24367 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24368 { (exit 1); exit 1; }; }
24374 for mgl_os_i
in $mgl_os_candidates ; do
24375 if test "x$mgl_os" = x
; then
24376 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24377 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24378 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24383 if test "x$mgl_lib_type" = x
; then
24384 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24385 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24386 mgl_lib_type
=release
24393 if test "x$mgl_os" = x
; then
24394 echo "$as_me:$LINENO: result: not found" >&5
24395 echo "${ECHO_T}not found" >&6
24396 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24397 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24398 { (exit 1); exit 1; }; }
24400 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24401 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24403 wxUSE_UNIVERSAL
="yes"
24405 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24406 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24408 AFMINSTALL
=afminstall
24413 if test "$wxUSE_MICROWIN" = 1; then
24414 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24415 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24416 if test "x$MICROWINDOWS" = x
; then
24417 echo "$as_me:$LINENO: result: not found" >&5
24418 echo "${ECHO_T}not found" >&6
24419 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24420 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24421 { (exit 1); exit 1; }; }
24423 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24424 echo "${ECHO_T}$MICROWINDOWS" >&6
24427 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24428 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24429 echo "${ECHO_T}MicroWindows' libraries found." >&6
24431 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24432 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24433 { (exit 1); exit 1; }; }
24436 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24437 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24439 wxUSE_UNIVERSAL
="yes"
24441 AFMINSTALL
=afminstall
24443 GUIDIST
=MICROWIN_DIST
24445 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24448 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24449 echo "$as_me:$LINENO: checking for X" >&5
24450 echo $ECHO_N "checking for X... $ECHO_C" >&6
24453 # Check whether --with-x or --without-x was given.
24454 if test "${with_x+set}" = set; then
24458 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24459 if test "x$with_x" = xno
; then
24460 # The user explicitly disabled X.
24463 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24464 # Both variables are already set.
24467 if test "${ac_cv_have_x+set}" = set; then
24468 echo $ECHO_N "(cached) $ECHO_C" >&6
24470 # One or both of the vars are not set, and there is no cached value.
24471 ac_x_includes
=no ac_x_libraries
=no
24472 rm -fr conftest.dir
24473 if mkdir conftest.dir
; then
24475 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24476 cat >Imakefile
<<'_ACEOF'
24478 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24480 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24481 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24482 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24483 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24484 for ac_extension
in a so sl
; do
24485 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24486 test -f $ac_im_libdir/libX11.
$ac_extension; then
24487 ac_im_usrlibdir
=$ac_im_libdir; break
24490 # Screen out bogus values from the imake configuration. They are
24491 # bogus both because they are the default anyway, and because
24492 # using them would break gcc on systems where it needs fixed includes.
24493 case $ac_im_incroot in
24495 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24497 case $ac_im_usrlibdir in
24498 /usr
/lib
| /lib
) ;;
24499 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24503 rm -fr conftest.dir
24506 # Standard set of common directories for X headers.
24507 # Check X11 before X11Rn because it is often a symlink to the current release.
24519 /usr/local/X11/include
24520 /usr/local/X11R6/include
24521 /usr/local/X11R5/include
24522 /usr/local/X11R4/include
24524 /usr/local/include/X11
24525 /usr/local/include/X11R6
24526 /usr/local/include/X11R5
24527 /usr/local/include/X11R4
24531 /usr/XFree86/include/X11
24535 /usr/unsupported/include
24536 /usr/athena/include
24537 /usr/local/x11r5/include
24538 /usr/lpp/Xamples/include
24540 /usr/openwin/include
24541 /usr/openwin/share/include'
24543 if test "$ac_x_includes" = no
; then
24544 # Guess where to find include files, by looking for Intrinsic.h.
24545 # First, try using that file with no special directory specified.
24546 cat >conftest.
$ac_ext <<_ACEOF
24549 cat confdefs.h
>>conftest.
$ac_ext
24550 cat >>conftest.
$ac_ext <<_ACEOF
24551 /* end confdefs.h. */
24552 #include <X11/Intrinsic.h>
24554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24557 grep -v '^ *+' conftest.er1
>conftest.err
24559 cat conftest.err
>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } >/dev
/null
; then
24562 if test -s conftest.err
; then
24563 ac_cpp_err
=$ac_c_preproc_warn_flag
24564 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24571 if test -z "$ac_cpp_err"; then
24572 # We can compile using X headers with no special include directory.
24575 echo "$as_me: failed program was:" >&5
24576 sed 's/^/| /' conftest.
$ac_ext >&5
24578 for ac_dir
in $ac_x_header_dirs; do
24579 if test -r "$ac_dir/X11/Intrinsic.h"; then
24580 ac_x_includes
=$ac_dir
24585 rm -f conftest.err conftest.
$ac_ext
24586 fi # $ac_x_includes = no
24588 if test "$ac_x_libraries" = no
; then
24589 # Check for the libraries.
24590 # See if we find them without any special options.
24591 # Don't add to $LIBS permanently.
24594 cat >conftest.
$ac_ext <<_ACEOF
24597 cat confdefs.h
>>conftest.
$ac_ext
24598 cat >>conftest.
$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <X11/Intrinsic.h>
24609 rm -f conftest.
$ac_objext conftest
$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_c_werror_flag"
24619 || test ! -s conftest.err'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; } &&
24625 { ac_try
='test -s conftest$ac_exeext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24632 # We can link X programs with no special library path.
24635 echo "$as_me: failed program was:" >&5
24636 sed 's/^/| /' conftest.
$ac_ext >&5
24639 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24641 # Don't even attempt the hair of trying to link an X program!
24642 for ac_extension
in a so sl
; do
24643 if test -r $ac_dir/libXt.
$ac_extension; then
24644 ac_x_libraries
=$ac_dir
24650 rm -f conftest.err conftest.
$ac_objext \
24651 conftest
$ac_exeext conftest.
$ac_ext
24652 fi # $ac_x_libraries = no
24654 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24655 # Didn't find X anywhere. Cache the known absence of X.
24656 ac_cv_have_x
="have_x=no"
24658 # Record where we found X for the cache.
24659 ac_cv_have_x
="have_x=yes \
24660 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24665 eval "$ac_cv_have_x"
24668 if test "$have_x" != yes; then
24669 echo "$as_me:$LINENO: result: $have_x" >&5
24670 echo "${ECHO_T}$have_x" >&6
24673 # If each of the values was on the command line, it overrides each guess.
24674 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24675 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24676 # Update the cache value to reflect the command line values.
24677 ac_cv_have_x
="have_x=yes \
24678 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24679 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24680 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24683 if test "$no_x" = yes; then
24684 # Not all programs may use this symbol, but it does not hurt to define it.
24686 cat >>confdefs.h
<<\_ACEOF
24687 #define X_DISPLAY_MISSING 1
24690 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24692 if test -n "$x_includes"; then
24693 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24696 # It would also be nice to do this for all -L options, not just this one.
24697 if test -n "$x_libraries"; then
24698 X_LIBS
="$X_LIBS -L$x_libraries"
24699 # For Solaris; some versions of Sun CC require a space after -R and
24700 # others require no space. Words are not sufficient . . . .
24701 case `(uname -sr) 2>/dev/null` in
24703 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24704 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24705 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24706 cat >conftest.
$ac_ext <<_ACEOF
24709 cat confdefs.h
>>conftest.
$ac_ext
24710 cat >>conftest.
$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24721 rm -f conftest.
$ac_objext conftest
$ac_exeext
24722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24723 (eval $ac_link) 2>conftest.er1
24725 grep -v '^ *+' conftest.er1
>conftest.err
24727 cat conftest.err
>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try
='test -z "$ac_c_werror_flag"
24731 || test ! -s conftest.err'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; } &&
24737 { ac_try
='test -s conftest$ac_exeext'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; }; then
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.
$ac_ext >&5
24750 rm -f conftest.err conftest.
$ac_objext \
24751 conftest
$ac_exeext conftest.
$ac_ext
24752 if test $ac_R_nospace = yes; then
24753 echo "$as_me:$LINENO: result: no" >&5
24754 echo "${ECHO_T}no" >&6
24755 X_LIBS
="$X_LIBS -R$x_libraries"
24757 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24758 cat >conftest.
$ac_ext <<_ACEOF
24761 cat confdefs.h
>>conftest.
$ac_ext
24762 cat >>conftest.
$ac_ext <<_ACEOF
24763 /* end confdefs.h. */
24773 rm -f conftest.
$ac_objext conftest
$ac_exeext
24774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24775 (eval $ac_link) 2>conftest.er1
24777 grep -v '^ *+' conftest.er1
>conftest.err
24779 cat conftest.err
>&5
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); } &&
24782 { ac_try
='test -z "$ac_c_werror_flag"
24783 || test ! -s conftest.err'
24784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24785 (eval $ac_try) 2>&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); }; } &&
24789 { ac_try
='test -s conftest$ac_exeext'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; }; then
24797 echo "$as_me: failed program was:" >&5
24798 sed 's/^/| /' conftest.
$ac_ext >&5
24802 rm -f conftest.err conftest.
$ac_objext \
24803 conftest
$ac_exeext conftest.
$ac_ext
24804 if test $ac_R_space = yes; then
24805 echo "$as_me:$LINENO: result: yes" >&5
24806 echo "${ECHO_T}yes" >&6
24807 X_LIBS
="$X_LIBS -R $x_libraries"
24809 echo "$as_me:$LINENO: result: neither works" >&5
24810 echo "${ECHO_T}neither works" >&6
24813 LIBS
=$ac_xsave_LIBS
24817 # Check for system-dependent libraries X programs must link with.
24818 # Do this before checking for the system-independent R6 libraries
24819 # (-lICE), since we may need -lsocket or whatever for X linking.
24821 if test "$ISC" = yes; then
24822 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24824 # Martyn Johnson says this is needed for Ultrix, if the X
24825 # libraries were built with DECnet support. And Karl Berry says
24826 # the Alpha needs dnet_stub (dnet does not exist).
24827 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24828 cat >conftest.
$ac_ext <<_ACEOF
24831 cat confdefs.h
>>conftest.
$ac_ext
24832 cat >>conftest.
$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24835 /* Override any gcc2 internal prototype to avoid an error. */
24839 /* We use char because int might match the return type of a gcc2
24840 builtin and then its argument prototype would still apply. */
24841 char XOpenDisplay ();
24850 rm -f conftest.
$ac_objext conftest
$ac_exeext
24851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24852 (eval $ac_link) 2>conftest.er1
24854 grep -v '^ *+' conftest.er1
>conftest.err
24856 cat conftest.err
>&5
24857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858 (exit $ac_status); } &&
24859 { ac_try
='test -z "$ac_c_werror_flag"
24860 || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try
='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.
$ac_ext >&5
24877 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24878 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24879 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 ac_check_lib_save_LIBS
=$LIBS
24883 LIBS
="-ldnet $LIBS"
24884 cat >conftest.
$ac_ext <<_ACEOF
24887 cat confdefs.h
>>conftest.
$ac_ext
24888 cat >>conftest.
$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24891 /* Override any gcc2 internal prototype to avoid an error. */
24895 /* We use char because int might match the return type of a gcc2
24896 builtin and then its argument prototype would still apply. */
24906 rm -f conftest.
$ac_objext conftest
$ac_exeext
24907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24908 (eval $ac_link) 2>conftest.er1
24910 grep -v '^ *+' conftest.er1
>conftest.err
24912 cat conftest.err
>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } &&
24915 { ac_try
='test -z "$ac_c_werror_flag"
24916 || test ! -s conftest.err'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; } &&
24922 { ac_try
='test -s conftest$ac_exeext'
24923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24924 (eval $ac_try) 2>&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); }; }; then
24928 ac_cv_lib_dnet_dnet_ntoa
=yes
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.
$ac_ext >&5
24933 ac_cv_lib_dnet_dnet_ntoa
=no
24935 rm -f conftest.err conftest.
$ac_objext \
24936 conftest
$ac_exeext conftest.
$ac_ext
24937 LIBS
=$ac_check_lib_save_LIBS
24939 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24940 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24941 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24942 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24945 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24946 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24947 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24948 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24951 ac_check_lib_save_LIBS
=$LIBS
24952 LIBS
="-ldnet_stub $LIBS"
24953 cat >conftest.
$ac_ext <<_ACEOF
24956 cat confdefs.h
>>conftest.
$ac_ext
24957 cat >>conftest.
$ac_ext <<_ACEOF
24958 /* end confdefs.h. */
24960 /* Override any gcc2 internal prototype to avoid an error. */
24964 /* We use char because int might match the return type of a gcc2
24965 builtin and then its argument prototype would still apply. */
24975 rm -f conftest.
$ac_objext conftest
$ac_exeext
24976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24977 (eval $ac_link) 2>conftest.er1
24979 grep -v '^ *+' conftest.er1
>conftest.err
24981 cat conftest.err
>&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } &&
24984 { ac_try
='test -z "$ac_c_werror_flag"
24985 || test ! -s conftest.err'
24986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24987 (eval $ac_try) 2>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); }; } &&
24991 { ac_try
='test -s conftest$ac_exeext'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; }; then
24997 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24999 echo "$as_me: failed program was:" >&5
25000 sed 's/^/| /' conftest.
$ac_ext >&5
25002 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25004 rm -f conftest.err conftest.
$ac_objext \
25005 conftest
$ac_exeext conftest.
$ac_ext
25006 LIBS
=$ac_check_lib_save_LIBS
25008 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25009 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25010 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25011 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25016 rm -f conftest.err conftest.
$ac_objext \
25017 conftest
$ac_exeext conftest.
$ac_ext
25018 LIBS
="$ac_xsave_LIBS"
25020 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25021 # to get the SysV transport functions.
25022 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25024 # The nsl library prevents programs from opening the X display
25025 # on Irix 5.2, according to T.E. Dickey.
25026 # The functions gethostbyname, getservbyname, and inet_addr are
25027 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25028 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25029 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25030 if test "${ac_cv_func_gethostbyname+set}" = set; then
25031 echo $ECHO_N "(cached) $ECHO_C" >&6
25033 cat >conftest.
$ac_ext <<_ACEOF
25036 cat confdefs.h
>>conftest.
$ac_ext
25037 cat >>conftest.
$ac_ext <<_ACEOF
25038 /* end confdefs.h. */
25039 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25041 #define gethostbyname innocuous_gethostbyname
25043 /* System header to define __stub macros and hopefully few prototypes,
25044 which can conflict with char gethostbyname (); below.
25045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25046 <limits.h> exists even on freestanding compilers. */
25049 # include <limits.h>
25051 # include <assert.h>
25054 #undef gethostbyname
25056 /* Override any gcc2 internal prototype to avoid an error. */
25061 /* We use char because int might match the return type of a gcc2
25062 builtin and then its argument prototype would still apply. */
25063 char gethostbyname ();
25064 /* The GNU C library defines this for functions which it implements
25065 to always fail with ENOSYS. Some functions are actually named
25066 something starting with __ and the normal name is an alias. */
25067 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25070 char (*f) () = gethostbyname;
25079 return f != gethostbyname;
25084 rm -f conftest.
$ac_objext conftest
$ac_exeext
25085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25086 (eval $ac_link) 2>conftest.er1
25088 grep -v '^ *+' conftest.er1
>conftest.err
25090 cat conftest.err
>&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } &&
25093 { ac_try
='test -z "$ac_c_werror_flag"
25094 || test ! -s conftest.err'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; } &&
25100 { ac_try
='test -s conftest$ac_exeext'
25101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25102 (eval $ac_try) 2>&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); }; }; then
25106 ac_cv_func_gethostbyname
=yes
25108 echo "$as_me: failed program was:" >&5
25109 sed 's/^/| /' conftest.
$ac_ext >&5
25111 ac_cv_func_gethostbyname
=no
25113 rm -f conftest.err conftest.
$ac_objext \
25114 conftest
$ac_exeext conftest.
$ac_ext
25116 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25117 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25119 if test $ac_cv_func_gethostbyname = no
; then
25120 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25121 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25122 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25125 ac_check_lib_save_LIBS
=$LIBS
25127 cat >conftest.
$ac_ext <<_ACEOF
25130 cat confdefs.h
>>conftest.
$ac_ext
25131 cat >>conftest.
$ac_ext <<_ACEOF
25132 /* end confdefs.h. */
25134 /* Override any gcc2 internal prototype to avoid an error. */
25138 /* We use char because int might match the return type of a gcc2
25139 builtin and then its argument prototype would still apply. */
25140 char gethostbyname ();
25149 rm -f conftest.
$ac_objext conftest
$ac_exeext
25150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25151 (eval $ac_link) 2>conftest.er1
25153 grep -v '^ *+' conftest.er1
>conftest.err
25155 cat conftest.err
>&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } &&
25158 { ac_try
='test -z "$ac_c_werror_flag"
25159 || test ! -s conftest.err'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; } &&
25165 { ac_try
='test -s conftest$ac_exeext'
25166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167 (eval $ac_try) 2>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); }; }; then
25171 ac_cv_lib_nsl_gethostbyname
=yes
25173 echo "$as_me: failed program was:" >&5
25174 sed 's/^/| /' conftest.
$ac_ext >&5
25176 ac_cv_lib_nsl_gethostbyname
=no
25178 rm -f conftest.err conftest.
$ac_objext \
25179 conftest
$ac_exeext conftest.
$ac_ext
25180 LIBS
=$ac_check_lib_save_LIBS
25182 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25183 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25184 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25185 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25188 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25189 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25190 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25191 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25192 echo $ECHO_N "(cached) $ECHO_C" >&6
25194 ac_check_lib_save_LIBS
=$LIBS
25196 cat >conftest.
$ac_ext <<_ACEOF
25199 cat confdefs.h
>>conftest.
$ac_ext
25200 cat >>conftest.
$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25203 /* Override any gcc2 internal prototype to avoid an error. */
25207 /* We use char because int might match the return type of a gcc2
25208 builtin and then its argument prototype would still apply. */
25209 char gethostbyname ();
25218 rm -f conftest.
$ac_objext conftest
$ac_exeext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25220 (eval $ac_link) 2>conftest.er1
25222 grep -v '^ *+' conftest.er1
>conftest.err
25224 cat conftest.err
>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try
='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest$ac_exeext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_cv_lib_bsd_gethostbyname
=yes
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.
$ac_ext >&5
25245 ac_cv_lib_bsd_gethostbyname
=no
25247 rm -f conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25249 LIBS
=$ac_check_lib_save_LIBS
25251 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25252 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25253 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25260 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25261 # socket/setsockopt and other routines are undefined under SCO ODT
25262 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25263 # on later versions), says Simon Leinen: it contains gethostby*
25264 # variants that don't use the name server (or something). -lsocket
25265 # must be given before -lnsl if both are needed. We assume that
25266 # if connect needs -lnsl, so does gethostbyname.
25267 echo "$as_me:$LINENO: checking for connect" >&5
25268 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25269 if test "${ac_cv_func_connect+set}" = set; then
25270 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 cat >conftest.
$ac_ext <<_ACEOF
25275 cat confdefs.h
>>conftest.
$ac_ext
25276 cat >>conftest.
$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25280 #define connect innocuous_connect
25282 /* System header to define __stub macros and hopefully few prototypes,
25283 which can conflict with char connect (); below.
25284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25285 <limits.h> exists even on freestanding compilers. */
25288 # include <limits.h>
25290 # include <assert.h>
25295 /* Override any gcc2 internal prototype to avoid an error. */
25300 /* We use char because int might match the return type of a gcc2
25301 builtin and then its argument prototype would still apply. */
25303 /* The GNU C library defines this for functions which it implements
25304 to always fail with ENOSYS. Some functions are actually named
25305 something starting with __ and the normal name is an alias. */
25306 #if defined (__stub_connect) || defined (__stub___connect)
25309 char (*f) () = connect;
25318 return f != connect;
25323 rm -f conftest.
$ac_objext conftest
$ac_exeext
25324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25325 (eval $ac_link) 2>conftest.er1
25327 grep -v '^ *+' conftest.er1
>conftest.err
25329 cat conftest.err
>&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } &&
25332 { ac_try
='test -z "$ac_c_werror_flag"
25333 || test ! -s conftest.err'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; } &&
25339 { ac_try
='test -s conftest$ac_exeext'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; }; then
25345 ac_cv_func_connect
=yes
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.
$ac_ext >&5
25350 ac_cv_func_connect
=no
25352 rm -f conftest.err conftest.
$ac_objext \
25353 conftest
$ac_exeext conftest.
$ac_ext
25355 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25356 echo "${ECHO_T}$ac_cv_func_connect" >&6
25358 if test $ac_cv_func_connect = no
; then
25359 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25360 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25361 if test "${ac_cv_lib_socket_connect+set}" = set; then
25362 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 ac_check_lib_save_LIBS
=$LIBS
25365 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25366 cat >conftest.
$ac_ext <<_ACEOF
25369 cat confdefs.h
>>conftest.
$ac_ext
25370 cat >>conftest.
$ac_ext <<_ACEOF
25371 /* end confdefs.h. */
25373 /* Override any gcc2 internal prototype to avoid an error. */
25377 /* We use char because int might match the return type of a gcc2
25378 builtin and then its argument prototype would still apply. */
25388 rm -f conftest.
$ac_objext conftest
$ac_exeext
25389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25390 (eval $ac_link) 2>conftest.er1
25392 grep -v '^ *+' conftest.er1
>conftest.err
25394 cat conftest.err
>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); } &&
25397 { ac_try
='test -z "$ac_c_werror_flag"
25398 || test ! -s conftest.err'
25399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); }; } &&
25404 { ac_try
='test -s conftest$ac_exeext'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; }; then
25410 ac_cv_lib_socket_connect
=yes
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.
$ac_ext >&5
25415 ac_cv_lib_socket_connect
=no
25417 rm -f conftest.err conftest.
$ac_objext \
25418 conftest
$ac_exeext conftest.
$ac_ext
25419 LIBS
=$ac_check_lib_save_LIBS
25421 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25422 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25423 if test $ac_cv_lib_socket_connect = yes; then
25424 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25429 # Guillermo Gomez says -lposix is necessary on A/UX.
25430 echo "$as_me:$LINENO: checking for remove" >&5
25431 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25432 if test "${ac_cv_func_remove+set}" = set; then
25433 echo $ECHO_N "(cached) $ECHO_C" >&6
25435 cat >conftest.
$ac_ext <<_ACEOF
25438 cat confdefs.h
>>conftest.
$ac_ext
25439 cat >>conftest.
$ac_ext <<_ACEOF
25440 /* end confdefs.h. */
25441 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25443 #define remove innocuous_remove
25445 /* System header to define __stub macros and hopefully few prototypes,
25446 which can conflict with char remove (); below.
25447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25448 <limits.h> exists even on freestanding compilers. */
25451 # include <limits.h>
25453 # include <assert.h>
25458 /* Override any gcc2 internal prototype to avoid an error. */
25463 /* We use char because int might match the return type of a gcc2
25464 builtin and then its argument prototype would still apply. */
25466 /* The GNU C library defines this for functions which it implements
25467 to always fail with ENOSYS. Some functions are actually named
25468 something starting with __ and the normal name is an alias. */
25469 #if defined (__stub_remove) || defined (__stub___remove)
25472 char (*f) () = remove;
25481 return f != remove;
25486 rm -f conftest.
$ac_objext conftest
$ac_exeext
25487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25488 (eval $ac_link) 2>conftest.er1
25490 grep -v '^ *+' conftest.er1
>conftest.err
25492 cat conftest.err
>&5
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); } &&
25495 { ac_try
='test -z "$ac_c_werror_flag"
25496 || test ! -s conftest.err'
25497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25498 (eval $ac_try) 2>&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); }; } &&
25502 { ac_try
='test -s conftest$ac_exeext'
25503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25504 (eval $ac_try) 2>&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); }; }; then
25508 ac_cv_func_remove
=yes
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.
$ac_ext >&5
25513 ac_cv_func_remove
=no
25515 rm -f conftest.err conftest.
$ac_objext \
25516 conftest
$ac_exeext conftest.
$ac_ext
25518 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25519 echo "${ECHO_T}$ac_cv_func_remove" >&6
25521 if test $ac_cv_func_remove = no
; then
25522 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25523 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25524 if test "${ac_cv_lib_posix_remove+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 ac_check_lib_save_LIBS
=$LIBS
25528 LIBS
="-lposix $LIBS"
25529 cat >conftest.
$ac_ext <<_ACEOF
25532 cat confdefs.h
>>conftest.
$ac_ext
25533 cat >>conftest.
$ac_ext <<_ACEOF
25534 /* end confdefs.h. */
25536 /* Override any gcc2 internal prototype to avoid an error. */
25540 /* We use char because int might match the return type of a gcc2
25541 builtin and then its argument prototype would still apply. */
25551 rm -f conftest.
$ac_objext conftest
$ac_exeext
25552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25553 (eval $ac_link) 2>conftest.er1
25555 grep -v '^ *+' conftest.er1
>conftest.err
25557 cat conftest.err
>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } &&
25560 { ac_try
='test -z "$ac_c_werror_flag"
25561 || test ! -s conftest.err'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; } &&
25567 { ac_try
='test -s conftest$ac_exeext'
25568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569 (eval $ac_try) 2>&5
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); }; }; then
25573 ac_cv_lib_posix_remove
=yes
25575 echo "$as_me: failed program was:" >&5
25576 sed 's/^/| /' conftest.
$ac_ext >&5
25578 ac_cv_lib_posix_remove
=no
25580 rm -f conftest.err conftest.
$ac_objext \
25581 conftest
$ac_exeext conftest.
$ac_ext
25582 LIBS
=$ac_check_lib_save_LIBS
25584 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25585 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25586 if test $ac_cv_lib_posix_remove = yes; then
25587 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25592 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25593 echo "$as_me:$LINENO: checking for shmat" >&5
25594 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25595 if test "${ac_cv_func_shmat+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 cat >conftest.
$ac_ext <<_ACEOF
25601 cat confdefs.h
>>conftest.
$ac_ext
25602 cat >>conftest.
$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25606 #define shmat innocuous_shmat
25608 /* System header to define __stub macros and hopefully few prototypes,
25609 which can conflict with char shmat (); below.
25610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25611 <limits.h> exists even on freestanding compilers. */
25614 # include <limits.h>
25616 # include <assert.h>
25621 /* Override any gcc2 internal prototype to avoid an error. */
25626 /* We use char because int might match the return type of a gcc2
25627 builtin and then its argument prototype would still apply. */
25629 /* The GNU C library defines this for functions which it implements
25630 to always fail with ENOSYS. Some functions are actually named
25631 something starting with __ and the normal name is an alias. */
25632 #if defined (__stub_shmat) || defined (__stub___shmat)
25635 char (*f) () = shmat;
25649 rm -f conftest.
$ac_objext conftest
$ac_exeext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25651 (eval $ac_link) 2>conftest.er1
25653 grep -v '^ *+' conftest.er1
>conftest.err
25655 cat conftest.err
>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); } &&
25658 { ac_try
='test -z "$ac_c_werror_flag"
25659 || test ! -s conftest.err'
25660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661 (eval $ac_try) 2>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; } &&
25665 { ac_try
='test -s conftest$ac_exeext'
25666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25667 (eval $ac_try) 2>&5
25669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670 (exit $ac_status); }; }; then
25671 ac_cv_func_shmat
=yes
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.
$ac_ext >&5
25676 ac_cv_func_shmat
=no
25678 rm -f conftest.err conftest.
$ac_objext \
25679 conftest
$ac_exeext conftest.
$ac_ext
25681 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25682 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25684 if test $ac_cv_func_shmat = no
; then
25685 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25686 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25687 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25688 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 ac_check_lib_save_LIBS
=$LIBS
25692 cat >conftest.
$ac_ext <<_ACEOF
25695 cat confdefs.h
>>conftest.
$ac_ext
25696 cat >>conftest.
$ac_ext <<_ACEOF
25697 /* end confdefs.h. */
25699 /* Override any gcc2 internal prototype to avoid an error. */
25703 /* We use char because int might match the return type of a gcc2
25704 builtin and then its argument prototype would still apply. */
25714 rm -f conftest.
$ac_objext conftest
$ac_exeext
25715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25716 (eval $ac_link) 2>conftest.er1
25718 grep -v '^ *+' conftest.er1
>conftest.err
25720 cat conftest.err
>&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } &&
25723 { ac_try
='test -z "$ac_c_werror_flag"
25724 || test ! -s conftest.err'
25725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25726 (eval $ac_try) 2>&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); }; } &&
25730 { ac_try
='test -s conftest$ac_exeext'
25731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25732 (eval $ac_try) 2>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); }; }; then
25736 ac_cv_lib_ipc_shmat
=yes
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.
$ac_ext >&5
25741 ac_cv_lib_ipc_shmat
=no
25743 rm -f conftest.err conftest.
$ac_objext \
25744 conftest
$ac_exeext conftest.
$ac_ext
25745 LIBS
=$ac_check_lib_save_LIBS
25747 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25748 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25749 if test $ac_cv_lib_ipc_shmat = yes; then
25750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25756 # Check for libraries that X11R6 Xt/Xaw programs need.
25757 ac_save_LDFLAGS
=$LDFLAGS
25758 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25759 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25760 # check for ICE first), but we must link in the order -lSM -lICE or
25761 # we get undefined symbols. So assume we have SM if we have ICE.
25762 # These have to be linked with before -lX11, unlike the other
25763 # libraries we check for below, so use a different variable.
25764 # John Interrante, Karl Berry
25765 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25766 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25767 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 ac_check_lib_save_LIBS
=$LIBS
25771 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25772 cat >conftest.
$ac_ext <<_ACEOF
25775 cat confdefs.h
>>conftest.
$ac_ext
25776 cat >>conftest.
$ac_ext <<_ACEOF
25777 /* end confdefs.h. */
25779 /* Override any gcc2 internal prototype to avoid an error. */
25783 /* We use char because int might match the return type of a gcc2
25784 builtin and then its argument prototype would still apply. */
25785 char IceConnectionNumber ();
25789 IceConnectionNumber ();
25794 rm -f conftest.
$ac_objext conftest
$ac_exeext
25795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25796 (eval $ac_link) 2>conftest.er1
25798 grep -v '^ *+' conftest.er1
>conftest.err
25800 cat conftest.err
>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } &&
25803 { ac_try
='test -z "$ac_c_werror_flag"
25804 || test ! -s conftest.err'
25805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25806 (eval $ac_try) 2>&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); }; } &&
25810 { ac_try
='test -s conftest$ac_exeext'
25811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25812 (eval $ac_try) 2>&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); }; }; then
25816 ac_cv_lib_ICE_IceConnectionNumber
=yes
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.
$ac_ext >&5
25821 ac_cv_lib_ICE_IceConnectionNumber
=no
25823 rm -f conftest.err conftest.
$ac_objext \
25824 conftest
$ac_exeext conftest.
$ac_ext
25825 LIBS
=$ac_check_lib_save_LIBS
25827 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25828 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25829 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25830 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25833 LDFLAGS
=$ac_save_LDFLAGS
25838 if test "$no_x" = "yes"; then
25839 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25840 echo "$as_me: error: X11 not found" >&2;}
25841 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25844 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25845 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25846 AFMINSTALL
=afminstall
25847 COMPILED_X_PROGRAM
=0
25851 if test "$wxUSE_X11" = 1; then
25852 if test "$wxUSE_NANOX" = "yes"; then
25853 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25854 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25855 if test "x$MICROWIN" = x
; then
25856 echo "$as_me:$LINENO: result: not found" >&5
25857 echo "${ECHO_T}not found" >&6
25858 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25859 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25860 { (exit 1); exit 1; }; }
25862 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25863 echo "${ECHO_T}$MICROWIN" >&6
25864 cat >>confdefs.h
<<\_ACEOF
25865 #define wxUSE_NANOX 1
25871 if test "$wxUSE_UNICODE" = "yes"; then
25875 if test -z "$PKG_CONFIG"; then
25876 # Extract the first word of "pkg-config", so it can be a program name with args.
25877 set dummy pkg
-config; ac_word
=$2
25878 echo "$as_me:$LINENO: checking for $ac_word" >&5
25879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25880 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 case $PKG_CONFIG in
25885 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25889 for as_dir
in $PATH
25892 test -z "$as_dir" && as_dir
=.
25893 for ac_exec_ext
in '' $ac_executable_extensions; do
25894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25895 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25902 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25906 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25908 if test -n "$PKG_CONFIG"; then
25909 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25910 echo "${ECHO_T}$PKG_CONFIG" >&6
25912 echo "$as_me:$LINENO: result: no" >&5
25913 echo "${ECHO_T}no" >&6
25918 if test "$PKG_CONFIG" = "no" ; then
25919 echo "*** The pkg-config script could not be found. Make sure it is"
25920 echo "*** in your path, or set the PKG_CONFIG environment variable"
25921 echo "*** to the full path to pkg-config."
25922 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25924 PKG_CONFIG_MIN_VERSION
=0.9.0
25925 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25926 echo "$as_me:$LINENO: checking for pangox" >&5
25927 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25929 if $PKG_CONFIG --exists "pangox" ; then
25930 echo "$as_me:$LINENO: result: yes" >&5
25931 echo "${ECHO_T}yes" >&6
25934 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25935 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25936 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25937 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25938 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25940 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25941 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25942 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25943 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25944 echo "${ECHO_T}$PANGOX_LIBS" >&6
25948 ## If we have a custom action on failure, don't print errors, but
25949 ## do set a variable so people can do so.
25950 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25957 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25958 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25962 if test $succeeded = yes; then
25964 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25965 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25969 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25970 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25971 { (exit 1); exit 1; }; }
25979 if test -z "$PKG_CONFIG"; then
25980 # Extract the first word of "pkg-config", so it can be a program name with args.
25981 set dummy pkg
-config; ac_word
=$2
25982 echo "$as_me:$LINENO: checking for $ac_word" >&5
25983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25984 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 case $PKG_CONFIG in
25989 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25993 for as_dir
in $PATH
25996 test -z "$as_dir" && as_dir
=.
25997 for ac_exec_ext
in '' $ac_executable_extensions; do
25998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25999 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26006 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26010 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26012 if test -n "$PKG_CONFIG"; then
26013 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26014 echo "${ECHO_T}$PKG_CONFIG" >&6
26016 echo "$as_me:$LINENO: result: no" >&5
26017 echo "${ECHO_T}no" >&6
26022 if test "$PKG_CONFIG" = "no" ; then
26023 echo "*** The pkg-config script could not be found. Make sure it is"
26024 echo "*** in your path, or set the PKG_CONFIG environment variable"
26025 echo "*** to the full path to pkg-config."
26026 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26028 PKG_CONFIG_MIN_VERSION
=0.9.0
26029 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26030 echo "$as_me:$LINENO: checking for pangoft2" >&5
26031 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26033 if $PKG_CONFIG --exists "pangoft2" ; then
26034 echo "$as_me:$LINENO: result: yes" >&5
26035 echo "${ECHO_T}yes" >&6
26038 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26039 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26040 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
26041 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26042 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26044 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26045 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26046 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
26047 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26048 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26052 ## If we have a custom action on failure, don't print errors, but
26053 ## do set a variable so people can do so.
26054 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26061 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26062 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26066 if test $succeeded = yes; then
26068 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
26069 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26073 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26074 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26075 wxUSE_PRINTING_ARCHITECTURE
="no"
26083 if test -z "$PKG_CONFIG"; then
26084 # Extract the first word of "pkg-config", so it can be a program name with args.
26085 set dummy pkg
-config; ac_word
=$2
26086 echo "$as_me:$LINENO: checking for $ac_word" >&5
26087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26088 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26089 echo $ECHO_N "(cached) $ECHO_C" >&6
26091 case $PKG_CONFIG in
26093 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26097 for as_dir
in $PATH
26100 test -z "$as_dir" && as_dir
=.
26101 for ac_exec_ext
in '' $ac_executable_extensions; do
26102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26103 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26110 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26114 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26116 if test -n "$PKG_CONFIG"; then
26117 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26118 echo "${ECHO_T}$PKG_CONFIG" >&6
26120 echo "$as_me:$LINENO: result: no" >&5
26121 echo "${ECHO_T}no" >&6
26126 if test "$PKG_CONFIG" = "no" ; then
26127 echo "*** The pkg-config script could not be found. Make sure it is"
26128 echo "*** in your path, or set the PKG_CONFIG environment variable"
26129 echo "*** to the full path to pkg-config."
26130 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26132 PKG_CONFIG_MIN_VERSION
=0.9.0
26133 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26134 echo "$as_me:$LINENO: checking for pangoxft" >&5
26135 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26137 if $PKG_CONFIG --exists "pangoxft" ; then
26138 echo "$as_me:$LINENO: result: yes" >&5
26139 echo "${ECHO_T}yes" >&6
26142 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26143 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26144 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
26145 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26146 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26148 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26149 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26150 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
26151 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26152 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26156 ## If we have a custom action on failure, don't print errors, but
26157 ## do set a variable so people can do so.
26158 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26165 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26166 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26170 if test $succeeded = yes; then
26172 cat >>confdefs.h
<<\_ACEOF
26173 #define HAVE_PANGO_XFT 1
26176 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26177 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26181 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26182 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26187 save_CFLAGS
="$CFLAGS"
26189 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26190 LIBS
="$LIBS $PANGOX_LIBS"
26192 for ac_func
in pango_font_family_is_monospace
26194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26195 echo "$as_me:$LINENO: checking for $ac_func" >&5
26196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26197 if eval "test \"\${$as_ac_var+set}\" = set"; then
26198 echo $ECHO_N "(cached) $ECHO_C" >&6
26200 cat >conftest.
$ac_ext <<_ACEOF
26203 cat confdefs.h
>>conftest.
$ac_ext
26204 cat >>conftest.
$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26208 #define $ac_func innocuous_$ac_func
26210 /* System header to define __stub macros and hopefully few prototypes,
26211 which can conflict with char $ac_func (); below.
26212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26213 <limits.h> exists even on freestanding compilers. */
26216 # include <limits.h>
26218 # include <assert.h>
26223 /* Override any gcc2 internal prototype to avoid an error. */
26228 /* We use char because int might match the return type of a gcc2
26229 builtin and then its argument prototype would still apply. */
26231 /* The GNU C library defines this for functions which it implements
26232 to always fail with ENOSYS. Some functions are actually named
26233 something starting with __ and the normal name is an alias. */
26234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26237 char (*f) () = $ac_func;
26246 return f != $ac_func;
26251 rm -f conftest.
$ac_objext conftest
$ac_exeext
26252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26253 (eval $ac_link) 2>conftest.er1
26255 grep -v '^ *+' conftest.er1
>conftest.err
26257 cat conftest.err
>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); } &&
26260 { ac_try
='test -z "$ac_c_werror_flag"
26261 || test ! -s conftest.err'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; } &&
26267 { ac_try
='test -s conftest$ac_exeext'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 eval "$as_ac_var=yes"
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.
$ac_ext >&5
26278 eval "$as_ac_var=no"
26280 rm -f conftest.err conftest.
$ac_objext \
26281 conftest
$ac_exeext conftest.
$ac_ext
26283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26285 if test `eval echo '${'$as_ac_var'}'` = yes; then
26286 cat >>confdefs.h
<<_ACEOF
26287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26293 CFLAGS
="$save_CFLAGS"
26297 wxUSE_UNIVERSAL
="yes"
26299 if test "$wxUSE_NANOX" = "yes"; then
26300 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26301 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"
26302 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26304 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26311 if test "$wxUSE_MOTIF" = 1; then
26312 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26313 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26316 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26318 if test -f "$ac_dir/Xm/Xm.h"; then
26319 ac_find_includes
=$ac_dir
26324 if test "$ac_find_includes" != "" ; then
26325 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26326 echo "${ECHO_T}found in $ac_find_includes" >&6
26328 if test "x$ac_find_includes" = "x/usr/include"; then
26329 ac_path_to_include
=""
26331 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26333 if test $result = 0; then
26334 ac_path_to_include
=""
26336 ac_path_to_include
=" -I$ac_find_includes"
26340 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26342 cat >conftest.
$ac_ext <<_ACEOF
26345 cat confdefs.h
>>conftest.
$ac_ext
26346 cat >>conftest.
$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26356 version = xmUseVersion;
26362 rm -f conftest.
$ac_objext
26363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26364 (eval $ac_compile) 2>conftest.er1
26366 grep -v '^ *+' conftest.er1
>conftest.err
26368 cat conftest.err
>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } &&
26371 { ac_try
='test -z "$ac_c_werror_flag"
26372 || test ! -s conftest.err'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; } &&
26378 { ac_try
='test -s conftest.$ac_objext'
26379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26380 (eval $ac_try) 2>&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); }; }; then
26385 echo "$as_me:$LINENO: result: found in default search path" >&5
26386 echo "${ECHO_T}found in default search path" >&6
26387 COMPILED_X_PROGRAM
=1
26390 echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.
$ac_ext >&5
26394 echo "$as_me:$LINENO: result: no" >&5
26395 echo "${ECHO_T}no" >&6
26396 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26397 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26398 { (exit 1); exit 1; }; }
26402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26405 if test "$COMPILED_X_PROGRAM" = 0; then
26406 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26407 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26410 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26412 for ac_extension
in a so sl dylib
; do
26413 if test -f "$ac_dir/libXm.$ac_extension"; then
26414 ac_find_libraries
=$ac_dir
26420 if test "$ac_find_libraries" != "" ; then
26421 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26422 echo "${ECHO_T}found at $ac_find_libraries" >&6
26425 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26427 if test $result = 0; then
26430 ac_path_to_link
=" -L$ac_find_libraries"
26433 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26435 save_CFLAGS
=$CFLAGS
26436 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26438 cat >conftest.
$ac_ext <<_ACEOF
26441 cat confdefs.h
>>conftest.
$ac_ext
26442 cat >>conftest.
$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26452 version = xmUseVersion;
26458 rm -f conftest.
$ac_objext
26459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26460 (eval $ac_compile) 2>conftest.er1
26462 grep -v '^ *+' conftest.er1
>conftest.err
26464 cat conftest.err
>&5
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); } &&
26467 { ac_try
='test -z "$ac_c_werror_flag"
26468 || test ! -s conftest.err'
26469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26470 (eval $ac_try) 2>&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); }; } &&
26474 { ac_try
='test -s conftest.$ac_objext'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; }; then
26481 echo "$as_me:$LINENO: result: found in default search path" >&5
26482 echo "${ECHO_T}found in default search path" >&6
26483 COMPILED_X_PROGRAM
=1
26486 echo "$as_me: failed program was:" >&5
26487 sed 's/^/| /' conftest.
$ac_ext >&5
26490 echo "$as_me:$LINENO: result: no" >&5
26491 echo "${ECHO_T}no" >&6
26492 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26493 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26494 { (exit 1); exit 1; }; }
26498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26500 CFLAGS
=$save_CFLAGS
26504 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26505 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26509 for libp
in "" " -lXp"; do
26510 if test "$libs_found" = "0"; then
26511 for libsm_ice
in "" " -lSM -lICE"; do
26512 if test "$libs_found" = "0"; then
26514 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26515 save_CFLAGS
=$CFLAGS
26516 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26518 cat >conftest.
$ac_ext <<_ACEOF
26521 cat confdefs.h
>>conftest.
$ac_ext
26522 cat >>conftest.
$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26526 #include <Xm/List.h>
26532 XmString string = NULL;
26535 XmListAddItem(w, string, position);
26541 rm -f conftest.
$ac_objext conftest
$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_c_werror_flag"
26551 || test ! -s conftest.err'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; } &&
26557 { ac_try
='test -s conftest$ac_exeext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26565 libsm_ice_link
="$libsm_ice"
26566 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26567 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26571 echo "$as_me: failed program was:" >&5
26572 sed 's/^/| /' conftest.
$ac_ext >&5
26577 rm -f conftest.err conftest.
$ac_objext \
26578 conftest
$ac_exeext conftest.
$ac_ext
26581 CFLAGS
=$save_CFLAGS
26587 if test "$libs_found" = "0"; then
26588 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26589 echo "${ECHO_T}can't find the right libraries" >&6
26590 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26591 echo "$as_me: error: can't link a simple motif program" >&2;}
26592 { (exit 1); exit 1; }; }
26595 save_CFLAGS
=$CFLAGS
26596 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26597 echo "$as_me:$LINENO: checking for Motif 2" >&5
26598 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26599 cat >conftest.
$ac_ext <<_ACEOF
26602 cat confdefs.h
>>conftest.
$ac_ext
26603 cat >>conftest.
$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26612 #if XmVersion < 2000
26613 #error "Not Motif 2"
26620 rm -f conftest.
$ac_objext
26621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26622 (eval $ac_compile) 2>conftest.er1
26624 grep -v '^ *+' conftest.er1
>conftest.err
26626 cat conftest.err
>&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } &&
26629 { ac_try
='test -z "$ac_c_werror_flag"
26630 || test ! -s conftest.err'
26631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26632 (eval $ac_try) 2>&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); }; } &&
26636 { ac_try
='test -s conftest.$ac_objext'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; }; then
26643 cat >>confdefs.h
<<\_ACEOF
26644 #define __WXMOTIF20__ 1
26647 echo "$as_me:$LINENO: result: found" >&5
26648 echo "${ECHO_T}found" >&6
26651 echo "$as_me: failed program was:" >&5
26652 sed 's/^/| /' conftest.
$ac_ext >&5
26655 cat >>confdefs.h
<<\_ACEOF
26656 #define __WXMOTIF20__ 0
26659 echo "$as_me:$LINENO: result: not found" >&5
26660 echo "${ECHO_T}not found" >&6
26663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26664 CFLAGS
=$save_CFLAGS
26666 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26671 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26672 if test "$wxUSE_LIBXPM" = "sys"; then
26673 echo "$as_me:$LINENO: checking for Xpm library" >&5
26674 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26677 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26679 for ac_extension
in a so sl dylib
; do
26680 if test -f "$ac_dir/libXpm.$ac_extension"; then
26681 ac_find_libraries
=$ac_dir
26687 if test "$ac_find_libraries" != "" ; then
26689 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26691 if test $result = 0; then
26694 ac_path_to_link
=" -L$ac_find_libraries"
26697 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26698 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26699 echo "${ECHO_T}found at $ac_find_libraries" >&6
26701 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26702 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26703 if test "${wx_cv_x11_xpm_h+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 save_CFLAGS
=$CFLAGS
26708 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26710 cat >conftest.
$ac_ext <<_ACEOF
26713 cat confdefs.h
>>conftest.
$ac_ext
26714 cat >>conftest.
$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26717 #include <X11/xpm.h>
26724 version = XpmLibraryVersion();
26730 rm -f conftest.
$ac_objext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26732 (eval $ac_compile) 2>conftest.er1
26734 grep -v '^ *+' conftest.er1
>conftest.err
26736 cat conftest.err
>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } &&
26739 { ac_try
='test -z "$ac_c_werror_flag"
26740 || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try
='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 wx_cv_x11_xpm_h
=yes
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.
$ac_ext >&5
26760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26762 CFLAGS
=$save_CFLAGS
26766 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26767 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26769 if test $wx_cv_x11_xpm_h = "yes"; then
26770 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26771 cat >>confdefs.h
<<\_ACEOF
26772 #define wxHAVE_LIB_XPM 1
26776 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26777 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26783 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26784 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26785 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 ac_check_lib_save_LIBS
=$LIBS
26789 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26790 cat >conftest.
$ac_ext <<_ACEOF
26793 cat confdefs.h
>>conftest.
$ac_ext
26794 cat >>conftest.
$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26797 /* Override any gcc2 internal prototype to avoid an error. */
26801 /* We use char because int might match the return type of a gcc2
26802 builtin and then its argument prototype would still apply. */
26803 char XShapeQueryExtension ();
26807 XShapeQueryExtension ();
26812 rm -f conftest.
$ac_objext conftest
$ac_exeext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>conftest.er1
26816 grep -v '^ *+' conftest.er1
>conftest.err
26818 cat conftest.err
>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try
='test -z "$ac_c_werror_flag"
26822 || test ! -s conftest.err'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; } &&
26828 { ac_try
='test -s conftest$ac_exeext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.
$ac_ext >&5
26839 ac_cv_lib_Xext_XShapeQueryExtension
=no
26841 rm -f conftest.err conftest.
$ac_objext \
26842 conftest
$ac_exeext conftest.
$ac_ext
26843 LIBS
=$ac_check_lib_save_LIBS
26845 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26846 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26847 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26849 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26855 if test "$wxHAVE_XEXT_LIB" = 1; then
26856 save_CFLAGS
="$CFLAGS"
26857 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26859 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26860 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26861 cat >conftest.
$ac_ext <<_ACEOF
26864 cat confdefs.h
>>conftest.
$ac_ext
26865 cat >>conftest.
$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26868 #include <X11/Xlib.h>
26869 #include <X11/extensions/shape.h>
26875 int dummy1, dummy2;
26876 XShapeQueryExtension((Display*)NULL,
26877 (int*)NULL, (int*)NULL);
26883 rm -f conftest.
$ac_objext
26884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26885 (eval $ac_compile) 2>conftest.er1
26887 grep -v '^ *+' conftest.er1
>conftest.err
26889 cat conftest.err
>&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } &&
26892 { ac_try
='test -z "$ac_c_werror_flag"
26893 || test ! -s conftest.err'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; } &&
26899 { ac_try
='test -s conftest.$ac_objext'
26900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26901 (eval $ac_try) 2>&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); }; }; then
26906 cat >>confdefs.h
<<\_ACEOF
26907 #define HAVE_XSHAPE 1
26910 echo "$as_me:$LINENO: result: found" >&5
26911 echo "${ECHO_T}found" >&6
26914 echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.
$ac_ext >&5
26918 echo "$as_me:$LINENO: result: not found" >&5
26919 echo "${ECHO_T}not found" >&6
26922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26923 CFLAGS
="$save_CFLAGS"
26928 if test "$wxUSE_MAC" = 1; then
26929 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26930 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26931 if test "$GCC" = yes; then
26932 echo "$as_me:$LINENO: result: gcc" >&5
26933 echo "${ECHO_T}gcc" >&6
26934 CPPFLAGS_PASCAL
="-fpascal-strings"
26935 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26936 echo "$as_me:$LINENO: result: xlc" >&5
26937 echo "${ECHO_T}xlc" >&6
26938 CPPFLAGS_PASCAL
="-qmacpstr"
26940 echo "$as_me:$LINENO: result: none" >&5
26941 echo "${ECHO_T}none" >&6
26944 if test "x$wxUSE_UNIX" = "xyes"; then
26945 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26947 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26952 WXBASEPORT
="_carbon"
26955 if test "$wxUSE_COCOA" = 1; then
26960 if test "$wxUSE_PM" = 1; then
26963 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26964 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26965 if test "${wx_cv_spbcdata+set}" = set; then
26966 echo $ECHO_N "(cached) $ECHO_C" >&6
26969 cat >conftest.
$ac_ext <<_ACEOF
26972 cat confdefs.h
>>conftest.
$ac_ext
26973 cat >>conftest.
$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26989 rm -f conftest.
$ac_objext
26990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26991 (eval $ac_compile) 2>conftest.er1
26993 grep -v '^ *+' conftest.er1
>conftest.err
26995 cat conftest.err
>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try
='test -z "$ac_c_werror_flag"
26999 || test ! -s conftest.err'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; } &&
27005 { ac_try
='test -s conftest.$ac_objext'
27006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27007 (eval $ac_try) 2>&5
27009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27010 (exit $ac_status); }; }; then
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.
$ac_ext >&5
27019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27023 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27024 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27026 if test $wx_cv_spbcdata = "yes"; then
27027 cat >>confdefs.h
<<\_ACEOF
27028 #define HAVE_SPBCDATA 1
27034 if test "$TOOLKIT" = "PM" ; then
27037 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27040 if test "$wxUSE_UNIVERSAL" = "yes"; then
27041 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27045 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27046 DISTDIR
="wx\$(TOOLKIT)"
27052 if test "$USE_WIN32" = 1 ; then
27056 GUIDIST
="BASE_DIST"
27066 if test "$TOOLKIT" != "MSW" ; then
27068 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27070 if test "${ac_cv_header_sql_h+set}" = set; then
27071 echo "$as_me:$LINENO: checking for sql.h" >&5
27072 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27073 if test "${ac_cv_header_sql_h+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27077 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27079 # Is the header compilable?
27080 echo "$as_me:$LINENO: checking sql.h usability" >&5
27081 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27082 cat >conftest.
$ac_ext <<_ACEOF
27085 cat confdefs.h
>>conftest.
$ac_ext
27086 cat >>conftest.
$ac_ext <<_ACEOF
27087 /* end confdefs.h. */
27088 $ac_includes_default
27091 rm -f conftest.
$ac_objext
27092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27093 (eval $ac_compile) 2>conftest.er1
27095 grep -v '^ *+' conftest.er1
>conftest.err
27097 cat conftest.err
>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } &&
27100 { ac_try
='test -z "$ac_c_werror_flag"
27101 || test ! -s conftest.err'
27102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27103 (eval $ac_try) 2>&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); }; } &&
27107 { ac_try
='test -s conftest.$ac_objext'
27108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27109 (eval $ac_try) 2>&5
27111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 (exit $ac_status); }; }; then
27113 ac_header_compiler
=yes
27115 echo "$as_me: failed program was:" >&5
27116 sed 's/^/| /' conftest.
$ac_ext >&5
27118 ac_header_compiler
=no
27120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27122 echo "${ECHO_T}$ac_header_compiler" >&6
27124 # Is the header present?
27125 echo "$as_me:$LINENO: checking sql.h presence" >&5
27126 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27127 cat >conftest.
$ac_ext <<_ACEOF
27130 cat confdefs.h
>>conftest.
$ac_ext
27131 cat >>conftest.
$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27138 grep -v '^ *+' conftest.er1
>conftest.err
27140 cat conftest.err
>&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); } >/dev
/null
; then
27143 if test -s conftest.err
; then
27144 ac_cpp_err
=$ac_c_preproc_warn_flag
27145 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27152 if test -z "$ac_cpp_err"; then
27153 ac_header_preproc
=yes
27155 echo "$as_me: failed program was:" >&5
27156 sed 's/^/| /' conftest.
$ac_ext >&5
27158 ac_header_preproc
=no
27160 rm -f conftest.err conftest.
$ac_ext
27161 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27162 echo "${ECHO_T}$ac_header_preproc" >&6
27164 # So? What about this header?
27165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27167 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27168 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27169 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27170 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27171 ac_header_preproc
=yes
27174 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27175 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27176 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27177 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27178 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27179 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27180 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27181 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27182 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27183 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27184 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27185 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27188 ## ----------------------------------------- ##
27189 ## Report this to wx-dev@lists.wxwidgets.org ##
27190 ## ----------------------------------------- ##
27193 sed "s/^/$as_me: WARNING: /" >&2
27196 echo "$as_me:$LINENO: checking for sql.h" >&5
27197 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27198 if test "${ac_cv_header_sql_h+set}" = set; then
27199 echo $ECHO_N "(cached) $ECHO_C" >&6
27201 ac_cv_header_sql_h
=$ac_header_preproc
27203 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27204 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27207 if test $ac_cv_header_sql_h = yes; then
27212 if test "x$found_sql_h" = "x1" ; then
27213 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27214 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27215 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 ac_check_lib_save_LIBS
=$LIBS
27219 LIBS
="-liodbc $LIBS"
27220 cat >conftest.
$ac_ext <<_ACEOF
27223 cat confdefs.h
>>conftest.
$ac_ext
27224 cat >>conftest.
$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27227 /* Override any gcc2 internal prototype to avoid an error. */
27231 /* We use char because int might match the return type of a gcc2
27232 builtin and then its argument prototype would still apply. */
27233 char SQLAllocEnv ();
27242 rm -f conftest.
$ac_objext conftest
$ac_exeext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27244 (eval $ac_link) 2>conftest.er1
27246 grep -v '^ *+' conftest.er1
>conftest.err
27248 cat conftest.err
>&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } &&
27251 { ac_try
='test -z "$ac_c_werror_flag"
27252 || test ! -s conftest.err'
27253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27254 (eval $ac_try) 2>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); }; } &&
27258 { ac_try
='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.
$ac_ext >&5
27269 ac_cv_lib_iodbc_SQLAllocEnv
=no
27271 rm -f conftest.err conftest.
$ac_objext \
27272 conftest
$ac_exeext conftest.
$ac_ext
27273 LIBS
=$ac_check_lib_save_LIBS
27275 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27276 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27277 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27278 ODBC_LINK
=" -liodbc"
27281 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27282 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27283 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27284 echo $ECHO_N "(cached) $ECHO_C" >&6
27286 ac_check_lib_save_LIBS
=$LIBS
27287 LIBS
="-lunixodbc $LIBS"
27288 cat >conftest.
$ac_ext <<_ACEOF
27291 cat confdefs.h
>>conftest.
$ac_ext
27292 cat >>conftest.
$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27295 /* Override any gcc2 internal prototype to avoid an error. */
27299 /* We use char because int might match the return type of a gcc2
27300 builtin and then its argument prototype would still apply. */
27301 char SQLAllocEnv ();
27310 rm -f conftest.
$ac_objext conftest
$ac_exeext
27311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27312 (eval $ac_link) 2>conftest.er1
27314 grep -v '^ *+' conftest.er1
>conftest.err
27316 cat conftest.err
>&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } &&
27319 { ac_try
='test -z "$ac_c_werror_flag"
27320 || test ! -s conftest.err'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; } &&
27326 { ac_try
='test -s conftest$ac_exeext'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; }; then
27332 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.
$ac_ext >&5
27337 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27339 rm -f conftest.err conftest.
$ac_objext \
27340 conftest
$ac_exeext conftest.
$ac_ext
27341 LIBS
=$ac_check_lib_save_LIBS
27343 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27344 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27345 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27346 ODBC_LINK
=" -lunixodbc"
27349 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27350 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27351 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27352 echo $ECHO_N "(cached) $ECHO_C" >&6
27354 ac_check_lib_save_LIBS
=$LIBS
27355 LIBS
="-lodbc $LIBS"
27356 cat >conftest.
$ac_ext <<_ACEOF
27359 cat confdefs.h
>>conftest.
$ac_ext
27360 cat >>conftest.
$ac_ext <<_ACEOF
27361 /* end confdefs.h. */
27363 /* Override any gcc2 internal prototype to avoid an error. */
27367 /* We use char because int might match the return type of a gcc2
27368 builtin and then its argument prototype would still apply. */
27369 char SQLAllocEnv ();
27378 rm -f conftest.
$ac_objext conftest
$ac_exeext
27379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27380 (eval $ac_link) 2>conftest.er1
27382 grep -v '^ *+' conftest.er1
>conftest.err
27384 cat conftest.err
>&5
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); } &&
27387 { ac_try
='test -z "$ac_c_werror_flag"
27388 || test ! -s conftest.err'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; } &&
27394 { ac_try
='test -s conftest$ac_exeext'
27395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396 (eval $ac_try) 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27400 ac_cv_lib_odbc_SQLAllocEnv
=yes
27402 echo "$as_me: failed program was:" >&5
27403 sed 's/^/| /' conftest.
$ac_ext >&5
27405 ac_cv_lib_odbc_SQLAllocEnv
=no
27407 rm -f conftest.err conftest.
$ac_objext \
27408 conftest
$ac_exeext conftest.
$ac_ext
27409 LIBS
=$ac_check_lib_save_LIBS
27411 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27412 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27413 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27414 ODBC_LINK
=" -lodbc"
27424 if test "x$ODBC_LINK" = "x" ; then
27425 if test "$wxUSE_ODBC" = "sys" ; then
27426 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27427 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27428 { (exit 1); exit 1; }; }
27430 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27431 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27438 if test "$wxUSE_ODBC" != "no" ; then
27439 cat >>confdefs.h
<<\_ACEOF
27440 #define wxUSE_ODBC 1
27443 if test "$wxUSE_ODBC" = "builtin" ; then
27444 cat >>confdefs.h
<<\_ACEOF
27445 #define wxUSE_BUILTIN_IODBC 1
27449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27451 WXODBCFLAG
="-D_IODBC_"
27457 if test "$wxUSE_DISPLAY" = "yes"; then
27458 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27459 echo "$as_me:$LINENO: checking for Xinerama" >&5
27460 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27463 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27465 for ac_extension
in a so sl dylib
; do
27466 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27467 ac_find_libraries
=$ac_dir
27473 if test "$ac_find_libraries" != "" ; then
27475 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27477 if test $result = 0; then
27480 ac_path_to_link
=" -L$ac_find_libraries"
27483 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27484 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27486 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27487 echo "$as_me:$LINENO: result: yes" >&5
27488 echo "${ECHO_T}yes" >&6
27490 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27491 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27494 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27496 for ac_extension
in a so sl dylib
; do
27497 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27498 ac_find_libraries
=$ac_dir
27504 if test "$ac_find_libraries" != "" ; then
27505 echo "$as_me:$LINENO: result: yes" >&5
27506 echo "${ECHO_T}yes" >&6
27508 for ac_header
in X
11/extensions
/xf86vmode.h
27510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27511 echo "$as_me:$LINENO: checking for $ac_header" >&5
27512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27516 cat >conftest.
$ac_ext <<_ACEOF
27519 cat confdefs.h
>>conftest.
$ac_ext
27520 cat >>conftest.
$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27523 #if HAVE_X11_XLIB_H
27524 #include <X11/Xlib.h>
27528 #include <$ac_header>
27530 rm -f conftest.
$ac_objext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27532 (eval $ac_compile) 2>conftest.er1
27534 grep -v '^ *+' conftest.er1
>conftest.err
27536 cat conftest.err
>&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try
='test -z "$ac_c_werror_flag"
27540 || test ! -s conftest.err'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; } &&
27546 { ac_try
='test -s conftest.$ac_objext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 eval "$as_ac_Header=yes"
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.
$ac_ext >&5
27557 eval "$as_ac_Header=no"
27559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27564 cat >>confdefs.h
<<_ACEOF
27565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27568 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27575 echo "$as_me:$LINENO: result: no" >&5
27576 echo "${ECHO_T}no" >&6
27580 echo "$as_me:$LINENO: result: no" >&5
27581 echo "${ECHO_T}no" >&6
27582 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27583 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27586 elif test "$wxUSE_MSW" = 1; then
27589 for ac_header
in multimon.h ddraw.h
27591 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27592 echo "$as_me:$LINENO: checking for $ac_header" >&5
27593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27597 cat >conftest.
$ac_ext <<_ACEOF
27600 cat confdefs.h
>>conftest.
$ac_ext
27601 cat >>conftest.
$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27603 #include <windows.h>
27605 #include <$ac_header>
27607 rm -f conftest.
$ac_objext
27608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27609 (eval $ac_compile) 2>conftest.er1
27611 grep -v '^ *+' conftest.er1
>conftest.err
27613 cat conftest.err
>&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); } &&
27616 { ac_try
='test -z "$ac_c_werror_flag"
27617 || test ! -s conftest.err'
27618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27619 (eval $ac_try) 2>&5
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); }; } &&
27623 { ac_try
='test -s conftest.$ac_objext'
27624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27625 (eval $ac_try) 2>&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); }; }; then
27629 eval "$as_ac_Header=yes"
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.
$ac_ext >&5
27634 eval "$as_ac_Header=no"
27636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27641 cat >>confdefs.h
<<_ACEOF
27642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27648 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27649 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27659 if test "$wxUSE_MEDIACTRL" = "yes"; then
27660 if test "$wxUSE_MSW" = 1; then
27661 wxUSE_DIRECTSHOW
="yes"
27663 for ac_header
in dshow.h
27665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27666 echo "$as_me:$LINENO: checking for $ac_header" >&5
27667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27669 echo $ECHO_N "(cached) $ECHO_C" >&6
27671 cat >conftest.
$ac_ext <<_ACEOF
27674 cat confdefs.h
>>conftest.
$ac_ext
27675 cat >>conftest.
$ac_ext <<_ACEOF
27676 /* end confdefs.h. */
27677 #include <windows.h>
27679 #include <$ac_header>
27681 rm -f conftest.
$ac_objext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27683 (eval $ac_compile) 2>conftest.er1
27685 grep -v '^ *+' conftest.er1
>conftest.err
27687 cat conftest.err
>&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try
='test -z "$ac_c_werror_flag"
27691 || test ! -s conftest.err'
27692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693 (eval $ac_try) 2>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); }; } &&
27697 { ac_try
='test -s conftest.$ac_objext'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; }; then
27703 eval "$as_ac_Header=yes"
27705 echo "$as_me: failed program was:" >&5
27706 sed 's/^/| /' conftest.
$ac_ext >&5
27708 eval "$as_ac_Header=no"
27710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27715 cat >>confdefs.h
<<_ACEOF
27716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27721 wxUSE_DIRECTSHOW
="no"
27722 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27723 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27730 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27731 cat >>confdefs.h
<<\_ACEOF
27732 #define wxUSE_DIRECTSHOW 1
27735 LIBS
="$LIBS -lstrmiids"
27739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27740 cat >>confdefs.h
<<\_ACEOF
27741 #define wxUSE_MEDIACTRL 1
27748 if test "$wxUSE_OPENGL" = "yes"; then
27749 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27750 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27751 elif test "$wxUSE_MSW" = 1; then
27752 OPENGL_LIBS
="-lopengl32 -lglu32"
27757 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27759 if test -f "$ac_dir/GL/gl.h"; then
27760 ac_find_includes
=$ac_dir
27765 if test "$ac_find_includes" != "" ; then
27766 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27767 echo "${ECHO_T}found in $ac_find_includes" >&6
27769 if test "x$ac_find_includes" = "x/usr/include"; then
27770 ac_path_to_include
=""
27772 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27774 if test $result = 0; then
27775 ac_path_to_include
=""
27777 ac_path_to_include
=" -I$ac_find_includes"
27781 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27784 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27785 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27786 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27787 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27788 echo $ECHO_N "(cached) $ECHO_C" >&6
27790 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27791 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27793 # Is the header compilable?
27794 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27795 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27796 cat >conftest.
$ac_ext <<_ACEOF
27799 cat confdefs.h
>>conftest.
$ac_ext
27800 cat >>conftest.
$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27802 $ac_includes_default
27805 rm -f conftest.
$ac_objext
27806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27807 (eval $ac_compile) 2>conftest.er1
27809 grep -v '^ *+' conftest.er1
>conftest.err
27811 cat conftest.err
>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try
='test -z "$ac_c_werror_flag"
27815 || test ! -s conftest.err'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; } &&
27821 { ac_try
='test -s conftest.$ac_objext'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27827 ac_header_compiler
=yes
27829 echo "$as_me: failed program was:" >&5
27830 sed 's/^/| /' conftest.
$ac_ext >&5
27832 ac_header_compiler
=no
27834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27836 echo "${ECHO_T}$ac_header_compiler" >&6
27838 # Is the header present?
27839 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27840 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27841 cat >conftest.
$ac_ext <<_ACEOF
27844 cat confdefs.h
>>conftest.
$ac_ext
27845 cat >>conftest.
$ac_ext <<_ACEOF
27846 /* end confdefs.h. */
27849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27852 grep -v '^ *+' conftest.er1
>conftest.err
27854 cat conftest.err
>&5
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); } >/dev
/null
; then
27857 if test -s conftest.err
; then
27858 ac_cpp_err
=$ac_c_preproc_warn_flag
27859 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27866 if test -z "$ac_cpp_err"; then
27867 ac_header_preproc
=yes
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.
$ac_ext >&5
27872 ac_header_preproc
=no
27874 rm -f conftest.err conftest.
$ac_ext
27875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27876 echo "${ECHO_T}$ac_header_preproc" >&6
27878 # So? What about this header?
27879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27881 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27882 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27883 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27884 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27885 ac_header_preproc
=yes
27888 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27889 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27890 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27891 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27892 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27893 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27894 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27895 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27896 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27897 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27898 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27899 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27902 ## ----------------------------------------- ##
27903 ## Report this to wx-dev@lists.wxwidgets.org ##
27904 ## ----------------------------------------- ##
27907 sed "s/^/$as_me: WARNING: /" >&2
27910 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27911 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27912 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27913 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 ac_cv_header_GL_gl_h
=$ac_header_preproc
27917 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27918 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27921 if test $ac_cv_header_GL_gl_h = yes; then
27925 echo "$as_me:$LINENO: checking for -lGL" >&5
27926 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27929 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27931 for ac_extension
in a so sl dylib
; do
27932 if test -f "$ac_dir/libGL.$ac_extension"; then
27933 ac_find_libraries
=$ac_dir
27939 if test "$ac_find_libraries" != "" ; then
27941 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27943 if test $result = 0; then
27946 ac_path_to_link
=" -L$ac_find_libraries"
27949 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27950 LDFLAGS_GL
="$ac_path_to_link"
27955 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27957 for ac_extension
in a so sl dylib
; do
27958 if test -f "$ac_dir/libGLU.$ac_extension"; then
27959 ac_find_libraries
=$ac_dir
27965 if test "$ac_find_libraries" != "" ; then
27967 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27969 if test $result = 0; then
27972 ac_path_to_link
=" -L$ac_find_libraries"
27975 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27976 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27977 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27981 OPENGL_LIBS
="-lGL -lGLU"
27982 echo "$as_me:$LINENO: result: yes" >&5
27983 echo "${ECHO_T}yes" >&6
27987 if test "$found_gl" != 1; then
27988 echo "$as_me:$LINENO: result: no" >&5
27989 echo "${ECHO_T}no" >&6
27990 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27991 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27994 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27996 for ac_extension
in a so sl dylib
; do
27997 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27998 ac_find_libraries
=$ac_dir
28004 if test "$ac_find_libraries" != "" ; then
28006 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28008 if test $result = 0; then
28011 ac_path_to_link
=" -L$ac_find_libraries"
28014 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
28015 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28016 echo "$as_me:$LINENO: result: yes" >&5
28017 echo "${ECHO_T}yes" >&6
28019 echo "$as_me:$LINENO: result: no" >&5
28020 echo "${ECHO_T}no" >&6
28028 if test "x$OPENGL_LIBS" = "x"; then
28029 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28030 echo "$as_me: error: OpenGL libraries not available" >&2;}
28031 { (exit 1); exit 1; }; }
28035 if test "$wxUSE_OPENGL" = "yes"; then
28037 cat >>confdefs.h
<<\_ACEOF
28038 #define wxUSE_OPENGL 1
28041 cat >>confdefs.h
<<\_ACEOF
28042 #define wxUSE_GLCANVAS 1
28045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28050 if test -n "$TOOLKIT" ; then
28051 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28056 if test "$wxUSE_SHARED" = "yes"; then
28060 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28061 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28066 if test "$wxUSE_SHARED" = "yes"; then
28069 found_versioning
=no
28072 if test $found_versioning = no
; then
28073 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28074 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28075 if test "${wx_cv_version_script+set}" = set; then
28076 echo $ECHO_N "(cached) $ECHO_C" >&6
28079 echo "VER_1 { *; };" >conftest.sym
28080 echo "int main() { return 0; }" >conftest.cpp
28083 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28084 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; } ; then
28090 if test -s conftest.stderr
; then
28091 wx_cv_version_script
=no
28093 wx_cv_version_script
=yes
28096 wx_cv_version_script
=no
28098 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28101 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28102 echo "${ECHO_T}$wx_cv_version_script" >&6
28103 if test $wx_cv_version_script = yes ; then
28104 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28110 *-*-linux* | *-*-gnu* )
28111 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28112 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28116 if test "$GCC" = yes ; then
28117 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28119 saveLdflags
="$LDFLAGS"
28120 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28121 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28122 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28123 cat >conftest.
$ac_ext <<_ACEOF
28126 cat confdefs.h
>>conftest.
$ac_ext
28127 cat >>conftest.
$ac_ext <<_ACEOF
28128 /* end confdefs.h. */
28138 rm -f conftest.
$ac_objext conftest
$ac_exeext
28139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28140 (eval $ac_link) 2>conftest.er1
28142 grep -v '^ *+' conftest.er1
>conftest.err
28144 cat conftest.err
>&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); } &&
28147 { ac_try
='test -z "$ac_c_werror_flag"
28148 || test ! -s conftest.err'
28149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28150 (eval $ac_try) 2>&5
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); }; } &&
28154 { ac_try
='test -s conftest$ac_exeext'
28155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28156 (eval $ac_try) 2>&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); }; }; then
28161 echo "$as_me:$LINENO: result: yes" >&5
28162 echo "${ECHO_T}yes" >&6
28163 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28164 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.
$ac_ext >&5
28171 echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6
28173 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28174 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28175 LDFLAGS
="$saveLdflags -Wl,-R,/"
28176 cat >conftest.
$ac_ext <<_ACEOF
28179 cat confdefs.h
>>conftest.
$ac_ext
28180 cat >>conftest.
$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28191 rm -f conftest.
$ac_objext conftest
$ac_exeext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28193 (eval $ac_link) 2>conftest.er1
28195 grep -v '^ *+' conftest.er1
>conftest.err
28197 cat conftest.err
>&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } &&
28200 { ac_try
='test -z "$ac_c_werror_flag"
28201 || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try
='test -s conftest$ac_exeext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28214 echo "$as_me:$LINENO: result: yes" >&5
28215 echo "${ECHO_T}yes" >&6
28216 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28217 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28220 echo "$as_me: failed program was:" >&5
28221 sed 's/^/| /' conftest.
$ac_ext >&5
28224 echo "$as_me:$LINENO: result: no" >&5
28225 echo "${ECHO_T}no" >&6
28228 rm -f conftest.err conftest.
$ac_objext \
28229 conftest
$ac_exeext conftest.
$ac_ext
28232 rm -f conftest.err conftest.
$ac_objext \
28233 conftest
$ac_exeext conftest.
$ac_ext
28234 LDFLAGS
="$saveLdflags"
28236 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28237 WXCONFIG_RPATH
="-R\$libdir"
28241 powerpc
-*-darwin* )
28242 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28243 cat <<EOF >change-install-names
28245 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28246 inst_cmd="install_name_tool "
28247 for i in \${libnames} ; do
28248 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28252 chmod +x change
-install-names
28255 *-*-cygwin* | *-*-mingw32* )
28256 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28261 if test $wxUSE_RPATH = "no"; then
28262 SAMPLES_RPATH_FLAG
=''
28263 SAMPLES_RPATH_POSTLINK
=''
28271 config_linkage_component
="-static"
28278 lib_unicode_suffix
=
28280 if test "$wxUSE_UNICODE" = "yes"; then
28281 lib_unicode_suffix
=u
28282 WX_CHARTYPE
="unicode"
28287 WX_DEBUGTYPE
="release"
28289 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28291 WX_DEBUGTYPE
="debug"
28295 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28296 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28299 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28303 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28305 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28307 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28309 if test "$cross_compiling" = "yes"; then
28310 HOST_SUFFIX
="-$host_alias"
28311 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28312 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28315 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28316 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28320 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28321 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28322 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28324 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28326 # Extract the first word of "Rez", so it can be a program name with args.
28327 set dummy Rez
; ac_word
=$2
28328 echo "$as_me:$LINENO: checking for $ac_word" >&5
28329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28330 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 if test -n "$RESCOMP"; then
28334 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28337 for as_dir
in $PATH
28340 test -z "$as_dir" && as_dir
=.
28341 for ac_exec_ext
in '' $ac_executable_extensions; do
28342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28343 ac_cv_prog_RESCOMP
="Rez"
28344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28350 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28353 RESCOMP
=$ac_cv_prog_RESCOMP
28354 if test -n "$RESCOMP"; then
28355 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28356 echo "${ECHO_T}$RESCOMP" >&6
28358 echo "$as_me:$LINENO: result: no" >&5
28359 echo "${ECHO_T}no" >&6
28362 # Extract the first word of "DeRez", so it can be a program name with args.
28363 set dummy DeRez
; ac_word
=$2
28364 echo "$as_me:$LINENO: checking for $ac_word" >&5
28365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28366 if test "${ac_cv_prog_DEREZ+set}" = set; then
28367 echo $ECHO_N "(cached) $ECHO_C" >&6
28369 if test -n "$DEREZ"; then
28370 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28373 for as_dir
in $PATH
28376 test -z "$as_dir" && as_dir
=.
28377 for ac_exec_ext
in '' $ac_executable_extensions; do
28378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28379 ac_cv_prog_DEREZ
="DeRez"
28380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28386 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28389 DEREZ
=$ac_cv_prog_DEREZ
28390 if test -n "$DEREZ"; then
28391 echo "$as_me:$LINENO: result: $DEREZ" >&5
28392 echo "${ECHO_T}$DEREZ" >&6
28394 echo "$as_me:$LINENO: result: no" >&5
28395 echo "${ECHO_T}no" >&6
28398 # Extract the first word of "SetFile", so it can be a program name with args.
28399 set dummy SetFile
; ac_word
=$2
28400 echo "$as_me:$LINENO: checking for $ac_word" >&5
28401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28402 if test "${ac_cv_prog_SETFILE+set}" = set; then
28403 echo $ECHO_N "(cached) $ECHO_C" >&6
28405 if test -n "$SETFILE"; then
28406 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28409 for as_dir
in $PATH
28412 test -z "$as_dir" && as_dir
=.
28413 for ac_exec_ext
in '' $ac_executable_extensions; do
28414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28415 ac_cv_prog_SETFILE
="SetFile"
28416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28422 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28425 SETFILE
=$ac_cv_prog_SETFILE
28426 if test -n "$SETFILE"; then
28427 echo "$as_me:$LINENO: result: $SETFILE" >&5
28428 echo "${ECHO_T}$SETFILE" >&6
28430 echo "$as_me:$LINENO: result: no" >&5
28431 echo "${ECHO_T}no" >&6
28435 MACSETFILE
="\$(SETFILE)"
28437 if test "$wxUSE_MAC" = 1; then
28438 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28440 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28442 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28443 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28447 MACRESWXCONFIG
="@true"
28449 if test "$wxUSE_PM" = 1; then
28450 MACRESCOMP
="emxbind -ep"
28458 echo "$as_me:$LINENO: checking for mode_t" >&5
28459 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28460 if test "${ac_cv_type_mode_t+set}" = set; then
28461 echo $ECHO_N "(cached) $ECHO_C" >&6
28463 cat >conftest.
$ac_ext <<_ACEOF
28466 cat confdefs.h
>>conftest.
$ac_ext
28467 cat >>conftest.
$ac_ext <<_ACEOF
28468 /* end confdefs.h. */
28469 $ac_includes_default
28475 if (sizeof (mode_t))
28481 rm -f conftest.
$ac_objext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28483 (eval $ac_compile) 2>conftest.er1
28485 grep -v '^ *+' conftest.er1
>conftest.err
28487 cat conftest.err
>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } &&
28490 { ac_try
='test -z "$ac_c_werror_flag"
28491 || test ! -s conftest.err'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; } &&
28497 { ac_try
='test -s conftest.$ac_objext'
28498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 (eval $ac_try) 2>&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28503 ac_cv_type_mode_t
=yes
28505 echo "$as_me: failed program was:" >&5
28506 sed 's/^/| /' conftest.
$ac_ext >&5
28508 ac_cv_type_mode_t
=no
28510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28512 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28513 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28514 if test $ac_cv_type_mode_t = yes; then
28518 cat >>confdefs.h
<<_ACEOF
28524 echo "$as_me:$LINENO: checking for off_t" >&5
28525 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28526 if test "${ac_cv_type_off_t+set}" = set; then
28527 echo $ECHO_N "(cached) $ECHO_C" >&6
28529 cat >conftest.
$ac_ext <<_ACEOF
28532 cat confdefs.h
>>conftest.
$ac_ext
28533 cat >>conftest.
$ac_ext <<_ACEOF
28534 /* end confdefs.h. */
28535 $ac_includes_default
28541 if (sizeof (off_t))
28547 rm -f conftest.
$ac_objext
28548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28549 (eval $ac_compile) 2>conftest.er1
28551 grep -v '^ *+' conftest.er1
>conftest.err
28553 cat conftest.err
>&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); } &&
28556 { ac_try
='test -z "$ac_c_werror_flag"
28557 || test ! -s conftest.err'
28558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28559 (eval $ac_try) 2>&5
28561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28562 (exit $ac_status); }; } &&
28563 { ac_try
='test -s conftest.$ac_objext'
28564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28565 (eval $ac_try) 2>&5
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); }; }; then
28569 ac_cv_type_off_t
=yes
28571 echo "$as_me: failed program was:" >&5
28572 sed 's/^/| /' conftest.
$ac_ext >&5
28574 ac_cv_type_off_t
=no
28576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28578 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28579 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28580 if test $ac_cv_type_off_t = yes; then
28584 cat >>confdefs.h
<<_ACEOF
28590 echo "$as_me:$LINENO: checking for pid_t" >&5
28591 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28592 if test "${ac_cv_type_pid_t+set}" = set; then
28593 echo $ECHO_N "(cached) $ECHO_C" >&6
28595 cat >conftest.
$ac_ext <<_ACEOF
28598 cat confdefs.h
>>conftest.
$ac_ext
28599 cat >>conftest.
$ac_ext <<_ACEOF
28600 /* end confdefs.h. */
28601 $ac_includes_default
28607 if (sizeof (pid_t))
28613 rm -f conftest.
$ac_objext
28614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28615 (eval $ac_compile) 2>conftest.er1
28617 grep -v '^ *+' conftest.er1
>conftest.err
28619 cat conftest.err
>&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try
='test -z "$ac_c_werror_flag"
28623 || test ! -s conftest.err'
28624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625 (eval $ac_try) 2>&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); }; } &&
28629 { ac_try
='test -s conftest.$ac_objext'
28630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28631 (eval $ac_try) 2>&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); }; }; then
28635 ac_cv_type_pid_t
=yes
28637 echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.
$ac_ext >&5
28640 ac_cv_type_pid_t
=no
28642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28644 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28645 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28646 if test $ac_cv_type_pid_t = yes; then
28650 cat >>confdefs.h
<<_ACEOF
28656 echo "$as_me:$LINENO: checking for size_t" >&5
28657 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28658 if test "${ac_cv_type_size_t+set}" = set; then
28659 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 cat >conftest.
$ac_ext <<_ACEOF
28664 cat confdefs.h
>>conftest.
$ac_ext
28665 cat >>conftest.
$ac_ext <<_ACEOF
28666 /* end confdefs.h. */
28667 $ac_includes_default
28673 if (sizeof (size_t))
28679 rm -f conftest.
$ac_objext
28680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28681 (eval $ac_compile) 2>conftest.er1
28683 grep -v '^ *+' conftest.er1
>conftest.err
28685 cat conftest.err
>&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); } &&
28688 { ac_try
='test -z "$ac_c_werror_flag"
28689 || test ! -s conftest.err'
28690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28691 (eval $ac_try) 2>&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); }; } &&
28695 { ac_try
='test -s conftest.$ac_objext'
28696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697 (eval $ac_try) 2>&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); }; }; then
28701 ac_cv_type_size_t
=yes
28703 echo "$as_me: failed program was:" >&5
28704 sed 's/^/| /' conftest.
$ac_ext >&5
28706 ac_cv_type_size_t
=no
28708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28710 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28711 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28712 if test $ac_cv_type_size_t = yes; then
28716 cat >>confdefs.h
<<_ACEOF
28717 #define size_t unsigned
28722 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28723 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28724 if test "${ac_cv_type_uid_t+set}" = set; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28727 cat >conftest.
$ac_ext <<_ACEOF
28730 cat confdefs.h
>>conftest.
$ac_ext
28731 cat >>conftest.
$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <sys/types.h>
28736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28737 $EGREP "uid_t" >/dev
/null
2>&1; then
28738 ac_cv_type_uid_t
=yes
28740 ac_cv_type_uid_t
=no
28745 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28746 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28747 if test $ac_cv_type_uid_t = no
; then
28749 cat >>confdefs.h
<<\_ACEOF
28754 cat >>confdefs.h
<<\_ACEOF
28761 echo "$as_me:$LINENO: checking for ssize_t" >&5
28762 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28763 if test "${ac_cv_type_ssize_t+set}" = set; then
28764 echo $ECHO_N "(cached) $ECHO_C" >&6
28766 cat >conftest.
$ac_ext <<_ACEOF
28769 cat confdefs.h
>>conftest.
$ac_ext
28770 cat >>conftest.
$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772 $ac_includes_default
28778 if (sizeof (ssize_t))
28784 rm -f conftest.
$ac_objext
28785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28786 (eval $ac_compile) 2>conftest.er1
28788 grep -v '^ *+' conftest.er1
>conftest.err
28790 cat conftest.err
>&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); } &&
28793 { ac_try
='test -z "$ac_c_werror_flag"
28794 || test ! -s conftest.err'
28795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28796 (eval $ac_try) 2>&5
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); }; } &&
28800 { ac_try
='test -s conftest.$ac_objext'
28801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28802 (eval $ac_try) 2>&5
28804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805 (exit $ac_status); }; }; then
28806 ac_cv_type_ssize_t
=yes
28808 echo "$as_me: failed program was:" >&5
28809 sed 's/^/| /' conftest.
$ac_ext >&5
28811 ac_cv_type_ssize_t
=no
28813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28815 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28816 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28817 if test $ac_cv_type_ssize_t = yes; then
28819 cat >>confdefs.h
<<_ACEOF
28820 #define HAVE_SSIZE_T 1
28830 ac_cpp
='$CXXCPP $CPPFLAGS'
28831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28835 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28836 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28837 if test "${wx_cv_size_t_is_uint+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28841 cat >conftest.
$ac_ext <<_ACEOF
28844 cat confdefs.h
>>conftest.
$ac_ext
28845 cat >>conftest.
$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 #include <stddef.h>
28854 struct Foo { void foo(size_t); void foo(unsigned int); };
28862 rm -f conftest.
$ac_objext
28863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28864 (eval $ac_compile) 2>conftest.er1
28866 grep -v '^ *+' conftest.er1
>conftest.err
28868 cat conftest.err
>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } &&
28871 { ac_try
='test -z "$ac_cxx_werror_flag"
28872 || test ! -s conftest.err'
28873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28874 (eval $ac_try) 2>&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; } &&
28878 { ac_try
='test -s conftest.$ac_objext'
28879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28880 (eval $ac_try) 2>&5
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); }; }; then
28884 wx_cv_size_t_is_uint
=no
28886 echo "$as_me: failed program was:" >&5
28887 sed 's/^/| /' conftest.
$ac_ext >&5
28889 wx_cv_size_t_is_uint
=yes
28892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28896 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28897 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28899 if test "$wx_cv_size_t_is_uint" = "yes"; then
28900 cat >>confdefs.h
<<\_ACEOF
28901 #define wxSIZE_T_IS_UINT 1
28905 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28906 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28907 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28908 echo $ECHO_N "(cached) $ECHO_C" >&6
28910 cat >conftest.
$ac_ext <<_ACEOF
28913 cat confdefs.h
>>conftest.
$ac_ext
28914 cat >>conftest.
$ac_ext <<_ACEOF
28915 /* end confdefs.h. */
28916 #include <stddef.h>
28923 struct Foo { void foo(size_t); void foo(unsigned long); };
28931 rm -f conftest.
$ac_objext
28932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28933 (eval $ac_compile) 2>conftest.er1
28935 grep -v '^ *+' conftest.er1
>conftest.err
28937 cat conftest.err
>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } &&
28940 { ac_try
='test -z "$ac_cxx_werror_flag"
28941 || test ! -s conftest.err'
28942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28943 (eval $ac_try) 2>&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); }; } &&
28947 { ac_try
='test -s conftest.$ac_objext'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; }; then
28953 wx_cv_size_t_is_ulong
=no
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.
$ac_ext >&5
28958 wx_cv_size_t_is_ulong
=yes
28961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28964 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28965 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28967 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28968 cat >>confdefs.h
<<\_ACEOF
28969 #define wxSIZE_T_IS_ULONG 1
28976 ac_cpp
='$CPP $CPPFLAGS'
28977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28983 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28984 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28985 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28986 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 cat >conftest.
$ac_ext <<_ACEOF
28992 cat confdefs.h
>>conftest.
$ac_ext
28993 cat >>conftest.
$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
29008 rm -f conftest.
$ac_objext
29009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29010 (eval $ac_compile) 2>conftest.er1
29012 grep -v '^ *+' conftest.er1
>conftest.err
29014 cat conftest.err
>&5
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); } &&
29017 { ac_try
='test -z "$ac_c_werror_flag"
29018 || test ! -s conftest.err'
29019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29020 (eval $ac_try) 2>&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); }; } &&
29024 { ac_try
='test -s conftest.$ac_objext'
29025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29026 (eval $ac_try) 2>&5
29028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29029 (exit $ac_status); }; }; then
29031 wx_cv_struct_pw_gecos
=yes
29034 echo "$as_me: failed program was:" >&5
29035 sed 's/^/| /' conftest.
$ac_ext >&5
29038 wx_cv_struct_pw_gecos
=no
29042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29046 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29047 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29049 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29050 cat >>confdefs.h
<<\_ACEOF
29051 #define HAVE_PW_GECOS 1
29057 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29058 cat >>confdefs.h
<<\_ACEOF
29059 #define wxUSE_WCHAR_T 1
29066 for ac_func
in wcslen
29068 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29069 echo "$as_me:$LINENO: checking for $ac_func" >&5
29070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29071 if eval "test \"\${$as_ac_var+set}\" = set"; then
29072 echo $ECHO_N "(cached) $ECHO_C" >&6
29074 cat >conftest.
$ac_ext <<_ACEOF
29077 cat confdefs.h
>>conftest.
$ac_ext
29078 cat >>conftest.
$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29082 #define $ac_func innocuous_$ac_func
29084 /* System header to define __stub macros and hopefully few prototypes,
29085 which can conflict with char $ac_func (); below.
29086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29087 <limits.h> exists even on freestanding compilers. */
29090 # include <limits.h>
29092 # include <assert.h>
29097 /* Override any gcc2 internal prototype to avoid an error. */
29102 /* We use char because int might match the return type of a gcc2
29103 builtin and then its argument prototype would still apply. */
29105 /* The GNU C library defines this for functions which it implements
29106 to always fail with ENOSYS. Some functions are actually named
29107 something starting with __ and the normal name is an alias. */
29108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29111 char (*f) () = $ac_func;
29120 return f != $ac_func;
29125 rm -f conftest.
$ac_objext conftest
$ac_exeext
29126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29127 (eval $ac_link) 2>conftest.er1
29129 grep -v '^ *+' conftest.er1
>conftest.err
29131 cat conftest.err
>&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } &&
29134 { ac_try
='test -z "$ac_c_werror_flag"
29135 || test ! -s conftest.err'
29136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137 (eval $ac_try) 2>&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); }; } &&
29141 { ac_try
='test -s conftest$ac_exeext'
29142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143 (eval $ac_try) 2>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); }; }; then
29147 eval "$as_ac_var=yes"
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.
$ac_ext >&5
29152 eval "$as_ac_var=no"
29154 rm -f conftest.err conftest.
$ac_objext \
29155 conftest
$ac_exeext conftest.
$ac_ext
29157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29159 if test `eval echo '${'$as_ac_var'}'` = yes; then
29160 cat >>confdefs.h
<<_ACEOF
29161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29168 if test "$WCSLEN_FOUND" = 0; then
29169 if test "$TOOLKIT" = "MSW"; then
29170 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29171 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29172 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29173 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 ac_check_lib_save_LIBS
=$LIBS
29176 LIBS
="-lmsvcrt $LIBS"
29177 cat >conftest.
$ac_ext <<_ACEOF
29180 cat confdefs.h
>>conftest.
$ac_ext
29181 cat >>conftest.
$ac_ext <<_ACEOF
29182 /* end confdefs.h. */
29184 /* Override any gcc2 internal prototype to avoid an error. */
29188 /* We use char because int might match the return type of a gcc2
29189 builtin and then its argument prototype would still apply. */
29199 rm -f conftest.
$ac_objext conftest
$ac_exeext
29200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29201 (eval $ac_link) 2>conftest.er1
29203 grep -v '^ *+' conftest.er1
>conftest.err
29205 cat conftest.err
>&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); } &&
29208 { ac_try
='test -z "$ac_c_werror_flag"
29209 || test ! -s conftest.err'
29210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29211 (eval $ac_try) 2>&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); }; } &&
29215 { ac_try
='test -s conftest$ac_exeext'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; }; then
29221 ac_cv_lib_msvcrt_wcslen
=yes
29223 echo "$as_me: failed program was:" >&5
29224 sed 's/^/| /' conftest.
$ac_ext >&5
29226 ac_cv_lib_msvcrt_wcslen
=no
29228 rm -f conftest.err conftest.
$ac_objext \
29229 conftest
$ac_exeext conftest.
$ac_ext
29230 LIBS
=$ac_check_lib_save_LIBS
29232 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29233 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29234 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29239 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29240 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29241 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29244 ac_check_lib_save_LIBS
=$LIBS
29246 cat >conftest.
$ac_ext <<_ACEOF
29249 cat confdefs.h
>>conftest.
$ac_ext
29250 cat >>conftest.
$ac_ext <<_ACEOF
29251 /* end confdefs.h. */
29253 /* Override any gcc2 internal prototype to avoid an error. */
29257 /* We use char because int might match the return type of a gcc2
29258 builtin and then its argument prototype would still apply. */
29268 rm -f conftest.
$ac_objext conftest
$ac_exeext
29269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29270 (eval $ac_link) 2>conftest.er1
29272 grep -v '^ *+' conftest.er1
>conftest.err
29274 cat conftest.err
>&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } &&
29277 { ac_try
='test -z "$ac_c_werror_flag"
29278 || test ! -s conftest.err'
29279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29280 (eval $ac_try) 2>&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; } &&
29284 { ac_try
='test -s conftest$ac_exeext'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; }; then
29290 ac_cv_lib_w_wcslen
=yes
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.
$ac_ext >&5
29295 ac_cv_lib_w_wcslen
=no
29297 rm -f conftest.err conftest.
$ac_objext \
29298 conftest
$ac_exeext conftest.
$ac_ext
29299 LIBS
=$ac_check_lib_save_LIBS
29301 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29302 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29303 if test $ac_cv_lib_w_wcslen = yes; then
29313 if test "$WCSLEN_FOUND" = 1; then
29314 cat >>confdefs.h
<<\_ACEOF
29315 #define HAVE_WCSLEN 1
29320 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29321 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29325 for ac_func
in wcsrtombs
29327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29328 echo "$as_me:$LINENO: checking for $ac_func" >&5
29329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29330 if eval "test \"\${$as_ac_var+set}\" = set"; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 cat >conftest.
$ac_ext <<_ACEOF
29336 cat confdefs.h
>>conftest.
$ac_ext
29337 cat >>conftest.
$ac_ext <<_ACEOF
29338 /* end confdefs.h. */
29339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29341 #define $ac_func innocuous_$ac_func
29343 /* System header to define __stub macros and hopefully few prototypes,
29344 which can conflict with char $ac_func (); below.
29345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29346 <limits.h> exists even on freestanding compilers. */
29349 # include <limits.h>
29351 # include <assert.h>
29356 /* Override any gcc2 internal prototype to avoid an error. */
29361 /* We use char because int might match the return type of a gcc2
29362 builtin and then its argument prototype would still apply. */
29364 /* The GNU C library defines this for functions which it implements
29365 to always fail with ENOSYS. Some functions are actually named
29366 something starting with __ and the normal name is an alias. */
29367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29370 char (*f) () = $ac_func;
29379 return f != $ac_func;
29384 rm -f conftest.
$ac_objext conftest
$ac_exeext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29386 (eval $ac_link) 2>conftest.er1
29388 grep -v '^ *+' conftest.er1
>conftest.err
29390 cat conftest.err
>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); } &&
29393 { ac_try
='test -z "$ac_c_werror_flag"
29394 || test ! -s conftest.err'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; } &&
29400 { ac_try
='test -s conftest$ac_exeext'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; }; then
29406 eval "$as_ac_var=yes"
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.
$ac_ext >&5
29411 eval "$as_ac_var=no"
29413 rm -f conftest.err conftest.
$ac_objext \
29414 conftest
$ac_exeext conftest.
$ac_ext
29416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29418 if test `eval echo '${'$as_ac_var'}'` = yes; then
29419 cat >>confdefs.h
<<_ACEOF
29420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29427 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29428 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29434 ac_cpp
='$CXXCPP $CPPFLAGS'
29435 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29441 for ac_func
in vsnprintf
29443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29444 echo "$as_me:$LINENO: checking for $ac_func" >&5
29445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29446 if eval "test \"\${$as_ac_var+set}\" = set"; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 cat >conftest.
$ac_ext <<_ACEOF
29452 cat confdefs.h
>>conftest.
$ac_ext
29453 cat >>conftest.
$ac_ext <<_ACEOF
29454 /* end confdefs.h. */
29455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29457 #define $ac_func innocuous_$ac_func
29459 /* System header to define __stub macros and hopefully few prototypes,
29460 which can conflict with char $ac_func (); below.
29461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29462 <limits.h> exists even on freestanding compilers. */
29465 # include <limits.h>
29467 # include <assert.h>
29472 /* Override any gcc2 internal prototype to avoid an error. */
29477 /* We use char because int might match the return type of a gcc2
29478 builtin and then its argument prototype would still apply. */
29480 /* The GNU C library defines this for functions which it implements
29481 to always fail with ENOSYS. Some functions are actually named
29482 something starting with __ and the normal name is an alias. */
29483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29486 char (*f) () = $ac_func;
29495 return f != $ac_func;
29500 rm -f conftest.
$ac_objext conftest
$ac_exeext
29501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29502 (eval $ac_link) 2>conftest.er1
29504 grep -v '^ *+' conftest.er1
>conftest.err
29506 cat conftest.err
>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } &&
29509 { ac_try
='test -z "$ac_cxx_werror_flag"
29510 || test ! -s conftest.err'
29511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29512 (eval $ac_try) 2>&5
29514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29515 (exit $ac_status); }; } &&
29516 { ac_try
='test -s conftest$ac_exeext'
29517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29518 (eval $ac_try) 2>&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); }; }; then
29522 eval "$as_ac_var=yes"
29524 echo "$as_me: failed program was:" >&5
29525 sed 's/^/| /' conftest.
$ac_ext >&5
29527 eval "$as_ac_var=no"
29529 rm -f conftest.err conftest.
$ac_objext \
29530 conftest
$ac_exeext conftest.
$ac_ext
29532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29534 if test `eval echo '${'$as_ac_var'}'` = yes; then
29535 cat >>confdefs.h
<<_ACEOF
29536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29543 if test "$ac_cv_func_vsnprintf" = "yes"; then
29544 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29545 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29546 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29547 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 cat >conftest.
$ac_ext <<_ACEOF
29553 cat confdefs.h
>>conftest.
$ac_ext
29554 cat >>conftest.
$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29558 #include <stdarg.h>
29566 vsnprintf(buf, 10u, "%s", ap);
29572 rm -f conftest.
$ac_objext
29573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29574 (eval $ac_compile) 2>conftest.er1
29576 grep -v '^ *+' conftest.er1
>conftest.err
29578 cat conftest.err
>&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); } &&
29581 { ac_try
='test -z "$ac_cxx_werror_flag"
29582 || test ! -s conftest.err'
29583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29584 (eval $ac_try) 2>&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); }; } &&
29588 { ac_try
='test -s conftest.$ac_objext'
29589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29590 (eval $ac_try) 2>&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); }; }; then
29594 wx_cv_func_vsnprintf_decl
=yes
29596 echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.
$ac_ext >&5
29599 wx_cv_func_vsnprintf_decl
=no
29602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29606 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29607 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29609 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29610 cat >>confdefs.h
<<\_ACEOF
29611 #define HAVE_VSNPRINTF_DECL 1
29617 if test "$wxUSE_UNICODE" = yes; then
29624 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29627 echo "$as_me:$LINENO: checking for $ac_func" >&5
29628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29629 if eval "test \"\${$as_ac_var+set}\" = set"; then
29630 echo $ECHO_N "(cached) $ECHO_C" >&6
29632 cat >conftest.
$ac_ext <<_ACEOF
29635 cat confdefs.h
>>conftest.
$ac_ext
29636 cat >>conftest.
$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29640 #define $ac_func innocuous_$ac_func
29642 /* System header to define __stub macros and hopefully few prototypes,
29643 which can conflict with char $ac_func (); below.
29644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29645 <limits.h> exists even on freestanding compilers. */
29648 # include <limits.h>
29650 # include <assert.h>
29655 /* Override any gcc2 internal prototype to avoid an error. */
29660 /* We use char because int might match the return type of a gcc2
29661 builtin and then its argument prototype would still apply. */
29663 /* The GNU C library defines this for functions which it implements
29664 to always fail with ENOSYS. Some functions are actually named
29665 something starting with __ and the normal name is an alias. */
29666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29669 char (*f) () = $ac_func;
29678 return f != $ac_func;
29683 rm -f conftest.
$ac_objext conftest
$ac_exeext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29685 (eval $ac_link) 2>conftest.er1
29687 grep -v '^ *+' conftest.er1
>conftest.err
29689 cat conftest.err
>&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); } &&
29692 { ac_try
='test -z "$ac_cxx_werror_flag"
29693 || test ! -s conftest.err'
29694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695 (eval $ac_try) 2>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); }; } &&
29699 { ac_try
='test -s conftest$ac_exeext'
29700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29701 (eval $ac_try) 2>&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); }; }; then
29705 eval "$as_ac_var=yes"
29707 echo "$as_me: failed program was:" >&5
29708 sed 's/^/| /' conftest.
$ac_ext >&5
29710 eval "$as_ac_var=no"
29712 rm -f conftest.err conftest.
$ac_objext \
29713 conftest
$ac_exeext conftest.
$ac_ext
29715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29717 if test `eval echo '${'$as_ac_var'}'` = yes; then
29718 cat >>confdefs.h
<<_ACEOF
29719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29726 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29727 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29728 cat >conftest.
$ac_ext <<_ACEOF
29731 cat confdefs.h
>>conftest.
$ac_ext
29732 cat >>conftest.
$ac_ext <<_ACEOF
29733 /* end confdefs.h. */
29743 rm -f conftest.
$ac_objext
29744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29745 (eval $ac_compile) 2>conftest.er1
29747 grep -v '^ *+' conftest.er1
>conftest.err
29749 cat conftest.err
>&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); } &&
29752 { ac_try
='test -z "$ac_cxx_werror_flag"
29753 || test ! -s conftest.err'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; } &&
29759 { ac_try
='test -s conftest.$ac_objext'
29760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29761 (eval $ac_try) 2>&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); }; }; then
29765 echo "$as_me:$LINENO: result: yes" >&5
29766 echo "${ECHO_T}yes" >&6
29767 cat >>confdefs.h
<<\_ACEOF
29768 #define HAVE__VSNWPRINTF 1
29772 echo "$as_me: failed program was:" >&5
29773 sed 's/^/| /' conftest.
$ac_ext >&5
29775 echo "$as_me:$LINENO: result: no" >&5
29776 echo "${ECHO_T}no" >&6
29778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29782 ac_cpp
='$CPP $CPPFLAGS'
29783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29790 if test "$TOOLKIT" != "MSW"; then
29796 ac_cpp
='$CXXCPP $CPPFLAGS'
29797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29804 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29805 if test "${with_libiconv_prefix+set}" = set; then
29806 withval
="$with_libiconv_prefix"
29808 for dir
in `echo "$withval" | tr : ' '`; do
29809 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29810 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29815 echo "$as_me:$LINENO: checking for iconv" >&5
29816 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29817 if test "${am_cv_func_iconv+set}" = set; then
29818 echo $ECHO_N "(cached) $ECHO_C" >&6
29821 am_cv_func_iconv
="no, consider installing GNU libiconv"
29823 cat >conftest.
$ac_ext <<_ACEOF
29826 cat confdefs.h
>>conftest.
$ac_ext
29827 cat >>conftest.
$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29829 #include <stdlib.h>
29834 iconv_t cd = iconv_open("","");
29835 iconv(cd,NULL,NULL,NULL,NULL);
29841 rm -f conftest.
$ac_objext conftest
$ac_exeext
29842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29843 (eval $ac_link) 2>conftest.er1
29845 grep -v '^ *+' conftest.er1
>conftest.err
29847 cat conftest.err
>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } &&
29850 { ac_try
='test -z "$ac_cxx_werror_flag"
29851 || test ! -s conftest.err'
29852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29853 (eval $ac_try) 2>&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); }; } &&
29857 { ac_try
='test -s conftest$ac_exeext'
29858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859 (eval $ac_try) 2>&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; }; then
29863 am_cv_func_iconv
=yes
29865 echo "$as_me: failed program was:" >&5
29866 sed 's/^/| /' conftest.
$ac_ext >&5
29869 rm -f conftest.err conftest.
$ac_objext \
29870 conftest
$ac_exeext conftest.
$ac_ext
29871 if test "$am_cv_func_iconv" != yes; then
29872 am_save_LIBS
="$LIBS"
29873 LIBS
="$LIBS -liconv"
29874 cat >conftest.
$ac_ext <<_ACEOF
29877 cat confdefs.h
>>conftest.
$ac_ext
29878 cat >>conftest.
$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29880 #include <stdlib.h>
29885 iconv_t cd = iconv_open("","");
29886 iconv(cd,NULL,NULL,NULL,NULL);
29892 rm -f conftest.
$ac_objext conftest
$ac_exeext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29894 (eval $ac_link) 2>conftest.er1
29896 grep -v '^ *+' conftest.er1
>conftest.err
29898 cat conftest.err
>&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try
='test -z "$ac_cxx_werror_flag"
29902 || test ! -s conftest.err'
29903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904 (eval $ac_try) 2>&5
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; } &&
29908 { ac_try
='test -s conftest$ac_exeext'
29909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29910 (eval $ac_try) 2>&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); }; }; then
29914 am_cv_lib_iconv
=yes
29915 am_cv_func_iconv
=yes
29917 echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.
$ac_ext >&5
29921 rm -f conftest.err conftest.
$ac_objext \
29922 conftest
$ac_exeext conftest.
$ac_ext
29923 LIBS
="$am_save_LIBS"
29927 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29928 echo "${ECHO_T}$am_cv_func_iconv" >&6
29929 if test "$am_cv_func_iconv" = yes; then
29931 cat >>confdefs.h
<<\_ACEOF
29932 #define HAVE_ICONV 1
29935 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29936 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29937 if test "${wx_cv_func_iconv_const+set}" = set; then
29938 echo $ECHO_N "(cached) $ECHO_C" >&6
29940 cat >conftest.
$ac_ext <<_ACEOF
29943 cat confdefs.h
>>conftest.
$ac_ext
29944 cat >>conftest.
$ac_ext <<_ACEOF
29945 /* end confdefs.h. */
29947 #include <stdlib.h>
29953 #if defined(__STDC__) || defined(__cplusplus)
29954 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29967 rm -f conftest.
$ac_objext
29968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29969 (eval $ac_compile) 2>conftest.er1
29971 grep -v '^ *+' conftest.er1
>conftest.err
29973 cat conftest.err
>&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } &&
29976 { ac_try
='test -z "$ac_cxx_werror_flag"
29977 || test ! -s conftest.err'
29978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29979 (eval $ac_try) 2>&5
29981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29982 (exit $ac_status); }; } &&
29983 { ac_try
='test -s conftest.$ac_objext'
29984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29985 (eval $ac_try) 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; }; then
29989 wx_cv_func_iconv_const
="no"
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.
$ac_ext >&5
29994 wx_cv_func_iconv_const
="yes"
29997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30000 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30001 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30004 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30005 iconv_const
="const"
30009 cat >>confdefs.h
<<_ACEOF
30010 #define ICONV_CONST $iconv_const
30015 if test "$am_cv_lib_iconv" = yes; then
30020 LIBS
="$LIBICONV $LIBS"
30022 ac_cpp
='$CPP $CPPFLAGS'
30023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30028 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30030 for ac_func
in sigaction
30032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30033 echo "$as_me:$LINENO: checking for $ac_func" >&5
30034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30035 if eval "test \"\${$as_ac_var+set}\" = set"; then
30036 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 cat >conftest.
$ac_ext <<_ACEOF
30041 cat confdefs.h
>>conftest.
$ac_ext
30042 cat >>conftest.
$ac_ext <<_ACEOF
30043 /* end confdefs.h. */
30044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30046 #define $ac_func innocuous_$ac_func
30048 /* System header to define __stub macros and hopefully few prototypes,
30049 which can conflict with char $ac_func (); below.
30050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30051 <limits.h> exists even on freestanding compilers. */
30054 # include <limits.h>
30056 # include <assert.h>
30061 /* Override any gcc2 internal prototype to avoid an error. */
30066 /* We use char because int might match the return type of a gcc2
30067 builtin and then its argument prototype would still apply. */
30069 /* The GNU C library defines this for functions which it implements
30070 to always fail with ENOSYS. Some functions are actually named
30071 something starting with __ and the normal name is an alias. */
30072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30075 char (*f) () = $ac_func;
30084 return f != $ac_func;
30089 rm -f conftest.
$ac_objext conftest
$ac_exeext
30090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30091 (eval $ac_link) 2>conftest.er1
30093 grep -v '^ *+' conftest.er1
>conftest.err
30095 cat conftest.err
>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); } &&
30098 { ac_try
='test -z "$ac_c_werror_flag"
30099 || test ! -s conftest.err'
30100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101 (eval $ac_try) 2>&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); }; } &&
30105 { ac_try
='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 eval "$as_ac_var=yes"
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.
$ac_ext >&5
30116 eval "$as_ac_var=no"
30118 rm -f conftest.err conftest.
$ac_objext \
30119 conftest
$ac_exeext conftest.
$ac_ext
30121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30123 if test `eval echo '${'$as_ac_var'}'` = yes; then
30124 cat >>confdefs.h
<<_ACEOF
30125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30132 if test "$ac_cv_func_sigaction" = "no"; then
30133 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30134 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30135 wxUSE_ON_FATAL_EXCEPTION
=no
30138 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30142 ac_cpp
='$CXXCPP $CPPFLAGS'
30143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30148 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30149 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30150 if test "${wx_cv_type_sa_handler+set}" = set; then
30151 echo $ECHO_N "(cached) $ECHO_C" >&6
30154 cat >conftest.
$ac_ext <<_ACEOF
30157 cat confdefs.h
>>conftest.
$ac_ext
30158 cat >>conftest.
$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30160 #include <signal.h>
30165 extern void testSigHandler(int);
30167 struct sigaction sa;
30168 sa.sa_handler = testSigHandler;
30174 rm -f conftest.
$ac_objext
30175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30176 (eval $ac_compile) 2>conftest.er1
30178 grep -v '^ *+' conftest.er1
>conftest.err
30180 cat conftest.err
>&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } &&
30183 { ac_try
='test -z "$ac_cxx_werror_flag"
30184 || test ! -s conftest.err'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try
='test -s conftest.$ac_objext'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; }; then
30197 wx_cv_type_sa_handler
=int
30200 echo "$as_me: failed program was:" >&5
30201 sed 's/^/| /' conftest.
$ac_ext >&5
30204 wx_cv_type_sa_handler
=void
30207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30210 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30211 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30214 ac_cpp
='$CPP $CPPFLAGS'
30215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30220 cat >>confdefs.h
<<_ACEOF
30221 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30227 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30231 ac_cpp
='$CXXCPP $CPPFLAGS'
30232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30237 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30238 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30239 if test "${wx_cv_func_backtrace+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30243 cat >conftest.
$ac_ext <<_ACEOF
30246 cat confdefs.h
>>conftest.
$ac_ext
30247 cat >>conftest.
$ac_ext <<_ACEOF
30248 /* end confdefs.h. */
30249 #include <execinfo.h>
30257 backtrace(trace, 1);
30258 messages = backtrace_symbols(trace, 1);
30264 rm -f conftest.
$ac_objext
30265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30266 (eval $ac_compile) 2>conftest.er1
30268 grep -v '^ *+' conftest.er1
>conftest.err
30270 cat conftest.err
>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } &&
30273 { ac_try
='test -z "$ac_cxx_werror_flag"
30274 || test ! -s conftest.err'
30275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30276 (eval $ac_try) 2>&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; } &&
30280 { ac_try
='test -s conftest.$ac_objext'
30281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30282 (eval $ac_try) 2>&5
30284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30285 (exit $ac_status); }; }; then
30286 wx_cv_func_backtrace
=yes
30288 echo "$as_me: failed program was:" >&5
30289 sed 's/^/| /' conftest.
$ac_ext >&5
30291 wx_cv_func_backtrace
=no
30294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30298 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30299 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30302 if test "$wx_cv_func_backtrace" = "no"; then
30303 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30304 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30305 wxUSE_STACKWALKER
=no
30307 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30308 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30309 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30310 echo $ECHO_N "(cached) $ECHO_C" >&6
30313 cat >conftest.
$ac_ext <<_ACEOF
30316 cat confdefs.h
>>conftest.
$ac_ext
30317 cat >>conftest.
$ac_ext <<_ACEOF
30318 /* end confdefs.h. */
30319 #include <cxxabi.h>
30325 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30331 rm -f conftest.
$ac_objext
30332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30333 (eval $ac_compile) 2>conftest.er1
30335 grep -v '^ *+' conftest.er1
>conftest.err
30337 cat conftest.err
>&5
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); } &&
30340 { ac_try
='test -z "$ac_cxx_werror_flag"
30341 || test ! -s conftest.err'
30342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30343 (eval $ac_try) 2>&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); }; } &&
30347 { ac_try
='test -s conftest.$ac_objext'
30348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); }; }; then
30353 wx_cv_func_cxa_demangle
=yes
30355 echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.
$ac_ext >&5
30358 wx_cv_func_cxa_demangle
=no
30361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30365 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30366 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30368 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30369 cat >>confdefs.h
<<\_ACEOF
30370 #define HAVE_CXA_DEMANGLE 1
30377 ac_cpp
='$CPP $CPPFLAGS'
30378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30386 for ac_func
in mkstemp mktemp
30388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 echo "$as_me:$LINENO: checking for $ac_func" >&5
30390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30391 if eval "test \"\${$as_ac_var+set}\" = set"; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 cat >conftest.
$ac_ext <<_ACEOF
30397 cat confdefs.h
>>conftest.
$ac_ext
30398 cat >>conftest.
$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30402 #define $ac_func innocuous_$ac_func
30404 /* System header to define __stub macros and hopefully few prototypes,
30405 which can conflict with char $ac_func (); below.
30406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30407 <limits.h> exists even on freestanding compilers. */
30410 # include <limits.h>
30412 # include <assert.h>
30417 /* Override any gcc2 internal prototype to avoid an error. */
30422 /* We use char because int might match the return type of a gcc2
30423 builtin and then its argument prototype would still apply. */
30425 /* The GNU C library defines this for functions which it implements
30426 to always fail with ENOSYS. Some functions are actually named
30427 something starting with __ and the normal name is an alias. */
30428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30431 char (*f) () = $ac_func;
30440 return f != $ac_func;
30445 rm -f conftest.
$ac_objext conftest
$ac_exeext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30447 (eval $ac_link) 2>conftest.er1
30449 grep -v '^ *+' conftest.er1
>conftest.err
30451 cat conftest.err
>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try
='test -z "$ac_c_werror_flag"
30455 || test ! -s conftest.err'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; } &&
30461 { ac_try
='test -s conftest$ac_exeext'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; }; then
30467 eval "$as_ac_var=yes"
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.
$ac_ext >&5
30472 eval "$as_ac_var=no"
30474 rm -f conftest.err conftest.
$ac_objext \
30475 conftest
$ac_exeext conftest.
$ac_ext
30477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30479 if test `eval echo '${'$as_ac_var'}'` = yes; then
30480 cat >>confdefs.h
<<_ACEOF
30481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30488 echo "$as_me:$LINENO: checking for statfs" >&5
30489 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30490 if test "${wx_cv_func_statfs+set}" = set; then
30491 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 cat >conftest.
$ac_ext <<_ACEOF
30496 cat confdefs.h
>>conftest.
$ac_ext
30497 cat >>conftest.
$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30500 #if defined(__BSD__)
30501 #include <sys/param.h>
30502 #include <sys/mount.h>
30504 #include <sys/vfs.h>
30522 rm -f conftest.
$ac_objext
30523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30524 (eval $ac_compile) 2>conftest.er1
30526 grep -v '^ *+' conftest.er1
>conftest.err
30528 cat conftest.err
>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } &&
30531 { ac_try
='test -z "$ac_c_werror_flag"
30532 || test ! -s conftest.err'
30533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30534 (eval $ac_try) 2>&5
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); }; } &&
30538 { ac_try
='test -s conftest.$ac_objext'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; }; then
30545 wx_cv_func_statfs
=yes
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.
$ac_ext >&5
30552 wx_cv_func_statfs
=no
30556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30559 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30560 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30562 if test "$wx_cv_func_statfs" = "yes"; then
30563 wx_cv_type_statvfs_t
="struct statfs"
30564 cat >>confdefs.h
<<\_ACEOF
30565 #define HAVE_STATFS 1
30569 echo "$as_me:$LINENO: checking for statvfs" >&5
30570 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30571 if test "${wx_cv_func_statvfs+set}" = set; then
30572 echo $ECHO_N "(cached) $ECHO_C" >&6
30574 cat >conftest.
$ac_ext <<_ACEOF
30577 cat confdefs.h
>>conftest.
$ac_ext
30578 cat >>conftest.
$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30581 #include <stddef.h>
30582 #include <sys/statvfs.h>
30588 statvfs("/", NULL);
30594 rm -f conftest.
$ac_objext
30595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30596 (eval $ac_compile) 2>conftest.er1
30598 grep -v '^ *+' conftest.er1
>conftest.err
30600 cat conftest.err
>&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); } &&
30603 { ac_try
='test -z "$ac_c_werror_flag"
30604 || test ! -s conftest.err'
30605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30606 (eval $ac_try) 2>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); }; } &&
30610 { ac_try
='test -s conftest.$ac_objext'
30611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30612 (eval $ac_try) 2>&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); }; }; then
30616 wx_cv_func_statvfs
=yes
30618 echo "$as_me: failed program was:" >&5
30619 sed 's/^/| /' conftest.
$ac_ext >&5
30621 wx_cv_func_statvfs
=no
30624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30627 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30628 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30630 if test "$wx_cv_func_statvfs" = "yes"; then
30634 ac_cpp
='$CXXCPP $CPPFLAGS'
30635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30640 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30641 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30642 if test "${wx_cv_type_statvfs_t+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30645 cat >conftest.
$ac_ext <<_ACEOF
30648 cat confdefs.h
>>conftest.
$ac_ext
30649 cat >>conftest.
$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30652 #include <sys/statvfs.h>
30669 rm -f conftest.
$ac_objext
30670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30671 (eval $ac_compile) 2>conftest.er1
30673 grep -v '^ *+' conftest.er1
>conftest.err
30675 cat conftest.err
>&5
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); } &&
30678 { ac_try
='test -z "$ac_cxx_werror_flag"
30679 || test ! -s conftest.err'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; } &&
30685 { ac_try
='test -s conftest.$ac_objext'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; }; then
30691 wx_cv_type_statvfs_t
=statvfs_t
30693 echo "$as_me: failed program was:" >&5
30694 sed 's/^/| /' conftest.
$ac_ext >&5
30697 cat >conftest.
$ac_ext <<_ACEOF
30700 cat confdefs.h
>>conftest.
$ac_ext
30701 cat >>conftest.
$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30704 #include <sys/statvfs.h>
30721 rm -f conftest.
$ac_objext
30722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30723 (eval $ac_compile) 2>conftest.er1
30725 grep -v '^ *+' conftest.er1
>conftest.err
30727 cat conftest.err
>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } &&
30730 { ac_try
='test -z "$ac_cxx_werror_flag"
30731 || test ! -s conftest.err'
30732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30733 (eval $ac_try) 2>&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); }; } &&
30737 { ac_try
='test -s conftest.$ac_objext'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; }; then
30743 wx_cv_type_statvfs_t
="struct statvfs"
30745 echo "$as_me: failed program was:" >&5
30746 sed 's/^/| /' conftest.
$ac_ext >&5
30748 wx_cv_type_statvfs_t
="unknown"
30751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30758 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30759 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30762 ac_cpp
='$CPP $CPPFLAGS'
30763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30768 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30769 cat >>confdefs.h
<<\_ACEOF
30770 #define HAVE_STATVFS 1
30775 wx_cv_type_statvfs_t
="unknown"
30779 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30780 cat >>confdefs.h
<<_ACEOF
30781 #define WX_STATFS_T $wx_cv_type_statvfs_t
30785 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30786 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30789 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30792 for ac_func
in fcntl flock
30794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30795 echo "$as_me:$LINENO: checking for $ac_func" >&5
30796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30797 if eval "test \"\${$as_ac_var+set}\" = set"; then
30798 echo $ECHO_N "(cached) $ECHO_C" >&6
30800 cat >conftest.
$ac_ext <<_ACEOF
30803 cat confdefs.h
>>conftest.
$ac_ext
30804 cat >>conftest.
$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30808 #define $ac_func innocuous_$ac_func
30810 /* System header to define __stub macros and hopefully few prototypes,
30811 which can conflict with char $ac_func (); below.
30812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30813 <limits.h> exists even on freestanding compilers. */
30816 # include <limits.h>
30818 # include <assert.h>
30823 /* Override any gcc2 internal prototype to avoid an error. */
30828 /* We use char because int might match the return type of a gcc2
30829 builtin and then its argument prototype would still apply. */
30831 /* The GNU C library defines this for functions which it implements
30832 to always fail with ENOSYS. Some functions are actually named
30833 something starting with __ and the normal name is an alias. */
30834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30837 char (*f) () = $ac_func;
30846 return f != $ac_func;
30851 rm -f conftest.
$ac_objext conftest
$ac_exeext
30852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30853 (eval $ac_link) 2>conftest.er1
30855 grep -v '^ *+' conftest.er1
>conftest.err
30857 cat conftest.err
>&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); } &&
30860 { ac_try
='test -z "$ac_c_werror_flag"
30861 || test ! -s conftest.err'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; } &&
30867 { ac_try
='test -s conftest$ac_exeext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30873 eval "$as_ac_var=yes"
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.
$ac_ext >&5
30878 eval "$as_ac_var=no"
30880 rm -f conftest.err conftest.
$ac_objext \
30881 conftest
$ac_exeext conftest.
$ac_ext
30883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30885 if test `eval echo '${'$as_ac_var'}'` = yes; then
30886 cat >>confdefs.h
<<_ACEOF
30887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30894 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30895 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30896 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30897 wxUSE_SNGLINST_CHECKER
=no
30902 for ac_func
in timegm
30904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30905 echo "$as_me:$LINENO: checking for $ac_func" >&5
30906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30907 if eval "test \"\${$as_ac_var+set}\" = set"; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30910 cat >conftest.
$ac_ext <<_ACEOF
30913 cat confdefs.h
>>conftest.
$ac_ext
30914 cat >>conftest.
$ac_ext <<_ACEOF
30915 /* end confdefs.h. */
30916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30918 #define $ac_func innocuous_$ac_func
30920 /* System header to define __stub macros and hopefully few prototypes,
30921 which can conflict with char $ac_func (); below.
30922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30923 <limits.h> exists even on freestanding compilers. */
30926 # include <limits.h>
30928 # include <assert.h>
30933 /* Override any gcc2 internal prototype to avoid an error. */
30938 /* We use char because int might match the return type of a gcc2
30939 builtin and then its argument prototype would still apply. */
30941 /* The GNU C library defines this for functions which it implements
30942 to always fail with ENOSYS. Some functions are actually named
30943 something starting with __ and the normal name is an alias. */
30944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30947 char (*f) () = $ac_func;
30956 return f != $ac_func;
30961 rm -f conftest.
$ac_objext conftest
$ac_exeext
30962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30963 (eval $ac_link) 2>conftest.er1
30965 grep -v '^ *+' conftest.er1
>conftest.err
30967 cat conftest.err
>&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } &&
30970 { ac_try
='test -z "$ac_c_werror_flag"
30971 || test ! -s conftest.err'
30972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30973 (eval $ac_try) 2>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); }; } &&
30977 { ac_try
='test -s conftest$ac_exeext'
30978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30979 (eval $ac_try) 2>&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); }; }; then
30983 eval "$as_ac_var=yes"
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.
$ac_ext >&5
30988 eval "$as_ac_var=no"
30990 rm -f conftest.err conftest.
$ac_objext \
30991 conftest
$ac_exeext conftest.
$ac_ext
30993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30995 if test `eval echo '${'$as_ac_var'}'` = yes; then
30996 cat >>confdefs.h
<<_ACEOF
30997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31006 for ac_func
in putenv setenv
31008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31009 echo "$as_me:$LINENO: checking for $ac_func" >&5
31010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31011 if eval "test \"\${$as_ac_var+set}\" = set"; then
31012 echo $ECHO_N "(cached) $ECHO_C" >&6
31014 cat >conftest.
$ac_ext <<_ACEOF
31017 cat confdefs.h
>>conftest.
$ac_ext
31018 cat >>conftest.
$ac_ext <<_ACEOF
31019 /* end confdefs.h. */
31020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31022 #define $ac_func innocuous_$ac_func
31024 /* System header to define __stub macros and hopefully few prototypes,
31025 which can conflict with char $ac_func (); below.
31026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31027 <limits.h> exists even on freestanding compilers. */
31030 # include <limits.h>
31032 # include <assert.h>
31037 /* 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. */
31045 /* The GNU C library defines this for functions which it implements
31046 to always fail with ENOSYS. Some functions are actually named
31047 something starting with __ and the normal name is an alias. */
31048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31051 char (*f) () = $ac_func;
31060 return f != $ac_func;
31065 rm -f conftest.
$ac_objext conftest
$ac_exeext
31066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31067 (eval $ac_link) 2>conftest.er1
31069 grep -v '^ *+' conftest.er1
>conftest.err
31071 cat conftest.err
>&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); } &&
31074 { ac_try
='test -z "$ac_c_werror_flag"
31075 || test ! -s conftest.err'
31076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31077 (eval $ac_try) 2>&5
31079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31080 (exit $ac_status); }; } &&
31081 { ac_try
='test -s conftest$ac_exeext'
31082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31083 (eval $ac_try) 2>&5
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); }; }; then
31087 eval "$as_ac_var=yes"
31089 echo "$as_me: failed program was:" >&5
31090 sed 's/^/| /' conftest.
$ac_ext >&5
31092 eval "$as_ac_var=no"
31094 rm -f conftest.err conftest.
$ac_objext \
31095 conftest
$ac_exeext conftest.
$ac_ext
31097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31099 if test `eval echo '${'$as_ac_var'}'` = yes; then
31100 cat >>confdefs.h
<<_ACEOF
31101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31108 HAVE_SOME_SLEEP_FUNC
=0
31109 if test "$USE_BEOS" = 1; then
31110 cat >>confdefs.h
<<\_ACEOF
31111 #define HAVE_SLEEP 1
31114 HAVE_SOME_SLEEP_FUNC
=1
31117 if test "$USE_DARWIN" = 1; then
31118 cat >>confdefs.h
<<\_ACEOF
31119 #define HAVE_USLEEP 1
31122 HAVE_SOME_SLEEP_FUNC
=1
31125 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31128 for ac_func
in nanosleep
31130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31131 echo "$as_me:$LINENO: checking for $ac_func" >&5
31132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31133 if eval "test \"\${$as_ac_var+set}\" = set"; then
31134 echo $ECHO_N "(cached) $ECHO_C" >&6
31136 cat >conftest.
$ac_ext <<_ACEOF
31139 cat confdefs.h
>>conftest.
$ac_ext
31140 cat >>conftest.
$ac_ext <<_ACEOF
31141 /* end confdefs.h. */
31142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31144 #define $ac_func innocuous_$ac_func
31146 /* System header to define __stub macros and hopefully few prototypes,
31147 which can conflict with char $ac_func (); below.
31148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31149 <limits.h> exists even on freestanding compilers. */
31152 # include <limits.h>
31154 # include <assert.h>
31159 /* Override any gcc2 internal prototype to avoid an error. */
31164 /* We use char because int might match the return type of a gcc2
31165 builtin and then its argument prototype would still apply. */
31167 /* The GNU C library defines this for functions which it implements
31168 to always fail with ENOSYS. Some functions are actually named
31169 something starting with __ and the normal name is an alias. */
31170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31173 char (*f) () = $ac_func;
31182 return f != $ac_func;
31187 rm -f conftest.
$ac_objext conftest
$ac_exeext
31188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31189 (eval $ac_link) 2>conftest.er1
31191 grep -v '^ *+' conftest.er1
>conftest.err
31193 cat conftest.err
>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); } &&
31196 { ac_try
='test -z "$ac_c_werror_flag"
31197 || test ! -s conftest.err'
31198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31199 (eval $ac_try) 2>&5
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); }; } &&
31203 { ac_try
='test -s conftest$ac_exeext'
31204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31205 (eval $ac_try) 2>&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); }; }; then
31209 eval "$as_ac_var=yes"
31211 echo "$as_me: failed program was:" >&5
31212 sed 's/^/| /' conftest.
$ac_ext >&5
31214 eval "$as_ac_var=no"
31216 rm -f conftest.err conftest.
$ac_objext \
31217 conftest
$ac_exeext conftest.
$ac_ext
31219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31221 if test `eval echo '${'$as_ac_var'}'` = yes; then
31222 cat >>confdefs.h
<<_ACEOF
31223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31225 cat >>confdefs.h
<<\_ACEOF
31226 #define HAVE_NANOSLEEP 1
31231 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31232 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31233 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31234 echo $ECHO_N "(cached) $ECHO_C" >&6
31236 ac_check_lib_save_LIBS
=$LIBS
31237 LIBS
="-lposix4 $LIBS"
31238 cat >conftest.
$ac_ext <<_ACEOF
31241 cat confdefs.h
>>conftest.
$ac_ext
31242 cat >>conftest.
$ac_ext <<_ACEOF
31243 /* end confdefs.h. */
31245 /* Override any gcc2 internal prototype to avoid an error. */
31249 /* We use char because int might match the return type of a gcc2
31250 builtin and then its argument prototype would still apply. */
31260 rm -f conftest.
$ac_objext conftest
$ac_exeext
31261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31262 (eval $ac_link) 2>conftest.er1
31264 grep -v '^ *+' conftest.er1
>conftest.err
31266 cat conftest.err
>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try
='test -z "$ac_c_werror_flag"
31270 || test ! -s conftest.err'
31271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272 (eval $ac_try) 2>&5
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); }; } &&
31276 { ac_try
='test -s conftest$ac_exeext'
31277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31278 (eval $ac_try) 2>&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); }; }; then
31282 ac_cv_lib_posix4_nanosleep
=yes
31284 echo "$as_me: failed program was:" >&5
31285 sed 's/^/| /' conftest.
$ac_ext >&5
31287 ac_cv_lib_posix4_nanosleep
=no
31289 rm -f conftest.err conftest.
$ac_objext \
31290 conftest
$ac_exeext conftest.
$ac_ext
31291 LIBS
=$ac_check_lib_save_LIBS
31293 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31294 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31295 if test $ac_cv_lib_posix4_nanosleep = yes; then
31297 cat >>confdefs.h
<<\_ACEOF
31298 #define HAVE_NANOSLEEP 1
31301 POSIX4_LINK
=" -lposix4"
31306 for ac_func
in usleep
31308 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31309 echo "$as_me:$LINENO: checking for $ac_func" >&5
31310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31311 if eval "test \"\${$as_ac_var+set}\" = set"; then
31312 echo $ECHO_N "(cached) $ECHO_C" >&6
31314 cat >conftest.
$ac_ext <<_ACEOF
31317 cat confdefs.h
>>conftest.
$ac_ext
31318 cat >>conftest.
$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31322 #define $ac_func innocuous_$ac_func
31324 /* System header to define __stub macros and hopefully few prototypes,
31325 which can conflict with char $ac_func (); below.
31326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31327 <limits.h> exists even on freestanding compilers. */
31330 # include <limits.h>
31332 # include <assert.h>
31337 /* Override any gcc2 internal prototype to avoid an error. */
31342 /* We use char because int might match the return type of a gcc2
31343 builtin and then its argument prototype would still apply. */
31345 /* The GNU C library defines this for functions which it implements
31346 to always fail with ENOSYS. Some functions are actually named
31347 something starting with __ and the normal name is an alias. */
31348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31351 char (*f) () = $ac_func;
31360 return f != $ac_func;
31365 rm -f conftest.
$ac_objext conftest
$ac_exeext
31366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31367 (eval $ac_link) 2>conftest.er1
31369 grep -v '^ *+' conftest.er1
>conftest.err
31371 cat conftest.err
>&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); } &&
31374 { ac_try
='test -z "$ac_c_werror_flag"
31375 || test ! -s conftest.err'
31376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31377 (eval $ac_try) 2>&5
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); }; } &&
31381 { ac_try
='test -s conftest$ac_exeext'
31382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31383 (eval $ac_try) 2>&5
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); }; }; then
31387 eval "$as_ac_var=yes"
31389 echo "$as_me: failed program was:" >&5
31390 sed 's/^/| /' conftest.
$ac_ext >&5
31392 eval "$as_ac_var=no"
31394 rm -f conftest.err conftest.
$ac_objext \
31395 conftest
$ac_exeext conftest.
$ac_ext
31397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31399 if test `eval echo '${'$as_ac_var'}'` = yes; then
31400 cat >>confdefs.h
<<_ACEOF
31401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31403 cat >>confdefs.h
<<\_ACEOF
31404 #define HAVE_USLEEP 1
31408 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31409 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31427 for ac_func
in uname gethostname
31429 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31430 echo "$as_me:$LINENO: checking for $ac_func" >&5
31431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31432 if eval "test \"\${$as_ac_var+set}\" = set"; then
31433 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 cat >conftest.
$ac_ext <<_ACEOF
31438 cat confdefs.h
>>conftest.
$ac_ext
31439 cat >>conftest.
$ac_ext <<_ACEOF
31440 /* end confdefs.h. */
31441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31443 #define $ac_func innocuous_$ac_func
31445 /* System header to define __stub macros and hopefully few prototypes,
31446 which can conflict with char $ac_func (); below.
31447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31448 <limits.h> exists even on freestanding compilers. */
31451 # include <limits.h>
31453 # include <assert.h>
31458 /* Override any gcc2 internal prototype to avoid an error. */
31463 /* We use char because int might match the return type of a gcc2
31464 builtin and then its argument prototype would still apply. */
31466 /* The GNU C library defines this for functions which it implements
31467 to always fail with ENOSYS. Some functions are actually named
31468 something starting with __ and the normal name is an alias. */
31469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31472 char (*f) () = $ac_func;
31481 return f != $ac_func;
31486 rm -f conftest.
$ac_objext conftest
$ac_exeext
31487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31488 (eval $ac_link) 2>conftest.er1
31490 grep -v '^ *+' conftest.er1
>conftest.err
31492 cat conftest.err
>&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); } &&
31495 { ac_try
='test -z "$ac_c_werror_flag"
31496 || test ! -s conftest.err'
31497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31498 (eval $ac_try) 2>&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); }; } &&
31502 { ac_try
='test -s conftest$ac_exeext'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; }; then
31508 eval "$as_ac_var=yes"
31510 echo "$as_me: failed program was:" >&5
31511 sed 's/^/| /' conftest.
$ac_ext >&5
31513 eval "$as_ac_var=no"
31515 rm -f conftest.err conftest.
$ac_objext \
31516 conftest
$ac_exeext conftest.
$ac_ext
31518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31520 if test `eval echo '${'$as_ac_var'}'` = yes; then
31521 cat >>confdefs.h
<<_ACEOF
31522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31532 ac_cpp
='$CXXCPP $CPPFLAGS'
31533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31539 for ac_func
in strtok_r
31541 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31542 echo "$as_me:$LINENO: checking for $ac_func" >&5
31543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31544 if eval "test \"\${$as_ac_var+set}\" = set"; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 cat >conftest.
$ac_ext <<_ACEOF
31550 cat confdefs.h
>>conftest.
$ac_ext
31551 cat >>conftest.
$ac_ext <<_ACEOF
31552 /* end confdefs.h. */
31553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31555 #define $ac_func innocuous_$ac_func
31557 /* System header to define __stub macros and hopefully few prototypes,
31558 which can conflict with char $ac_func (); below.
31559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31560 <limits.h> exists even on freestanding compilers. */
31563 # include <limits.h>
31565 # include <assert.h>
31570 /* Override any gcc2 internal prototype to avoid an error. */
31575 /* We use char because int might match the return type of a gcc2
31576 builtin and then its argument prototype would still apply. */
31578 /* The GNU C library defines this for functions which it implements
31579 to always fail with ENOSYS. Some functions are actually named
31580 something starting with __ and the normal name is an alias. */
31581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31584 char (*f) () = $ac_func;
31593 return f != $ac_func;
31598 rm -f conftest.
$ac_objext conftest
$ac_exeext
31599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31600 (eval $ac_link) 2>conftest.er1
31602 grep -v '^ *+' conftest.er1
>conftest.err
31604 cat conftest.err
>&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } &&
31607 { ac_try
='test -z "$ac_cxx_werror_flag"
31608 || test ! -s conftest.err'
31609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31610 (eval $ac_try) 2>&5
31612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31613 (exit $ac_status); }; } &&
31614 { ac_try
='test -s conftest$ac_exeext'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; }; then
31620 eval "$as_ac_var=yes"
31622 echo "$as_me: failed program was:" >&5
31623 sed 's/^/| /' conftest.
$ac_ext >&5
31625 eval "$as_ac_var=no"
31627 rm -f conftest.err conftest.
$ac_objext \
31628 conftest
$ac_exeext conftest.
$ac_ext
31630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31632 if test `eval echo '${'$as_ac_var'}'` = yes; then
31633 cat >>confdefs.h
<<_ACEOF
31634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31642 ac_cpp
='$CPP $CPPFLAGS'
31643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31650 for ac_func
in inet_addr
31652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31653 echo "$as_me:$LINENO: checking for $ac_func" >&5
31654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31655 if eval "test \"\${$as_ac_var+set}\" = set"; then
31656 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 cat >conftest.
$ac_ext <<_ACEOF
31661 cat confdefs.h
>>conftest.
$ac_ext
31662 cat >>conftest.
$ac_ext <<_ACEOF
31663 /* end confdefs.h. */
31664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31666 #define $ac_func innocuous_$ac_func
31668 /* System header to define __stub macros and hopefully few prototypes,
31669 which can conflict with char $ac_func (); below.
31670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31671 <limits.h> exists even on freestanding compilers. */
31674 # include <limits.h>
31676 # include <assert.h>
31681 /* Override any gcc2 internal prototype to avoid an error. */
31686 /* We use char because int might match the return type of a gcc2
31687 builtin and then its argument prototype would still apply. */
31689 /* The GNU C library defines this for functions which it implements
31690 to always fail with ENOSYS. Some functions are actually named
31691 something starting with __ and the normal name is an alias. */
31692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31695 char (*f) () = $ac_func;
31704 return f != $ac_func;
31709 rm -f conftest.
$ac_objext conftest
$ac_exeext
31710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31711 (eval $ac_link) 2>conftest.er1
31713 grep -v '^ *+' conftest.er1
>conftest.err
31715 cat conftest.err
>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } &&
31718 { ac_try
='test -z "$ac_c_werror_flag"
31719 || test ! -s conftest.err'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; } &&
31725 { ac_try
='test -s conftest$ac_exeext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 eval "$as_ac_var=yes"
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.
$ac_ext >&5
31736 eval "$as_ac_var=no"
31738 rm -f conftest.err conftest.
$ac_objext \
31739 conftest
$ac_exeext conftest.
$ac_ext
31741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31743 if test `eval echo '${'$as_ac_var'}'` = yes; then
31744 cat >>confdefs.h
<<_ACEOF
31745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31747 cat >>confdefs.h
<<\_ACEOF
31748 #define HAVE_INET_ADDR 1
31753 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31754 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31755 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31756 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 ac_check_lib_save_LIBS
=$LIBS
31760 cat >conftest.
$ac_ext <<_ACEOF
31763 cat confdefs.h
>>conftest.
$ac_ext
31764 cat >>conftest.
$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31767 /* Override any gcc2 internal prototype to avoid an error. */
31771 /* We use char because int might match the return type of a gcc2
31772 builtin and then its argument prototype would still apply. */
31782 rm -f conftest.
$ac_objext conftest
$ac_exeext
31783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31784 (eval $ac_link) 2>conftest.er1
31786 grep -v '^ *+' conftest.er1
>conftest.err
31788 cat conftest.err
>&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); } &&
31791 { ac_try
='test -z "$ac_c_werror_flag"
31792 || test ! -s conftest.err'
31793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31794 (eval $ac_try) 2>&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); }; } &&
31798 { ac_try
='test -s conftest$ac_exeext'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; }; then
31804 ac_cv_lib_nsl_inet_addr
=yes
31806 echo "$as_me: failed program was:" >&5
31807 sed 's/^/| /' conftest.
$ac_ext >&5
31809 ac_cv_lib_nsl_inet_addr
=no
31811 rm -f conftest.err conftest.
$ac_objext \
31812 conftest
$ac_exeext conftest.
$ac_ext
31813 LIBS
=$ac_check_lib_save_LIBS
31815 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31816 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31817 if test $ac_cv_lib_nsl_inet_addr = yes; then
31821 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31822 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31823 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 ac_check_lib_save_LIBS
=$LIBS
31827 LIBS
="-lresolv $LIBS"
31828 cat >conftest.
$ac_ext <<_ACEOF
31831 cat confdefs.h
>>conftest.
$ac_ext
31832 cat >>conftest.
$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31835 /* Override any gcc2 internal prototype to avoid an error. */
31839 /* We use char because int might match the return type of a gcc2
31840 builtin and then its argument prototype would still apply. */
31850 rm -f conftest.
$ac_objext conftest
$ac_exeext
31851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31852 (eval $ac_link) 2>conftest.er1
31854 grep -v '^ *+' conftest.er1
>conftest.err
31856 cat conftest.err
>&5
31857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31858 (exit $ac_status); } &&
31859 { ac_try
='test -z "$ac_c_werror_flag"
31860 || test ! -s conftest.err'
31861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31862 (eval $ac_try) 2>&5
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); }; } &&
31866 { ac_try
='test -s conftest$ac_exeext'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; }; then
31872 ac_cv_lib_resolv_inet_addr
=yes
31874 echo "$as_me: failed program was:" >&5
31875 sed 's/^/| /' conftest.
$ac_ext >&5
31877 ac_cv_lib_resolv_inet_addr
=no
31879 rm -f conftest.err conftest.
$ac_objext \
31880 conftest
$ac_exeext conftest.
$ac_ext
31881 LIBS
=$ac_check_lib_save_LIBS
31883 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31884 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31885 if test $ac_cv_lib_resolv_inet_addr = yes; then
31889 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31890 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31891 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 ac_check_lib_save_LIBS
=$LIBS
31895 LIBS
="-lsocket $LIBS"
31896 cat >conftest.
$ac_ext <<_ACEOF
31899 cat confdefs.h
>>conftest.
$ac_ext
31900 cat >>conftest.
$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31903 /* Override any gcc2 internal prototype to avoid an error. */
31907 /* We use char because int might match the return type of a gcc2
31908 builtin and then its argument prototype would still apply. */
31918 rm -f conftest.
$ac_objext conftest
$ac_exeext
31919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31920 (eval $ac_link) 2>conftest.er1
31922 grep -v '^ *+' conftest.er1
>conftest.err
31924 cat conftest.err
>&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } &&
31927 { ac_try
='test -z "$ac_c_werror_flag"
31928 || test ! -s conftest.err'
31929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31930 (eval $ac_try) 2>&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); }; } &&
31934 { ac_try
='test -s conftest$ac_exeext'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; }; then
31940 ac_cv_lib_socket_inet_addr
=yes
31942 echo "$as_me: failed program was:" >&5
31943 sed 's/^/| /' conftest.
$ac_ext >&5
31945 ac_cv_lib_socket_inet_addr
=no
31947 rm -f conftest.err conftest.
$ac_objext \
31948 conftest
$ac_exeext conftest.
$ac_ext
31949 LIBS
=$ac_check_lib_save_LIBS
31951 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31952 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31953 if test $ac_cv_lib_socket_inet_addr = yes; then
31973 for ac_func
in inet_aton
31975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31976 echo "$as_me:$LINENO: checking for $ac_func" >&5
31977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31978 if eval "test \"\${$as_ac_var+set}\" = set"; then
31979 echo $ECHO_N "(cached) $ECHO_C" >&6
31981 cat >conftest.
$ac_ext <<_ACEOF
31984 cat confdefs.h
>>conftest.
$ac_ext
31985 cat >>conftest.
$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31989 #define $ac_func innocuous_$ac_func
31991 /* System header to define __stub macros and hopefully few prototypes,
31992 which can conflict with char $ac_func (); below.
31993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31994 <limits.h> exists even on freestanding compilers. */
31997 # include <limits.h>
31999 # include <assert.h>
32004 /* Override any gcc2 internal prototype to avoid an error. */
32009 /* We use char because int might match the return type of a gcc2
32010 builtin and then its argument prototype would still apply. */
32012 /* The GNU C library defines this for functions which it implements
32013 to always fail with ENOSYS. Some functions are actually named
32014 something starting with __ and the normal name is an alias. */
32015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32018 char (*f) () = $ac_func;
32027 return f != $ac_func;
32032 rm -f conftest.
$ac_objext conftest
$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>conftest.er1
32036 grep -v '^ *+' conftest.er1
>conftest.err
32038 cat conftest.err
>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try
='test -z "$ac_c_werror_flag"
32042 || test ! -s conftest.err'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try
='test -s conftest$ac_exeext'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; }; then
32054 eval "$as_ac_var=yes"
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.
$ac_ext >&5
32059 eval "$as_ac_var=no"
32061 rm -f conftest.err conftest.
$ac_objext \
32062 conftest
$ac_exeext conftest.
$ac_ext
32064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32066 if test `eval echo '${'$as_ac_var'}'` = yes; then
32067 cat >>confdefs.h
<<_ACEOF
32068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32070 cat >>confdefs.h
<<\_ACEOF
32071 #define HAVE_INET_ATON 1
32076 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32077 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32078 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32079 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 ac_check_lib_save_LIBS
=$LIBS
32083 LIBS
="-l$INET_LINK $LIBS"
32084 cat >conftest.
$ac_ext <<_ACEOF
32087 cat confdefs.h
>>conftest.
$ac_ext
32088 cat >>conftest.
$ac_ext <<_ACEOF
32089 /* end confdefs.h. */
32091 /* Override any gcc2 internal prototype to avoid an error. */
32095 /* We use char because int might match the return type of a gcc2
32096 builtin and then its argument prototype would still apply. */
32106 rm -f conftest.
$ac_objext conftest
$ac_exeext
32107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32108 (eval $ac_link) 2>conftest.er1
32110 grep -v '^ *+' conftest.er1
>conftest.err
32112 cat conftest.err
>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); } &&
32115 { ac_try
='test -z "$ac_c_werror_flag"
32116 || test ! -s conftest.err'
32117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32118 (eval $ac_try) 2>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; } &&
32122 { ac_try
='test -s conftest$ac_exeext'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; }; then
32128 eval "$as_ac_Lib=yes"
32130 echo "$as_me: failed program was:" >&5
32131 sed 's/^/| /' conftest.
$ac_ext >&5
32133 eval "$as_ac_Lib=no"
32135 rm -f conftest.err conftest.
$ac_objext \
32136 conftest
$ac_exeext conftest.
$ac_ext
32137 LIBS
=$ac_check_lib_save_LIBS
32139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32140 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32141 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32142 cat >>confdefs.h
<<\_ACEOF
32143 #define HAVE_INET_ATON 1
32153 if test "x$INET_LINK" != "x"; then
32154 cat >>confdefs.h
<<\_ACEOF
32155 #define HAVE_INET_ADDR 1
32158 INET_LINK
=" -l$INET_LINK"
32166 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32167 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32168 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 ac_check_lib_save_LIBS
=$LIBS
32173 cat >conftest.
$ac_ext <<_ACEOF
32176 cat confdefs.h
>>conftest.
$ac_ext
32177 cat >>conftest.
$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32180 /* Override any gcc2 internal prototype to avoid an error. */
32184 /* We use char because int might match the return type of a gcc2
32185 builtin and then its argument prototype would still apply. */
32195 rm -f conftest.
$ac_objext conftest
$ac_exeext
32196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32197 (eval $ac_link) 2>conftest.er1
32199 grep -v '^ *+' conftest.er1
>conftest.err
32201 cat conftest.err
>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); } &&
32204 { ac_try
='test -z "$ac_c_werror_flag"
32205 || test ! -s conftest.err'
32206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32207 (eval $ac_try) 2>&5
32209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32210 (exit $ac_status); }; } &&
32211 { ac_try
='test -s conftest$ac_exeext'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; }; then
32217 ac_cv_lib_esd_esd_close
=yes
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.
$ac_ext >&5
32222 ac_cv_lib_esd_esd_close
=no
32224 rm -f conftest.err conftest.
$ac_objext \
32225 conftest
$ac_exeext conftest.
$ac_ext
32226 LIBS
=$ac_check_lib_save_LIBS
32228 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32229 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32230 if test $ac_cv_lib_esd_esd_close = yes; then
32233 for ac_header
in esd.h
32235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32237 echo "$as_me:$LINENO: checking for $ac_header" >&5
32238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32240 echo $ECHO_N "(cached) $ECHO_C" >&6
32242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32245 # Is the header compilable?
32246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32248 cat >conftest.
$ac_ext <<_ACEOF
32251 cat confdefs.h
>>conftest.
$ac_ext
32252 cat >>conftest.
$ac_ext <<_ACEOF
32253 /* end confdefs.h. */
32254 $ac_includes_default
32255 #include <$ac_header>
32257 rm -f conftest.
$ac_objext
32258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32259 (eval $ac_compile) 2>conftest.er1
32261 grep -v '^ *+' conftest.er1
>conftest.err
32263 cat conftest.err
>&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); } &&
32266 { ac_try
='test -z "$ac_c_werror_flag"
32267 || test ! -s conftest.err'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; } &&
32273 { ac_try
='test -s conftest.$ac_objext'
32274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32275 (eval $ac_try) 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; }; then
32279 ac_header_compiler
=yes
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.
$ac_ext >&5
32284 ac_header_compiler
=no
32286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32288 echo "${ECHO_T}$ac_header_compiler" >&6
32290 # Is the header present?
32291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32293 cat >conftest.
$ac_ext <<_ACEOF
32296 cat confdefs.h
>>conftest.
$ac_ext
32297 cat >>conftest.
$ac_ext <<_ACEOF
32298 /* end confdefs.h. */
32299 #include <$ac_header>
32301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32304 grep -v '^ *+' conftest.er1
>conftest.err
32306 cat conftest.err
>&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } >/dev
/null
; then
32309 if test -s conftest.err
; then
32310 ac_cpp_err
=$ac_c_preproc_warn_flag
32311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32318 if test -z "$ac_cpp_err"; then
32319 ac_header_preproc
=yes
32321 echo "$as_me: failed program was:" >&5
32322 sed 's/^/| /' conftest.
$ac_ext >&5
32324 ac_header_preproc
=no
32326 rm -f conftest.err conftest.
$ac_ext
32327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32328 echo "${ECHO_T}$ac_header_preproc" >&6
32330 # So? What about this header?
32331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32337 ac_header_preproc
=yes
32340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32354 ## ----------------------------------------- ##
32355 ## Report this to wx-dev@lists.wxwidgets.org ##
32356 ## ----------------------------------------- ##
32359 sed "s/^/$as_me: WARNING: /" >&2
32362 echo "$as_me:$LINENO: checking for $ac_header" >&5
32363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 eval "$as_ac_Header=\$ac_header_preproc"
32369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32374 cat >>confdefs.h
<<_ACEOF
32375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32378 EXTRALIBS_ESD
="-lesd"
32389 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32390 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32391 cat >conftest.
$ac_ext <<_ACEOF
32394 cat confdefs.h
>>conftest.
$ac_ext
32395 cat >>conftest.
$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32398 #include <linux/cdrom.h>
32401 #include <sys/cdio.h>
32407 struct cdrom_tocentry entry, old_entry;
32412 rm -f conftest.
$ac_objext
32413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32414 (eval $ac_compile) 2>conftest.er1
32416 grep -v '^ *+' conftest.er1
>conftest.err
32418 cat conftest.err
>&5
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); } &&
32421 { ac_try
='test -z "$ac_c_werror_flag"
32422 || test ! -s conftest.err'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; } &&
32428 { ac_try
='test -s conftest.$ac_objext'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; }; then
32434 echo "$as_me:$LINENO: result: yes" >&5
32435 echo "${ECHO_T}yes" >&6
32436 cat >>confdefs.h
<<\_ACEOF
32437 #define HAVE_KNOWN_CDROM_INTERFACE 1
32441 echo "$as_me: failed program was:" >&5
32442 sed 's/^/| /' conftest.
$ac_ext >&5
32444 echo "$as_me:$LINENO: result: no" >&5
32445 echo "${ECHO_T}no" >&6
32447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32450 cat >confcache
<<\_ACEOF
32451 # This file is a shell script that caches the results of configure
32452 # tests run on this system so they can be shared between configure
32453 # scripts and configure runs, see configure's option --config-cache.
32454 # It is not useful on other systems. If it contains results you don't
32455 # want to keep, you may remove or edit it.
32457 # config.status only pays attention to the cache file if you give it
32458 # the --recheck option to rerun configure.
32460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32462 # following values.
32466 # The following way of writing the cache mishandles newlines in values,
32467 # but we know of no workaround that is simple, portable, and efficient.
32468 # So, don't put newlines in cache variables' values.
32469 # Ultrix sh set writes to stderr and can't be redirected directly,
32470 # and sets the high bit in the cache file unless we assign to the vars.
32473 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32475 # `set' does not quote correctly, so add quotes (double-quote
32476 # substitution turns \\\\ into \\, and sed turns \\ into \).
32479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32482 # `set' quotes correctly as required by POSIX, so do not add quotes.
32484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32493 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32495 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32496 if test -w $cache_file; then
32497 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32498 cat confcache
>$cache_file
32500 echo "not updating unwritable cache $cache_file"
32507 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32513 if test "$wxUSE_THREADS" = "yes" ; then
32514 if test "$USE_BEOS" = 1; then
32515 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32516 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32521 if test "$wxUSE_THREADS" = "yes" ; then
32524 THREAD_OPTS
="-pthread"
32526 *-*-solaris2* | *-*-sunos4* )
32527 if test "x$GCC" = "xyes"; then
32528 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32530 THREAD_OPTS
="-mt $THREAD_OPTS"
32534 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32536 *-*-darwin* | *-*-cygwin* )
32540 THREAD_OPTS
="pthreads"
32543 if test "x$GCC" != "xyes"; then
32549 if test "x$GCC" = "xyes"; then
32555 if test "x$GCC" != "xyes"; then
32556 THREAD_OPTS
="-Ethread"
32561 THREAD_OPTS
="$THREAD_OPTS pthread none"
32564 for flag
in $THREAD_OPTS; do
32567 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32568 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32572 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32573 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32574 THREADS_CFLAGS
="$flag"
32578 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32579 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32580 THREADS_LINK
="-l$flag"
32585 save_CFLAGS
="$CFLAGS"
32586 LIBS
="$THREADS_LINK $LIBS"
32587 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32589 cat >conftest.
$ac_ext <<_ACEOF
32592 cat confdefs.h
>>conftest.
$ac_ext
32593 cat >>conftest.
$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595 #include <pthread.h>
32599 pthread_create(0,0,0,0);
32604 rm -f conftest.
$ac_objext conftest
$ac_exeext
32605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32606 (eval $ac_link) 2>conftest.er1
32608 grep -v '^ *+' conftest.er1
>conftest.err
32610 cat conftest.err
>&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); } &&
32613 { ac_try
='test -z "$ac_c_werror_flag"
32614 || test ! -s conftest.err'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; } &&
32620 { ac_try
='test -s conftest$ac_exeext'
32621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32622 (eval $ac_try) 2>&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); }; }; then
32628 echo "$as_me: failed program was:" >&5
32629 sed 's/^/| /' conftest.
$ac_ext >&5
32632 rm -f conftest.err conftest.
$ac_objext \
32633 conftest
$ac_exeext conftest.
$ac_ext
32636 CFLAGS
="$save_CFLAGS"
32638 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32639 echo "${ECHO_T}$THREADS_OK" >&6
32640 if test "x$THREADS_OK" = "xyes"; then
32648 if test "x$THREADS_OK" != "xyes"; then
32650 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32651 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32653 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32654 LIBS
="$THREADS_LINK $LIBS"
32656 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32657 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32661 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32662 flag
="-D_THREAD_SAFE"
32665 flag
="-D_THREAD_SAFE"
32668 flag
="-D_REENTRANT"
32669 if test "x$GCC" != "xyes"; then
32670 flag
="$flag -D_RWSTD_MULTI_THREAD"
32673 *solaris
* | alpha
*-osf*)
32674 flag
="-D_REENTRANT"
32677 echo "$as_me:$LINENO: result: ${flag}" >&5
32678 echo "${ECHO_T}${flag}" >&6
32679 if test "x$flag" != xno
; then
32680 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32683 if test "x$THREADS_CFLAGS" != "x"; then
32684 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32685 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32690 if test "$wxUSE_THREADS" = "yes" ; then
32692 for ac_func
in thr_setconcurrency
32694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32695 echo "$as_me:$LINENO: checking for $ac_func" >&5
32696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32697 if eval "test \"\${$as_ac_var+set}\" = set"; then
32698 echo $ECHO_N "(cached) $ECHO_C" >&6
32700 cat >conftest.
$ac_ext <<_ACEOF
32703 cat confdefs.h
>>conftest.
$ac_ext
32704 cat >>conftest.
$ac_ext <<_ACEOF
32705 /* end confdefs.h. */
32706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32708 #define $ac_func innocuous_$ac_func
32710 /* System header to define __stub macros and hopefully few prototypes,
32711 which can conflict with char $ac_func (); below.
32712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32713 <limits.h> exists even on freestanding compilers. */
32716 # include <limits.h>
32718 # include <assert.h>
32723 /* Override any gcc2 internal prototype to avoid an error. */
32728 /* We use char because int might match the return type of a gcc2
32729 builtin and then its argument prototype would still apply. */
32731 /* The GNU C library defines this for functions which it implements
32732 to always fail with ENOSYS. Some functions are actually named
32733 something starting with __ and the normal name is an alias. */
32734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32737 char (*f) () = $ac_func;
32746 return f != $ac_func;
32751 rm -f conftest.
$ac_objext conftest
$ac_exeext
32752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32753 (eval $ac_link) 2>conftest.er1
32755 grep -v '^ *+' conftest.er1
>conftest.err
32757 cat conftest.err
>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } &&
32760 { ac_try
='test -z "$ac_c_werror_flag"
32761 || test ! -s conftest.err'
32762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32763 (eval $ac_try) 2>&5
32765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32766 (exit $ac_status); }; } &&
32767 { ac_try
='test -s conftest$ac_exeext'
32768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32769 (eval $ac_try) 2>&5
32771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32772 (exit $ac_status); }; }; then
32773 eval "$as_ac_var=yes"
32775 echo "$as_me: failed program was:" >&5
32776 sed 's/^/| /' conftest.
$ac_ext >&5
32778 eval "$as_ac_var=no"
32780 rm -f conftest.err conftest.
$ac_objext \
32781 conftest
$ac_exeext conftest.
$ac_ext
32783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32785 if test `eval echo '${'$as_ac_var'}'` = yes; then
32786 cat >>confdefs.h
<<_ACEOF
32787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32795 for ac_header
in sched.h
32797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32799 echo "$as_me:$LINENO: checking for $ac_header" >&5
32800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32807 # Is the header compilable?
32808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32810 cat >conftest.
$ac_ext <<_ACEOF
32813 cat confdefs.h
>>conftest.
$ac_ext
32814 cat >>conftest.
$ac_ext <<_ACEOF
32815 /* end confdefs.h. */
32816 $ac_includes_default
32817 #include <$ac_header>
32819 rm -f conftest.
$ac_objext
32820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32821 (eval $ac_compile) 2>conftest.er1
32823 grep -v '^ *+' conftest.er1
>conftest.err
32825 cat conftest.err
>&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); } &&
32828 { ac_try
='test -z "$ac_c_werror_flag"
32829 || test ! -s conftest.err'
32830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32831 (eval $ac_try) 2>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); }; } &&
32835 { ac_try
='test -s conftest.$ac_objext'
32836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32837 (eval $ac_try) 2>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); }; }; then
32841 ac_header_compiler
=yes
32843 echo "$as_me: failed program was:" >&5
32844 sed 's/^/| /' conftest.
$ac_ext >&5
32846 ac_header_compiler
=no
32848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32850 echo "${ECHO_T}$ac_header_compiler" >&6
32852 # Is the header present?
32853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32855 cat >conftest.
$ac_ext <<_ACEOF
32858 cat confdefs.h
>>conftest.
$ac_ext
32859 cat >>conftest.
$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32861 #include <$ac_header>
32863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32866 grep -v '^ *+' conftest.er1
>conftest.err
32868 cat conftest.err
>&5
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); } >/dev
/null
; then
32871 if test -s conftest.err
; then
32872 ac_cpp_err
=$ac_c_preproc_warn_flag
32873 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32880 if test -z "$ac_cpp_err"; then
32881 ac_header_preproc
=yes
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.
$ac_ext >&5
32886 ac_header_preproc
=no
32888 rm -f conftest.err conftest.
$ac_ext
32889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32890 echo "${ECHO_T}$ac_header_preproc" >&6
32892 # So? What about this header?
32893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32899 ac_header_preproc
=yes
32902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32916 ## ----------------------------------------- ##
32917 ## Report this to wx-dev@lists.wxwidgets.org ##
32918 ## ----------------------------------------- ##
32921 sed "s/^/$as_me: WARNING: /" >&2
32924 echo "$as_me:$LINENO: checking for $ac_header" >&5
32925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 eval "$as_ac_Header=\$ac_header_preproc"
32931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32936 cat >>confdefs.h
<<_ACEOF
32937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32944 if test "$ac_cv_header_sched_h" = "yes"; then
32945 echo "$as_me:$LINENO: checking for sched_yield" >&5
32946 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32947 if test "${ac_cv_func_sched_yield+set}" = set; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 cat >conftest.
$ac_ext <<_ACEOF
32953 cat confdefs.h
>>conftest.
$ac_ext
32954 cat >>conftest.
$ac_ext <<_ACEOF
32955 /* end confdefs.h. */
32956 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32958 #define sched_yield innocuous_sched_yield
32960 /* System header to define __stub macros and hopefully few prototypes,
32961 which can conflict with char sched_yield (); below.
32962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32963 <limits.h> exists even on freestanding compilers. */
32966 # include <limits.h>
32968 # include <assert.h>
32973 /* Override any gcc2 internal prototype to avoid an error. */
32978 /* We use char because int might match the return type of a gcc2
32979 builtin and then its argument prototype would still apply. */
32980 char sched_yield ();
32981 /* The GNU C library defines this for functions which it implements
32982 to always fail with ENOSYS. Some functions are actually named
32983 something starting with __ and the normal name is an alias. */
32984 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32987 char (*f) () = sched_yield;
32996 return f != sched_yield;
33001 rm -f conftest.
$ac_objext conftest
$ac_exeext
33002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33003 (eval $ac_link) 2>conftest.er1
33005 grep -v '^ *+' conftest.er1
>conftest.err
33007 cat conftest.err
>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } &&
33010 { ac_try
='test -z "$ac_c_werror_flag"
33011 || test ! -s conftest.err'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; } &&
33017 { ac_try
='test -s conftest$ac_exeext'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; }; then
33023 ac_cv_func_sched_yield
=yes
33025 echo "$as_me: failed program was:" >&5
33026 sed 's/^/| /' conftest.
$ac_ext >&5
33028 ac_cv_func_sched_yield
=no
33030 rm -f conftest.err conftest.
$ac_objext \
33031 conftest
$ac_exeext conftest.
$ac_ext
33033 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33034 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33035 if test $ac_cv_func_sched_yield = yes; then
33036 cat >>confdefs.h
<<\_ACEOF
33037 #define HAVE_SCHED_YIELD 1
33042 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33043 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33044 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 ac_check_lib_save_LIBS
=$LIBS
33048 LIBS
="-lposix4 $LIBS"
33049 cat >conftest.
$ac_ext <<_ACEOF
33052 cat confdefs.h
>>conftest.
$ac_ext
33053 cat >>conftest.
$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33056 /* Override any gcc2 internal prototype to avoid an error. */
33060 /* We use char because int might match the return type of a gcc2
33061 builtin and then its argument prototype would still apply. */
33062 char sched_yield ();
33071 rm -f conftest.
$ac_objext conftest
$ac_exeext
33072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33073 (eval $ac_link) 2>conftest.er1
33075 grep -v '^ *+' conftest.er1
>conftest.err
33077 cat conftest.err
>&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); } &&
33080 { ac_try
='test -z "$ac_c_werror_flag"
33081 || test ! -s conftest.err'
33082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33083 (eval $ac_try) 2>&5
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); }; } &&
33087 { ac_try
='test -s conftest$ac_exeext'
33088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; }; then
33093 ac_cv_lib_posix4_sched_yield
=yes
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.
$ac_ext >&5
33098 ac_cv_lib_posix4_sched_yield
=no
33100 rm -f conftest.err conftest.
$ac_objext \
33101 conftest
$ac_exeext conftest.
$ac_ext
33102 LIBS
=$ac_check_lib_save_LIBS
33104 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33105 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33106 if test $ac_cv_lib_posix4_sched_yield = yes; then
33107 cat >>confdefs.h
<<\_ACEOF
33108 #define HAVE_SCHED_YIELD 1
33110 POSIX4_LINK
=" -lposix4"
33112 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33113 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33124 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33125 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33126 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33127 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 cat >conftest.
$ac_ext <<_ACEOF
33132 cat confdefs.h
>>conftest.
$ac_ext
33133 cat >>conftest.
$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33135 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33137 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33139 /* System header to define __stub macros and hopefully few prototypes,
33140 which can conflict with char pthread_attr_getschedpolicy (); below.
33141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33142 <limits.h> exists even on freestanding compilers. */
33145 # include <limits.h>
33147 # include <assert.h>
33150 #undef pthread_attr_getschedpolicy
33152 /* Override any gcc2 internal prototype to avoid an error. */
33157 /* We use char because int might match the return type of a gcc2
33158 builtin and then its argument prototype would still apply. */
33159 char pthread_attr_getschedpolicy ();
33160 /* The GNU C library defines this for functions which it implements
33161 to always fail with ENOSYS. Some functions are actually named
33162 something starting with __ and the normal name is an alias. */
33163 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33166 char (*f) () = pthread_attr_getschedpolicy;
33175 return f != pthread_attr_getschedpolicy;
33180 rm -f conftest.
$ac_objext conftest
$ac_exeext
33181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33182 (eval $ac_link) 2>conftest.er1
33184 grep -v '^ *+' conftest.er1
>conftest.err
33186 cat conftest.err
>&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } &&
33189 { ac_try
='test -z "$ac_c_werror_flag"
33190 || test ! -s conftest.err'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; } &&
33196 { ac_try
='test -s conftest$ac_exeext'
33197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33198 (eval $ac_try) 2>&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; }; then
33202 ac_cv_func_pthread_attr_getschedpolicy
=yes
33204 echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.
$ac_ext >&5
33207 ac_cv_func_pthread_attr_getschedpolicy
=no
33209 rm -f conftest.err conftest.
$ac_objext \
33210 conftest
$ac_exeext conftest.
$ac_ext
33212 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33213 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33214 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33215 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33216 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33217 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33218 echo $ECHO_N "(cached) $ECHO_C" >&6
33220 cat >conftest.
$ac_ext <<_ACEOF
33223 cat confdefs.h
>>conftest.
$ac_ext
33224 cat >>conftest.
$ac_ext <<_ACEOF
33225 /* end confdefs.h. */
33226 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33228 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33230 /* System header to define __stub macros and hopefully few prototypes,
33231 which can conflict with char pthread_attr_setschedparam (); below.
33232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33233 <limits.h> exists even on freestanding compilers. */
33236 # include <limits.h>
33238 # include <assert.h>
33241 #undef pthread_attr_setschedparam
33243 /* Override any gcc2 internal prototype to avoid an error. */
33248 /* We use char because int might match the return type of a gcc2
33249 builtin and then its argument prototype would still apply. */
33250 char pthread_attr_setschedparam ();
33251 /* The GNU C library defines this for functions which it implements
33252 to always fail with ENOSYS. Some functions are actually named
33253 something starting with __ and the normal name is an alias. */
33254 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33257 char (*f) () = pthread_attr_setschedparam;
33266 return f != pthread_attr_setschedparam;
33271 rm -f conftest.
$ac_objext conftest
$ac_exeext
33272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33273 (eval $ac_link) 2>conftest.er1
33275 grep -v '^ *+' conftest.er1
>conftest.err
33277 cat conftest.err
>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } &&
33280 { ac_try
='test -z "$ac_c_werror_flag"
33281 || test ! -s conftest.err'
33282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283 (eval $ac_try) 2>&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; } &&
33287 { ac_try
='test -s conftest$ac_exeext'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; }; then
33293 ac_cv_func_pthread_attr_setschedparam
=yes
33295 echo "$as_me: failed program was:" >&5
33296 sed 's/^/| /' conftest.
$ac_ext >&5
33298 ac_cv_func_pthread_attr_setschedparam
=no
33300 rm -f conftest.err conftest.
$ac_objext \
33301 conftest
$ac_exeext conftest.
$ac_ext
33303 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33304 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33305 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33306 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33307 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33308 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33309 echo $ECHO_N "(cached) $ECHO_C" >&6
33311 cat >conftest.
$ac_ext <<_ACEOF
33314 cat confdefs.h
>>conftest.
$ac_ext
33315 cat >>conftest.
$ac_ext <<_ACEOF
33316 /* end confdefs.h. */
33317 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33319 #define sched_get_priority_max innocuous_sched_get_priority_max
33321 /* System header to define __stub macros and hopefully few prototypes,
33322 which can conflict with char sched_get_priority_max (); below.
33323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33324 <limits.h> exists even on freestanding compilers. */
33327 # include <limits.h>
33329 # include <assert.h>
33332 #undef sched_get_priority_max
33334 /* Override any gcc2 internal prototype to avoid an error. */
33339 /* We use char because int might match the return type of a gcc2
33340 builtin and then its argument prototype would still apply. */
33341 char sched_get_priority_max ();
33342 /* The GNU C library defines this for functions which it implements
33343 to always fail with ENOSYS. Some functions are actually named
33344 something starting with __ and the normal name is an alias. */
33345 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33348 char (*f) () = sched_get_priority_max;
33357 return f != sched_get_priority_max;
33362 rm -f conftest.
$ac_objext conftest
$ac_exeext
33363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33364 (eval $ac_link) 2>conftest.er1
33366 grep -v '^ *+' conftest.er1
>conftest.err
33368 cat conftest.err
>&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); } &&
33371 { ac_try
='test -z "$ac_c_werror_flag"
33372 || test ! -s conftest.err'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; } &&
33378 { ac_try
='test -s conftest$ac_exeext'
33379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33380 (eval $ac_try) 2>&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); }; }; then
33384 ac_cv_func_sched_get_priority_max
=yes
33386 echo "$as_me: failed program was:" >&5
33387 sed 's/^/| /' conftest.
$ac_ext >&5
33389 ac_cv_func_sched_get_priority_max
=no
33391 rm -f conftest.err conftest.
$ac_objext \
33392 conftest
$ac_exeext conftest.
$ac_ext
33394 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33395 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33396 if test $ac_cv_func_sched_get_priority_max = yes; then
33399 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33400 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33401 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33402 echo $ECHO_N "(cached) $ECHO_C" >&6
33404 ac_check_lib_save_LIBS
=$LIBS
33405 LIBS
="-lposix4 $LIBS"
33406 cat >conftest.
$ac_ext <<_ACEOF
33409 cat confdefs.h
>>conftest.
$ac_ext
33410 cat >>conftest.
$ac_ext <<_ACEOF
33411 /* end confdefs.h. */
33413 /* Override any gcc2 internal prototype to avoid an error. */
33417 /* We use char because int might match the return type of a gcc2
33418 builtin and then its argument prototype would still apply. */
33419 char sched_get_priority_max ();
33423 sched_get_priority_max ();
33428 rm -f conftest.
$ac_objext conftest
$ac_exeext
33429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33430 (eval $ac_link) 2>conftest.er1
33432 grep -v '^ *+' conftest.er1
>conftest.err
33434 cat conftest.err
>&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); } &&
33437 { ac_try
='test -z "$ac_c_werror_flag"
33438 || test ! -s conftest.err'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; } &&
33444 { ac_try
='test -s conftest$ac_exeext'
33445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33446 (eval $ac_try) 2>&5
33448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33449 (exit $ac_status); }; }; then
33450 ac_cv_lib_posix4_sched_get_priority_max
=yes
33452 echo "$as_me: failed program was:" >&5
33453 sed 's/^/| /' conftest.
$ac_ext >&5
33455 ac_cv_lib_posix4_sched_get_priority_max
=no
33457 rm -f conftest.err conftest.
$ac_objext \
33458 conftest
$ac_exeext conftest.
$ac_ext
33459 LIBS
=$ac_check_lib_save_LIBS
33461 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33462 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33463 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33466 POSIX4_LINK
=" -lposix4"
33480 if test "$HAVE_PRIOR_FUNCS" = 1; then
33481 cat >>confdefs.h
<<\_ACEOF
33482 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33486 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33487 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33490 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33491 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33492 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33495 cat >conftest.
$ac_ext <<_ACEOF
33498 cat confdefs.h
>>conftest.
$ac_ext
33499 cat >>conftest.
$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33503 #define pthread_cancel innocuous_pthread_cancel
33505 /* System header to define __stub macros and hopefully few prototypes,
33506 which can conflict with char pthread_cancel (); below.
33507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33508 <limits.h> exists even on freestanding compilers. */
33511 # include <limits.h>
33513 # include <assert.h>
33516 #undef pthread_cancel
33518 /* Override any gcc2 internal prototype to avoid an error. */
33523 /* We use char because int might match the return type of a gcc2
33524 builtin and then its argument prototype would still apply. */
33525 char pthread_cancel ();
33526 /* The GNU C library defines this for functions which it implements
33527 to always fail with ENOSYS. Some functions are actually named
33528 something starting with __ and the normal name is an alias. */
33529 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33532 char (*f) () = pthread_cancel;
33541 return f != pthread_cancel;
33546 rm -f conftest.
$ac_objext conftest
$ac_exeext
33547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33548 (eval $ac_link) 2>conftest.er1
33550 grep -v '^ *+' conftest.er1
>conftest.err
33552 cat conftest.err
>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } &&
33555 { ac_try
='test -z "$ac_c_werror_flag"
33556 || test ! -s conftest.err'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; } &&
33562 { ac_try
='test -s conftest$ac_exeext'
33563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33564 (eval $ac_try) 2>&5
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; }; then
33568 ac_cv_func_pthread_cancel
=yes
33570 echo "$as_me: failed program was:" >&5
33571 sed 's/^/| /' conftest.
$ac_ext >&5
33573 ac_cv_func_pthread_cancel
=no
33575 rm -f conftest.err conftest.
$ac_objext \
33576 conftest
$ac_exeext conftest.
$ac_ext
33578 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33579 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33580 if test $ac_cv_func_pthread_cancel = yes; then
33581 cat >>confdefs.h
<<\_ACEOF
33582 #define HAVE_PTHREAD_CANCEL 1
33586 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33587 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33593 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33594 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33595 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33596 echo $ECHO_N "(cached) $ECHO_C" >&6
33599 cat >conftest.
$ac_ext <<_ACEOF
33602 cat confdefs.h
>>conftest.
$ac_ext
33603 cat >>conftest.
$ac_ext <<_ACEOF
33604 /* end confdefs.h. */
33605 #include <pthread.h>
33610 pthread_mutexattr_t attr;
33611 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33617 rm -f conftest.
$ac_objext
33618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33619 (eval $ac_compile) 2>conftest.er1
33621 grep -v '^ *+' conftest.er1
>conftest.err
33623 cat conftest.err
>&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); } &&
33626 { ac_try
='test -z "$ac_c_werror_flag"
33627 || test ! -s conftest.err'
33628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33629 (eval $ac_try) 2>&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); }; } &&
33633 { ac_try
='test -s conftest.$ac_objext'
33634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33635 (eval $ac_try) 2>&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); }; }; then
33640 wx_cv_type_pthread_mutexattr_t
=yes
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.
$ac_ext >&5
33647 wx_cv_type_pthread_mutexattr_t
=no
33651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33654 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33655 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33657 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33658 cat >>confdefs.h
<<\_ACEOF
33659 #define HAVE_PTHREAD_MUTEXATTR_T 1
33663 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33664 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33665 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 cat >conftest.
$ac_ext <<_ACEOF
33672 cat confdefs.h
>>conftest.
$ac_ext
33673 cat >>conftest.
$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33675 #include <pthread.h>
33680 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33686 rm -f conftest.
$ac_objext
33687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33688 (eval $ac_compile) 2>conftest.er1
33690 grep -v '^ *+' conftest.er1
>conftest.err
33692 cat conftest.err
>&5
33693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33694 (exit $ac_status); } &&
33695 { ac_try
='test -z "$ac_c_werror_flag"
33696 || test ! -s conftest.err'
33697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33698 (eval $ac_try) 2>&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); }; } &&
33702 { ac_try
='test -s conftest.$ac_objext'
33703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33704 (eval $ac_try) 2>&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; }; then
33709 wx_cv_type_pthread_rec_mutex_init
=yes
33712 echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.
$ac_ext >&5
33716 wx_cv_type_pthread_rec_mutex_init
=no
33720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33723 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33724 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33725 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33726 cat >>confdefs.h
<<\_ACEOF
33727 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33731 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33732 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33738 if test "$wxUSE_THREADS" = "yes" ; then
33741 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33742 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33743 if test "${wx_cv_cflags_mthread+set}" = set; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33747 CFLAGS_OLD
="$CFLAGS"
33748 CFLAGS
="$CFLAGS -mthreads"
33749 cat >conftest.
$ac_ext <<_ACEOF
33752 cat confdefs.h
>>conftest.
$ac_ext
33753 cat >>conftest.
$ac_ext <<_ACEOF
33754 /* end confdefs.h. */
33764 rm -f conftest.
$ac_objext
33765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33766 (eval $ac_compile) 2>conftest.er1
33768 grep -v '^ *+' conftest.er1
>conftest.err
33770 cat conftest.err
>&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); } &&
33773 { ac_try
='test -z "$ac_c_werror_flag"
33774 || test ! -s conftest.err'
33775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33776 (eval $ac_try) 2>&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); }; } &&
33780 { ac_try
='test -s conftest.$ac_objext'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; }; then
33786 wx_cv_cflags_mthread
=yes
33788 echo "$as_me: failed program was:" >&5
33789 sed 's/^/| /' conftest.
$ac_ext >&5
33791 wx_cv_cflags_mthread
=no
33794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33798 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33799 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33801 if test "$wx_cv_cflags_mthread" = "yes"; then
33802 CXXFLAGS
="$CXXFLAGS -mthreads"
33803 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33804 LDFLAGS
="$LDFLAGS -mthreads"
33806 CFLAGS
="$CFLAGS_OLD"
33810 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33811 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33812 LDFLAGS
="$LDFLAGS -Zmt"
33818 if test "$wxUSE_THREADS" = "yes"; then
33819 cat >>confdefs.h
<<\_ACEOF
33820 #define wxUSE_THREADS 1
33824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33826 if test "$ac_cv_func_strtok_r" = "yes"; then
33827 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33828 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33829 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33830 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33831 echo "$as_me:$LINENO: result: yes" >&5
33832 echo "${ECHO_T}yes" >&6
33834 echo "$as_me:$LINENO: result: no" >&5
33835 echo "${ECHO_T}no" >&6
33840 if test "$WXGTK20" = 1 ; then
33841 cat >>confdefs.h
<<_ACEOF
33842 #define __WXGTK20__ $WXGTK20
33848 if test "$WXGTK12" = 1 ; then
33849 cat >>confdefs.h
<<_ACEOF
33850 #define __WXGTK12__ $WXGTK12
33855 if test "$WXGTK127" = 1 ; then
33856 cat >>confdefs.h
<<_ACEOF
33857 #define __WXGTK127__ $WXGTK127
33862 if test "$WXGPE" = 1 ; then
33863 cat >>confdefs.h
<<_ACEOF
33864 #define __WXGPE__ $WXGPE
33871 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33876 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33877 wxUSE_DEBUG_INFO
=yes
33881 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33882 cat >>confdefs.h
<<\_ACEOF
33886 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33888 if test "$wxUSE_GTK" = 1 ; then
33889 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33893 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33894 cat >>confdefs.h
<<\_ACEOF
33895 #define wxUSE_MEMORY_TRACING 1
33898 cat >>confdefs.h
<<\_ACEOF
33899 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33902 cat >>confdefs.h
<<\_ACEOF
33903 #define wxUSE_DEBUG_NEW_ALWAYS 1
33906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33909 if test "$wxUSE_DMALLOC" = "yes" ; then
33910 DMALLOC_LIBS
="-ldmalloc"
33914 if test "$wxUSE_PROFILE" = "yes" ; then
33919 CODE_GEN_FLAGS_CXX
=
33920 if test "$GCC" = "yes" ; then
33921 if test "$wxUSE_NO_RTTI" = "yes" ; then
33922 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33924 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33925 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33927 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33928 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33933 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33936 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33942 if test "$wxUSE_OPTIMISE" = "no" ; then
33943 if test "$GCC" = yes ; then
33947 if test "$GCC" = yes ; then
33951 i586
-*-*|i686
-*-* )
33952 OPTIMISE
="${OPTIMISE} "
33961 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33962 cat >>confdefs.h
<<\_ACEOF
33963 #define WXWIN_COMPATIBILITY_2_2 1
33967 WXWIN_COMPATIBILITY_2_4
="yes"
33970 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33971 cat >>confdefs.h
<<\_ACEOF
33972 #define WXWIN_COMPATIBILITY_2_4 1
33978 if test "$wxUSE_GUI" = "yes"; then
33979 cat >>confdefs.h
<<\_ACEOF
33980 #define wxUSE_GUI 1
33987 if test "$wxUSE_UNIX" = "yes"; then
33988 cat >>confdefs.h
<<\_ACEOF
33989 #define wxUSE_UNIX 1
33995 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33999 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34000 if test "$USE_DARWIN" = 1; then
34004 for ac_func
in dlopen
34006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34007 echo "$as_me:$LINENO: checking for $ac_func" >&5
34008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34009 if eval "test \"\${$as_ac_var+set}\" = set"; then
34010 echo $ECHO_N "(cached) $ECHO_C" >&6
34012 cat >conftest.
$ac_ext <<_ACEOF
34015 cat confdefs.h
>>conftest.
$ac_ext
34016 cat >>conftest.
$ac_ext <<_ACEOF
34017 /* end confdefs.h. */
34018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34020 #define $ac_func innocuous_$ac_func
34022 /* System header to define __stub macros and hopefully few prototypes,
34023 which can conflict with char $ac_func (); below.
34024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34025 <limits.h> exists even on freestanding compilers. */
34028 # include <limits.h>
34030 # include <assert.h>
34035 /* Override any gcc2 internal prototype to avoid an error. */
34040 /* We use char because int might match the return type of a gcc2
34041 builtin and then its argument prototype would still apply. */
34043 /* The GNU C library defines this for functions which it implements
34044 to always fail with ENOSYS. Some functions are actually named
34045 something starting with __ and the normal name is an alias. */
34046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34049 char (*f) () = $ac_func;
34058 return f != $ac_func;
34063 rm -f conftest.
$ac_objext conftest
$ac_exeext
34064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34065 (eval $ac_link) 2>conftest.er1
34067 grep -v '^ *+' conftest.er1
>conftest.err
34069 cat conftest.err
>&5
34070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34071 (exit $ac_status); } &&
34072 { ac_try
='test -z "$ac_c_werror_flag"
34073 || test ! -s conftest.err'
34074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34075 (eval $ac_try) 2>&5
34077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34078 (exit $ac_status); }; } &&
34079 { ac_try
='test -s conftest$ac_exeext'
34080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34081 (eval $ac_try) 2>&5
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 (exit $ac_status); }; }; then
34085 eval "$as_ac_var=yes"
34087 echo "$as_me: failed program was:" >&5
34088 sed 's/^/| /' conftest.
$ac_ext >&5
34090 eval "$as_ac_var=no"
34092 rm -f conftest.err conftest.
$ac_objext \
34093 conftest
$ac_exeext conftest.
$ac_ext
34095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34097 if test `eval echo '${'$as_ac_var'}'` = yes; then
34098 cat >>confdefs.h
<<_ACEOF
34099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34102 cat >>confdefs.h
<<\_ACEOF
34103 #define HAVE_DLOPEN 1
34110 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34111 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34112 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34115 ac_check_lib_save_LIBS
=$LIBS
34117 cat >conftest.
$ac_ext <<_ACEOF
34120 cat confdefs.h
>>conftest.
$ac_ext
34121 cat >>conftest.
$ac_ext <<_ACEOF
34122 /* end confdefs.h. */
34124 /* Override any gcc2 internal prototype to avoid an error. */
34128 /* We use char because int might match the return type of a gcc2
34129 builtin and then its argument prototype would still apply. */
34139 rm -f conftest.
$ac_objext conftest
$ac_exeext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34141 (eval $ac_link) 2>conftest.er1
34143 grep -v '^ *+' conftest.er1
>conftest.err
34145 cat conftest.err
>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try
='test -z "$ac_c_werror_flag"
34149 || test ! -s conftest.err'
34150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151 (eval $ac_try) 2>&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); }; } &&
34155 { ac_try
='test -s conftest$ac_exeext'
34156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157 (eval $ac_try) 2>&5
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); }; }; then
34161 ac_cv_lib_dl_dlopen
=yes
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.
$ac_ext >&5
34166 ac_cv_lib_dl_dlopen
=no
34168 rm -f conftest.err conftest.
$ac_objext \
34169 conftest
$ac_exeext conftest.
$ac_ext
34170 LIBS
=$ac_check_lib_save_LIBS
34172 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34173 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34174 if test $ac_cv_lib_dl_dlopen = yes; then
34176 cat >>confdefs.h
<<\_ACEOF
34177 #define HAVE_DLOPEN 1
34181 DL_LINK
=" -ldl$DL_LINK"
34186 for ac_func
in shl_load
34188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34189 echo "$as_me:$LINENO: checking for $ac_func" >&5
34190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34191 if eval "test \"\${$as_ac_var+set}\" = set"; then
34192 echo $ECHO_N "(cached) $ECHO_C" >&6
34194 cat >conftest.
$ac_ext <<_ACEOF
34197 cat confdefs.h
>>conftest.
$ac_ext
34198 cat >>conftest.
$ac_ext <<_ACEOF
34199 /* end confdefs.h. */
34200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34202 #define $ac_func innocuous_$ac_func
34204 /* System header to define __stub macros and hopefully few prototypes,
34205 which can conflict with char $ac_func (); below.
34206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34207 <limits.h> exists even on freestanding compilers. */
34210 # include <limits.h>
34212 # include <assert.h>
34217 /* Override any gcc2 internal prototype to avoid an error. */
34222 /* We use char because int might match the return type of a gcc2
34223 builtin and then its argument prototype would still apply. */
34225 /* The GNU C library defines this for functions which it implements
34226 to always fail with ENOSYS. Some functions are actually named
34227 something starting with __ and the normal name is an alias. */
34228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34231 char (*f) () = $ac_func;
34240 return f != $ac_func;
34245 rm -f conftest.
$ac_objext conftest
$ac_exeext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34247 (eval $ac_link) 2>conftest.er1
34249 grep -v '^ *+' conftest.er1
>conftest.err
34251 cat conftest.err
>&5
34252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253 (exit $ac_status); } &&
34254 { ac_try
='test -z "$ac_c_werror_flag"
34255 || test ! -s conftest.err'
34256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34257 (eval $ac_try) 2>&5
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); }; } &&
34261 { ac_try
='test -s conftest$ac_exeext'
34262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34263 (eval $ac_try) 2>&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); }; }; then
34267 eval "$as_ac_var=yes"
34269 echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.
$ac_ext >&5
34272 eval "$as_ac_var=no"
34274 rm -f conftest.err conftest.
$ac_objext \
34275 conftest
$ac_exeext conftest.
$ac_ext
34277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34279 if test `eval echo '${'$as_ac_var'}'` = yes; then
34280 cat >>confdefs.h
<<_ACEOF
34281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34284 cat >>confdefs.h
<<\_ACEOF
34285 #define HAVE_SHL_LOAD 1
34292 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34293 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34294 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 ac_check_lib_save_LIBS
=$LIBS
34298 LIBS
="-lshl_load $LIBS"
34299 cat >conftest.
$ac_ext <<_ACEOF
34302 cat confdefs.h
>>conftest.
$ac_ext
34303 cat >>conftest.
$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34306 /* Override any gcc2 internal prototype to avoid an error. */
34310 /* We use char because int might match the return type of a gcc2
34311 builtin and then its argument prototype would still apply. */
34321 rm -f conftest.
$ac_objext conftest
$ac_exeext
34322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34323 (eval $ac_link) 2>conftest.er1
34325 grep -v '^ *+' conftest.er1
>conftest.err
34327 cat conftest.err
>&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); } &&
34330 { ac_try
='test -z "$ac_c_werror_flag"
34331 || test ! -s conftest.err'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; } &&
34337 { ac_try
='test -s conftest$ac_exeext'
34338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34339 (eval $ac_try) 2>&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); }; }; then
34343 ac_cv_lib_shl_load_dld
=yes
34345 echo "$as_me: failed program was:" >&5
34346 sed 's/^/| /' conftest.
$ac_ext >&5
34348 ac_cv_lib_shl_load_dld
=no
34350 rm -f conftest.err conftest.
$ac_objext \
34351 conftest
$ac_exeext conftest.
$ac_ext
34352 LIBS
=$ac_check_lib_save_LIBS
34354 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34355 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34356 if test $ac_cv_lib_shl_load_dld = yes; then
34359 DL_LINK
=" -ldld$DL_LINK"
34375 if test "$HAVE_DL_FUNCS" = 1; then
34377 for ac_func
in dlerror
34379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34380 echo "$as_me:$LINENO: checking for $ac_func" >&5
34381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34382 if eval "test \"\${$as_ac_var+set}\" = set"; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 cat >conftest.
$ac_ext <<_ACEOF
34388 cat confdefs.h
>>conftest.
$ac_ext
34389 cat >>conftest.
$ac_ext <<_ACEOF
34390 /* end confdefs.h. */
34391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34393 #define $ac_func innocuous_$ac_func
34395 /* System header to define __stub macros and hopefully few prototypes,
34396 which can conflict with char $ac_func (); below.
34397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34398 <limits.h> exists even on freestanding compilers. */
34401 # include <limits.h>
34403 # include <assert.h>
34408 /* Override any gcc2 internal prototype to avoid an error. */
34413 /* We use char because int might match the return type of a gcc2
34414 builtin and then its argument prototype would still apply. */
34416 /* The GNU C library defines this for functions which it implements
34417 to always fail with ENOSYS. Some functions are actually named
34418 something starting with __ and the normal name is an alias. */
34419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34422 char (*f) () = $ac_func;
34431 return f != $ac_func;
34436 rm -f conftest.
$ac_objext conftest
$ac_exeext
34437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34438 (eval $ac_link) 2>conftest.er1
34440 grep -v '^ *+' conftest.er1
>conftest.err
34442 cat conftest.err
>&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); } &&
34445 { ac_try
='test -z "$ac_c_werror_flag"
34446 || test ! -s conftest.err'
34447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34448 (eval $ac_try) 2>&5
34450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34451 (exit $ac_status); }; } &&
34452 { ac_try
='test -s conftest$ac_exeext'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; }; then
34458 eval "$as_ac_var=yes"
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.
$ac_ext >&5
34463 eval "$as_ac_var=no"
34465 rm -f conftest.err conftest.
$ac_objext \
34466 conftest
$ac_exeext conftest.
$ac_ext
34468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34470 if test `eval echo '${'$as_ac_var'}'` = yes; then
34471 cat >>confdefs.h
<<_ACEOF
34472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34474 cat >>confdefs.h
<<\_ACEOF
34475 #define HAVE_DLERROR 1
34480 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34481 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34482 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34485 ac_check_lib_save_LIBS
=$LIBS
34487 cat >conftest.
$ac_ext <<_ACEOF
34490 cat confdefs.h
>>conftest.
$ac_ext
34491 cat >>conftest.
$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34494 /* Override any gcc2 internal prototype to avoid an error. */
34498 /* We use char because int might match the return type of a gcc2
34499 builtin and then its argument prototype would still apply. */
34509 rm -f conftest.
$ac_objext conftest
$ac_exeext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34511 (eval $ac_link) 2>conftest.er1
34513 grep -v '^ *+' conftest.er1
>conftest.err
34515 cat conftest.err
>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try
='test -z "$ac_c_werror_flag"
34519 || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try
='test -s conftest$ac_exeext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 ac_cv_lib_dl_dlerror
=yes
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.
$ac_ext >&5
34536 ac_cv_lib_dl_dlerror
=no
34538 rm -f conftest.err conftest.
$ac_objext \
34539 conftest
$ac_exeext conftest.
$ac_ext
34540 LIBS
=$ac_check_lib_save_LIBS
34542 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34543 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34544 if test $ac_cv_lib_dl_dlerror = yes; then
34545 cat >>confdefs.h
<<\_ACEOF
34546 #define HAVE_DLERROR 1
34559 if test "$HAVE_DL_FUNCS" = 0; then
34560 if test "$HAVE_SHL_FUNCS" = 0; then
34561 if test "$USE_UNIX" = 1; then
34562 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34563 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34564 wxUSE_DYNAMIC_LOADER
=no
34565 wxUSE_DYNLIB_CLASS
=no
34567 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34568 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34575 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34576 cat >>confdefs.h
<<\_ACEOF
34577 #define wxUSE_DYNAMIC_LOADER 1
34581 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34582 cat >>confdefs.h
<<\_ACEOF
34583 #define wxUSE_DYNLIB_CLASS 1
34590 if test "$wxUSE_PLUGINS" = "yes" ; then
34591 if test "$wxUSE_SHARED" = "no" ; then
34592 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34593 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34596 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34597 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34598 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34601 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34602 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34603 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34606 if test "$wxUSE_PLUGINS" = "yes" ; then
34607 cat >>confdefs.h
<<\_ACEOF
34608 #define wxUSE_PLUGINS 1
34615 if test "$wxUSE_STL" = "yes"; then
34616 cat >>confdefs.h
<<\_ACEOF
34617 #define wxUSE_STL 1
34622 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34623 cat >>confdefs.h
<<\_ACEOF
34624 #define wxUSE_APPLE_IEEE 1
34629 if test "$wxUSE_TIMER" = "yes"; then
34630 cat >>confdefs.h
<<\_ACEOF
34631 #define wxUSE_TIMER 1
34637 if test "$wxUSE_SOUND" = "yes"; then
34638 if test "$USE_UNIX" = "1" ; then
34640 for ac_header
in sys
/soundcard.h
34642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34644 echo "$as_me:$LINENO: checking for $ac_header" >&5
34645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34652 # Is the header compilable?
34653 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34655 cat >conftest.
$ac_ext <<_ACEOF
34658 cat confdefs.h
>>conftest.
$ac_ext
34659 cat >>conftest.
$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34661 $ac_includes_default
34662 #include <$ac_header>
34664 rm -f conftest.
$ac_objext
34665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34666 (eval $ac_compile) 2>conftest.er1
34668 grep -v '^ *+' conftest.er1
>conftest.err
34670 cat conftest.err
>&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } &&
34673 { ac_try
='test -z "$ac_c_werror_flag"
34674 || test ! -s conftest.err'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; } &&
34680 { ac_try
='test -s conftest.$ac_objext'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; }; then
34686 ac_header_compiler
=yes
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.
$ac_ext >&5
34691 ac_header_compiler
=no
34693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34695 echo "${ECHO_T}$ac_header_compiler" >&6
34697 # Is the header present?
34698 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34700 cat >conftest.
$ac_ext <<_ACEOF
34703 cat confdefs.h
>>conftest.
$ac_ext
34704 cat >>conftest.
$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34706 #include <$ac_header>
34708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34711 grep -v '^ *+' conftest.er1
>conftest.err
34713 cat conftest.err
>&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); } >/dev
/null
; then
34716 if test -s conftest.err
; then
34717 ac_cpp_err
=$ac_c_preproc_warn_flag
34718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34725 if test -z "$ac_cpp_err"; then
34726 ac_header_preproc
=yes
34728 echo "$as_me: failed program was:" >&5
34729 sed 's/^/| /' conftest.
$ac_ext >&5
34731 ac_header_preproc
=no
34733 rm -f conftest.err conftest.
$ac_ext
34734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34735 echo "${ECHO_T}$ac_header_preproc" >&6
34737 # So? What about this header?
34738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34744 ac_header_preproc
=yes
34747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34754 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34761 ## ----------------------------------------- ##
34762 ## Report this to wx-dev@lists.wxwidgets.org ##
34763 ## ----------------------------------------- ##
34766 sed "s/^/$as_me: WARNING: /" >&2
34769 echo "$as_me:$LINENO: checking for $ac_header" >&5
34770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34772 echo $ECHO_N "(cached) $ECHO_C" >&6
34774 eval "$as_ac_Header=\$ac_header_preproc"
34776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34781 cat >>confdefs.h
<<_ACEOF
34782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34790 if test "$wxUSE_LIBSDL" != "no"; then
34792 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34793 if test "${with_sdl_prefix+set}" = set; then
34794 withval
="$with_sdl_prefix"
34795 sdl_prefix
="$withval"
34800 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34801 if test "${with_sdl_exec_prefix+set}" = set; then
34802 withval
="$with_sdl_exec_prefix"
34803 sdl_exec_prefix
="$withval"
34807 # Check whether --enable-sdltest or --disable-sdltest was given.
34808 if test "${enable_sdltest+set}" = set; then
34809 enableval
="$enable_sdltest"
34815 if test x
$sdl_exec_prefix != x
; then
34816 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34817 if test x
${SDL_CONFIG+set} != xset
; then
34818 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34821 if test x
$sdl_prefix != x
; then
34822 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34823 if test x
${SDL_CONFIG+set} != xset
; then
34824 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34829 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34830 # Extract the first word of "sdl-config", so it can be a program name with args.
34831 set dummy sdl
-config; ac_word
=$2
34832 echo "$as_me:$LINENO: checking for $ac_word" >&5
34833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34834 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34835 echo $ECHO_N "(cached) $ECHO_C" >&6
34837 case $SDL_CONFIG in
34839 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34843 for as_dir
in $PATH
34846 test -z "$as_dir" && as_dir
=.
34847 for ac_exec_ext
in '' $ac_executable_extensions; do
34848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34849 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34856 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34860 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34862 if test -n "$SDL_CONFIG"; then
34863 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34864 echo "${ECHO_T}$SDL_CONFIG" >&6
34866 echo "$as_me:$LINENO: result: no" >&5
34867 echo "${ECHO_T}no" >&6
34870 min_sdl_version
=1.2.0
34871 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34872 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34874 if test "$SDL_CONFIG" = "no" ; then
34877 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34878 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34880 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34882 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34884 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34886 if test "x$enable_sdltest" = "xyes" ; then
34887 ac_save_CFLAGS
="$CFLAGS"
34888 ac_save_LIBS
="$LIBS"
34889 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34890 LIBS
="$LIBS $SDL_LIBS"
34892 if test "$cross_compiling" = yes; then
34893 echo $ac_n "cross compiling; assumed OK... $ac_c"
34895 cat >conftest.
$ac_ext <<_ACEOF
34898 cat confdefs.h
>>conftest.
$ac_ext
34899 cat >>conftest.
$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34903 #include <stdlib.h>
34904 #include <string.h>
34908 my_strdup (char *str)
34914 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34915 strcpy (new_str, str);
34923 int main (int argc, char *argv[])
34925 int major, minor, micro;
34928 /* This hangs on some systems (?)
34929 system ("touch conf.sdltest");
34931 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34933 /* HP/UX 9 (%@#!) writes to sscanf strings */
34934 tmp_version = my_strdup("$min_sdl_version");
34935 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34936 printf("%s, bad version string\n", "$min_sdl_version");
34940 if (($sdl_major_version > major) ||
34941 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34942 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34948 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34949 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34950 printf("*** best to upgrade to the required version.\n");
34951 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34952 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34953 printf("*** config.cache before re-running configure\n");
34960 rm -f conftest
$ac_exeext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34962 (eval $ac_link) 2>&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34967 (eval $ac_try) 2>&5
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 (exit $ac_status); }; }; then
34973 echo "$as_me: program exited with status $ac_status" >&5
34974 echo "$as_me: failed program was:" >&5
34975 sed 's/^/| /' conftest.
$ac_ext >&5
34977 ( exit $ac_status )
34980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34982 CFLAGS
="$ac_save_CFLAGS"
34983 LIBS
="$ac_save_LIBS"
34986 if test "x$no_sdl" = x
; then
34987 echo "$as_me:$LINENO: result: yes" >&5
34988 echo "${ECHO_T}yes" >&6
34990 EXTRALIBS_SDL
="$SDL_LIBS"
34991 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34992 cat >>confdefs.h
<<\_ACEOF
34993 #define wxUSE_LIBSDL 1
34998 echo "$as_me:$LINENO: result: no" >&5
34999 echo "${ECHO_T}no" >&6
35000 if test "$SDL_CONFIG" = "no" ; then
35001 echo "*** The sdl-config script installed by SDL could not be found"
35002 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35003 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35004 echo "*** full path to sdl-config."
35006 if test -f conf.sdltest
; then
35009 echo "*** Could not run SDL test program, checking why..."
35010 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35011 LIBS
="$LIBS $SDL_LIBS"
35012 cat >conftest.
$ac_ext <<_ACEOF
35015 cat confdefs.h
>>conftest.
$ac_ext
35016 cat >>conftest.
$ac_ext <<_ACEOF
35017 /* end confdefs.h. */
35022 int main(int argc, char *argv[])
35025 #define main K_and_R_C_main
35035 rm -f conftest.
$ac_objext conftest
$ac_exeext
35036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35037 (eval $ac_link) 2>conftest.er1
35039 grep -v '^ *+' conftest.er1
>conftest.err
35041 cat conftest.err
>&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); } &&
35044 { ac_try
='test -z "$ac_c_werror_flag"
35045 || test ! -s conftest.err'
35046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35047 (eval $ac_try) 2>&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); }; } &&
35051 { ac_try
='test -s conftest$ac_exeext'
35052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35053 (eval $ac_try) 2>&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); }; }; then
35057 echo "*** The test program compiled, but did not run. This usually means"
35058 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35059 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35060 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35061 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35062 echo "*** is required on your system"
35064 echo "*** If you have an old version installed, it is best to remove it, although"
35065 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35067 echo "$as_me: failed program was:" >&5
35068 sed 's/^/| /' conftest.
$ac_ext >&5
35070 echo "*** The test program failed to compile or link. See the file config.log for the"
35071 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35072 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35073 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35075 rm -f conftest.err conftest.
$ac_objext \
35076 conftest
$ac_exeext conftest.
$ac_ext
35077 CFLAGS
="$ac_save_CFLAGS"
35078 LIBS
="$ac_save_LIBS"
35089 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35095 cat >>confdefs.h
<<\_ACEOF
35096 #define wxUSE_SOUND 1
35099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35102 if test "$WXGTK20" = 1; then
35103 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35104 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35109 if test -z "$PKG_CONFIG"; then
35110 # Extract the first word of "pkg-config", so it can be a program name with args.
35111 set dummy pkg
-config; ac_word
=$2
35112 echo "$as_me:$LINENO: checking for $ac_word" >&5
35113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35114 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35115 echo $ECHO_N "(cached) $ECHO_C" >&6
35117 case $PKG_CONFIG in
35119 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35123 for as_dir
in $PATH
35126 test -z "$as_dir" && as_dir
=.
35127 for ac_exec_ext
in '' $ac_executable_extensions; do
35128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35129 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35136 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
35140 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35142 if test -n "$PKG_CONFIG"; then
35143 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35144 echo "${ECHO_T}$PKG_CONFIG" >&6
35146 echo "$as_me:$LINENO: result: no" >&5
35147 echo "${ECHO_T}no" >&6
35152 if test "$PKG_CONFIG" = "no" ; then
35153 echo "*** The pkg-config script could not be found. Make sure it is"
35154 echo "*** in your path, or set the PKG_CONFIG environment variable"
35155 echo "*** to the full path to pkg-config."
35156 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35158 PKG_CONFIG_MIN_VERSION
=0.9.0
35159 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35160 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35161 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35163 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35164 echo "$as_me:$LINENO: result: yes" >&5
35165 echo "${ECHO_T}yes" >&6
35168 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35169 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35170 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35171 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35172 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35174 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35175 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35176 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35177 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35178 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35180 LIBGNOMEPRINTUI_CFLAGS
=""
35181 LIBGNOMEPRINTUI_LIBS
=""
35182 ## If we have a custom action on failure, don't print errors, but
35183 ## do set a variable so people can do so.
35184 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35191 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35192 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35196 if test $succeeded = yes; then
35198 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35199 cat >>confdefs.h
<<\_ACEOF
35200 #define wxUSE_LIBGNOMEPRINT 1
35206 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35207 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35208 wxUSE_LIBGNOMEPRINT
="no"
35218 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35219 cat >>confdefs.h
<<\_ACEOF
35220 #define wxUSE_CMDLINE_PARSER 1
35225 if test "$wxUSE_STOPWATCH" = "yes"; then
35226 cat >>confdefs.h
<<\_ACEOF
35227 #define wxUSE_STOPWATCH 1
35232 if test "$wxUSE_DATETIME" = "yes"; then
35233 cat >>confdefs.h
<<\_ACEOF
35234 #define wxUSE_DATETIME 1
35239 if test "$wxUSE_FILE" = "yes"; then
35240 cat >>confdefs.h
<<\_ACEOF
35241 #define wxUSE_FILE 1
35246 if test "$wxUSE_FFILE" = "yes"; then
35247 cat >>confdefs.h
<<\_ACEOF
35248 #define wxUSE_FFILE 1
35253 if test "$wxUSE_FILESYSTEM" = "yes"; then
35254 cat >>confdefs.h
<<\_ACEOF
35255 #define wxUSE_FILESYSTEM 1
35260 if test "$wxUSE_FS_ZIP" = "yes"; then
35261 cat >>confdefs.h
<<\_ACEOF
35262 #define wxUSE_FS_ZIP 1
35267 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35268 cat >>confdefs.h
<<\_ACEOF
35269 #define wxUSE_ZIPSTREAM 1
35274 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35275 cat >>confdefs.h
<<\_ACEOF
35276 #define wxUSE_ON_FATAL_EXCEPTION 1
35281 if test "$wxUSE_STACKWALKER" = "yes"; then
35282 cat >>confdefs.h
<<\_ACEOF
35283 #define wxUSE_STACKWALKER 1
35288 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35289 cat >>confdefs.h
<<\_ACEOF
35290 #define wxUSE_SNGLINST_CHECKER 1
35295 if test "$wxUSE_BUSYINFO" = "yes"; then
35296 cat >>confdefs.h
<<\_ACEOF
35297 #define wxUSE_BUSYINFO 1
35302 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35303 cat >>confdefs.h
<<\_ACEOF
35304 #define wxUSE_STD_IOSTREAM 1
35309 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35310 cat >>confdefs.h
<<\_ACEOF
35311 #define wxUSE_TEXTBUFFER 1
35316 if test "$wxUSE_TEXTFILE" = "yes"; then
35317 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35318 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35319 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35321 cat >>confdefs.h
<<\_ACEOF
35322 #define wxUSE_TEXTFILE 1
35328 if test "$wxUSE_CONFIG" = "yes" ; then
35329 if test "$wxUSE_TEXTFILE" != "yes"; then
35330 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35331 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35333 cat >>confdefs.h
<<\_ACEOF
35334 #define wxUSE_CONFIG 1
35337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35341 if test "$wxUSE_INTL" = "yes" ; then
35342 if test "$wxUSE_FILE" != "yes"; then
35343 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35344 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35346 cat >>confdefs.h
<<\_ACEOF
35347 #define wxUSE_INTL 1
35350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35351 GUIDIST
="$GUIDIST INTL_DIST"
35355 if test "$wxUSE_LOG" = "yes"; then
35356 cat >>confdefs.h
<<\_ACEOF
35357 #define wxUSE_LOG 1
35361 if test "$wxUSE_LOGGUI" = "yes"; then
35362 cat >>confdefs.h
<<\_ACEOF
35363 #define wxUSE_LOGGUI 1
35368 if test "$wxUSE_LOGWINDOW" = "yes"; then
35369 cat >>confdefs.h
<<\_ACEOF
35370 #define wxUSE_LOGWINDOW 1
35375 if test "$wxUSE_LOGDIALOG" = "yes"; then
35376 cat >>confdefs.h
<<\_ACEOF
35377 #define wxUSE_LOG_DIALOG 1
35383 if test "$wxUSE_LONGLONG" = "yes"; then
35384 cat >>confdefs.h
<<\_ACEOF
35385 #define wxUSE_LONGLONG 1
35390 if test "$wxUSE_GEOMETRY" = "yes"; then
35391 cat >>confdefs.h
<<\_ACEOF
35392 #define wxUSE_GEOMETRY 1
35397 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35398 cat >>confdefs.h
<<\_ACEOF
35399 #define wxUSE_DIALUP_MANAGER 1
35402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35405 if test "$wxUSE_STREAMS" = "yes" ; then
35406 cat >>confdefs.h
<<\_ACEOF
35407 #define wxUSE_STREAMS 1
35413 if test "$wxUSE_DATETIME" = "yes"; then
35415 for ac_func
in strptime
35417 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35418 echo "$as_me:$LINENO: checking for $ac_func" >&5
35419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35420 if eval "test \"\${$as_ac_var+set}\" = set"; then
35421 echo $ECHO_N "(cached) $ECHO_C" >&6
35423 cat >conftest.
$ac_ext <<_ACEOF
35426 cat confdefs.h
>>conftest.
$ac_ext
35427 cat >>conftest.
$ac_ext <<_ACEOF
35428 /* end confdefs.h. */
35429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35431 #define $ac_func innocuous_$ac_func
35433 /* System header to define __stub macros and hopefully few prototypes,
35434 which can conflict with char $ac_func (); below.
35435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35436 <limits.h> exists even on freestanding compilers. */
35439 # include <limits.h>
35441 # include <assert.h>
35446 /* Override any gcc2 internal prototype to avoid an error. */
35451 /* We use char because int might match the return type of a gcc2
35452 builtin and then its argument prototype would still apply. */
35454 /* The GNU C library defines this for functions which it implements
35455 to always fail with ENOSYS. Some functions are actually named
35456 something starting with __ and the normal name is an alias. */
35457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35460 char (*f) () = $ac_func;
35469 return f != $ac_func;
35474 rm -f conftest.
$ac_objext conftest
$ac_exeext
35475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35476 (eval $ac_link) 2>conftest.er1
35478 grep -v '^ *+' conftest.er1
>conftest.err
35480 cat conftest.err
>&5
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); } &&
35483 { ac_try
='test -z "$ac_c_werror_flag"
35484 || test ! -s conftest.err'
35485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35486 (eval $ac_try) 2>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); }; } &&
35490 { ac_try
='test -s conftest$ac_exeext'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; }; then
35496 eval "$as_ac_var=yes"
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.
$ac_ext >&5
35501 eval "$as_ac_var=no"
35503 rm -f conftest.err conftest.
$ac_objext \
35504 conftest
$ac_exeext conftest.
$ac_ext
35506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35508 if test `eval echo '${'$as_ac_var'}'` = yes; then
35509 cat >>confdefs.h
<<_ACEOF
35510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35517 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35518 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35519 if test "${wx_cv_var_timezone+set}" = set; then
35520 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 cat >conftest.
$ac_ext <<_ACEOF
35526 cat confdefs.h
>>conftest.
$ac_ext
35527 cat >>conftest.
$ac_ext <<_ACEOF
35528 /* end confdefs.h. */
35543 rm -f conftest.
$ac_objext
35544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35545 (eval $ac_compile) 2>conftest.er1
35547 grep -v '^ *+' conftest.er1
>conftest.err
35549 cat conftest.err
>&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } &&
35552 { ac_try
='test -z "$ac_c_werror_flag"
35553 || test ! -s conftest.err'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; } &&
35559 { ac_try
='test -s conftest.$ac_objext'
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; }; then
35566 wx_cv_var_timezone
=timezone
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.
$ac_ext >&5
35573 cat >conftest.
$ac_ext <<_ACEOF
35576 cat confdefs.h
>>conftest.
$ac_ext
35577 cat >>conftest.
$ac_ext <<_ACEOF
35578 /* end confdefs.h. */
35593 rm -f conftest.
$ac_objext
35594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35595 (eval $ac_compile) 2>conftest.er1
35597 grep -v '^ *+' conftest.er1
>conftest.err
35599 cat conftest.err
>&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } &&
35602 { ac_try
='test -z "$ac_c_werror_flag"
35603 || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try
='test -s conftest.$ac_objext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35616 wx_cv_var_timezone
=_timezone
35619 echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.
$ac_ext >&5
35623 cat >conftest.
$ac_ext <<_ACEOF
35626 cat confdefs.h
>>conftest.
$ac_ext
35627 cat >>conftest.
$ac_ext <<_ACEOF
35628 /* end confdefs.h. */
35643 rm -f conftest.
$ac_objext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35645 (eval $ac_compile) 2>conftest.er1
35647 grep -v '^ *+' conftest.er1
>conftest.err
35649 cat conftest.err
>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); } &&
35652 { ac_try
='test -z "$ac_c_werror_flag"
35653 || test ! -s conftest.err'
35654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35655 (eval $ac_try) 2>&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); }; } &&
35659 { ac_try
='test -s conftest.$ac_objext'
35660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661 (eval $ac_try) 2>&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; }; then
35666 wx_cv_var_timezone
=__timezone
35669 echo "$as_me: failed program was:" >&5
35670 sed 's/^/| /' conftest.
$ac_ext >&5
35673 if test "$USE_DOS" = 0 ; then
35674 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35675 echo "$as_me: WARNING: no timezone variable" >&2;}
35680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35692 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35693 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35695 if test "x$wx_cv_var_timezone" != x
; then
35696 cat >>confdefs.h
<<_ACEOF
35697 #define WX_TIMEZONE $wx_cv_var_timezone
35703 for ac_func
in localtime
35705 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35706 echo "$as_me:$LINENO: checking for $ac_func" >&5
35707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35708 if eval "test \"\${$as_ac_var+set}\" = set"; then
35709 echo $ECHO_N "(cached) $ECHO_C" >&6
35711 cat >conftest.
$ac_ext <<_ACEOF
35714 cat confdefs.h
>>conftest.
$ac_ext
35715 cat >>conftest.
$ac_ext <<_ACEOF
35716 /* end confdefs.h. */
35717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35719 #define $ac_func innocuous_$ac_func
35721 /* System header to define __stub macros and hopefully few prototypes,
35722 which can conflict with char $ac_func (); below.
35723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35724 <limits.h> exists even on freestanding compilers. */
35727 # include <limits.h>
35729 # include <assert.h>
35734 /* Override any gcc2 internal prototype to avoid an error. */
35739 /* We use char because int might match the return type of a gcc2
35740 builtin and then its argument prototype would still apply. */
35742 /* The GNU C library defines this for functions which it implements
35743 to always fail with ENOSYS. Some functions are actually named
35744 something starting with __ and the normal name is an alias. */
35745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35748 char (*f) () = $ac_func;
35757 return f != $ac_func;
35762 rm -f conftest.
$ac_objext conftest
$ac_exeext
35763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35764 (eval $ac_link) 2>conftest.er1
35766 grep -v '^ *+' conftest.er1
>conftest.err
35768 cat conftest.err
>&5
35769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); } &&
35771 { ac_try
='test -z "$ac_c_werror_flag"
35772 || test ! -s conftest.err'
35773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35774 (eval $ac_try) 2>&5
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 (exit $ac_status); }; } &&
35778 { ac_try
='test -s conftest$ac_exeext'
35779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35780 (eval $ac_try) 2>&5
35782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783 (exit $ac_status); }; }; then
35784 eval "$as_ac_var=yes"
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.
$ac_ext >&5
35789 eval "$as_ac_var=no"
35791 rm -f conftest.err conftest.
$ac_objext \
35792 conftest
$ac_exeext conftest.
$ac_ext
35794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35796 if test `eval echo '${'$as_ac_var'}'` = yes; then
35797 cat >>confdefs.h
<<_ACEOF
35798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35805 if test "$ac_cv_func_localtime" = "yes"; then
35806 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35807 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35808 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35809 echo $ECHO_N "(cached) $ECHO_C" >&6
35812 cat >conftest.
$ac_ext <<_ACEOF
35815 cat confdefs.h
>>conftest.
$ac_ext
35816 cat >>conftest.
$ac_ext <<_ACEOF
35817 /* end confdefs.h. */
35832 rm -f conftest.
$ac_objext
35833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35834 (eval $ac_compile) 2>conftest.er1
35836 grep -v '^ *+' conftest.er1
>conftest.err
35838 cat conftest.err
>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); } &&
35841 { ac_try
='test -z "$ac_c_werror_flag"
35842 || test ! -s conftest.err'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; } &&
35848 { ac_try
='test -s conftest.$ac_objext'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; }; then
35855 wx_cv_struct_tm_has_gmtoff
=yes
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.
$ac_ext >&5
35861 wx_cv_struct_tm_has_gmtoff
=no
35864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35867 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35868 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35871 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35872 cat >>confdefs.h
<<\_ACEOF
35873 #define WX_GMTOFF_IN_TM 1
35880 for ac_func
in gettimeofday ftime
35882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35883 echo "$as_me:$LINENO: checking for $ac_func" >&5
35884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35885 if eval "test \"\${$as_ac_var+set}\" = set"; then
35886 echo $ECHO_N "(cached) $ECHO_C" >&6
35888 cat >conftest.
$ac_ext <<_ACEOF
35891 cat confdefs.h
>>conftest.
$ac_ext
35892 cat >>conftest.
$ac_ext <<_ACEOF
35893 /* end confdefs.h. */
35894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35896 #define $ac_func innocuous_$ac_func
35898 /* System header to define __stub macros and hopefully few prototypes,
35899 which can conflict with char $ac_func (); below.
35900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35901 <limits.h> exists even on freestanding compilers. */
35904 # include <limits.h>
35906 # include <assert.h>
35911 /* Override any gcc2 internal prototype to avoid an error. */
35916 /* We use char because int might match the return type of a gcc2
35917 builtin and then its argument prototype would still apply. */
35919 /* The GNU C library defines this for functions which it implements
35920 to always fail with ENOSYS. Some functions are actually named
35921 something starting with __ and the normal name is an alias. */
35922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35925 char (*f) () = $ac_func;
35934 return f != $ac_func;
35939 rm -f conftest.
$ac_objext conftest
$ac_exeext
35940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35941 (eval $ac_link) 2>conftest.er1
35943 grep -v '^ *+' conftest.er1
>conftest.err
35945 cat conftest.err
>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } &&
35948 { ac_try
='test -z "$ac_c_werror_flag"
35949 || test ! -s conftest.err'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; } &&
35955 { ac_try
='test -s conftest$ac_exeext'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; }; then
35961 eval "$as_ac_var=yes"
35963 echo "$as_me: failed program was:" >&5
35964 sed 's/^/| /' conftest.
$ac_ext >&5
35966 eval "$as_ac_var=no"
35968 rm -f conftest.err conftest.
$ac_objext \
35969 conftest
$ac_exeext conftest.
$ac_ext
35971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35973 if test `eval echo '${'$as_ac_var'}'` = yes; then
35974 cat >>confdefs.h
<<_ACEOF
35975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35982 if test "$ac_cv_func_gettimeofday" = "yes"; then
35983 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35984 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35985 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35992 ac_cpp
='$CXXCPP $CPPFLAGS'
35993 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35994 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35995 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35998 cat >conftest.
$ac_ext <<_ACEOF
36001 cat confdefs.h
>>conftest.
$ac_ext
36002 cat >>conftest.
$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36005 #include <sys/time.h>
36006 #include <unistd.h>
36013 gettimeofday(&tv, NULL);
36019 rm -f conftest.
$ac_objext
36020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36021 (eval $ac_compile) 2>conftest.er1
36023 grep -v '^ *+' conftest.er1
>conftest.err
36025 cat conftest.err
>&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } &&
36028 { ac_try
='test -z "$ac_cxx_werror_flag"
36029 || test ! -s conftest.err'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; } &&
36035 { ac_try
='test -s conftest.$ac_objext'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; }; then
36041 wx_cv_func_gettimeofday_has_2_args
=yes
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.
$ac_ext >&5
36046 cat >conftest.
$ac_ext <<_ACEOF
36049 cat confdefs.h
>>conftest.
$ac_ext
36050 cat >>conftest.
$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36053 #include <sys/time.h>
36054 #include <unistd.h>
36067 rm -f conftest.
$ac_objext
36068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36069 (eval $ac_compile) 2>conftest.er1
36071 grep -v '^ *+' conftest.er1
>conftest.err
36073 cat conftest.err
>&5
36074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36075 (exit $ac_status); } &&
36076 { ac_try
='test -z "$ac_cxx_werror_flag"
36077 || test ! -s conftest.err'
36078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36079 (eval $ac_try) 2>&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); }; } &&
36083 { ac_try
='test -s conftest.$ac_objext'
36084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36085 (eval $ac_try) 2>&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); }; }; then
36089 wx_cv_func_gettimeofday_has_2_args
=no
36091 echo "$as_me: failed program was:" >&5
36092 sed 's/^/| /' conftest.
$ac_ext >&5
36095 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36096 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36097 wx_cv_func_gettimeofday_has_2_args
=unknown
36101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36106 ac_cpp
='$CPP $CPPFLAGS'
36107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36113 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36114 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36116 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36117 cat >>confdefs.h
<<\_ACEOF
36118 #define WX_GETTIMEOFDAY_NO_TZ 1
36124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36128 if test "$wxUSE_SOCKETS" = "yes"; then
36129 if test "$wxUSE_MGL" = "1"; then
36130 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36131 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36136 if test "$wxUSE_SOCKETS" = "yes"; then
36137 if test "$TOOLKIT" != "MSW"; then
36138 echo "$as_me:$LINENO: checking for socket" >&5
36139 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36140 if test "${ac_cv_func_socket+set}" = set; then
36141 echo $ECHO_N "(cached) $ECHO_C" >&6
36143 cat >conftest.
$ac_ext <<_ACEOF
36146 cat confdefs.h
>>conftest.
$ac_ext
36147 cat >>conftest.
$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36149 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36151 #define socket innocuous_socket
36153 /* System header to define __stub macros and hopefully few prototypes,
36154 which can conflict with char socket (); below.
36155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36156 <limits.h> exists even on freestanding compilers. */
36159 # include <limits.h>
36161 # include <assert.h>
36166 /* Override any gcc2 internal prototype to avoid an error. */
36171 /* We use char because int might match the return type of a gcc2
36172 builtin and then its argument prototype would still apply. */
36174 /* The GNU C library defines this for functions which it implements
36175 to always fail with ENOSYS. Some functions are actually named
36176 something starting with __ and the normal name is an alias. */
36177 #if defined (__stub_socket) || defined (__stub___socket)
36180 char (*f) () = socket;
36189 return f != socket;
36194 rm -f conftest.
$ac_objext conftest
$ac_exeext
36195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36196 (eval $ac_link) 2>conftest.er1
36198 grep -v '^ *+' conftest.er1
>conftest.err
36200 cat conftest.err
>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } &&
36203 { ac_try
='test -z "$ac_c_werror_flag"
36204 || test ! -s conftest.err'
36205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206 (eval $ac_try) 2>&5
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); }; } &&
36210 { ac_try
='test -s conftest$ac_exeext'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; }; then
36216 ac_cv_func_socket
=yes
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.
$ac_ext >&5
36221 ac_cv_func_socket
=no
36223 rm -f conftest.err conftest.
$ac_objext \
36224 conftest
$ac_exeext conftest.
$ac_ext
36226 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36227 echo "${ECHO_T}$ac_cv_func_socket" >&6
36228 if test $ac_cv_func_socket = yes; then
36232 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36233 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36234 if test "${ac_cv_lib_socket_socket+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36237 ac_check_lib_save_LIBS
=$LIBS
36238 LIBS
="-lsocket $LIBS"
36239 cat >conftest.
$ac_ext <<_ACEOF
36242 cat confdefs.h
>>conftest.
$ac_ext
36243 cat >>conftest.
$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36246 /* Override any gcc2 internal prototype to avoid an error. */
36250 /* We use char because int might match the return type of a gcc2
36251 builtin and then its argument prototype would still apply. */
36261 rm -f conftest.
$ac_objext conftest
$ac_exeext
36262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36263 (eval $ac_link) 2>conftest.er1
36265 grep -v '^ *+' conftest.er1
>conftest.err
36267 cat conftest.err
>&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); } &&
36270 { ac_try
='test -z "$ac_c_werror_flag"
36271 || test ! -s conftest.err'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; } &&
36277 { ac_try
='test -s conftest$ac_exeext'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; }; then
36283 ac_cv_lib_socket_socket
=yes
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.
$ac_ext >&5
36288 ac_cv_lib_socket_socket
=no
36290 rm -f conftest.err conftest.
$ac_objext \
36291 conftest
$ac_exeext conftest.
$ac_ext
36292 LIBS
=$ac_check_lib_save_LIBS
36294 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36295 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36296 if test $ac_cv_lib_socket_socket = yes; then
36297 if test "$INET_LINK" != " -lsocket"; then
36298 INET_LINK
="$INET_LINK -lsocket"
36302 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36303 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36316 if test "$wxUSE_SOCKETS" = "yes" ; then
36317 if test "$TOOLKIT" != "MSW"; then
36319 ac_cpp
='$CXXCPP $CPPFLAGS'
36320 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36324 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36325 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36326 if test "${wx_cv_type_getsockname3+set}" = set; then
36327 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 cat >conftest.
$ac_ext <<_ACEOF
36333 cat confdefs.h
>>conftest.
$ac_ext
36334 cat >>conftest.
$ac_ext <<_ACEOF
36335 /* end confdefs.h. */
36337 #include <sys/types.h>
36338 #include <sys/socket.h>
36345 getsockname(0, 0, &len);
36351 rm -f conftest.
$ac_objext
36352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36353 (eval $ac_compile) 2>conftest.er1
36355 grep -v '^ *+' conftest.er1
>conftest.err
36357 cat conftest.err
>&5
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); } &&
36360 { ac_try
='test -z "$ac_cxx_werror_flag"
36361 || test ! -s conftest.err'
36362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36363 (eval $ac_try) 2>&5
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); }; } &&
36367 { ac_try
='test -s conftest.$ac_objext'
36368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36369 (eval $ac_try) 2>&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); }; }; then
36373 wx_cv_type_getsockname3
=socklen_t
36375 echo "$as_me: failed program was:" >&5
36376 sed 's/^/| /' conftest.
$ac_ext >&5
36379 CFLAGS_OLD
="$CFLAGS"
36380 if test "$GCC" = yes ; then
36381 CFLAGS
="$CFLAGS -Werror"
36384 cat >conftest.
$ac_ext <<_ACEOF
36387 cat confdefs.h
>>conftest.
$ac_ext
36388 cat >>conftest.
$ac_ext <<_ACEOF
36389 /* end confdefs.h. */
36391 #include <sys/types.h>
36392 #include <sys/socket.h>
36399 getsockname(0, 0, &len);
36405 rm -f conftest.
$ac_objext
36406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36407 (eval $ac_compile) 2>conftest.er1
36409 grep -v '^ *+' conftest.er1
>conftest.err
36411 cat conftest.err
>&5
36412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36413 (exit $ac_status); } &&
36414 { ac_try
='test -z "$ac_cxx_werror_flag"
36415 || test ! -s conftest.err'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; } &&
36421 { ac_try
='test -s conftest.$ac_objext'
36422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423 (eval $ac_try) 2>&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); }; }; then
36427 wx_cv_type_getsockname3
=size_t
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.
$ac_ext >&5
36432 cat >conftest.
$ac_ext <<_ACEOF
36435 cat confdefs.h
>>conftest.
$ac_ext
36436 cat >>conftest.
$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36439 #include <sys/types.h>
36440 #include <sys/socket.h>
36447 getsockname(0, 0, &len);
36453 rm -f conftest.
$ac_objext
36454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36455 (eval $ac_compile) 2>conftest.er1
36457 grep -v '^ *+' conftest.er1
>conftest.err
36459 cat conftest.err
>&5
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); } &&
36462 { ac_try
='test -z "$ac_cxx_werror_flag"
36463 || test ! -s conftest.err'
36464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36465 (eval $ac_try) 2>&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); }; } &&
36469 { ac_try
='test -s conftest.$ac_objext'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; }; then
36475 wx_cv_type_getsockname3
=int
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.
$ac_ext >&5
36480 wx_cv_type_getsockname3
=unknown
36483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36488 CFLAGS
="$CFLAGS_OLD"
36492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36495 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36496 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36498 if test "$wx_cv_type_getsockname3" = "unknown"; then
36500 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36501 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36503 cat >>confdefs.h
<<_ACEOF
36504 #define SOCKLEN_T $wx_cv_type_getsockname3
36508 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36509 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36510 if test "${wx_cv_type_getsockopt5+set}" = set; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36514 cat >conftest.
$ac_ext <<_ACEOF
36517 cat confdefs.h
>>conftest.
$ac_ext
36518 cat >>conftest.
$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36521 #include <sys/types.h>
36522 #include <sys/socket.h>
36529 getsockopt(0, 0, 0, 0, &len);
36535 rm -f conftest.
$ac_objext
36536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36537 (eval $ac_compile) 2>conftest.er1
36539 grep -v '^ *+' conftest.er1
>conftest.err
36541 cat conftest.err
>&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } &&
36544 { ac_try
='test -z "$ac_cxx_werror_flag"
36545 || test ! -s conftest.err'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; } &&
36551 { ac_try
='test -s conftest.$ac_objext'
36552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553 (eval $ac_try) 2>&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; }; then
36557 wx_cv_type_getsockopt5
=socklen_t
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.
$ac_ext >&5
36563 CFLAGS_OLD
="$CFLAGS"
36564 if test "$GCC" = yes ; then
36565 CFLAGS
="$CFLAGS -Werror"
36568 cat >conftest.
$ac_ext <<_ACEOF
36571 cat confdefs.h
>>conftest.
$ac_ext
36572 cat >>conftest.
$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36575 #include <sys/types.h>
36576 #include <sys/socket.h>
36583 getsockopt(0, 0, 0, 0, &len);
36589 rm -f conftest.
$ac_objext
36590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36591 (eval $ac_compile) 2>conftest.er1
36593 grep -v '^ *+' conftest.er1
>conftest.err
36595 cat conftest.err
>&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } &&
36598 { ac_try
='test -z "$ac_cxx_werror_flag"
36599 || test ! -s conftest.err'
36600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36601 (eval $ac_try) 2>&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); }; } &&
36605 { ac_try
='test -s conftest.$ac_objext'
36606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36607 (eval $ac_try) 2>&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); }; }; then
36611 wx_cv_type_getsockopt5
=size_t
36613 echo "$as_me: failed program was:" >&5
36614 sed 's/^/| /' conftest.
$ac_ext >&5
36616 cat >conftest.
$ac_ext <<_ACEOF
36619 cat confdefs.h
>>conftest.
$ac_ext
36620 cat >>conftest.
$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36623 #include <sys/types.h>
36624 #include <sys/socket.h>
36631 getsockopt(0, 0, 0, 0, &len);
36637 rm -f conftest.
$ac_objext
36638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36639 (eval $ac_compile) 2>conftest.er1
36641 grep -v '^ *+' conftest.er1
>conftest.err
36643 cat conftest.err
>&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); } &&
36646 { ac_try
='test -z "$ac_cxx_werror_flag"
36647 || test ! -s conftest.err'
36648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36649 (eval $ac_try) 2>&5
36651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652 (exit $ac_status); }; } &&
36653 { ac_try
='test -s conftest.$ac_objext'
36654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36655 (eval $ac_try) 2>&5
36657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658 (exit $ac_status); }; }; then
36659 wx_cv_type_getsockopt5
=int
36661 echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.
$ac_ext >&5
36664 wx_cv_type_getsockopt5
=unknown
36667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36672 CFLAGS
="$CFLAGS_OLD"
36676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36679 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36680 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36682 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36684 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36685 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36687 cat >>confdefs.h
<<_ACEOF
36688 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36693 ac_cpp
='$CPP $CPPFLAGS'
36694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36701 if test "$wxUSE_SOCKETS" = "yes" ; then
36702 cat >>confdefs.h
<<\_ACEOF
36703 #define wxUSE_SOCKETS 1
36706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36709 if test "$wxUSE_PROTOCOL" = "yes"; then
36710 if test "$wxUSE_SOCKETS" != "yes"; then
36711 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36712 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36717 if test "$wxUSE_PROTOCOL" = "yes"; then
36718 cat >>confdefs.h
<<\_ACEOF
36719 #define wxUSE_PROTOCOL 1
36723 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36724 cat >>confdefs.h
<<\_ACEOF
36725 #define wxUSE_PROTOCOL_HTTP 1
36729 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36730 cat >>confdefs.h
<<\_ACEOF
36731 #define wxUSE_PROTOCOL_FTP 1
36735 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36736 cat >>confdefs.h
<<\_ACEOF
36737 #define wxUSE_PROTOCOL_FILE 1
36742 if test "$wxUSE_FS_INET" = "yes"; then
36743 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36744 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36749 if test "$wxUSE_URL" = "yes"; then
36750 if test "$wxUSE_PROTOCOL" != "yes"; then
36751 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36752 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36755 if test "$wxUSE_URL" = "yes"; then
36756 cat >>confdefs.h
<<\_ACEOF
36757 #define wxUSE_URL 1
36763 if test "$wxUSE_FS_INET" = "yes"; then
36764 cat >>confdefs.h
<<\_ACEOF
36765 #define wxUSE_FS_INET 1
36771 if test "$wxUSE_GUI" = "yes"; then
36773 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36774 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36775 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36779 if test "$TOOLKIT" != "MSW"; then
36780 if test "$wxUSE_JOYSTICK" = "yes"; then
36782 for ac_header
in linux
/joystick.h
36784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36786 echo "$as_me:$LINENO: checking for $ac_header" >&5
36787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36794 # Is the header compilable?
36795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36797 cat >conftest.
$ac_ext <<_ACEOF
36800 cat confdefs.h
>>conftest.
$ac_ext
36801 cat >>conftest.
$ac_ext <<_ACEOF
36802 /* end confdefs.h. */
36803 $ac_includes_default
36804 #include <$ac_header>
36806 rm -f conftest.
$ac_objext
36807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36808 (eval $ac_compile) 2>conftest.er1
36810 grep -v '^ *+' conftest.er1
>conftest.err
36812 cat conftest.err
>&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } &&
36815 { ac_try
='test -z "$ac_c_werror_flag"
36816 || test ! -s conftest.err'
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); }; } &&
36822 { ac_try
='test -s conftest.$ac_objext'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; }; then
36828 ac_header_compiler
=yes
36830 echo "$as_me: failed program was:" >&5
36831 sed 's/^/| /' conftest.
$ac_ext >&5
36833 ac_header_compiler
=no
36835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36837 echo "${ECHO_T}$ac_header_compiler" >&6
36839 # Is the header present?
36840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36842 cat >conftest.
$ac_ext <<_ACEOF
36845 cat confdefs.h
>>conftest.
$ac_ext
36846 cat >>conftest.
$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36848 #include <$ac_header>
36850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36853 grep -v '^ *+' conftest.er1
>conftest.err
36855 cat conftest.err
>&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); } >/dev
/null
; then
36858 if test -s conftest.err
; then
36859 ac_cpp_err
=$ac_c_preproc_warn_flag
36860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36867 if test -z "$ac_cpp_err"; then
36868 ac_header_preproc
=yes
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.
$ac_ext >&5
36873 ac_header_preproc
=no
36875 rm -f conftest.err conftest.
$ac_ext
36876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36877 echo "${ECHO_T}$ac_header_preproc" >&6
36879 # So? What about this header?
36880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36886 ac_header_preproc
=yes
36889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36903 ## ----------------------------------------- ##
36904 ## Report this to wx-dev@lists.wxwidgets.org ##
36905 ## ----------------------------------------- ##
36908 sed "s/^/$as_me: WARNING: /" >&2
36911 echo "$as_me:$LINENO: checking for $ac_header" >&5
36912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 eval "$as_ac_Header=\$ac_header_preproc"
36918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36923 cat >>confdefs.h
<<_ACEOF
36924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36931 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36933 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36934 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36939 if test "$wxUSE_JOYSTICK" = "yes"; then
36940 cat >>confdefs.h
<<\_ACEOF
36941 #define wxUSE_JOYSTICK 1
36944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36950 if test "$wxUSE_FONTMAP" = "yes" ; then
36951 cat >>confdefs.h
<<\_ACEOF
36952 #define wxUSE_FONTMAP 1
36957 if test "$wxUSE_UNICODE" = "yes" ; then
36958 cat >>confdefs.h
<<\_ACEOF
36959 #define wxUSE_UNICODE 1
36963 if test "$USE_WIN32" != 1; then
36964 wxUSE_UNICODE_MSLU
=no
36967 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36968 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36969 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36970 if test "${ac_cv_lib_unicows_main+set}" = set; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 ac_check_lib_save_LIBS
=$LIBS
36974 LIBS
="-lunicows $LIBS"
36975 cat >conftest.
$ac_ext <<_ACEOF
36978 cat confdefs.h
>>conftest.
$ac_ext
36979 cat >>conftest.
$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36991 rm -f conftest.
$ac_objext conftest
$ac_exeext
36992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36993 (eval $ac_link) 2>conftest.er1
36995 grep -v '^ *+' conftest.er1
>conftest.err
36997 cat conftest.err
>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); } &&
37000 { ac_try
='test -z "$ac_c_werror_flag"
37001 || test ! -s conftest.err'
37002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37003 (eval $ac_try) 2>&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); }; } &&
37007 { ac_try
='test -s conftest$ac_exeext'
37008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37009 (eval $ac_try) 2>&5
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; }; then
37013 ac_cv_lib_unicows_main
=yes
37015 echo "$as_me: failed program was:" >&5
37016 sed 's/^/| /' conftest.
$ac_ext >&5
37018 ac_cv_lib_unicows_main
=no
37020 rm -f conftest.err conftest.
$ac_objext \
37021 conftest
$ac_exeext conftest.
$ac_ext
37022 LIBS
=$ac_check_lib_save_LIBS
37024 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37025 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37026 if test $ac_cv_lib_unicows_main = yes; then
37028 cat >>confdefs.h
<<\_ACEOF
37029 #define wxUSE_UNICODE_MSLU 1
37035 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37036 Applications will only run on Windows NT/2000/XP!" >&5
37037 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37038 Applications will only run on Windows NT/2000/XP!" >&2;}
37039 wxUSE_UNICODE_MSLU
=no
37046 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37047 cat >>confdefs.h
<<\_ACEOF
37048 #define wxUSE_EXPERIMENTAL_PRINTF 1
37054 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37055 cat >>confdefs.h
<<\_ACEOF
37056 #define wxUSE_POSTSCRIPT 1
37061 cat >>confdefs.h
<<\_ACEOF
37062 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37066 cat >>confdefs.h
<<\_ACEOF
37067 #define wxUSE_NORMALIZED_PS_FONTS 1
37072 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37073 cat >>confdefs.h
<<\_ACEOF
37074 #define wxUSE_CONSTRAINTS 1
37077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37080 if test "$wxUSE_MDI" = "yes"; then
37081 cat >>confdefs.h
<<\_ACEOF
37082 #define wxUSE_MDI 1
37086 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37087 cat >>confdefs.h
<<\_ACEOF
37088 #define wxUSE_MDI_ARCHITECTURE 1
37091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37095 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37096 cat >>confdefs.h
<<\_ACEOF
37097 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37101 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37106 if test "$wxUSE_HELP" = "yes"; then
37107 cat >>confdefs.h
<<\_ACEOF
37108 #define wxUSE_HELP 1
37111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37113 if test "$wxUSE_MSW" = 1; then
37114 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37115 cat >>confdefs.h
<<\_ACEOF
37116 #define wxUSE_MS_HTML_HELP 1
37122 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37123 if test "$wxUSE_HTML" = "yes"; then
37124 cat >>confdefs.h
<<\_ACEOF
37125 #define wxUSE_WXHTML_HELP 1
37129 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37130 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37131 wxUSE_WXHTML_HELP
=no
37136 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37137 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37138 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37139 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37141 cat >>confdefs.h
<<\_ACEOF
37142 #define wxUSE_PRINTING_ARCHITECTURE 1
37146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37149 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37150 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37151 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37152 { (exit 1); exit 1; }; }
37156 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37157 -o "$wxUSE_CLIPBOARD" = "yes" \
37158 -o "$wxUSE_OLE" = "yes" \
37159 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37161 for ac_header
in ole2.h
37163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37165 echo "$as_me:$LINENO: checking for $ac_header" >&5
37166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37168 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37173 # Is the header compilable?
37174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37176 cat >conftest.
$ac_ext <<_ACEOF
37179 cat confdefs.h
>>conftest.
$ac_ext
37180 cat >>conftest.
$ac_ext <<_ACEOF
37181 /* end confdefs.h. */
37182 $ac_includes_default
37183 #include <$ac_header>
37185 rm -f conftest.
$ac_objext
37186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37187 (eval $ac_compile) 2>conftest.er1
37189 grep -v '^ *+' conftest.er1
>conftest.err
37191 cat conftest.err
>&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } &&
37194 { ac_try
='test -z "$ac_c_werror_flag"
37195 || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try
='test -s conftest.$ac_objext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 ac_header_compiler
=yes
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.
$ac_ext >&5
37212 ac_header_compiler
=no
37214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37216 echo "${ECHO_T}$ac_header_compiler" >&6
37218 # Is the header present?
37219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37221 cat >conftest.
$ac_ext <<_ACEOF
37224 cat confdefs.h
>>conftest.
$ac_ext
37225 cat >>conftest.
$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 #include <$ac_header>
37229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37230 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37232 grep -v '^ *+' conftest.er1
>conftest.err
37234 cat conftest.err
>&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); } >/dev
/null
; then
37237 if test -s conftest.err
; then
37238 ac_cpp_err
=$ac_c_preproc_warn_flag
37239 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37246 if test -z "$ac_cpp_err"; then
37247 ac_header_preproc
=yes
37249 echo "$as_me: failed program was:" >&5
37250 sed 's/^/| /' conftest.
$ac_ext >&5
37252 ac_header_preproc
=no
37254 rm -f conftest.err conftest.
$ac_ext
37255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37256 echo "${ECHO_T}$ac_header_preproc" >&6
37258 # So? What about this header?
37259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37265 ac_header_preproc
=yes
37268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37282 ## ----------------------------------------- ##
37283 ## Report this to wx-dev@lists.wxwidgets.org ##
37284 ## ----------------------------------------- ##
37287 sed "s/^/$as_me: WARNING: /" >&2
37290 echo "$as_me:$LINENO: checking for $ac_header" >&5
37291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37295 eval "$as_ac_Header=\$ac_header_preproc"
37297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37302 cat >>confdefs.h
<<_ACEOF
37303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37311 if test "$ac_cv_header_ole2_h" = "yes" ; then
37312 if test "$GCC" = yes ; then
37316 ac_cpp
='$CXXCPP $CPPFLAGS'
37317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37322 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37323 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37324 cat >conftest.
$ac_ext <<_ACEOF
37327 cat confdefs.h
>>conftest.
$ac_ext
37328 cat >>conftest.
$ac_ext <<_ACEOF
37329 /* end confdefs.h. */
37330 #include <windows.h>
37340 rm -f conftest.
$ac_objext
37341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37342 (eval $ac_compile) 2>conftest.er1
37344 grep -v '^ *+' conftest.er1
>conftest.err
37346 cat conftest.err
>&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } &&
37349 { ac_try
='test -z "$ac_cxx_werror_flag"
37350 || test ! -s conftest.err'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; } &&
37356 { ac_try
='test -s conftest.$ac_objext'
37357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37358 (eval $ac_try) 2>&5
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); }; }; then
37362 echo "$as_me:$LINENO: result: no" >&5
37363 echo "${ECHO_T}no" >&6
37365 echo "$as_me: failed program was:" >&5
37366 sed 's/^/| /' conftest.
$ac_ext >&5
37368 echo "$as_me:$LINENO: result: yes" >&5
37369 echo "${ECHO_T}yes" >&6
37370 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37374 ac_cpp
='$CPP $CPPFLAGS'
37375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37379 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37380 if test "$wxUSE_OLE" = "yes" ; then
37381 cat >>confdefs.h
<<\_ACEOF
37382 #define wxUSE_OLE 1
37388 if test "$wxUSE_DATAOBJ" = "yes" ; then
37389 cat >>confdefs.h
<<\_ACEOF
37390 #define wxUSE_DATAOBJ 1
37395 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37396 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37399 wxUSE_DRAG_AND_DROP
=no
37404 if test "$wxUSE_METAFILE" = "yes"; then
37405 cat >>confdefs.h
<<\_ACEOF
37406 #define wxUSE_METAFILE 1
37410 cat >>confdefs.h
<<\_ACEOF
37411 #define wxUSE_ENH_METAFILE 1
37417 if test "$wxUSE_IPC" = "yes"; then
37418 if test "$wxUSE_SOCKETS" != "yes"; then
37419 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37420 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37423 cat >>confdefs.h
<<\_ACEOF
37424 #define wxUSE_IPC 1
37429 if test "$wxUSE_CLIPBOARD" = "yes"; then
37430 if test "$wxUSE_MGL" = 1; then
37431 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37432 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37436 if test "$wxUSE_CLIPBOARD" = "yes"; then
37437 cat >>confdefs.h
<<\_ACEOF
37438 #define wxUSE_CLIPBOARD 1
37442 cat >>confdefs.h
<<\_ACEOF
37443 #define wxUSE_DATAOBJ 1
37449 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37450 if test "$wxUSE_GTK" = 1; then
37451 if test "$WXGTK12" != 1; then
37452 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37453 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37454 wxUSE_DRAG_AND_DROP
=no
37458 if test "$wxUSE_MOTIF" = 1; then
37459 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37460 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37461 wxUSE_DRAG_AND_DROP
=no
37464 if test "$wxUSE_X11" = 1; then
37465 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37466 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37467 wxUSE_DRAG_AND_DROP
=no
37470 if test "$wxUSE_MGL" = 1; then
37471 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37472 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37473 wxUSE_DRAG_AND_DROP
=no
37476 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37477 cat >>confdefs.h
<<\_ACEOF
37478 #define wxUSE_DRAG_AND_DROP 1
37485 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37489 if test "$wxUSE_SPLINES" = "yes" ; then
37490 cat >>confdefs.h
<<\_ACEOF
37491 #define wxUSE_SPLINES 1
37498 if test "$wxUSE_CONTROLS" = "yes"; then
37502 if test "$wxUSE_ACCEL" = "yes"; then
37503 cat >>confdefs.h
<<\_ACEOF
37504 #define wxUSE_ACCEL 1
37510 if test "$wxUSE_BUTTON" = "yes"; then
37511 cat >>confdefs.h
<<\_ACEOF
37512 #define wxUSE_BUTTON 1
37518 if test "$wxUSE_BMPBUTTON" = "yes"; then
37519 cat >>confdefs.h
<<\_ACEOF
37520 #define wxUSE_BMPBUTTON 1
37526 if test "$wxUSE_CALCTRL" = "yes"; then
37527 cat >>confdefs.h
<<\_ACEOF
37528 #define wxUSE_CALENDARCTRL 1
37532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37535 if test "$wxUSE_CARET" = "yes"; then
37536 cat >>confdefs.h
<<\_ACEOF
37537 #define wxUSE_CARET 1
37541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37544 if test "$wxUSE_COMBOBOX" = "yes"; then
37545 cat >>confdefs.h
<<\_ACEOF
37546 #define wxUSE_COMBOBOX 1
37552 if test "$wxUSE_CHOICE" = "yes"; then
37553 cat >>confdefs.h
<<\_ACEOF
37554 #define wxUSE_CHOICE 1
37560 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37561 cat >>confdefs.h
<<\_ACEOF
37562 #define wxUSE_CHOICEBOOK 1
37568 if test "$wxUSE_CHECKBOX" = "yes"; then
37569 cat >>confdefs.h
<<\_ACEOF
37570 #define wxUSE_CHECKBOX 1
37576 if test "$wxUSE_CHECKLST" = "yes"; then
37577 cat >>confdefs.h
<<\_ACEOF
37578 #define wxUSE_CHECKLISTBOX 1
37582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37585 if test "$wxUSE_DISPLAY" = "yes"; then
37586 cat >>confdefs.h
<<\_ACEOF
37587 #define wxUSE_DISPLAY 1
37590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37593 if test "$wxUSE_GAUGE" = "yes"; then
37594 cat >>confdefs.h
<<\_ACEOF
37595 #define wxUSE_GAUGE 1
37601 if test "$wxUSE_GRID" = "yes"; then
37602 cat >>confdefs.h
<<\_ACEOF
37603 #define wxUSE_GRID 1
37607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37610 if test "$wxUSE_IMAGLIST" = "yes"; then
37611 cat >>confdefs.h
<<\_ACEOF
37612 #define wxUSE_IMAGLIST 1
37617 if test "$wxUSE_LISTBOOK" = "yes"; then
37618 cat >>confdefs.h
<<\_ACEOF
37619 #define wxUSE_LISTBOOK 1
37625 if test "$wxUSE_LISTBOX" = "yes"; then
37626 cat >>confdefs.h
<<\_ACEOF
37627 #define wxUSE_LISTBOX 1
37633 if test "$wxUSE_LISTCTRL" = "yes"; then
37634 if test "$wxUSE_IMAGLIST" = "yes"; then
37635 cat >>confdefs.h
<<\_ACEOF
37636 #define wxUSE_LISTCTRL 1
37640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37642 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37643 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37647 if test "$wxUSE_NOTEBOOK" = "yes"; then
37648 cat >>confdefs.h
<<\_ACEOF
37649 #define wxUSE_NOTEBOOK 1
37653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37657 if test "$wxUSE_RADIOBOX" = "yes"; then
37658 cat >>confdefs.h
<<\_ACEOF
37659 #define wxUSE_RADIOBOX 1
37665 if test "$wxUSE_RADIOBTN" = "yes"; then
37666 cat >>confdefs.h
<<\_ACEOF
37667 #define wxUSE_RADIOBTN 1
37673 if test "$wxUSE_SASH" = "yes"; then
37674 cat >>confdefs.h
<<\_ACEOF
37675 #define wxUSE_SASH 1
37678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37681 if test "$wxUSE_SCROLLBAR" = "yes"; then
37682 cat >>confdefs.h
<<\_ACEOF
37683 #define wxUSE_SCROLLBAR 1
37687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37690 if test "$wxUSE_SLIDER" = "yes"; then
37691 cat >>confdefs.h
<<\_ACEOF
37692 #define wxUSE_SLIDER 1
37698 if test "$wxUSE_SPINBTN" = "yes"; then
37699 cat >>confdefs.h
<<\_ACEOF
37700 #define wxUSE_SPINBTN 1
37706 if test "$wxUSE_SPINCTRL" = "yes"; then
37707 cat >>confdefs.h
<<\_ACEOF
37708 #define wxUSE_SPINCTRL 1
37714 if test "$wxUSE_SPLITTER" = "yes"; then
37715 cat >>confdefs.h
<<\_ACEOF
37716 #define wxUSE_SPLITTER 1
37719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37722 if test "$wxUSE_STATBMP" = "yes"; then
37723 cat >>confdefs.h
<<\_ACEOF
37724 #define wxUSE_STATBMP 1
37730 if test "$wxUSE_STATBOX" = "yes"; then
37731 cat >>confdefs.h
<<\_ACEOF
37732 #define wxUSE_STATBOX 1
37738 if test "$wxUSE_STATTEXT" = "yes"; then
37739 cat >>confdefs.h
<<\_ACEOF
37740 #define wxUSE_STATTEXT 1
37746 if test "$wxUSE_STATLINE" = "yes"; then
37747 cat >>confdefs.h
<<\_ACEOF
37748 #define wxUSE_STATLINE 1
37754 if test "$wxUSE_STATUSBAR" = "yes"; then
37755 cat >>confdefs.h
<<\_ACEOF
37756 #define wxUSE_STATUSBAR 1
37761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37764 if test "$wxUSE_TABDIALOG" = "yes"; then
37765 cat >>confdefs.h
<<\_ACEOF
37766 #define wxUSE_TAB_DIALOG 1
37769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37772 if test "$wxUSE_TEXTCTRL" = "yes"; then
37773 cat >>confdefs.h
<<\_ACEOF
37774 #define wxUSE_TEXTCTRL 1
37778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37781 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37782 if test "$wxUSE_COCOA" = 1 ; then
37783 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37784 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37787 if test "$wxUSE_PM" = 1; then
37788 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37789 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37793 if test "$wxUSE_UNIVERSAL" = "yes"; then
37794 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37795 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37799 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37800 cat >>confdefs.h
<<\_ACEOF
37801 #define wxUSE_TOGGLEBTN 1
37808 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37809 cat >>confdefs.h
<<\_ACEOF
37810 #define wxUSE_TOOLBAR_SIMPLE 1
37813 wxUSE_TOOLBAR
="yes"
37817 if test "$wxUSE_TOOLBAR" = "yes"; then
37818 cat >>confdefs.h
<<\_ACEOF
37819 #define wxUSE_TOOLBAR 1
37824 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37825 wxUSE_TOOLBAR_NATIVE
="yes"
37828 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37829 cat >>confdefs.h
<<\_ACEOF
37830 #define wxUSE_TOOLBAR_NATIVE 1
37836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37839 if test "$wxUSE_TOOLTIPS" = "yes"; then
37840 if test "$wxUSE_MOTIF" = 1; then
37841 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37842 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37844 if test "$wxUSE_UNIVERSAL" = "yes"; then
37845 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37846 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37848 cat >>confdefs.h
<<\_ACEOF
37849 #define wxUSE_TOOLTIPS 1
37856 if test "$wxUSE_TREECTRL" = "yes"; then
37857 if test "$wxUSE_IMAGLIST" = "yes"; then
37858 cat >>confdefs.h
<<\_ACEOF
37859 #define wxUSE_TREECTRL 1
37863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37865 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37866 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37870 if test "$wxUSE_POPUPWIN" = "yes"; then
37871 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37872 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37873 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37875 if test "$wxUSE_PM" = 1; then
37876 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37877 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37879 cat >>confdefs.h
<<\_ACEOF
37880 #define wxUSE_POPUPWIN 1
37889 if test "$wxUSE_TIPWINDOW" = "yes"; then
37890 if test "$wxUSE_PM" = 1; then
37891 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37892 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37894 cat >>confdefs.h
<<\_ACEOF
37895 #define wxUSE_TIPWINDOW 1
37901 if test "$USES_CONTROLS" = 1; then
37902 cat >>confdefs.h
<<\_ACEOF
37903 #define wxUSE_CONTROLS 1
37909 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37910 cat >>confdefs.h
<<\_ACEOF
37911 #define wxUSE_ACCESSIBILITY 1
37914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37917 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37918 cat >>confdefs.h
<<\_ACEOF
37919 #define wxUSE_DRAGIMAGE 1
37922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37925 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37926 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37927 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37928 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37930 cat >>confdefs.h
<<\_ACEOF
37931 #define wxUSE_EXCEPTIONS 1
37934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37939 if test "$wxUSE_HTML" = "yes"; then
37940 cat >>confdefs.h
<<\_ACEOF
37941 #define wxUSE_HTML 1
37945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37946 if test "$wxUSE_MAC" = 1; then
37947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37950 if test "$wxUSE_WEBKIT" = "yes"; then
37951 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37952 old_CPPFLAGS
="$CPPFLAGS"
37953 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37954 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37955 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37956 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37957 echo $ECHO_N "(cached) $ECHO_C" >&6
37959 cat >conftest.
$ac_ext <<_ACEOF
37962 cat confdefs.h
>>conftest.
$ac_ext
37963 cat >>conftest.
$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37965 #include <Carbon/Carbon.h>
37967 #include <WebKit/HIWebView.h>
37969 rm -f conftest.
$ac_objext
37970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37971 (eval $ac_compile) 2>conftest.er1
37973 grep -v '^ *+' conftest.er1
>conftest.err
37975 cat conftest.err
>&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); } &&
37978 { ac_try
='test -z "$ac_c_werror_flag"
37979 || test ! -s conftest.err'
37980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37981 (eval $ac_try) 2>&5
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); }; } &&
37985 { ac_try
='test -s conftest.$ac_objext'
37986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37987 (eval $ac_try) 2>&5
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); }; }; then
37991 ac_cv_header_WebKit_HIWebView_h
=yes
37993 echo "$as_me: failed program was:" >&5
37994 sed 's/^/| /' conftest.
$ac_ext >&5
37996 ac_cv_header_WebKit_HIWebView_h
=no
37998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38000 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38001 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38002 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38004 cat >>confdefs.h
<<\_ACEOF
38005 #define wxUSE_WEBKIT 1
38008 WEBKIT_LINK
="-framework WebKit"
38012 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38013 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38019 CPPFLAGS
="$old_CPPFLAGS"
38020 elif test "$wxUSE_COCOA" = 1; then
38021 cat >>confdefs.h
<<\_ACEOF
38022 #define wxUSE_WEBKIT 1
38031 if test "$wxUSE_XRC" = "yes"; then
38032 if test "$wxUSE_XML" != "yes"; then
38033 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38034 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38037 cat >>confdefs.h
<<\_ACEOF
38038 #define wxUSE_XRC 1
38042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
38046 if test "$wxUSE_MENUS" = "yes"; then
38047 cat >>confdefs.h
<<\_ACEOF
38048 #define wxUSE_MENUS 1
38051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
38054 if test "$wxUSE_METAFILE" = "yes"; then
38055 cat >>confdefs.h
<<\_ACEOF
38056 #define wxUSE_METAFILE 1
38061 if test "$wxUSE_MIMETYPE" = "yes"; then
38062 cat >>confdefs.h
<<\_ACEOF
38063 #define wxUSE_MIMETYPE 1
38068 if test "$wxUSE_MINIFRAME" = "yes"; then
38069 cat >>confdefs.h
<<\_ACEOF
38070 #define wxUSE_MINIFRAME 1
38073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38076 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38077 cat >>confdefs.h
<<\_ACEOF
38078 #define wxUSE_SYSTEM_OPTIONS 1
38081 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38082 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38088 if test "$wxUSE_VALIDATORS" = "yes"; then
38089 cat >>confdefs.h
<<\_ACEOF
38090 #define wxUSE_VALIDATORS 1
38093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38096 if test "$wxUSE_PALETTE" = "yes" ; then
38097 cat >>confdefs.h
<<\_ACEOF
38098 #define wxUSE_PALETTE 1
38103 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38104 LIBS
=" -lunicows $LIBS"
38108 if test "$wxUSE_IMAGE" = "yes" ; then
38109 cat >>confdefs.h
<<\_ACEOF
38110 #define wxUSE_IMAGE 1
38114 if test "$wxUSE_GIF" = "yes" ; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define wxUSE_GIF 1
38121 if test "$wxUSE_PCX" = "yes" ; then
38122 cat >>confdefs.h
<<\_ACEOF
38123 #define wxUSE_PCX 1
38128 if test "$wxUSE_IFF" = "yes" ; then
38129 cat >>confdefs.h
<<\_ACEOF
38130 #define wxUSE_IFF 1
38135 if test "$wxUSE_PNM" = "yes" ; then
38136 cat >>confdefs.h
<<\_ACEOF
38137 #define wxUSE_PNM 1
38142 if test "$wxUSE_XPM" = "yes" ; then
38143 cat >>confdefs.h
<<\_ACEOF
38144 #define wxUSE_XPM 1
38149 if test "$wxUSE_ICO_CUR" = "yes" ; then
38150 cat >>confdefs.h
<<\_ACEOF
38151 #define wxUSE_ICO_CUR 1
38158 if test "$wxUSE_CHOICEDLG" = "yes"; then
38159 cat >>confdefs.h
<<\_ACEOF
38160 #define wxUSE_CHOICEDLG 1
38165 if test "$wxUSE_COLOURDLG" = "yes"; then
38166 cat >>confdefs.h
<<\_ACEOF
38167 #define wxUSE_COLOURDLG 1
38172 if test "$wxUSE_FILEDLG" = "yes"; then
38173 cat >>confdefs.h
<<\_ACEOF
38174 #define wxUSE_FILEDLG 1
38179 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38180 cat >>confdefs.h
<<\_ACEOF
38181 #define wxUSE_FINDREPLDLG 1
38186 if test "$wxUSE_FONTDLG" = "yes"; then
38187 cat >>confdefs.h
<<\_ACEOF
38188 #define wxUSE_FONTDLG 1
38193 if test "$wxUSE_DIRDLG" = "yes"; then
38194 if test "$wxUSE_TREECTRL" != "yes"; then
38195 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38196 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38198 cat >>confdefs.h
<<\_ACEOF
38199 #define wxUSE_DIRDLG 1
38205 if test "$wxUSE_MSGDLG" = "yes"; then
38206 cat >>confdefs.h
<<\_ACEOF
38207 #define wxUSE_MSGDLG 1
38212 if test "$wxUSE_NUMBERDLG" = "yes"; then
38213 cat >>confdefs.h
<<\_ACEOF
38214 #define wxUSE_NUMBERDLG 1
38219 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38220 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38221 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38222 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38224 cat >>confdefs.h
<<\_ACEOF
38225 #define wxUSE_PROGRESSDLG 1
38231 if test "$wxUSE_SPLASH" = "yes"; then
38232 cat >>confdefs.h
<<\_ACEOF
38233 #define wxUSE_SPLASH 1
38236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38239 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38240 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38241 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38242 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38244 cat >>confdefs.h
<<\_ACEOF
38245 #define wxUSE_STARTUP_TIPS 1
38251 if test "$wxUSE_TEXTDLG" = "yes"; then
38252 cat >>confdefs.h
<<\_ACEOF
38253 #define wxUSE_TEXTDLG 1
38258 if test "$wxUSE_WIZARDDLG" = "yes"; then
38259 cat >>confdefs.h
<<\_ACEOF
38260 #define wxUSE_WIZARDDLG 1
38263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38267 if test "$cross_compiling" = "yes"; then
38270 OSINFO
=`uname -s -r -m`
38271 OSINFO
="\"$OSINFO\""
38274 cat >>confdefs.h
<<_ACEOF
38275 #define WXWIN_OS_DESCRIPTION $OSINFO
38280 if test "x$prefix" != "xNONE"; then
38283 wxPREFIX
=$ac_default_prefix
38286 cat >>confdefs.h
<<_ACEOF
38287 #define wxINSTALL_PREFIX "$wxPREFIX"
38293 CORE_BASE_LIBS
="net base"
38294 CORE_GUI_LIBS
="adv core"
38296 if test "$wxUSE_XML" = "yes" ; then
38297 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38299 if test "$wxUSE_ODBC" != "no" ; then
38300 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38301 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38303 if test "$wxUSE_HTML" = "yes" ; then
38304 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38306 if test "$wxUSE_XRC" = "yes" ; then
38307 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38310 if test "$wxUSE_GUI" != "yes"; then
38321 if test "$wxUSE_MAC" = 1 ; then
38322 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38323 if test "$USE_DARWIN" = 1; then
38324 LDFLAGS
="$LDFLAGS -framework QuickTime"
38326 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38329 if test "$USE_DARWIN" = 1; then
38330 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38332 LDFLAGS
="$LDFLAGS -lCarbonLib"
38335 if test "$wxUSE_COCOA" = 1 ; then
38336 LDFLAGS
="$LDFLAGS -framework Cocoa"
38340 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38348 echo "$as_me:$LINENO: checking for $ac_func" >&5
38349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38350 if eval "test \"\${$as_ac_var+set}\" = set"; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38353 cat >conftest.
$ac_ext <<_ACEOF
38356 cat confdefs.h
>>conftest.
$ac_ext
38357 cat >>conftest.
$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38361 #define $ac_func innocuous_$ac_func
38363 /* System header to define __stub macros and hopefully few prototypes,
38364 which can conflict with char $ac_func (); below.
38365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38366 <limits.h> exists even on freestanding compilers. */
38369 # include <limits.h>
38371 # include <assert.h>
38376 /* Override any gcc2 internal prototype to avoid an error. */
38381 /* We use char because int might match the return type of a gcc2
38382 builtin and then its argument prototype would still apply. */
38384 /* The GNU C library defines this for functions which it implements
38385 to always fail with ENOSYS. Some functions are actually named
38386 something starting with __ and the normal name is an alias. */
38387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38390 char (*f) () = $ac_func;
38399 return f != $ac_func;
38404 rm -f conftest.
$ac_objext conftest
$ac_exeext
38405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38406 (eval $ac_link) 2>conftest.er1
38408 grep -v '^ *+' conftest.er1
>conftest.err
38410 cat conftest.err
>&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } &&
38413 { ac_try
='test -z "$ac_c_werror_flag"
38414 || test ! -s conftest.err'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; } &&
38420 { ac_try
='test -s conftest$ac_exeext'
38421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38422 (eval $ac_try) 2>&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); }; }; then
38426 eval "$as_ac_var=yes"
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.
$ac_ext >&5
38431 eval "$as_ac_var=no"
38433 rm -f conftest.err conftest.
$ac_objext \
38434 conftest
$ac_exeext conftest.
$ac_ext
38436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38438 if test `eval echo '${'$as_ac_var'}'` = yes; then
38439 cat >>confdefs.h
<<_ACEOF
38440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38447 for ac_func
in floor
38449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38450 echo "$as_me:$LINENO: checking for $ac_func" >&5
38451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38452 if eval "test \"\${$as_ac_var+set}\" = set"; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 cat >conftest.
$ac_ext <<_ACEOF
38458 cat confdefs.h
>>conftest.
$ac_ext
38459 cat >>conftest.
$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38463 #define $ac_func innocuous_$ac_func
38465 /* System header to define __stub macros and hopefully few prototypes,
38466 which can conflict with char $ac_func (); below.
38467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38468 <limits.h> exists even on freestanding compilers. */
38471 # include <limits.h>
38473 # include <assert.h>
38478 /* Override any gcc2 internal prototype to avoid an error. */
38483 /* We use char because int might match the return type of a gcc2
38484 builtin and then its argument prototype would still apply. */
38486 /* The GNU C library defines this for functions which it implements
38487 to always fail with ENOSYS. Some functions are actually named
38488 something starting with __ and the normal name is an alias. */
38489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38492 char (*f) () = $ac_func;
38501 return f != $ac_func;
38506 rm -f conftest.
$ac_objext conftest
$ac_exeext
38507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38508 (eval $ac_link) 2>conftest.er1
38510 grep -v '^ *+' conftest.er1
>conftest.err
38512 cat conftest.err
>&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); } &&
38515 { ac_try
='test -z "$ac_c_werror_flag"
38516 || test ! -s conftest.err'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; } &&
38522 { ac_try
='test -s conftest$ac_exeext'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; }; then
38528 eval "$as_ac_var=yes"
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.
$ac_ext >&5
38533 eval "$as_ac_var=no"
38535 rm -f conftest.err conftest.
$ac_objext \
38536 conftest
$ac_exeext conftest.
$ac_ext
38538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38540 if test `eval echo '${'$as_ac_var'}'` = yes; then
38541 cat >>confdefs.h
<<_ACEOF
38542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38548 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38549 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38550 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38551 echo "$as_me:$LINENO: result: yes" >&5
38552 echo "${ECHO_T}yes" >&6
38554 echo "$as_me:$LINENO: result: no" >&5
38555 echo "${ECHO_T}no" >&6
38557 # use different functions to avoid configure caching
38563 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38564 echo "$as_me:$LINENO: checking for $ac_func" >&5
38565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38566 if eval "test \"\${$as_ac_var+set}\" = set"; then
38567 echo $ECHO_N "(cached) $ECHO_C" >&6
38569 cat >conftest.
$ac_ext <<_ACEOF
38572 cat confdefs.h
>>conftest.
$ac_ext
38573 cat >>conftest.
$ac_ext <<_ACEOF
38574 /* end confdefs.h. */
38575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38577 #define $ac_func innocuous_$ac_func
38579 /* System header to define __stub macros and hopefully few prototypes,
38580 which can conflict with char $ac_func (); below.
38581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38582 <limits.h> exists even on freestanding compilers. */
38585 # include <limits.h>
38587 # include <assert.h>
38592 /* Override any gcc2 internal prototype to avoid an error. */
38597 /* We use char because int might match the return type of a gcc2
38598 builtin and then its argument prototype would still apply. */
38600 /* The GNU C library defines this for functions which it implements
38601 to always fail with ENOSYS. Some functions are actually named
38602 something starting with __ and the normal name is an alias. */
38603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38606 char (*f) () = $ac_func;
38615 return f != $ac_func;
38620 rm -f conftest.
$ac_objext conftest
$ac_exeext
38621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38622 (eval $ac_link) 2>conftest.er1
38624 grep -v '^ *+' conftest.er1
>conftest.err
38626 cat conftest.err
>&5
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); } &&
38629 { ac_try
='test -z "$ac_c_werror_flag"
38630 || test ! -s conftest.err'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; } &&
38636 { ac_try
='test -s conftest$ac_exeext'
38637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638 (eval $ac_try) 2>&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); }; }; then
38642 eval "$as_ac_var=yes"
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.
$ac_ext >&5
38647 eval "$as_ac_var=no"
38649 rm -f conftest.err conftest.
$ac_objext \
38650 conftest
$ac_exeext conftest.
$ac_ext
38652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38654 if test `eval echo '${'$as_ac_var'}'` = yes; then
38655 cat >>confdefs.h
<<_ACEOF
38656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38663 for ac_func
in ceil
38665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38666 echo "$as_me:$LINENO: checking for $ac_func" >&5
38667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38668 if eval "test \"\${$as_ac_var+set}\" = set"; then
38669 echo $ECHO_N "(cached) $ECHO_C" >&6
38671 cat >conftest.
$ac_ext <<_ACEOF
38674 cat confdefs.h
>>conftest.
$ac_ext
38675 cat >>conftest.
$ac_ext <<_ACEOF
38676 /* end confdefs.h. */
38677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38679 #define $ac_func innocuous_$ac_func
38681 /* System header to define __stub macros and hopefully few prototypes,
38682 which can conflict with char $ac_func (); below.
38683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38684 <limits.h> exists even on freestanding compilers. */
38687 # include <limits.h>
38689 # include <assert.h>
38694 /* Override any gcc2 internal prototype to avoid an error. */
38699 /* We use char because int might match the return type of a gcc2
38700 builtin and then its argument prototype would still apply. */
38702 /* The GNU C library defines this for functions which it implements
38703 to always fail with ENOSYS. Some functions are actually named
38704 something starting with __ and the normal name is an alias. */
38705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38708 char (*f) () = $ac_func;
38717 return f != $ac_func;
38722 rm -f conftest.
$ac_objext conftest
$ac_exeext
38723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38724 (eval $ac_link) 2>conftest.er1
38726 grep -v '^ *+' conftest.er1
>conftest.err
38728 cat conftest.err
>&5
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); } &&
38731 { ac_try
='test -z "$ac_c_werror_flag"
38732 || test ! -s conftest.err'
38733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734 (eval $ac_try) 2>&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); }; } &&
38738 { ac_try
='test -s conftest$ac_exeext'
38739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38740 (eval $ac_try) 2>&5
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); }; }; then
38744 eval "$as_ac_var=yes"
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.
$ac_ext >&5
38749 eval "$as_ac_var=no"
38751 rm -f conftest.err conftest.
$ac_objext \
38752 conftest
$ac_exeext conftest.
$ac_ext
38754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38756 if test `eval echo '${'$as_ac_var'}'` = yes; then
38757 cat >>confdefs.h
<<_ACEOF
38758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38764 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38765 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38766 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38767 echo "$as_me:$LINENO: result: yes" >&5
38768 echo "${ECHO_T}yes" >&6
38770 echo "$as_me:$LINENO: result: no" >&5
38771 echo "${ECHO_T}no" >&6
38772 # not sure we should warn the user, crash, etc.
38776 if test "$wxUSE_GUI" = "yes"; then
38779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38780 drawing dynamic erase event exec font image \
38781 minimal propsize rotate shaped widgets render"
38783 if test "$wxUSE_MONOLITHIC" != "yes"; then
38784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38787 SAMPLES_SUBDIRS
="console"
38791 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38792 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38794 if test "$GXX" = yes ; then
38796 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
38799 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38801 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38802 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
38803 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38807 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38808 EXTRALIBS_XML
="$EXPAT_LINK"
38809 EXTRALIBS_HTML
="$MSPACK_LINK"
38810 EXTRALIBS_ODBC
="$ODBC_LINK"
38811 if test "$wxUSE_GUI" = "yes"; then
38812 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38814 if test "$wxUSE_OPENGL" = "yes"; then
38815 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38818 LDFLAGS
="$LDFLAGS $PROFILE"
38820 if test "$wxUSE_GTK" = 1; then
38823 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38826 WXCONFIG_EXTRALIBS
="$LIBS"
38828 if test "$wxUSE_REGEX" = "builtin" ; then
38829 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38831 if test "$wxUSE_EXPAT" = "builtin" ; then
38832 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38834 if test "$wxUSE_ODBC" = "builtin" ; then
38835 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38837 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38838 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38840 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38841 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38843 if test "$wxUSE_LIBPNG" = "builtin" ; then
38844 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38846 if test "$wxUSE_ZLIB" = "builtin" ; then
38847 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38849 if test "$wxUSE_ODBC" = "builtin" ; then
38850 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38853 for i
in $wxconfig_3rdparty ; do
38854 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38858 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38872 if test $wxUSE_MONOLITHIC = "yes" ; then
38878 if test $wxUSE_PLUGINS = "yes" ; then
38884 if test $wxUSE_ODBC != "no" ; then
38890 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38918 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38929 TOOLKIT_USER
="GTK+"
38930 if test "$WXGTK20" = 1; then
38931 TOOLKIT_USER
="$TOOLKIT_USER 2"
38936 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38943 if test "x$BAKEFILE_HOST" = "x"; then
38944 BAKEFILE_HOST
="${host}"
38947 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38949 if test -n "$ac_tool_prefix"; then
38950 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38951 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38952 echo "$as_me:$LINENO: checking for $ac_word" >&5
38953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38954 if test "${ac_cv_prog_RANLIB+set}" = set; then
38955 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 if test -n "$RANLIB"; then
38958 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38961 for as_dir
in $PATH
38964 test -z "$as_dir" && as_dir
=.
38965 for ac_exec_ext
in '' $ac_executable_extensions; do
38966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38967 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38976 RANLIB
=$ac_cv_prog_RANLIB
38977 if test -n "$RANLIB"; then
38978 echo "$as_me:$LINENO: result: $RANLIB" >&5
38979 echo "${ECHO_T}$RANLIB" >&6
38981 echo "$as_me:$LINENO: result: no" >&5
38982 echo "${ECHO_T}no" >&6
38986 if test -z "$ac_cv_prog_RANLIB"; then
38987 ac_ct_RANLIB
=$RANLIB
38988 # Extract the first word of "ranlib", so it can be a program name with args.
38989 set dummy ranlib
; ac_word
=$2
38990 echo "$as_me:$LINENO: checking for $ac_word" >&5
38991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38992 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38995 if test -n "$ac_ct_RANLIB"; then
38996 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38999 for as_dir
in $PATH
39002 test -z "$as_dir" && as_dir
=.
39003 for ac_exec_ext
in '' $ac_executable_extensions; do
39004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39005 ac_cv_prog_ac_ct_RANLIB
="ranlib"
39006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39012 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
39015 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
39016 if test -n "$ac_ct_RANLIB"; then
39017 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39018 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39020 echo "$as_me:$LINENO: result: no" >&5
39021 echo "${ECHO_T}no" >&6
39024 RANLIB
=$ac_ct_RANLIB
39026 RANLIB
="$ac_cv_prog_RANLIB"
39029 # Find a good install program. We prefer a C program (faster),
39030 # so one script is as good as another. But avoid the broken or
39031 # incompatible versions:
39032 # SysV /etc/install, /usr/sbin/install
39033 # SunOS /usr/etc/install
39034 # IRIX /sbin/install
39036 # AmigaOS /C/install, which installs bootblocks on floppy discs
39037 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39038 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39039 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39040 # OS/2's system install, which has a completely different semantic
39041 # ./install, which can be erroneously created by make from ./install.sh.
39042 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39043 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39044 if test -z "$INSTALL"; then
39045 if test "${ac_cv_path_install+set}" = set; then
39046 echo $ECHO_N "(cached) $ECHO_C" >&6
39048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39049 for as_dir
in $PATH
39052 test -z "$as_dir" && as_dir
=.
39053 # Account for people who put trailing slashes in PATH elements.
39055 .
/ | .
// | /cC
/* | \
39056 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
39057 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39060 # OSF1 and SCO ODT 3.0 have their own names for install.
39061 # Don't use installbsd from OSF since it installs stuff as root
39063 for ac_prog
in ginstall scoinst
install; do
39064 for ac_exec_ext
in '' $ac_executable_extensions; do
39065 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39066 if test $ac_prog = install &&
39067 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39068 # AIX install. It has an incompatible calling convention.
39070 elif test $ac_prog = install &&
39071 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39072 # program-specific install script used by HP pwplus--don't use.
39075 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39087 if test "${ac_cv_path_install+set}" = set; then
39088 INSTALL
=$ac_cv_path_install
39090 # As a last resort, use the slow shell script. We don't cache a
39091 # path for INSTALL within a source directory, because that will
39092 # break other packages using the cache if that directory is
39093 # removed, or if the path is relative.
39094 INSTALL
=$ac_install_sh
39097 echo "$as_me:$LINENO: result: $INSTALL" >&5
39098 echo "${ECHO_T}$INSTALL" >&6
39100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39101 # It thinks the first close brace ends the variable substitution.
39102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39106 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39108 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39109 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39111 if test "$LN_S" = "ln -s"; then
39112 echo "$as_me:$LINENO: result: yes" >&5
39113 echo "${ECHO_T}yes" >&6
39115 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39116 echo "${ECHO_T}no, using $LN_S" >&6
39120 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39121 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39122 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39123 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39124 echo $ECHO_N "(cached) $ECHO_C" >&6
39126 cat >conftest.
make <<\_ACEOF
39128 @
echo 'ac_maketemp="$(MAKE)"'
39130 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39131 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39132 if test -n "$ac_maketemp"; then
39133 eval ac_cv_prog_make_
${ac_make}_set
=yes
39135 eval ac_cv_prog_make_
${ac_make}_set
=no
39137 rm -f conftest.
make
39139 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39140 echo "$as_me:$LINENO: result: yes" >&5
39141 echo "${ECHO_T}yes" >&6
39144 echo "$as_me:$LINENO: result: no" >&5
39145 echo "${ECHO_T}no" >&6
39146 SET_MAKE
="MAKE=${MAKE-make}"
39151 if test -n "$ac_tool_prefix"; then
39152 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39153 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39154 echo "$as_me:$LINENO: checking for $ac_word" >&5
39155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39156 if test "${ac_cv_prog_AR+set}" = set; then
39157 echo $ECHO_N "(cached) $ECHO_C" >&6
39159 if test -n "$AR"; then
39160 ac_cv_prog_AR
="$AR" # Let the user override the test.
39162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39163 for as_dir
in $PATH
39166 test -z "$as_dir" && as_dir
=.
39167 for ac_exec_ext
in '' $ac_executable_extensions; do
39168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39169 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39179 if test -n "$AR"; then
39180 echo "$as_me:$LINENO: result: $AR" >&5
39181 echo "${ECHO_T}$AR" >&6
39183 echo "$as_me:$LINENO: result: no" >&5
39184 echo "${ECHO_T}no" >&6
39188 if test -z "$ac_cv_prog_AR"; then
39190 # Extract the first word of "ar", so it can be a program name with args.
39191 set dummy
ar; ac_word
=$2
39192 echo "$as_me:$LINENO: checking for $ac_word" >&5
39193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39194 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39195 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 if test -n "$ac_ct_AR"; then
39198 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39201 for as_dir
in $PATH
39204 test -z "$as_dir" && as_dir
=.
39205 for ac_exec_ext
in '' $ac_executable_extensions; do
39206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39207 ac_cv_prog_ac_ct_AR
="ar"
39208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39214 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39217 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39218 if test -n "$ac_ct_AR"; then
39219 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39220 echo "${ECHO_T}$ac_ct_AR" >&6
39222 echo "$as_me:$LINENO: result: no" >&5
39223 echo "${ECHO_T}no" >&6
39228 AR
="$ac_cv_prog_AR"
39231 if test -n "$ac_tool_prefix"; then
39232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39233 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39234 echo "$as_me:$LINENO: checking for $ac_word" >&5
39235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39236 if test "${ac_cv_prog_STRIP+set}" = set; then
39237 echo $ECHO_N "(cached) $ECHO_C" >&6
39239 if test -n "$STRIP"; then
39240 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39243 for as_dir
in $PATH
39246 test -z "$as_dir" && as_dir
=.
39247 for ac_exec_ext
in '' $ac_executable_extensions; do
39248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39249 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39258 STRIP
=$ac_cv_prog_STRIP
39259 if test -n "$STRIP"; then
39260 echo "$as_me:$LINENO: result: $STRIP" >&5
39261 echo "${ECHO_T}$STRIP" >&6
39263 echo "$as_me:$LINENO: result: no" >&5
39264 echo "${ECHO_T}no" >&6
39268 if test -z "$ac_cv_prog_STRIP"; then
39270 # Extract the first word of "strip", so it can be a program name with args.
39271 set dummy strip
; ac_word
=$2
39272 echo "$as_me:$LINENO: checking for $ac_word" >&5
39273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39275 echo $ECHO_N "(cached) $ECHO_C" >&6
39277 if test -n "$ac_ct_STRIP"; then
39278 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39281 for as_dir
in $PATH
39284 test -z "$as_dir" && as_dir
=.
39285 for ac_exec_ext
in '' $ac_executable_extensions; do
39286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39287 ac_cv_prog_ac_ct_STRIP
="strip"
39288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39294 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39297 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39298 if test -n "$ac_ct_STRIP"; then
39299 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39300 echo "${ECHO_T}$ac_ct_STRIP" >&6
39302 echo "$as_me:$LINENO: result: no" >&5
39303 echo "${ECHO_T}no" >&6
39308 STRIP
="$ac_cv_prog_STRIP"
39311 if test -n "$ac_tool_prefix"; then
39312 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39313 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39314 echo "$as_me:$LINENO: checking for $ac_word" >&5
39315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39316 if test "${ac_cv_prog_NM+set}" = set; then
39317 echo $ECHO_N "(cached) $ECHO_C" >&6
39319 if test -n "$NM"; then
39320 ac_cv_prog_NM
="$NM" # Let the user override the test.
39322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39323 for as_dir
in $PATH
39326 test -z "$as_dir" && as_dir
=.
39327 for ac_exec_ext
in '' $ac_executable_extensions; do
39328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39329 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39339 if test -n "$NM"; then
39340 echo "$as_me:$LINENO: result: $NM" >&5
39341 echo "${ECHO_T}$NM" >&6
39343 echo "$as_me:$LINENO: result: no" >&5
39344 echo "${ECHO_T}no" >&6
39348 if test -z "$ac_cv_prog_NM"; then
39350 # Extract the first word of "nm", so it can be a program name with args.
39351 set dummy nm
; ac_word
=$2
39352 echo "$as_me:$LINENO: checking for $ac_word" >&5
39353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39354 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 if test -n "$ac_ct_NM"; then
39358 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39361 for as_dir
in $PATH
39364 test -z "$as_dir" && as_dir
=.
39365 for ac_exec_ext
in '' $ac_executable_extensions; do
39366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39367 ac_cv_prog_ac_ct_NM
="nm"
39368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39374 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39377 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39378 if test -n "$ac_ct_NM"; then
39379 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39380 echo "${ECHO_T}$ac_ct_NM" >&6
39382 echo "$as_me:$LINENO: result: no" >&5
39383 echo "${ECHO_T}no" >&6
39388 NM
="$ac_cv_prog_NM"
39392 case ${BAKEFILE_HOST} in
39394 INSTALL_DIR
="mkdir -p"
39396 *) INSTALL_DIR
="$INSTALL -d"
39402 case ${BAKEFILE_HOST} in
39403 *-*-cygwin* | *-*-mingw32* )
39404 LDFLAGS_GUI
="-mwindows"
39410 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39411 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39412 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39416 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39417 egrep -s GNU
> /dev
/null
); then
39418 bakefile_cv_prog_makeisgnu
="yes"
39420 bakefile_cv_prog_makeisgnu
="no"
39424 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39425 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39427 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39444 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39445 case "${BAKEFILE_HOST}" in
39446 *-*-cygwin* | *-*-mingw32* )
39452 *-pc-os2_emx | *-pc-os2-emx )
39455 powerpc
-*-darwin* )
39462 powerpc
-apple-macos* )
39471 case "$BAKEFILE_FORCE_PLATFORM" in
39492 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39493 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39494 { (exit 1); exit 1; }; }
39509 # Check whether --enable-omf or --disable-omf was given.
39510 if test "${enable_omf+set}" = set; then
39511 enableval
="$enable_omf"
39512 bk_os2_use_omf
="$enableval"
39515 case "${BAKEFILE_HOST}" in
39517 CFLAGS
="$CFLAGS -fno-common"
39518 CXXFLAGS
="$CXXFLAGS -fno-common"
39521 *-pc-os2_emx | *-pc-os2-emx )
39522 if test "x$bk_os2_use_omf" = "xyes" ; then
39525 LDFLAGS
="-Zomf $LDFLAGS"
39526 CFLAGS
="-Zomf $CFLAGS"
39527 CXXFLAGS
="-Zomf $CXXFLAGS"
39535 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39541 SO_SUFFIX_MODULE
="so"
39546 DLLPREFIX_MODULE
=""
39549 case "${BAKEFILE_HOST}" in
39552 SO_SUFFIX_MODULE
="sl"
39556 SO_SUFFIX_MODULE
="a"
39558 *-*-cygwin* | *-*-mingw32* )
39560 SO_SUFFIX_MODULE
="dll"
39561 DLLIMP_SUFFIX
="dll.a"
39569 *-pc-os2_emx | *-pc-os2-emx )
39571 SO_SUFFIX_MODULE
="dll"
39572 DLLIMP_SUFFIX
=$OS2_LIBEXT
39576 LIBEXT
=".$OS2_LIBEXT"
39578 powerpc
-*-darwin* )
39580 SO_SUFFIX_MODULE
="bundle"
39584 if test "x$DLLIMP_SUFFIX" = "x" ; then
39585 DLLIMP_SUFFIX
="$SO_SUFFIX"
39599 if test "x$GCC" = "xyes"; then
39603 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39604 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39606 case "${BAKEFILE_HOST}" in
39608 if test "x$GCC" != "xyes"; then
39609 LDFLAGS
="$LDFLAGS -L/usr/lib"
39611 SHARED_LD_CC
="${CC} -b -o"
39612 SHARED_LD_CXX
="${CXX} -b -o"
39618 if test "x$GCC" != "xyes"; then
39619 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39620 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39621 if test "${bakefile_cv_prog_icc+set}" = set; then
39622 echo $ECHO_N "(cached) $ECHO_C" >&6
39625 cat >conftest.
$ac_ext <<_ACEOF
39628 cat confdefs.h
>>conftest.
$ac_ext
39629 cat >>conftest.
$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39636 #ifndef __INTEL_COMPILER
39644 rm -f conftest.
$ac_objext
39645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39646 (eval $ac_compile) 2>conftest.er1
39648 grep -v '^ *+' conftest.er1
>conftest.err
39650 cat conftest.err
>&5
39651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39652 (exit $ac_status); } &&
39653 { ac_try
='test -z "$ac_c_werror_flag"
39654 || test ! -s conftest.err'
39655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39656 (eval $ac_try) 2>&5
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); }; } &&
39660 { ac_try
='test -s conftest.$ac_objext'
39661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39662 (eval $ac_try) 2>&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); }; }; then
39666 bakefile_cv_prog_icc
=yes
39668 echo "$as_me: failed program was:" >&5
39669 sed 's/^/| /' conftest.
$ac_ext >&5
39671 bakefile_cv_prog_icc
=no
39674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39677 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39678 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39679 if test "$bakefile_cv_prog_icc" = "yes"; then
39686 if test "x$GCC" != xyes
; then
39687 SHARED_LD_CC
="${CC} -G -o"
39688 SHARED_LD_CXX
="${CXX} -G -o"
39695 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39696 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39697 if test "${wx_cv_gcc31+set}" = set; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39701 cat >conftest.
$ac_ext <<_ACEOF
39704 cat confdefs.h
>>conftest.
$ac_ext
39705 cat >>conftest.
$ac_ext <<_ACEOF
39706 /* end confdefs.h. */
39712 #if (__GNUC__ < 3) || \
39713 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39721 rm -f conftest.
$ac_objext
39722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39723 (eval $ac_compile) 2>conftest.er1
39725 grep -v '^ *+' conftest.er1
>conftest.err
39727 cat conftest.err
>&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } &&
39730 { ac_try
='test -z "$ac_c_werror_flag"
39731 || test ! -s conftest.err'
39732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39733 (eval $ac_try) 2>&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); }; } &&
39737 { ac_try
='test -s conftest.$ac_objext'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; }; then
39747 echo "$as_me: failed program was:" >&5
39748 sed 's/^/| /' conftest.
$ac_ext >&5
39755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39758 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39759 echo "${ECHO_T}$wx_cv_gcc31" >&6
39760 if test "$wx_cv_gcc31" = "no"; then
39763 cat <<EOF >shared-ld-sh
39765 #-----------------------------------------------------------------------------
39766 #-- Name: distrib/mac/shared-ld-sh
39767 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39768 #-- Author: Gilles Depeyrot
39769 #-- Copyright: (c) 2002 Gilles Depeyrot
39770 #-- Licence: any use permitted
39771 #-----------------------------------------------------------------------------
39776 linking_flag="-dynamiclib"
39778 while test ${D}# -gt 0; do
39785 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39786 # collect these options and values
39787 args="${D}{args} ${D}1 ${D}2"
39791 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39792 # collect these options
39793 args="${D}{args} ${D}1"
39796 -dynamiclib|-bundle)
39797 linking_flag="${D}1"
39801 echo "shared-ld: unhandled option '${D}1'"
39805 *.o | *.a | *.dylib)
39806 # collect object files
39807 objects="${D}{objects} ${D}1"
39811 echo "shared-ld: unhandled argument '${D}1'"
39820 # Link one module containing all the others
39822 if test ${D}{verbose} = 1; then
39823 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39825 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39827 if test ${D}{status} != 0; then
39832 # Link the shared library from the single module created
39834 if test ${D}{verbose} = 1; then
39835 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39837 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39839 if test ${D}{status} != 0; then
39844 # Remove intermediate module
39846 rm -f master.${D}${D}.o
39851 chmod +x shared
-ld-sh
39853 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39854 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39855 SHARED_LD_CXX
="$SHARED_LD_CC"
39856 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39858 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39859 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39860 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39861 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39864 PIC_FLAG
="-dynamic -fPIC"
39868 if test "x$GCC" != "xyes"; then
39869 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39870 set dummy makeC
++SharedLib
; ac_word
=$2
39871 echo "$as_me:$LINENO: checking for $ac_word" >&5
39872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39873 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39874 echo $ECHO_N "(cached) $ECHO_C" >&6
39876 if test -n "$AIX_CXX_LD"; then
39877 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39880 for as_dir
in $PATH
39883 test -z "$as_dir" && as_dir
=.
39884 for ac_exec_ext
in '' $ac_executable_extensions; do
39885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39886 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39893 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39896 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39897 if test -n "$AIX_CXX_LD"; then
39898 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39899 echo "${ECHO_T}$AIX_CXX_LD" >&6
39901 echo "$as_me:$LINENO: result: no" >&5
39902 echo "${ECHO_T}no" >&6
39905 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39906 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39911 SHARED_LD_CC
="${LD} -nostart -o"
39912 SHARED_LD_CXX
="${LD} -nostart -o"
39916 if test "x$GCC" != "xyes"; then
39921 *-*-cygwin* | *-*-mingw32* )
39923 SHARED_LD_CC
="\$(CC) -shared -o"
39924 SHARED_LD_CXX
="\$(CXX) -shared -o"
39927 *-pc-os2_emx | *-pc-os2-emx )
39928 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39929 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39933 cat <<EOF >dllar.sh
39936 # dllar - a tool to build both a .dll and an .a file
39937 # from a set of object (.o) files for EMX/OS2.
39939 # Written by Andrew Zabolotny, bit@freya.etu.ru
39940 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39942 # This script will accept a set of files on the command line.
39943 # All the public symbols from the .o files will be exported into
39944 # a .DEF file, then linker will be run (through gcc) against them to
39945 # build a shared library consisting of all given .o files. All libraries
39946 # (.a) will be first decompressed into component .o files then act as
39947 # described above. You can optionally give a description (-d "description")
39948 # which will be put into .DLL. To see the list of accepted options (as well
39949 # as command-line format) simply run this program without options. The .DLL
39950 # is built to be imported by name (there is no guarantee that new versions
39951 # of the library you build will have same ordinals for same symbols).
39953 # dllar is free software; you can redistribute it and/or modify
39954 # it under the terms of the GNU General Public License as published by
39955 # the Free Software Foundation; either version 2, or (at your option)
39956 # any later version.
39958 # dllar is distributed in the hope that it will be useful,
39959 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39960 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39961 # GNU General Public License for more details.
39963 # You should have received a copy of the GNU General Public License
39964 # along with dllar; see the file COPYING. If not, write to the Free
39965 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39968 # To successfuly run this program you will need:
39969 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39970 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39972 # (used to build the .dll)
39974 # (used to create .def file from .o files)
39976 # (used to create .a file from .def file)
39977 # - GNU text utilites (cat, sort, uniq)
39978 # used to process emxexp output
39979 # - GNU file utilities (mv, rm)
39981 # - lxlite (optional, see flag below)
39982 # (used for general .dll cleanup)
39989 # basnam, variant of basename, which does _not_ remove the path, _iff_
39990 # second argument (suffix to remove) is given
39994 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39997 echo ${D}1 | sed 's/'${D}2'${D}//'
40000 echo "error in basnam ${D}*"
40006 # Cleanup temporary files and output
40009 for i in ${D}inputFiles ; do
40012 rm -rf \`basnam ${D}i !\`
40019 # Kill result in case of failure as there is just to many stupid make/nmake
40020 # things out there which doesn't do this.
40021 if [ ${D}# -eq 0 ]; then
40022 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40026 # Print usage and exit script with rc=1.
40028 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40029 echo ' [-name-mangler-script script.sh]'
40030 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40031 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40032 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40033 echo ' [*.o] [*.a]'
40034 echo '*> "output_file" should have no extension.'
40035 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40036 echo ' The import library name is derived from this and is set to "name".a,'
40037 echo ' unless overridden by -import'
40038 echo '*> "importlib_name" should have no extension.'
40039 echo ' If it has the .o, or .a extension, it is automatically removed.'
40040 echo ' This name is used as the import library name and may be longer and'
40041 echo ' more descriptive than the DLL name which has to follow the old '
40042 echo ' 8.3 convention of FAT.'
40043 echo '*> "script.sh may be given to override the output_file name by a'
40044 echo ' different name. It is mainly useful if the regular make process'
40045 echo ' of some package does not take into account OS/2 restriction of'
40046 echo ' DLL name lengths. It takes the importlib name as input and is'
40047 echo ' supposed to procude a shorter name as output. The script should'
40048 echo ' expect to get importlib_name without extension and should produce'
40049 echo ' a (max.) 8 letter name without extension.'
40050 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40051 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40052 echo ' These flags will be put at the start of GCC command line.'
40053 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40054 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40055 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40056 echo ' If the last character of a symbol is "*", all symbols beginning'
40057 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40058 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40059 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40060 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40061 echo ' C runtime DLLs.'
40062 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40063 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40064 echo ' unchanged to GCC at the end of command line.'
40065 echo '*> If you create a DLL from a library and you do not specify -o,'
40066 echo ' the basename for DLL and import library will be set to library name,'
40067 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40068 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40069 echo ' library will be renamed into gcc_s.a.'
40072 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40073 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40078 # Execute a command.
40079 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40080 # @Uses Whatever CleanUp() uses.
40086 if [ ${D}rcCmd -ne 0 ]; then
40087 echo "command failed, exit code="${D}rcCmd
40102 CFLAGS="-s -Zcrtdll"
40104 EXPORT_BY_ORDINALS=0
40109 case ${D}curDirS in
40113 curDirS=${D}{curDirS}"/"
40116 # Parse commandline
40119 while [ ${D}1 ]; do
40122 EXPORT_BY_ORDINALS=1;
40132 -name-mangler-script)
40153 exclude_symbols=${D}{exclude_symbols}${D}1" "
40157 library_flags=${D}{library_flags}${D}1" "
40176 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40179 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40180 if [ ${D}omfLinking -eq 1 ]; then
40181 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40183 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40188 if [ ${D}libsToLink -ne 0 ]; then
40189 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40191 for file in ${D}1 ; do
40192 if [ -f ${D}file ]; then
40193 inputFiles="${D}{inputFiles} ${D}file"
40197 if [ ${D}found -eq 0 ]; then
40198 echo "ERROR: No file(s) found: "${D}1
40205 done # iterate cmdline words
40208 if [ -z "${D}inputFiles" ]; then
40209 echo "dllar: no input files"
40213 # Now extract all .o files from .a files
40215 for file in ${D}inputFiles ; do
40226 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40231 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40233 if [ ${D}? -ne 0 ]; then
40234 echo "Failed to create subdirectory ./${D}dirname"
40238 # Append '!' to indicate archive
40239 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40240 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40243 for subfile in ${D}dirname/*.o* ; do
40244 if [ -f ${D}subfile ]; then
40246 if [ -s ${D}subfile ]; then
40247 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40248 newInputFiles="${D}newInputFiles ${D}subfile"
40252 if [ ${D}found -eq 0 ]; then
40253 echo "WARNING: there are no files in archive \\'${D}file\\'"
40257 newInputFiles="${D}{newInputFiles} ${D}file"
40261 inputFiles="${D}newInputFiles"
40263 # Output filename(s).
40265 if [ -z ${D}outFile ]; then
40267 set outFile ${D}inputFiles; outFile=${D}2
40270 # If it is an archive, remove the '!' and the '_%' suffixes
40271 case ${D}outFile in
40273 outFile=\`basnam ${D}outFile _%!\`
40278 case ${D}outFile in
40280 outFile=\`basnam ${D}outFile .dll\`
40283 outFile=\`basnam ${D}outFile .DLL\`
40286 outFile=\`basnam ${D}outFile .o\`
40289 outFile=\`basnam ${D}outFile .obj\`
40292 outFile=\`basnam ${D}outFile .a\`
40295 outFile=\`basnam ${D}outFile .lib\`
40300 case ${D}outimpFile in
40302 outimpFile=\`basnam ${D}outimpFile .a\`
40305 outimpFile=\`basnam ${D}outimpFile .lib\`
40310 if [ -z ${D}outimpFile ]; then
40311 outimpFile=${D}outFile
40313 defFile="${D}{outFile}.def"
40314 arcFile="${D}{outimpFile}.a"
40315 arcFile2="${D}{outimpFile}.lib"
40317 #create ${D}dllFile as something matching 8.3 restrictions,
40318 if [ -z ${D}renameScript ] ; then
40319 dllFile="${D}outFile"
40321 dllFile=\`${D}renameScript ${D}outimpFile\`
40324 if [ ${D}do_backup -ne 0 ] ; then
40325 if [ -f ${D}arcFile ] ; then
40326 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40328 if [ -f ${D}arcFile2 ] ; then
40329 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40333 # Extract public symbols from all the object files.
40334 tmpdefFile=${D}{defFile}_%
40335 rm -f ${D}tmpdefFile
40336 for file in ${D}inputFiles ; do
40341 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40346 # Create the def file.
40348 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40349 dllFile="${D}{dllFile}.dll"
40350 if [ ! -z ${D}description ]; then
40351 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40353 echo "EXPORTS" >> ${D}defFile
40355 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40356 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40358 # Checks if the export is ok or not.
40359 for word in ${D}exclude_symbols; do
40360 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40361 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40365 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40366 sed "=" < ${D}tmpdefFile | \\
40370 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40372 ' > ${D}{tmpdefFile}%
40373 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40375 rm -f ${D}{tmpdefFile}%
40377 cat ${D}tmpdefFile >> ${D}defFile
40378 rm -f ${D}tmpdefFile
40380 # Do linking, create implib, and apply lxlite.
40382 for file in ${D}inputFiles ; do
40387 gccCmdl="${D}gccCmdl ${D}file"
40391 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40392 touch "${D}{outFile}.dll"
40394 doCommand "emximp -o ${D}arcFile ${D}defFile"
40395 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40397 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40400 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40402 doCommand "emxomf -s -l ${D}arcFile"
40412 powerpc
-apple-macos* | \
40413 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40421 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40422 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40423 { (exit 1); exit 1; }; }
40426 if test "x$PIC_FLAG" != "x" ; then
40427 PIC_FLAG
="$PIC_FLAG -DPIC"
40430 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40431 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40433 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40434 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40451 case "${BAKEFILE_HOST}" in
40452 *-*-linux* | *-*-freebsd* )
40453 SONAME_FLAG
="-Wl,-soname,"
40481 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40482 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40485 if test "x$GCC" = "xyes"; then
40488 case "${BAKEFILE_HOST}" in
40489 powerpc
-*-darwin* )
40490 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40493 DEPSFLAG_GCC
="-MMD"
40496 echo "$as_me:$LINENO: result: gcc" >&5
40497 echo "${ECHO_T}gcc" >&6
40498 elif test "x$MWCC" = "xyes"; then
40501 DEPSFLAG_GCC
="-MMD"
40502 echo "$as_me:$LINENO: result: mwcc" >&5
40503 echo "${ECHO_T}mwcc" >&6
40505 echo "$as_me:$LINENO: result: none" >&5
40506 echo "${ECHO_T}none" >&6
40509 if test $DEPS_TRACKING = 1 ; then
40515 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40516 # script. It is used to track C/C++ files dependencies in portable way.
40518 # Permission is given to use this file in any way.
40520 DEPSMODE=${DEPSMODE}
40522 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40524 mkdir -p ${D}DEPSDIR
40526 if test ${D}DEPSMODE = gcc ; then
40527 ${D}* ${D}{DEPSFLAG_GCC}
40529 if test ${D}{status} != 0 ; then
40532 # move created file to the location we want it in:
40533 while test ${D}# -gt 0; do
40547 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40548 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40549 if test -f ${D}depfile ; then
40550 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40553 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40554 if test -f ${D}depfile ; then
40555 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40575 case ${BAKEFILE_HOST} in
40576 *-*-cygwin* | *-*-mingw32* )
40577 if test "$build" != "$host" ; then
40578 RESCOMP
=$host_alias-windres
40580 # Extract the first word of "windres", so it can be a program name with args.
40581 set dummy windres
; ac_word
=$2
40582 echo "$as_me:$LINENO: checking for $ac_word" >&5
40583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40584 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40585 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 if test -n "$RESCOMP"; then
40588 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40591 for as_dir
in $PATH
40594 test -z "$as_dir" && as_dir
=.
40595 for ac_exec_ext
in '' $ac_executable_extensions; do
40596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40597 ac_cv_prog_RESCOMP
="windres"
40598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40604 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40607 RESCOMP
=$ac_cv_prog_RESCOMP
40608 if test -n "$RESCOMP"; then
40609 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40610 echo "${ECHO_T}$RESCOMP" >&6
40612 echo "$as_me:$LINENO: result: no" >&5
40613 echo "${ECHO_T}no" >&6
40619 *-*-darwin* | powerpc
-apple-macos* )
40620 # Extract the first word of "Rez", so it can be a program name with args.
40621 set dummy Rez
; ac_word
=$2
40622 echo "$as_me:$LINENO: checking for $ac_word" >&5
40623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40624 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40625 echo $ECHO_N "(cached) $ECHO_C" >&6
40627 if test -n "$RESCOMP"; then
40628 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40631 for as_dir
in $PATH
40634 test -z "$as_dir" && as_dir
=.
40635 for ac_exec_ext
in '' $ac_executable_extensions; do
40636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40637 ac_cv_prog_RESCOMP
="Rez"
40638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40644 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40647 RESCOMP
=$ac_cv_prog_RESCOMP
40648 if test -n "$RESCOMP"; then
40649 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40650 echo "${ECHO_T}$RESCOMP" >&6
40652 echo "$as_me:$LINENO: result: no" >&5
40653 echo "${ECHO_T}no" >&6
40656 # Extract the first word of "SetFile", so it can be a program name with args.
40657 set dummy SetFile
; ac_word
=$2
40658 echo "$as_me:$LINENO: checking for $ac_word" >&5
40659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40660 if test "${ac_cv_prog_SETFILE+set}" = set; then
40661 echo $ECHO_N "(cached) $ECHO_C" >&6
40663 if test -n "$SETFILE"; then
40664 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40667 for as_dir
in $PATH
40670 test -z "$as_dir" && as_dir
=.
40671 for ac_exec_ext
in '' $ac_executable_extensions; do
40672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40673 ac_cv_prog_SETFILE
="SetFile"
40674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40680 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40683 SETFILE
=$ac_cv_prog_SETFILE
40684 if test -n "$SETFILE"; then
40685 echo "$as_me:$LINENO: result: $SETFILE" >&5
40686 echo "${ECHO_T}$SETFILE" >&6
40688 echo "$as_me:$LINENO: result: no" >&5
40689 echo "${ECHO_T}no" >&6
40699 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.5"
40702 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.5"
40706 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40707 if test "${enable_precomp_headers+set}" = set; then
40708 enableval
="$enable_precomp_headers"
40709 bk_use_pch
="$enableval"
40714 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40715 if test "x$GCC" = "xyes"; then
40716 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40717 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40718 cat >conftest.
$ac_ext <<_ACEOF
40721 cat confdefs.h
>>conftest.
$ac_ext
40722 cat >>conftest.
$ac_ext <<_ACEOF
40723 /* end confdefs.h. */
40729 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40730 #error "no pch support"
40733 #error "no pch support"
40735 #if (__GNUC__ == 3) && \
40736 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40737 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40738 #error "no pch support"
40745 rm -f conftest.
$ac_objext
40746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40747 (eval $ac_compile) 2>conftest.er1
40749 grep -v '^ *+' conftest.er1
>conftest.err
40751 cat conftest.err
>&5
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); } &&
40754 { ac_try
='test -z "$ac_c_werror_flag"
40755 || test ! -s conftest.err'
40756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40757 (eval $ac_try) 2>&5
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; } &&
40761 { ac_try
='test -s conftest.$ac_objext'
40762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763 (eval $ac_try) 2>&5
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); }; }; then
40768 echo "$as_me:$LINENO: result: yes" >&5
40769 echo "${ECHO_T}yes" >&6
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.
$ac_ext >&5
40777 echo "$as_me:$LINENO: result: no" >&5
40778 echo "${ECHO_T}no" >&6
40781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40782 if test $GCC_PCH = 1 ; then
40785 cat <<EOF >bk-make-pch
40788 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40789 # script. It is used to generated precompiled headers.
40791 # Permission is given to use this file in any way.
40800 while test ${D}{#} -gt 0; do
40803 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40804 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40805 headerfile="${D}{incdir}/${D}{header}"
40809 compiler="${D}{compiler} ${D}{1}"
40813 if test "x${D}{headerfile}" = "x" ; then
40814 echo "error: can't find header ${D}{header} in include paths" >2
40816 if test -f ${D}{outfile} ; then
40817 rm -f ${D}{outfile}
40819 mkdir -p \`dirname ${D}{outfile}\`
40821 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40823 # can do this because gcc is >= 3.4:
40824 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40829 chmod +x bk
-make-pch
40836 COND_BUILD_DEBUG
="#"
40837 if test "x$BUILD" = "xdebug" ; then
40838 COND_BUILD_DEBUG
=""
40841 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40842 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40843 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40846 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40847 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40848 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40851 COND_BUILD_DEBUG_UNICODE_0
="#"
40852 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40853 COND_BUILD_DEBUG_UNICODE_0
=""
40856 COND_BUILD_DEBUG_UNICODE_1
="#"
40857 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40858 COND_BUILD_DEBUG_UNICODE_1
=""
40861 COND_BUILD_RELEASE
="#"
40862 if test "x$BUILD" = "xrelease" ; then
40863 COND_BUILD_RELEASE
=""
40866 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40867 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40868 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40871 COND_BUILD_RELEASE_UNICODE_0
="#"
40872 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40873 COND_BUILD_RELEASE_UNICODE_0
=""
40876 COND_BUILD_RELEASE_UNICODE_1
="#"
40877 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40878 COND_BUILD_RELEASE_UNICODE_1
=""
40881 COND_DEBUG_FLAG_1
="#"
40882 if test "x$DEBUG_FLAG" = "x1" ; then
40883 COND_DEBUG_FLAG_1
=""
40886 COND_DEBUG_INFO_0
="#"
40887 if test "x$DEBUG_INFO" = "x0" ; then
40888 COND_DEBUG_INFO_0
=""
40891 COND_DEBUG_INFO_1
="#"
40892 if test "x$DEBUG_INFO" = "x1" ; then
40893 COND_DEBUG_INFO_1
=""
40896 COND_DEPS_TRACKING_0
="#"
40897 if test "x$DEPS_TRACKING" = "x0" ; then
40898 COND_DEPS_TRACKING_0
=""
40901 COND_DEPS_TRACKING_1
="#"
40902 if test "x$DEPS_TRACKING" = "x1" ; then
40903 COND_DEPS_TRACKING_1
=""
40907 if test "x$GCC_PCH" = "x1" ; then
40911 COND_MONOLITHIC_0
="#"
40912 if test "x$MONOLITHIC" = "x0" ; then
40913 COND_MONOLITHIC_0
=""
40916 COND_MONOLITHIC_0_SHARED_0
="#"
40917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40918 COND_MONOLITHIC_0_SHARED_0
=""
40921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40926 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40936 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40938 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40941 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40943 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40946 COND_MONOLITHIC_0_SHARED_1
="#"
40947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40948 COND_MONOLITHIC_0_SHARED_1
=""
40951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40966 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40968 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40971 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40973 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40976 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40977 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40978 COND_MONOLITHIC_0_USE_ODBC_1
=""
40981 COND_MONOLITHIC_1
="#"
40982 if test "x$MONOLITHIC" = "x1" ; then
40983 COND_MONOLITHIC_1
=""
40986 COND_MONOLITHIC_1_SHARED_0
="#"
40987 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40988 COND_MONOLITHIC_1_SHARED_0
=""
40991 COND_MONOLITHIC_1_SHARED_1
="#"
40992 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40993 COND_MONOLITHIC_1_SHARED_1
=""
40996 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40997 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40998 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
41001 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
41002 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41003 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
41006 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
41007 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41008 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
41011 COND_PLATFORM_MACOSX_1
="#"
41012 if test "x$PLATFORM_MACOSX" = "x1" ; then
41013 COND_PLATFORM_MACOSX_1
=""
41016 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
41017 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41018 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
41021 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
41022 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41023 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
41026 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
41027 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41028 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
41031 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
41032 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41033 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
41036 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
41037 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41038 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
41041 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41043 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41046 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
41047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41048 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
41051 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
41052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41053 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
41056 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
41057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41058 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
41061 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41063 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41066 COND_PLATFORM_MACOS_1
="#"
41067 if test "x$PLATFORM_MACOS" = "x1" ; then
41068 COND_PLATFORM_MACOS_1
=""
41071 COND_PLATFORM_MAC_1
="#"
41072 if test "x$PLATFORM_MAC" = "x1" ; then
41073 COND_PLATFORM_MAC_1
=""
41076 COND_PLATFORM_OS2_1
="#"
41077 if test "x$PLATFORM_OS2" = "x1" ; then
41078 COND_PLATFORM_OS2_1
=""
41081 COND_PLATFORM_UNIX_0
="#"
41082 if test "x$PLATFORM_UNIX" = "x0" ; then
41083 COND_PLATFORM_UNIX_0
=""
41086 COND_PLATFORM_UNIX_1
="#"
41087 if test "x$PLATFORM_UNIX" = "x1" ; then
41088 COND_PLATFORM_UNIX_1
=""
41091 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41092 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41093 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41096 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41097 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41098 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41101 COND_PLATFORM_WIN32_0
="#"
41102 if test "x$PLATFORM_WIN32" = "x0" ; then
41103 COND_PLATFORM_WIN32_0
=""
41106 COND_PLATFORM_WIN32_1
="#"
41107 if test "x$PLATFORM_WIN32" = "x1" ; then
41108 COND_PLATFORM_WIN32_1
=""
41112 if test "x$SHARED" = "x0" ; then
41116 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
41117 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41118 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
41121 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
41122 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41123 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
41126 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
41127 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41128 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
41131 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41132 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41133 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41136 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41137 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41138 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41141 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41142 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41143 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41146 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41147 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41148 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41151 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41152 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41153 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41156 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41157 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41158 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41161 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41162 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41163 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41166 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41167 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41168 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41172 if test "x$SHARED" = "x1" ; then
41176 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41177 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41178 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41182 if test "x$TOOLKIT" = "x" ; then
41186 COND_TOOLKIT_COCOA
="#"
41187 if test "x$TOOLKIT" = "xCOCOA" ; then
41188 COND_TOOLKIT_COCOA
=""
41191 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
41192 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41193 COND_TOOLKIT_COCOA_USE_GUI_1
=""
41196 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41197 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41198 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41201 COND_TOOLKIT_GTK
="#"
41202 if test "x$TOOLKIT" = "xGTK" ; then
41203 COND_TOOLKIT_GTK
=""
41206 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41207 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41208 COND_TOOLKIT_GTK_USE_GUI_1
=""
41211 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41212 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41213 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41216 COND_TOOLKIT_MAC
="#"
41217 if test "x$TOOLKIT" = "xMAC" ; then
41218 COND_TOOLKIT_MAC
=""
41221 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41222 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41223 COND_TOOLKIT_MAC_USE_GUI_1
=""
41226 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41227 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41228 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41231 COND_TOOLKIT_MGL
="#"
41232 if test "x$TOOLKIT" = "xMGL" ; then
41233 COND_TOOLKIT_MGL
=""
41236 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41237 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41238 COND_TOOLKIT_MGL_USE_GUI_1
=""
41241 COND_TOOLKIT_MOTIF
="#"
41242 if test "x$TOOLKIT" = "xMOTIF" ; then
41243 COND_TOOLKIT_MOTIF
=""
41246 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41247 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41248 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41251 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41252 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41253 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41256 COND_TOOLKIT_MSW
="#"
41257 if test "x$TOOLKIT" = "xMSW" ; then
41258 COND_TOOLKIT_MSW
=""
41261 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41262 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41263 COND_TOOLKIT_MSW_USE_GUI_1
=""
41266 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41267 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41268 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41271 COND_TOOLKIT_PM
="#"
41272 if test "x$TOOLKIT" = "xPM" ; then
41276 COND_TOOLKIT_PM_USE_GUI_1
="#"
41277 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41278 COND_TOOLKIT_PM_USE_GUI_1
=""
41281 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41282 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41283 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41286 COND_TOOLKIT_WINCE
="#"
41287 if test "x$TOOLKIT" = "xWINCE" ; then
41288 COND_TOOLKIT_WINCE
=""
41291 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41292 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41293 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41296 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41297 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41298 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41301 COND_TOOLKIT_X11
="#"
41302 if test "x$TOOLKIT" = "xX11" ; then
41303 COND_TOOLKIT_X11
=""
41306 COND_TOOLKIT_X11_USE_GUI_1
="#"
41307 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41308 COND_TOOLKIT_X11_USE_GUI_1
=""
41312 if test "x$UNICODE" = "x1" ; then
41316 COND_USE_EXCEPTIONS_0
="#"
41317 if test "x$USE_EXCEPTIONS" = "x0" ; then
41318 COND_USE_EXCEPTIONS_0
=""
41321 COND_USE_EXCEPTIONS_1
="#"
41322 if test "x$USE_EXCEPTIONS" = "x1" ; then
41323 COND_USE_EXCEPTIONS_1
=""
41327 if test "x$USE_GUI" = "x0" ; then
41332 if test "x$USE_GUI" = "x1" ; then
41336 COND_USE_GUI_1_WXUNIV_0
="#"
41337 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41338 COND_USE_GUI_1_WXUNIV_0
=""
41341 COND_USE_GUI_1_WXUNIV_1
="#"
41342 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41343 COND_USE_GUI_1_WXUNIV_1
=""
41346 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41347 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41348 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41351 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41352 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41353 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41356 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41357 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41358 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41361 COND_USE_ODBC_1
="#"
41362 if test "x$USE_ODBC" = "x1" ; then
41366 COND_USE_OPENGL_1
="#"
41367 if test "x$USE_OPENGL" = "x1" ; then
41368 COND_USE_OPENGL_1
=""
41371 COND_USE_PLUGINS_0
="#"
41372 if test "x$USE_PLUGINS" = "x0" ; then
41373 COND_USE_PLUGINS_0
=""
41376 COND_USE_SOSYMLINKS_1
="#"
41377 if test "x$USE_SOSYMLINKS" = "x1" ; then
41378 COND_USE_SOSYMLINKS_1
=""
41381 COND_USE_SOVERLINUX_1
="#"
41382 if test "x$USE_SOVERLINUX" = "x1" ; then
41383 COND_USE_SOVERLINUX_1
=""
41386 COND_USE_SOVERSION_0
="#"
41387 if test "x$USE_SOVERSION" = "x0" ; then
41388 COND_USE_SOVERSION_0
=""
41391 COND_USE_SOVERSOLARIS_1
="#"
41392 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41393 COND_USE_SOVERSOLARIS_1
=""
41397 if test "x$USE_XRC" = "x1" ; then
41401 COND_WITH_PLUGIN_SDL_1
="#"
41402 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41403 COND_WITH_PLUGIN_SDL_1
=""
41407 if test "x$WXUNIV" = "x0" ; then
41412 if test "x$WXUNIV" = "x1" ; then
41416 COND_WXUSE_EXPAT_BUILTIN
="#"
41417 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41418 COND_WXUSE_EXPAT_BUILTIN
=""
41421 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41422 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41423 COND_WXUSE_LIBJPEG_BUILTIN
=""
41426 COND_WXUSE_LIBPNG_BUILTIN
="#"
41427 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41428 COND_WXUSE_LIBPNG_BUILTIN
=""
41431 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41432 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41433 COND_WXUSE_LIBTIFF_BUILTIN
=""
41436 COND_WXUSE_ODBC_BUILTIN
="#"
41437 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41438 COND_WXUSE_ODBC_BUILTIN
=""
41441 COND_WXUSE_REGEX_BUILTIN
="#"
41442 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41443 COND_WXUSE_REGEX_BUILTIN
=""
41446 COND_WXUSE_ZLIB_BUILTIN
="#"
41447 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41448 COND_WXUSE_ZLIB_BUILTIN
=""
41453 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41454 { { 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
41455 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;}
41456 { (exit 1); exit 1; }; }
41460 if test "$wxUSE_SHARED" = "yes"; then
41462 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41463 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41466 *-pc-os2_emx | *-pc-os2-emx )
41467 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41468 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41469 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41470 cp -p ${srcdir}/src
/os
2/dllar.sh .
41475 EXE_LINKER
="$CXX -o"
41479 GCC_PRAGMA_FLAGS
=""
41481 powerpc
-*-darwin* )
41482 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41485 if test "$wxUSE_STL" = "yes" -o \
41486 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41487 "$wxUSE_NO_RTTI" != "yes"; then
41488 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41489 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41490 cat >conftest.
$ac_ext <<_ACEOF
41493 cat confdefs.h
>>conftest.
$ac_ext
41494 cat >>conftest.
$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41500 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41501 #error "Not GCC 3.2 or greater"
41508 rm -f conftest.
$ac_objext
41509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41510 (eval $ac_compile) 2>conftest.er1
41512 grep -v '^ *+' conftest.er1
>conftest.err
41514 cat conftest.err
>&5
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); } &&
41517 { ac_try
='test -z "$ac_c_werror_flag"
41518 || test ! -s conftest.err'
41519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41520 (eval $ac_try) 2>&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); }; } &&
41524 { ac_try
='test -s conftest.$ac_objext'
41525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41526 (eval $ac_try) 2>&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); }; }; then
41530 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41531 echo "$as_me:$LINENO: result: yes" >&5
41532 echo "${ECHO_T}yes" >&6
41534 echo "$as_me: failed program was:" >&5
41535 sed 's/^/| /' conftest.
$ac_ext >&5
41537 echo "$as_me:$LINENO: result: no" >&5
41538 echo "${ECHO_T}no" >&6
41540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41543 *-pc-os2_emx | *-pc-os2-emx )
41544 if test "$wxUSE_STL" = "yes"; then
41545 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41546 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41547 cat >conftest.
$ac_ext <<_ACEOF
41550 cat confdefs.h
>>conftest.
$ac_ext
41551 cat >>conftest.
$ac_ext <<_ACEOF
41552 /* end confdefs.h. */
41557 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41558 #error "Not GCC 3.2 or greater"
41565 rm -f conftest.
$ac_objext
41566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41567 (eval $ac_compile) 2>conftest.er1
41569 grep -v '^ *+' conftest.er1
>conftest.err
41571 cat conftest.err
>&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); } &&
41574 { ac_try
='test -z "$ac_c_werror_flag"
41575 || test ! -s conftest.err'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; } &&
41581 { ac_try
='test -s conftest.$ac_objext'
41582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41583 (eval $ac_try) 2>&5
41585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41586 (exit $ac_status); }; }; then
41587 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41588 echo "$as_me:$LINENO: result: yes" >&5
41589 echo "${ECHO_T}yes" >&6
41591 echo "$as_me: failed program was:" >&5
41592 sed 's/^/| /' conftest.
$ac_ext >&5
41594 echo "$as_me:$LINENO: result: no" >&5
41595 echo "${ECHO_T}no" >&6
41597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41603 if test $GCC_PCH = 1 ; then
41604 if test "x$GCC_PRAGMA_FLAGS" = "x"; then
41605 PCH_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41607 PCH_FLAGS
="-DWX_PRECOMP"
41611 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41614 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41680 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41682 echo $ECHO_N "(cached) $ECHO_C" >&6
41684 cat >conftest.
make <<\_ACEOF
41686 @
echo 'ac_maketemp="$(MAKE)"'
41688 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41690 if test -n "$ac_maketemp"; then
41691 eval ac_cv_prog_make_
${ac_make}_set
=yes
41693 eval ac_cv_prog_make_
${ac_make}_set
=no
41695 rm -f conftest.
make
41697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41698 echo "$as_me:$LINENO: result: yes" >&5
41699 echo "${ECHO_T}yes" >&6
41702 echo "$as_me:$LINENO: result: no" >&5
41703 echo "${ECHO_T}no" >&6
41704 SET_MAKE
="MAKE=${MAKE-make}"
41709 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41712 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41715 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41718 ac_config_files
="$ac_config_files version-script Makefile"
41721 ac_config_commands
="$ac_config_commands wx-config
41727 if test "$wxUSE_GUI" = "yes"; then
41728 SUBDIRS
="samples demos utils contrib"
41729 else SUBDIRS
="samples utils"
41734 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41735 if test "${with_cppunit_prefix+set}" = set; then
41736 withval
="$with_cppunit_prefix"
41737 cppunit_config_prefix
="$withval"
41739 cppunit_config_prefix
=""
41742 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41743 if test "${with_cppunit_exec_prefix+set}" = set; then
41744 withval
="$with_cppunit_exec_prefix"
41745 cppunit_config_exec_prefix
="$withval"
41747 cppunit_config_exec_prefix
=""
41750 if test x
$cppunit_config_exec_prefix != x
; then
41751 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41752 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41753 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41756 if test x
$cppunit_config_prefix != x
; then
41757 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41758 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41759 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41763 # Extract the first word of "cppunit-config", so it can be a program name with args.
41764 set dummy cppunit
-config; ac_word
=$2
41765 echo "$as_me:$LINENO: checking for $ac_word" >&5
41766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41767 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 case $CPPUNIT_CONFIG in
41772 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41776 for as_dir
in $PATH
41779 test -z "$as_dir" && as_dir
=.
41780 for ac_exec_ext
in '' $ac_executable_extensions; do
41781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41782 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41789 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41793 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41795 if test -n "$CPPUNIT_CONFIG"; then
41796 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41797 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41799 echo "$as_me:$LINENO: result: no" >&5
41800 echo "${ECHO_T}no" >&6
41803 cppunit_version_min
=1.8.0
41805 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41806 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41808 if test "$CPPUNIT_CONFIG" = "no" ; then
41811 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41812 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41813 cppunit_version
=`$CPPUNIT_CONFIG --version`
41815 cppunit_major_version
=`echo $cppunit_version | \
41816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41817 cppunit_minor_version
=`echo $cppunit_version | \
41818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41819 cppunit_micro_version
=`echo $cppunit_version | \
41820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41822 cppunit_major_min
=`echo $cppunit_version_min | \
41823 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41824 cppunit_minor_min
=`echo $cppunit_version_min | \
41825 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41826 cppunit_micro_min
=`echo $cppunit_version_min | \
41827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41829 cppunit_version_proper
=`expr \
41830 $cppunit_major_version \> $cppunit_major_min \| \
41831 $cppunit_major_version \= $cppunit_major_min \& \
41832 $cppunit_minor_version \> $cppunit_minor_min \| \
41833 $cppunit_major_version \= $cppunit_major_min \& \
41834 $cppunit_minor_version \= $cppunit_minor_min \& \
41835 $cppunit_micro_version \>= $cppunit_micro_min `
41837 if test "$cppunit_version_proper" = "1" ; then
41838 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41839 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41841 echo "$as_me:$LINENO: result: no" >&5
41842 echo "${ECHO_T}no" >&6
41847 if test "x$no_cppunit" = x
; then
41848 SUBDIRS
="$SUBDIRS tests"
41859 for subdir
in `echo $SUBDIRS`; do
41860 if test -d ${srcdir}/${subdir} ; then
41861 if test "$wxUSE_GUI" = "yes"; then
41862 if test ${subdir} = "samples"; then
41863 makefiles
="samples/Makefile.in $makefiles"
41864 for sample
in `echo $SAMPLES_SUBDIRS`; do
41865 if test -d $srcdir/samples
/$sample; then
41866 makefiles
="samples/$sample/Makefile.in $makefiles"
41869 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41871 else if test ${subdir} = "samples"; then
41872 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41873 elif test ${subdir} = "utils"; then
41875 for util
in HelpGen tex2rtf
; do
41876 if test -d $srcdir/utils
/$util ; then
41877 makefiles
="utils/$util/Makefile.in \
41878 utils/$util/src/Makefile.in \
41882 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41886 for mkin
in $makefiles ; do
41887 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41888 ac_config_files
="$ac_config_files $mk"
41895 cat >confcache
<<\_ACEOF
41896 # This file is a shell script that caches the results of configure
41897 # tests run on this system so they can be shared between configure
41898 # scripts and configure runs, see configure's option --config-cache.
41899 # It is not useful on other systems. If it contains results you don't
41900 # want to keep, you may remove or edit it.
41902 # config.status only pays attention to the cache file if you give it
41903 # the --recheck option to rerun configure.
41905 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41906 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41907 # following values.
41911 # The following way of writing the cache mishandles newlines in values,
41912 # but we know of no workaround that is simple, portable, and efficient.
41913 # So, don't put newlines in cache variables' values.
41914 # Ultrix sh set writes to stderr and can't be redirected directly,
41915 # and sets the high bit in the cache file unless we assign to the vars.
41918 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41920 # `set' does not quote correctly, so add quotes (double-quote
41921 # substitution turns \\\\ into \\, and sed turns \\ into \).
41924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41927 # `set' quotes correctly as required by POSIX, so do not add quotes.
41929 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41938 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41940 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41941 if test -w $cache_file; then
41942 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41943 cat confcache
>$cache_file
41945 echo "not updating unwritable cache $cache_file"
41950 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41951 # Let make expand exec_prefix.
41952 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41954 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41955 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41956 # trailing colons and then remove the whole line if VPATH becomes empty
41957 # (actually we leave an empty line to preserve line numbers).
41958 if test "x$srcdir" = x.
; then
41959 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41960 s/:*\$(srcdir):*/:/;
41961 s/:*\${srcdir}:*/:/;
41963 s/^\([^=]*=[ ]*\):*/\1/;
41969 DEFS
=-DHAVE_CONFIG_H
41973 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41974 # 1. Remove the extension, and $U if already installed.
41975 ac_i
=`echo "$ac_i" |
41976 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41978 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41979 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41981 LIBOBJS
=$ac_libobjs
41983 LTLIBOBJS
=$ac_ltlibobjs
41987 : ${CONFIG_STATUS=./config.status}
41988 ac_clean_files_save
=$ac_clean_files
41989 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41990 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41991 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41992 cat >$CONFIG_STATUS <<_ACEOF
41994 # Generated by $as_me.
41995 # Run this file to recreate the current configuration.
41996 # Compiler output produced by configure, useful for debugging
41997 # configure, is in config.log if it exists.
42000 ac_cs_recheck=false
42002 SHELL=\${CONFIG_SHELL-$SHELL}
42005 cat >>$CONFIG_STATUS <<\_ACEOF
42006 ## --------------------- ##
42007 ## M4sh Initialization. ##
42008 ## --------------------- ##
42010 # Be Bourne compatible
42011 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
42014 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42015 # is contrary to our usage. Disable this feature.
42016 alias -g '${1+"$@"}'='"$@"'
42017 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
42020 DUALCASE
=1; export DUALCASE
# for MKS sh
42022 # Support unset when possible.
42023 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
42030 # Work around bugs in pre-3.0 UWIN ksh.
42031 $as_unset ENV MAIL MAILPATH
42038 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42039 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42040 LC_TELEPHONE LC_TIME
42042 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42043 eval $as_var=C
; export $as_var
42049 # Required to use basename.
42050 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42056 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
42057 as_basename
=basename
42063 # Name of the executable.
42064 as_me
=`$as_basename "$0" ||
42065 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42066 X"$0" : 'X\(//\)$' \| \
42067 X"$0" : 'X\(/\)$' \| \
42068 . : '\(.\)' 2>/dev/null ||
42070 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42071 /^X\/\(\/\/\)$/{ s//\1/; q; }
42072 /^X\/\(\/\).*/{ s//\1/; q; }
42076 # PATH needs CR, and LINENO needs CR and PATH.
42077 # Avoid depending upon Character Ranges.
42078 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42079 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42080 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42081 as_cr_digits
='0123456789'
42082 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42084 # The user is always right.
42085 if test "${PATH_SEPARATOR+set}" != set; then
42086 echo "#! /bin/sh" >conf$$.sh
42087 echo "exit 0" >>conf$$.sh
42089 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42098 as_lineno_1
=$LINENO
42099 as_lineno_2
=$LINENO
42100 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42101 test "x$as_lineno_1" != "x$as_lineno_2" &&
42102 test "x$as_lineno_3" = "x$as_lineno_2" || {
42103 # Find who we are. Look in the path if we contain no path at all
42106 *[\\/]* ) as_myself
=$0 ;;
42107 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42108 for as_dir
in $PATH
42111 test -z "$as_dir" && as_dir
=.
42112 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42117 # We did not find ourselves, most probably we were run as `sh COMMAND'
42118 # in which case we are not to be found in the path.
42119 if test "x$as_myself" = x
; then
42122 if test ! -f "$as_myself"; then
42123 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42124 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42125 { (exit 1); exit 1; }; }
42127 case $CONFIG_SHELL in
42129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42130 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42133 test -z "$as_dir" && as_dir
=.
42134 for as_base
in sh bash ksh sh5
; do
42137 if ("$as_dir/$as_base" -c '
42138 as_lineno_1=$LINENO
42139 as_lineno_2=$LINENO
42140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42141 test "x$as_lineno_1" != "x$as_lineno_2" &&
42142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42143 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42144 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42145 CONFIG_SHELL
=$as_dir/$as_base
42146 export CONFIG_SHELL
42147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42156 # uniformly replaced by the line number. The first 'sed' inserts a
42157 # line-number line before each line; the second 'sed' does the real
42158 # work. The second script uses 'N' to pair each line-number line
42159 # with the numbered line, and appends trailing '-' during
42160 # substitution so that $LINENO is not a special case at line end.
42161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42163 sed '=' <$as_myself |
42168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42171 s,^['$as_cr_digits']*\n,,
42172 ' >$as_me.lineno
&&
42173 chmod +x
$as_me.lineno
||
42174 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42175 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42176 { (exit 1); exit 1; }; }
42178 # Don't try to exec as it changes $[0], causing all sort of problems
42179 # (the dirname of $[0] is not the place where we might find the
42180 # original and so on. Autoconf is especially sensible to this).
42182 # Exit status is that of the last command.
42187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42188 *c
*,-n*) ECHO_N
= ECHO_C
='
42190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42200 rm -f conf$$ conf$$.exe conf$$.
file
42202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42203 # We could just check for DJGPP; but this test a) works b) is more generic
42204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42205 if test -f conf$$.exe
; then
42206 # Don't use ln at all; we don't have any links
42211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42216 rm -f conf$$ conf$$.exe conf$$.
file
42218 if mkdir -p .
2>/dev
/null
; then
42221 test -d .
/-p && rmdir .
/-p
42225 as_executable_p
="test -f"
42227 # Sed expression to map a string onto a valid CPP name.
42228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42230 # Sed expression to map a string onto a valid variable name.
42231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42235 # We need space, tab and new line, in precisely that order.
42245 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42246 # report actual input values of CONFIG_FILES etc. instead of their
42247 # values after options handling. Logging --version etc. is OK.
42251 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42252 ## Running $as_me. ##
42257 This file was extended by wxWidgets $as_me 2.5.3, which was
42258 generated by GNU Autoconf 2.59. Invocation command line was
42260 CONFIG_FILES = $CONFIG_FILES
42261 CONFIG_HEADERS = $CONFIG_HEADERS
42262 CONFIG_LINKS = $CONFIG_LINKS
42263 CONFIG_COMMANDS = $CONFIG_COMMANDS
42267 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42271 # Files that config.status was made for.
42272 if test -n "$ac_config_files"; then
42273 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42276 if test -n "$ac_config_headers"; then
42277 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42280 if test -n "$ac_config_links"; then
42281 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42284 if test -n "$ac_config_commands"; then
42285 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42288 cat >>$CONFIG_STATUS <<\_ACEOF
42291 \`$as_me' instantiates files from templates according to the
42292 current configuration.
42294 Usage: $0 [OPTIONS] [FILE]...
42296 -h, --help print this help, then exit
42297 -V, --version print version number, then exit
42298 -q, --quiet do not print progress messages
42299 -d, --debug don't remove temporary files
42300 --recheck update $as_me by reconfiguring in the same conditions
42301 --file=FILE[:TEMPLATE]
42302 instantiate the configuration file FILE
42303 --header=FILE[:TEMPLATE]
42304 instantiate the configuration header FILE
42306 Configuration files:
42309 Configuration headers:
42312 Configuration commands:
42315 Report bugs to <bug-autoconf@gnu.org>."
42318 cat >>$CONFIG_STATUS <<_ACEOF
42320 wxWidgets config.status 2.5.3
42321 configured by $0, generated by GNU Autoconf 2.59,
42322 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42324 Copyright (C) 2003 Free Software Foundation, Inc.
42325 This config.status script is free software; the Free Software Foundation
42326 gives unlimited permission to copy, distribute and modify it."
42331 cat >>$CONFIG_STATUS <<\_ACEOF
42332 # If no file are specified by the user, then we need to provide default
42333 # value. By we need to know if files were specified by the user.
42339 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42340 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42348 *) # This is not an option, so the user has probably given explicit
42351 ac_need_defaults
=false
;;
42355 # Handling of the options.
42357 cat >>$CONFIG_STATUS <<\_ACEOF
42358 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42360 --version | --vers* | -V )
42361 echo "$ac_cs_version"; exit 0 ;;
42363 # Conflict between --help and --header
42364 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42365 Try \`$0 --help' for more information." >&5
42366 echo "$as_me: error: ambiguous option: $1
42367 Try \`$0 --help' for more information." >&2;}
42368 { (exit 1); exit 1; }; };;
42369 --help | --hel | -h )
42370 echo "$ac_cs_usage"; exit 0 ;;
42371 --debug | --d* | -d )
42373 --file | --fil | --fi | --f )
42375 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42376 ac_need_defaults
=false
;;
42377 --header | --heade | --head | --hea )
42379 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42380 ac_need_defaults
=false
;;
42381 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42382 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42385 # This is an error.
42386 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42387 Try \`$0 --help' for more information." >&5
42388 echo "$as_me: error: unrecognized option: $1
42389 Try \`$0 --help' for more information." >&2;}
42390 { (exit 1); exit 1; }; } ;;
42392 *) ac_config_targets
="$ac_config_targets $1" ;;
42398 ac_configure_extra_args
=
42400 if $ac_cs_silent; then
42402 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42406 cat >>$CONFIG_STATUS <<_ACEOF
42407 if \$ac_cs_recheck; then
42408 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42409 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42414 cat >>$CONFIG_STATUS <<_ACEOF
42416 # INIT-COMMANDS section.
42419 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42420 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42421 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42429 cat >>$CONFIG_STATUS <<\_ACEOF
42430 for ac_config_target
in $ac_config_targets
42432 case "$ac_config_target" in
42433 # Handling of arguments.
42434 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42435 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42436 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42437 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42438 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42439 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42440 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42441 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42442 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42443 { (exit 1); exit 1; }; };;
42447 # If the user did not use the arguments to specify the items to instantiate,
42448 # then the envvar interface is used. Set only those that are not.
42449 # We use the long form for the default assignment because of an extremely
42450 # bizarre bug on SunOS 4.1.3.
42451 if $ac_need_defaults; then
42452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42457 # Have a temporary directory for convenience. Make it in the build tree
42458 # simply because there is no reason to put it here, and in addition,
42459 # creating and moving files from /tmp can sometimes cause problems.
42460 # Create a temporary directory, and hook for its removal unless debugging.
42463 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42464 trap '{ (exit 1); exit 1; }' 1 2 13 15
42467 # Create a (secure) tmp directory for tmp files.
42470 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42471 test -n "$tmp" && test -d "$tmp"
42474 tmp
=.
/confstat$$
-$RANDOM
42475 (umask 077 && mkdir $tmp)
42478 echo "$me: cannot create a temporary directory in ." >&2
42479 { (exit 1); exit 1; }
42484 cat >>$CONFIG_STATUS <<_ACEOF
42487 # CONFIG_FILES section.
42490 # No need to generate the scripts if there are no CONFIG_FILES.
42491 # This happens for instance when ./config.status config.h
42492 if test -n "\$CONFIG_FILES"; then
42493 # Protect against being on the right side of a sed subst in config.status.
42494 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42495 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42496 s,@SHELL@,$SHELL,;t t
42497 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42498 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42499 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42500 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42501 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42502 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42503 s,@exec_prefix@,$exec_prefix,;t t
42504 s,@prefix@,$prefix,;t t
42505 s,@program_transform_name@,$program_transform_name,;t t
42506 s,@bindir@,$bindir,;t t
42507 s,@sbindir@,$sbindir,;t t
42508 s,@libexecdir@,$libexecdir,;t t
42509 s,@datadir@,$datadir,;t t
42510 s,@sysconfdir@,$sysconfdir,;t t
42511 s,@sharedstatedir@,$sharedstatedir,;t t
42512 s,@localstatedir@,$localstatedir,;t t
42513 s,@libdir@,$libdir,;t t
42514 s,@includedir@,$includedir,;t t
42515 s,@oldincludedir@,$oldincludedir,;t t
42516 s,@infodir@,$infodir,;t t
42517 s,@mandir@,$mandir,;t t
42518 s,@build_alias@,$build_alias,;t t
42519 s,@host_alias@,$host_alias,;t t
42520 s,@target_alias@,$target_alias,;t t
42521 s,@DEFS@,$DEFS,;t t
42522 s,@ECHO_C@,$ECHO_C,;t t
42523 s,@ECHO_N@,$ECHO_N,;t t
42524 s,@ECHO_T@,$ECHO_T,;t t
42525 s,@LIBS@,$LIBS,;t t
42526 s,@build@,$build,;t t
42527 s,@build_cpu@,$build_cpu,;t t
42528 s,@build_vendor@,$build_vendor,;t t
42529 s,@build_os@,$build_os,;t t
42530 s,@host@,$host,;t t
42531 s,@host_cpu@,$host_cpu,;t t
42532 s,@host_vendor@,$host_vendor,;t t
42533 s,@host_os@,$host_os,;t t
42534 s,@target@,$target,;t t
42535 s,@target_cpu@,$target_cpu,;t t
42536 s,@target_vendor@,$target_vendor,;t t
42537 s,@target_os@,$target_os,;t t
42539 s,@CFLAGS@,$CFLAGS,;t t
42540 s,@LDFLAGS@,$LDFLAGS,;t t
42541 s,@CPPFLAGS@,$CPPFLAGS,;t t
42542 s,@ac_ct_CC@,$ac_ct_CC,;t t
42543 s,@EXEEXT@,$EXEEXT,;t t
42544 s,@OBJEXT@,$OBJEXT,;t t
42546 s,@EGREP@,$EGREP,;t t
42548 s,@CXXFLAGS@,$CXXFLAGS,;t t
42549 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42550 s,@RANLIB@,$RANLIB,;t t
42551 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42553 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42554 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42555 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42556 s,@STRIP@,$STRIP,;t t
42557 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42558 s,@LN_S@,$LN_S,;t t
42559 s,@CXXCPP@,$CXXCPP,;t t
42560 s,@subdirs@,$subdirs,;t t
42561 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42562 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42563 s,@GTK_LIBS@,$GTK_LIBS,;t t
42564 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42565 s,@X_CFLAGS@,$X_CFLAGS,;t t
42566 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42567 s,@X_LIBS@,$X_LIBS,;t t
42568 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42569 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42570 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42571 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42572 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42573 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42574 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42575 s,@RESCOMP@,$RESCOMP,;t t
42576 s,@DEREZ@,$DEREZ,;t t
42577 s,@SETFILE@,$SETFILE,;t t
42578 s,@LIBICONV@,$LIBICONV,;t t
42579 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42580 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42581 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42582 s,@SDL_LIBS@,$SDL_LIBS,;t t
42583 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42584 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42585 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42586 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42587 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42588 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42589 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42590 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42591 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42592 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42593 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42594 s,@VENDOR@,$VENDOR,;t t
42595 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42596 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42597 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42598 s,@WXUNIV@,$WXUNIV,;t t
42599 s,@MONOLITHIC@,$MONOLITHIC,;t t
42600 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42601 s,@EXTRALIBS@,$EXTRALIBS,;t t
42602 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42603 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42604 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42605 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42606 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42607 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42608 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42609 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42610 s,@UNICODE@,$UNICODE,;t t
42611 s,@BUILD@,$BUILD,;t t
42612 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42613 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42614 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42615 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42616 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42617 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42618 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42619 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42620 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42621 s,@SET_MAKE@,$SET_MAKE,;t t
42622 s,@MAKE_SET@,$MAKE_SET,;t t
42623 s,@ac_ct_AR@,$ac_ct_AR,;t t
42624 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42626 s,@ac_ct_NM@,$ac_ct_NM,;t t
42627 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42628 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42629 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42630 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42631 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42632 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42633 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42634 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42635 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42636 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42637 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42638 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42639 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42640 s,@LIBPREFIX@,$LIBPREFIX,;t t
42641 s,@LIBEXT@,$LIBEXT,;t t
42642 s,@DLLPREFIX@,$DLLPREFIX,;t t
42643 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42644 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42645 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42646 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42647 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42648 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42649 s,@PIC_FLAG@,$PIC_FLAG,;t t
42650 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42651 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42652 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42653 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42654 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42655 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42656 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42657 s,@GCC_PCH@,$GCC_PCH,;t t
42658 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42659 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42660 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42661 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42662 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42663 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42664 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42665 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42666 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42667 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42668 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42669 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42670 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42671 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42672 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42673 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42674 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42675 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42676 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
42677 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
42678 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42679 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42680 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42681 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42682 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
42683 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
42684 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42685 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42686 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42687 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42688 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42689 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42690 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42691 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42692 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42693 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42694 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42695 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42696 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42697 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42698 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42699 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
42700 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42701 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42702 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42703 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42704 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42705 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42706 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42707 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42708 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42709 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42710 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42711 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42712 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42713 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42714 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42715 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42716 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42717 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42718 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42719 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42720 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42721 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42722 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42723 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42724 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42725 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42726 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42727 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42728 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42729 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42730 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42731 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42732 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42733 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42734 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42735 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42736 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42737 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42738 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42739 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42740 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42741 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42742 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42743 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42744 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42745 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42746 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42747 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42748 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42749 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42750 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42751 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42752 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42753 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42754 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42755 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42756 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42757 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42758 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42759 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42760 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42761 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42762 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42763 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42764 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42765 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42766 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42767 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42768 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42769 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42770 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42771 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42772 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
42773 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42774 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42775 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42776 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42777 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42778 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42779 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42780 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42781 s,@SHARED@,$SHARED,;t t
42782 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42783 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42784 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42785 s,@USE_GUI@,$USE_GUI,;t t
42786 s,@AFMINSTALL@,$AFMINSTALL,;t t
42787 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42788 s,@TOOLKIT@,$TOOLKIT,;t t
42789 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42790 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42791 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42792 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42793 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42794 s,@cross_compiling@,$cross_compiling,;t t
42795 s,@WIDGET_SET@,$WIDGET_SET,;t t
42796 s,@WX_RELEASE@,$WX_RELEASE,;t t
42797 s,@WX_VERSION@,$WX_VERSION,;t t
42798 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42799 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42800 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42801 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42802 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42803 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42804 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42805 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42806 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42807 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42808 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42809 s,@EXE_LINKER@,$EXE_LINKER,;t t
42810 s,@GUIDIST@,$GUIDIST,;t t
42811 s,@DISTDIR@,$DISTDIR,;t t
42812 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42813 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42814 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42815 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42816 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42817 s,@RESFLAGS@,$RESFLAGS,;t t
42818 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42819 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42820 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42821 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42822 s,@MACRESCOMP@,$MACRESCOMP,;t t
42823 s,@MACSETFILE@,$MACSETFILE,;t t
42824 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42826 s,@DLLTOOL@,$DLLTOOL,;t t
42827 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42828 s,@LIBOBJS@,$LIBOBJS,;t t
42829 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42834 cat >>$CONFIG_STATUS <<\_ACEOF
42835 # Split the substitutions into bite-sized pieces for seds with
42836 # small command number limits, like on Digital OSF/1 and HP-UX.
42837 ac_max_sed_lines
=48
42838 ac_sed_frag
=1 # Number of current file.
42839 ac_beg
=1 # First line for current file.
42840 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42843 while $ac_more_lines; do
42844 if test $ac_beg -gt 1; then
42845 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42847 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42849 if test ! -s $tmp/subs.frag
; then
42850 ac_more_lines
=false
42852 # The purpose of the label and of the branching condition is to
42853 # speed up the sed processing (if there are no `@' at all, there
42854 # is no need to browse any of the substitutions).
42855 # These are the two extra sed commands mentioned above.
42857 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42858 if test -z "$ac_sed_cmds"; then
42859 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42861 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42863 ac_sed_frag
=`expr $ac_sed_frag + 1`
42865 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42868 if test -z "$ac_sed_cmds"; then
42871 fi # test -n "$CONFIG_FILES"
42874 cat >>$CONFIG_STATUS <<\_ACEOF
42875 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42876 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42878 - | *:- | *:-:* ) # input from stdin
42880 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42881 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42882 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42883 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42884 * ) ac_file_in
=$ac_file.
in ;;
42887 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42888 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42890 X"$ac_file" : 'X\(//\)[^/]' \| \
42891 X"$ac_file" : 'X\(//\)$' \| \
42892 X"$ac_file" : 'X\(/\)' \| \
42893 . : '\(.\)' 2>/dev/null ||
42895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42897 /^X\(\/\/\)$/{ s//\1/; q; }
42898 /^X\(\/\).*/{ s//\1/; q; }
42900 { if $as_mkdir_p; then
42905 while test ! -d "$as_dir"; do
42906 as_dirs
="$as_dir $as_dirs"
42907 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42908 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42909 X"$as_dir" : 'X\(//\)[^/]' \| \
42910 X"$as_dir" : 'X\(//\)$' \| \
42911 X"$as_dir" : 'X\(/\)' \| \
42912 . : '\(.\)' 2>/dev/null ||
42914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42916 /^X\(\/\/\)$/{ s//\1/; q; }
42917 /^X\(\/\).*/{ s//\1/; q; }
42920 test ! -n "$as_dirs" || mkdir $as_dirs
42921 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42922 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42923 { (exit 1); exit 1; }; }; }
42927 if test "$ac_dir" != .
; then
42928 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42929 # A "../" for each directory in $ac_dir_suffix.
42930 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42932 ac_dir_suffix
= ac_top_builddir
=
42936 .
) # No --srcdir option. We are building in place.
42938 if test -z "$ac_top_builddir"; then
42941 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42943 [\\/]* | ?
:[\\/]* ) # Absolute path.
42944 ac_srcdir
=$srcdir$ac_dir_suffix;
42945 ac_top_srcdir
=$srcdir ;;
42946 *) # Relative path.
42947 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42948 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42951 # Do not use `cd foo && pwd` to compute absolute paths, because
42952 # the directories may not exist.
42954 .
) ac_abs_builddir
="$ac_dir";;
42957 .
) ac_abs_builddir
=`pwd`;;
42958 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42959 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42962 case $ac_abs_builddir in
42963 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42965 case ${ac_top_builddir}.
in
42966 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42967 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42968 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42971 case $ac_abs_builddir in
42972 .
) ac_abs_srcdir
=$ac_srcdir;;
42975 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42976 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42977 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42980 case $ac_abs_builddir in
42981 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42983 case $ac_top_srcdir in
42984 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42985 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42986 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42992 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42993 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42996 if test x
"$ac_file" != x
-; then
42997 { echo "$as_me:$LINENO: creating $ac_file" >&5
42998 echo "$as_me: creating $ac_file" >&6;}
43001 # Let's still pretend it is `configure' which instantiates (i.e., don't
43002 # use $as_me), people would be surprised to read:
43003 # /* config.h. Generated by config.status. */
43004 if test x
"$ac_file" = x
-; then
43007 configure_input
="$ac_file. "
43009 configure_input
=$configure_input"Generated from `echo $ac_file_in |
43010 sed 's,.*/,,'` by configure."
43012 # First look for the input files in the build tree, otherwise in the
43014 ac_file_inputs
=`IFS=:
43015 for f in $ac_file_in; do
43017 -) echo $tmp/stdin ;;
43019 # Absolute (can't be DOS-style, as IFS=:)
43020 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43021 echo "$as_me: error: cannot find input file: $f" >&2;}
43022 { (exit 1); exit 1; }; }
43025 if test -f "$f"; then
43028 elif test -f "$srcdir/$f"; then
43033 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43034 echo "$as_me: error: cannot find input file: $f" >&2;}
43035 { (exit 1); exit 1; }; }
43038 done` || { (exit 1); exit 1; }
43040 cat >>$CONFIG_STATUS <<_ACEOF
43044 cat >>$CONFIG_STATUS <<\_ACEOF
43046 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
43047 s
,@configure_input@
,$configure_input,;t t
43048 s
,@srcdir@
,$ac_srcdir,;t t
43049 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
43050 s
,@top_srcdir@
,$ac_top_srcdir,;t t
43051 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
43052 s
,@builddir@
,$ac_builddir,;t t
43053 s
,@abs_builddir@
,$ac_abs_builddir,;t t
43054 s
,@top_builddir@
,$ac_top_builddir,;t t
43055 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
43056 s
,@INSTALL@
,$ac_INSTALL,;t t
43057 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43059 if test x"$ac_file" != x-; then
43060 mv $tmp/out $ac_file
43066 # Run the commands associated with the file.
43068 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43069 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43073 cat >>$CONFIG_STATUS <<\_ACEOF
43076 # CONFIG_HEADER section.
43079 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43080 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43082 # ac_d sets the value in "#define NAME VALUE" lines.
43083 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43084 ac_dB
='[ ].*$,\1#\2'
43087 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43088 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43089 ac_uB
='$,\1#\2define\3'
43093 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43096 - | *:- | *:-:* ) # input from stdin
43098 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43099 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43100 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43101 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43102 * ) ac_file_in
=$ac_file.
in ;;
43105 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43106 echo "$as_me: creating $ac_file" >&6;}
43108 # First look for the input files in the build tree, otherwise in the
43110 ac_file_inputs
=`IFS=:
43111 for f in $ac_file_in; do
43113 -) echo $tmp/stdin ;;
43115 # Absolute (can't be DOS-style, as IFS=:)
43116 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43117 echo "$as_me: error: cannot find input file: $f" >&2;}
43118 { (exit 1); exit 1; }; }
43119 # Do quote $f, to prevent DOS paths from being IFS'd.
43122 if test -f "$f"; then
43125 elif test -f "$srcdir/$f"; then
43130 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43131 echo "$as_me: error: cannot find input file: $f" >&2;}
43132 { (exit 1); exit 1; }; }
43135 done` || { (exit 1); exit 1; }
43136 # Remove the trailing spaces.
43137 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43141 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43142 # `conftest.undefs', that substitutes the proper values into
43143 # config.h.in to produce config.h. The first handles `#define'
43144 # templates, and the second `#undef' templates.
43145 # And first: Protect against being on the right side of a sed subst in
43146 # config.status. Protect against being in an unquoted here document
43147 # in config.status.
43148 rm -f conftest.defines conftest.undefs
43149 # Using a here document instead of a string reduces the quoting nightmare.
43150 # Putting comments in sed scripts is not portable.
43152 # `end' is used to avoid that the second main sed command (meant for
43153 # 0-ary CPP macros) applies to n-ary macro definitions.
43154 # See the Autoconf documentation for `clear'.
43155 cat >confdef2sed.
sed <<\_ACEOF
43160 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43162 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43165 # If some macros were called several times there might be several times
43166 # the same #defines, which is useless. Nevertheless, we may not want to
43167 # sort them, since we want the *last* AC-DEFINE to be honored.
43168 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43169 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43170 rm -f confdef2sed.sed
43172 # This sed command replaces #undef with comments. This is necessary, for
43173 # example, in the case of _POSIX_SOURCE, which is predefined and required
43174 # on some systems where configure will not decide to define it.
43175 cat >>conftest.undefs <<\_ACEOF
43176 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43179 # Break up conftest.defines because some shells have a limit on the size
43180 # of here documents, and old seds have small limits too (100 cmds).
43181 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43182 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43183 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43184 echo ' :' >>$CONFIG_STATUS
43185 rm -f conftest.tail
43186 while grep . conftest.defines >/dev/null
43188 # Write a limited-size here document to $tmp/defines.sed.
43189 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43190 # Speed up: don't consider the non `#define' lines.
43191 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43192 # Work around the forget-to-reset-the-flag bug.
43193 echo 't clr' >>$CONFIG_STATUS
43194 echo ': clr' >>$CONFIG_STATUS
43195 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43197 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43199 mv $tmp/out $tmp/in
43201 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43202 rm -f conftest.defines
43203 mv conftest.
tail conftest.defines
43205 rm -f conftest.defines
43206 echo ' fi # grep' >>$CONFIG_STATUS
43207 echo >>$CONFIG_STATUS
43209 # Break up conftest.undefs because some shells have a limit on the size
43210 # of here documents, and old seds have small limits too (100 cmds).
43211 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43212 rm -f conftest.
tail
43213 while grep . conftest.undefs
>/dev
/null
43215 # Write a limited-size here document to $tmp/undefs.sed.
43216 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43217 # Speed up: don't consider the non
`#undef'
43218 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43219 # Work around the forget-to-reset-the-flag bug.
43220 echo 't clr' >>$CONFIG_STATUS
43221 echo ': clr' >>$CONFIG_STATUS
43222 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43224 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43226 mv $tmp/out $tmp/in
43228 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43229 rm -f conftest.undefs
43230 mv conftest.tail conftest.undefs
43232 rm -f conftest.undefs
43234 cat >>$CONFIG_STATUS <<\_ACEOF
43235 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43236 # use $as_me), people would be surprised to read:
43237 # /* config.h. Generated by config.status. */
43238 if test x
"$ac_file" = x
-; then
43239 echo "/* Generated by configure. */" >$tmp/config.h
43241 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43243 cat $tmp/in >>$tmp/config.h
43245 if test x
"$ac_file" != x
-; then
43246 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43247 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43248 echo "$as_me: $ac_file is unchanged" >&6;}
43250 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43252 X"$ac_file" : 'X\(//\)[^/]' \| \
43253 X"$ac_file" : 'X\(//\)$' \| \
43254 X"$ac_file" : 'X\(/\)' \| \
43255 . : '\(.\)' 2>/dev/null ||
43257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43259 /^X\(\/\/\)$/{ s//\1/; q; }
43260 /^X\(\/\).*/{ s//\1/; q; }
43262 { if $as_mkdir_p; then
43267 while test ! -d "$as_dir"; do
43268 as_dirs
="$as_dir $as_dirs"
43269 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43271 X"$as_dir" : 'X\(//\)[^/]' \| \
43272 X"$as_dir" : 'X\(//\)$' \| \
43273 X"$as_dir" : 'X\(/\)' \| \
43274 . : '\(.\)' 2>/dev/null ||
43276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43278 /^X\(\/\/\)$/{ s//\1/; q; }
43279 /^X\(\/\).*/{ s//\1/; q; }
43282 test ! -n "$as_dirs" || mkdir $as_dirs
43283 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43284 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43285 { (exit 1); exit 1; }; }; }
43288 mv $tmp/config.h
$ac_file
43292 rm -f $tmp/config.h
43296 cat >>$CONFIG_STATUS <<\_ACEOF
43299 # CONFIG_COMMANDS section.
43301 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43302 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43303 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43304 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43305 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43306 X"$ac_dest" : 'X\(//\)[^/]' \| \
43307 X"$ac_dest" : 'X\(//\)$' \| \
43308 X"$ac_dest" : 'X\(/\)' \| \
43309 . : '\(.\)' 2>/dev/null ||
43311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43313 /^X\(\/\/\)$/{ s//\1/; q; }
43314 /^X\(\/\).*/{ s//\1/; q; }
43316 { if $as_mkdir_p; then
43321 while test ! -d "$as_dir"; do
43322 as_dirs
="$as_dir $as_dirs"
43323 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43324 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43325 X"$as_dir" : 'X\(//\)[^/]' \| \
43326 X"$as_dir" : 'X\(//\)$' \| \
43327 X"$as_dir" : 'X\(/\)' \| \
43328 . : '\(.\)' 2>/dev/null ||
43330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43331 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43332 /^X\(\/\/\)$/{ s//\1/; q; }
43333 /^X\(\/\).*/{ s//\1/; q; }
43336 test ! -n "$as_dirs" || mkdir $as_dirs
43337 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43338 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43339 { (exit 1); exit 1; }; }; }
43343 if test "$ac_dir" != .
; then
43344 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43345 # A "../" for each directory in $ac_dir_suffix.
43346 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43348 ac_dir_suffix
= ac_top_builddir
=
43352 .
) # No --srcdir option. We are building in place.
43354 if test -z "$ac_top_builddir"; then
43357 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43359 [\\/]* | ?
:[\\/]* ) # Absolute path.
43360 ac_srcdir
=$srcdir$ac_dir_suffix;
43361 ac_top_srcdir
=$srcdir ;;
43362 *) # Relative path.
43363 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43364 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43367 # Do not use `cd foo && pwd` to compute absolute paths, because
43368 # the directories may not exist.
43370 .
) ac_abs_builddir
="$ac_dir";;
43373 .
) ac_abs_builddir
=`pwd`;;
43374 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43375 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43378 case $ac_abs_builddir in
43379 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43381 case ${ac_top_builddir}.
in
43382 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43383 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43384 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43387 case $ac_abs_builddir in
43388 .
) ac_abs_srcdir
=$ac_srcdir;;
43391 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43392 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43393 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43396 case $ac_abs_builddir in
43397 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43399 case $ac_top_srcdir in
43400 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43401 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43402 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43407 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43408 echo "$as_me: executing $ac_dest commands" >&6;}
43410 wx
-config ) rm -f wx
-config
43411 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43417 cat >>$CONFIG_STATUS <<\_ACEOF
43419 { (exit 0); exit 0; }
43421 chmod +x
$CONFIG_STATUS
43422 ac_clean_files
=$ac_clean_files_save
43425 # configure is writing to config.log, and then calls config.status.
43426 # config.status does its own redirection, appending to config.log.
43427 # Unfortunately, on DOS this fails, as config.log is still kept open
43428 # by configure, so config.status won't be able to write to it; its
43429 # output is simply discarded. So we exec the FD to /dev/null,
43430 # effectively closing config.log, so it can be properly (re)opened and
43431 # appended to by config.status. When coming back to configure, we
43432 # need to make the FD available again.
43433 if test "$no_create" != yes; then
43435 ac_config_status_args
=
43436 test "$silent" = yes &&
43437 ac_config_status_args
="$ac_config_status_args --quiet"
43439 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43441 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43442 # would make configure fail if this is the last instruction.
43443 $ac_cs_success || { (exit 1); exit 1; }
43447 # CONFIG_SUBDIRS section.
43449 if test "$no_recursion" != yes; then
43451 # Remove --cache-file and --srcdir arguments so they do not pile up.
43452 ac_sub_configure_args
=
43454 for ac_arg
in $ac_configure_args; do
43455 if test -n "$ac_prev"; then
43460 -cache-file | --cache-file | --cache-fil | --cache-fi \
43461 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43462 ac_prev
=cache_file
;;
43463 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43464 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43467 --config-cache | -C)
43469 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43471 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43473 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43475 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43477 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43481 # Always prepend --prefix to ensure using the same prefix
43482 # in subdir configurations.
43483 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43486 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43488 # Do not complain, so a configure script can configure whichever
43489 # parts of a large source tree are present.
43490 test -d $srcdir/$ac_dir || continue
43492 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43493 echo "$as_me: configuring in $ac_dir" >&6;}
43494 { if $as_mkdir_p; then
43499 while test ! -d "$as_dir"; do
43500 as_dirs
="$as_dir $as_dirs"
43501 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43502 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43503 X"$as_dir" : 'X\(//\)[^/]' \| \
43504 X"$as_dir" : 'X\(//\)$' \| \
43505 X"$as_dir" : 'X\(/\)' \| \
43506 . : '\(.\)' 2>/dev/null ||
43508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43509 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43510 /^X\(\/\/\)$/{ s//\1/; q; }
43511 /^X\(\/\).*/{ s//\1/; q; }
43514 test ! -n "$as_dirs" || mkdir $as_dirs
43515 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43516 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43517 { (exit 1); exit 1; }; }; }
43521 if test "$ac_dir" != .
; then
43522 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43523 # A "../" for each directory in $ac_dir_suffix.
43524 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43526 ac_dir_suffix
= ac_top_builddir
=
43530 .
) # No --srcdir option. We are building in place.
43532 if test -z "$ac_top_builddir"; then
43535 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43537 [\\/]* | ?
:[\\/]* ) # Absolute path.
43538 ac_srcdir
=$srcdir$ac_dir_suffix;
43539 ac_top_srcdir
=$srcdir ;;
43540 *) # Relative path.
43541 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43542 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43545 # Do not use `cd foo && pwd` to compute absolute paths, because
43546 # the directories may not exist.
43548 .
) ac_abs_builddir
="$ac_dir";;
43551 .
) ac_abs_builddir
=`pwd`;;
43552 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43553 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43556 case $ac_abs_builddir in
43557 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43559 case ${ac_top_builddir}.
in
43560 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43561 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43562 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43565 case $ac_abs_builddir in
43566 .
) ac_abs_srcdir
=$ac_srcdir;;
43569 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43570 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43571 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43574 case $ac_abs_builddir in
43575 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43577 case $ac_top_srcdir in
43578 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43579 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43580 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43587 # Check for guested configure; otherwise get Cygnus style configure.
43588 if test -f $ac_srcdir/configure.gnu
; then
43589 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43590 elif test -f $ac_srcdir/configure
; then
43591 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43592 elif test -f $ac_srcdir/configure.
in; then
43593 ac_sub_configure
=$ac_configure
43595 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43596 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43600 # The recursion is here.
43601 if test -n "$ac_sub_configure"; then
43602 # Make the cache file name correct relative to the subdirectory.
43603 case $cache_file in
43604 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43605 *) # Relative path.
43606 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43609 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43610 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43611 # The eval makes quoting arguments work.
43612 eval $ac_sub_configure $ac_sub_configure_args \
43613 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43614 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43615 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43616 { (exit 1); exit 1; }; }
43625 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43627 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43628 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43630 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43631 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43632 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43634 echo " What level of wxWidgets compatibility should be enabled?"
43635 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43636 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43638 echo " Which libraries should wxWidgets use?"
43639 echo " jpeg ${wxUSE_LIBJPEG-none}"
43640 echo " png ${wxUSE_LIBPNG-none}"
43641 echo " regex ${wxUSE_REGEX}"
43642 echo " tiff ${wxUSE_LIBTIFF-none}"
43643 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43644 echo " xpm ${wxUSE_LIBXPM-none}"
43646 echo " zlib ${wxUSE_ZLIB}"
43647 echo " odbc ${wxUSE_ODBC}"
43648 echo " expat ${wxUSE_EXPAT}"
43649 echo " libmspack ${wxUSE_LIBMSPACK}"
43650 echo " sdl ${wxUSE_LIBSDL}"
43651 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"