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.2.
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.2'
274 PACKAGE_STRING
='wxWidgets 2.5.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC_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_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_DATA_FILE WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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.2 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.2:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx
-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-constraints use layout
-constraints system
948 --enable-printarch use printing architecture
949 --enable-mdi use multiple document interface architecture
950 --enable-mdidoc use docview architecture with MDI
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-webkit use wxWebKitCtrl
(Mac
)
955 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
956 --enable-prologio not available
; see contrib
957 --enable-resources not available
; see contrib
958 --enable-clipboard use wxClipboard class
959 --enable-dnd use Drag
'n'Drop classes
960 --enable-metafile use win32 metafiles
961 --enable-controls use all usual controls
962 --enable-accel use accelerators
963 --enable-button use wxButton class
964 --enable-bmpbutton use wxBitmapButton class
965 --enable-calendar use wxCalendarCtrl class
966 --enable-caret use wxCaret class
967 --enable-checkbox use wxCheckBox class
968 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
969 --enable-choice use wxChoice class
970 --enable-combobox use wxComboBox class
971 --enable-display use wxDisplay class
972 --enable-gauge use wxGauge class
973 --enable-grid use wxGrid class
974 --enable-imaglist use wxImageList class
975 --enable-listbook use wxListbook class
976 --enable-listbox use wxListBox class
977 --enable-listctrl use wxListCtrl class
978 --enable-notebook use wxNotebook class
979 --enable-radiobox use wxRadioBox class
980 --enable-radiobtn use wxRadioButton class
981 --enable-sash use wxSashWindow class
982 --enable-scrollbar use wxScrollBar class and scrollable windows
983 --enable-slider use wxSlider class
984 --enable-spinbtn use wxSpinButton class
985 --enable-spinctrl use wxSpinCtrl class
986 --enable-splitter use wxSplitterWindow class
987 --enable-statbmp use wxStaticBitmap class
988 --enable-statbox use wxStaticBox class
989 --enable-statline use wxStaticLine class
990 --enable-stattext use wxStaticText class
991 --enable-statusbar use wxStatusBar class
992 --enable-tabdialog use wxTabControl class
993 --enable-textctrl use wxTextCtrl class
994 --enable-togglebtn use wxToggleButton class
995 --enable-toolbar use wxToolBar class
996 --enable-tbarnative use native wxToolBar class
997 --enable-tbarsmpl use wxToolBarSimple class
998 --enable-treectrl use wxTreeCtrl class
999 --enable-tipwindow use wxTipWindow class
1000 --enable-popupwin use wxPopUpWindow class
1001 --enable-commondlg use all common dialogs
1002 --enable-choicedlg use wxChoiceDialog
1003 --enable-coldlg use wxColourDialog
1004 --enable-filedlg use wxFileDialog
1005 --enable-finddlg use wxFindReplaceDialog
1006 --enable-fontdlg use wxFontDialog
1007 --enable-dirdlg use wxDirDialog
1008 --enable-msgdlg use wxMessageDialog
1009 --enable-numberdlg use wxNumberEntryDialog
1010 --enable-splash use wxSplashScreen
1011 --enable-textdlg use wxTextDialog
1012 --enable-tipdlg use startup tips
1013 --enable-progressdlg use wxProgressDialog
1014 --enable-wizarddlg use wxWizard
1015 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1016 --enable-miniframe use wxMiniFrame class
1017 --enable-tooltips use wxToolTip class
1018 --enable-splines use spline drawing code
1019 --enable-validators use wxValidator and derived classes
1020 --enable-busyinfo use wxBusyInfo
1021 --enable-joystick use wxJoystick
(Linux only
)
1022 --enable-metafiles use wxMetaFile
(Windows only
)
1023 --enable-dragimage use wxDragImage
1024 --enable-accessibility enable accessibility support
1025 --enable-palette use wxPalette class
1026 --enable-image use wxImage class
1027 --enable-gif use gif images
(GIF
file format
)
1028 --enable-pcx use pcx images
(PCX
file format
)
1029 --enable-iff use iff images
(IFF
file format
)
1030 --enable-pnm use pnm images
(PNM
file format
)
1031 --enable-xpm use xpm images
(XPM
file format
)
1032 --enable-icocur use Windows ICO and CUR formats
1033 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1034 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1035 --disable-largefile omit support
for large files
1036 --disable-gtktest do not try to compile and run a
test GTK
+ program
1037 --disable-gtktest Do not try to compile and run a
test GTK program
1038 --disable-sdltest Do not try to compile and run a
test SDL program
1039 --enable-omf use OMF object format
(OS
/2)
1040 --disable-precomp-headers don
't use precompiled headers even if compiler can
1043 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1044 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-motif use Motif/Lesstif
1047 --with-mac use Mac OS X
1048 --with-cocoa use Cocoa
1049 --with-wine use Wine
1050 --with-msw use MS-Windows
1051 --with-pm use OS/2 Presentation Manager
1052 --with-mgl use SciTech MGL
1053 --with-microwin use MicroWindows
1055 --with-libpng use libpng (PNG image format)
1056 --with-libjpeg use libjpeg (JPEG file format)
1057 --with-libtiff use libtiff (TIFF file format)
1058 --with-libxpm use libxpm (XPM file format)
1059 --with-libmspack use libmspack (CHM help files loading)
1060 --with-sdl use SDL for audio on Unix
1061 --with-opengl use OpenGL (or Mesa)
1062 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1063 --with-regex enable support for wxRegEx class
1064 --with-zlib use zlib for LZW compression
1065 --with-odbc use the IODBC and wxODBC classes
1066 --with-expat enable XML support using expat parser
1067 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1068 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1069 --with-x use the X Window System
1070 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1071 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1072 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1073 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1074 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1076 Some influential environment variables:
1077 CC C compiler command
1078 CFLAGS C compiler flags
1079 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080 nonstandard directory <lib dir>
1081 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082 headers in a nonstandard directory <include dir>
1084 CXX C++ compiler command
1085 CXXFLAGS C++ compiler flags
1086 CXXCPP C++ preprocessor
1088 Use these variables to override the choices made by `configure' or to
help
1089 it to
find libraries and programs with nonstandard names
/locations.
1091 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1095 if test "$ac_init_help" = "recursive"; then
1096 # If there are subdirs, report their specific --help.
1098 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1099 test -d $ac_dir || continue
1102 if test "$ac_dir" != .
; then
1103 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104 # A "../" for each directory in $ac_dir_suffix.
1105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1107 ac_dir_suffix
= ac_top_builddir
=
1111 .
) # No --srcdir option. We are building in place.
1113 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1118 [\\/]* | ?
:[\\/]* ) # Absolute path.
1119 ac_srcdir
=$srcdir$ac_dir_suffix;
1120 ac_top_srcdir
=$srcdir ;;
1122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1126 # Do not use `cd foo && pwd` to compute absolute paths, because
1127 # the directories may not exist.
1129 .
) ac_abs_builddir
="$ac_dir";;
1132 .
) ac_abs_builddir
=`pwd`;;
1133 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1134 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1137 case $ac_abs_builddir in
1138 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1140 case ${ac_top_builddir}.
in
1141 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1142 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1143 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1146 case $ac_abs_builddir in
1147 .
) ac_abs_srcdir
=$ac_srcdir;;
1150 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1151 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1152 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1155 case $ac_abs_builddir in
1156 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1158 case $ac_top_srcdir in
1159 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1160 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1161 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1166 # Check for guested configure; otherwise get Cygnus style configure.
1167 if test -f $ac_srcdir/configure.gnu
; then
1169 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1170 elif test -f $ac_srcdir/configure
; then
1172 $SHELL $ac_srcdir/configure
--help=recursive
1173 elif test -f $ac_srcdir/configure.ac
||
1174 test -f $ac_srcdir/configure.
in; then
1176 $ac_configure --help
1178 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 test -n "$ac_init_help" && exit 0
1185 if $ac_init_version; then
1187 wxWidgets configure
2.5.2
1188 generated by GNU Autoconf
2.59
1190 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1191 This configure
script is free software
; the Free Software Foundation
1192 gives unlimited permission to copy
, distribute and modify it.
1198 This file contains any messages produced by compilers while
1199 running configure, to aid debugging if configure makes a mistake.
1201 It was created by wxWidgets $as_me 2.5.2, which was
1202 generated by GNU Autoconf 2.59. Invocation command line was
1213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1220 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1222 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1223 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1225 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1226 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1227 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1228 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1236 test -z "$as_dir" && as_dir
=.
1237 echo "PATH: $as_dir"
1252 # Keep a trace of the command line.
1253 # Strip out --no-create and --no-recursion so they do not pile up.
1254 # Strip out --silent because we don't want to record it for future runs.
1255 # Also quote any args containing shell meta-characters.
1256 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_must_keep_next
=false
1267 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1269 | -silent | --silent | --silen | --sile | --sil)
1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1277 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1278 if test $ac_must_keep_next = true
; then
1279 ac_must_keep_next
=false
# Got value, back to normal.
1282 *=* | --config-cache | -C | -disable-* | --disable-* \
1283 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1284 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1285 | -with-* | --with-* | -without-* | --without-* | --x)
1286 case "$ac_configure_args0 " in
1287 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 -* ) ac_must_keep_next
=true
;;
1293 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1294 # Get rid of the leading space.
1300 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1301 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1303 # When interrupted or exit'd, cleanup temporary files, and complete
1304 # config.log. We remove comments because anyway the quotes in there
1305 # would cause problems or look ugly.
1306 # WARNING: Be sure not to use single quotes in there, as some shells,
1307 # such as our DU 5.0 friend, will then `close' the trap.
1308 trap 'exit_status=$?
1309 # Save into config.log some information that might help in debugging.
1314 ## ---------------- ##
1315 ## Cache variables. ##
1316 ## ---------------- ##
1319 # The following way of writing the cache mishandles newlines in values,
1322 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1330 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ## ----------------- ##
1338 ## Output variables. ##
1339 ## ----------------- ##
1342 for ac_var in $ac_subst_vars
1344 eval ac_val=$`echo $ac_var`
1345 echo "$ac_var='"'"'$ac_val'"'"'"
1349 if test -n "$ac_subst_files"; then
1356 for ac_var in $ac_subst_files
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1364 if test -s confdefs.h; then
1371 sed "/^$/d" confdefs.h | sort
1374 test "$ac_signal" != 0 &&
1375 echo "$as_me: caught signal $ac_signal"
1376 echo "$as_me: exit $exit_status"
1378 rm -f core *.core &&
1379 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 for ac_signal
in 1 2 13 15; do
1383 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1387 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1388 rm -rf conftest
* confdefs.h
1389 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 # Predefined preprocessor variables.
1394 cat >>confdefs.h
<<_ACEOF
1395 #define PACKAGE_NAME "$PACKAGE_NAME"
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_STRING "$PACKAGE_STRING"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1419 # Let the site file select an alternate cache file if it wants to.
1420 # Prefer explicitly selected file to automatically selected ones.
1421 if test -z "$CONFIG_SITE"; then
1422 if test "x$prefix" != xNONE
; then
1423 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1425 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428 for ac_site_file
in $CONFIG_SITE; do
1429 if test -r "$ac_site_file"; then
1430 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1431 echo "$as_me: loading site script $ac_site_file" >&6;}
1432 sed 's/^/| /' "$ac_site_file" >&5
1437 if test -r "$cache_file"; then
1438 # Some versions of bash will fail to source /dev/null (special
1439 # files actually), so we avoid doing that.
1440 if test -f "$cache_file"; then
1441 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1442 echo "$as_me: loading cache $cache_file" >&6;}
1444 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1445 *) . .
/$cache_file;;
1449 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1450 echo "$as_me: creating cache $cache_file" >&6;}
1454 # Check that the precious variables saved in the cache have kept the same
1456 ac_cache_corrupted
=false
1457 for ac_var
in `(set) 2>&1 |
1458 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1459 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1460 eval ac_new_set
=\
$ac_env_${ac_var}_set
1461 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1462 eval ac_new_val
="\$ac_env_${ac_var}_value"
1463 case $ac_old_set,$ac_new_set in
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1467 ac_cache_corrupted
=: ;;
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1474 if test "x$ac_old_val" != "x$ac_new_val"; then
1475 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1476 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1477 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1478 echo "$as_me: former value: $ac_old_val" >&2;}
1479 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1480 echo "$as_me: current value: $ac_new_val" >&2;}
1481 ac_cache_corrupted
=:
1484 # Pass precious variables to config.status.
1485 if test "$ac_new_set" = set; then
1487 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1488 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1489 *) ac_arg
=$ac_var=$ac_new_val ;;
1491 case " $ac_configure_args " in
1492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1493 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1497 if $ac_cache_corrupted; then
1498 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1499 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1500 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1501 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1502 { (exit 1); exit 1; }; }
1506 ac_cpp
='$CPP $CPPFLAGS'
1507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1541 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1542 if test -f $ac_dir/install-sh; then
1544 ac_install_sh
="$ac_aux_dir/install-sh -c"
1546 elif test -f $ac_dir/install.sh
; then
1548 ac_install_sh
="$ac_aux_dir/install.sh -c"
1550 elif test -f $ac_dir/shtool
; then
1552 ac_install_sh
="$ac_aux_dir/shtool install -c"
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1559 { (exit 1); exit 1; }; }
1561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1565 # Make sure we can run config.sub.
1566 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1567 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1568 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1569 { (exit 1); exit 1; }; }
1571 echo "$as_me:$LINENO: checking build system type" >&5
1572 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1573 if test "${ac_cv_build+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 ac_cv_build_alias
=$build_alias
1577 test -z "$ac_cv_build_alias" &&
1578 ac_cv_build_alias
=`$ac_config_guess`
1579 test -z "$ac_cv_build_alias" &&
1580 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1581 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1582 { (exit 1); exit 1; }; }
1583 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1590 echo "${ECHO_T}$ac_cv_build" >&6
1592 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1597 echo "$as_me:$LINENO: checking host system type" >&5
1598 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1599 if test "${ac_cv_host+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 ac_cv_host_alias
=$host_alias
1603 test -z "$ac_cv_host_alias" &&
1604 ac_cv_host_alias
=$ac_cv_build_alias
1605 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1606 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1607 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1608 { (exit 1); exit 1; }; }
1611 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1612 echo "${ECHO_T}$ac_cv_host" >&6
1614 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1615 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1616 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1619 echo "$as_me:$LINENO: checking target system type" >&5
1620 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1621 if test "${ac_cv_target+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 ac_cv_target_alias
=$target_alias
1625 test "x$ac_cv_target_alias" = "x" &&
1626 ac_cv_target_alias
=$ac_cv_host_alias
1627 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1628 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1629 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1630 { (exit 1); exit 1; }; }
1633 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1634 echo "${ECHO_T}$ac_cv_target" >&6
1635 target
=$ac_cv_target
1636 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1637 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1638 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1641 # The aliases save the names the user supplied, while $host etc.
1642 # will get canonicalized.
1643 test -n "$target_alias" &&
1644 test "$program_prefix$program_suffix$program_transform_name" = \
1646 program_prefix
=${target_alias}-
1650 WX_MAJOR_VERSION_NUMBER
=2
1651 WX_MINOR_VERSION_NUMBER
=5
1654 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1655 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1657 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1673 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1679 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1685 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1687 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1689 DEFAULT_wxUSE_COCOA
=0
1693 DEFAULT_wxUSE_MICROWIN
=0
1694 DEFAULT_wxUSE_MOTIF
=0
1699 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1700 DEFAULT_DEFAULT_wxUSE_GTK
=0
1701 DEFAULT_DEFAULT_wxUSE_MAC
=0
1702 DEFAULT_DEFAULT_wxUSE_MGL
=0
1703 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1704 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1705 DEFAULT_DEFAULT_wxUSE_MSW
=0
1706 DEFAULT_DEFAULT_wxUSE_PM
=0
1707 DEFAULT_DEFAULT_wxUSE_X11
=0
1712 SAMPLES_RPATH_POSTLINK
=
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1720 cat >>confdefs.h
<<\_ACEOF
1727 cat >>confdefs.h
<<\_ACEOF
1732 if test "x$TMP" = "xalpha"; then
1734 cat >>confdefs.h
<<\_ACEOF
1739 DEFAULT_DEFAULT_wxUSE_GTK
=1
1741 *-*-gnu* | *-*-k*bsd
*-gnu )
1744 if test "x$TMP" = "xalpha"; then
1746 cat >>confdefs.h
<<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_GTK
=1
1753 *-*-irix5* | *-*-irix6* )
1756 cat >>confdefs.h
<<\_ACEOF
1760 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1770 cat >>confdefs.h
<<\_ACEOF
1774 cat >>confdefs.h
<<\_ACEOF
1775 #define __SOLARIS__ 1
1778 cat >>confdefs.h
<<\_ACEOF
1782 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1789 cat >>confdefs.h
<<\_ACEOF
1793 cat >>confdefs.h
<<\_ACEOF
1797 cat >>confdefs.h
<<\_ACEOF
1801 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1806 cat >>confdefs.h
<<\_ACEOF
1807 #define __FREEBSD__ 1
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_GTK
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __OPENBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __NETBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1859 cat >>confdefs.h
<<\_ACEOF
1863 cat >>confdefs.h
<<\_ACEOF
1867 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 cat >>confdefs.h
<<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1906 cat >>confdefs.h
<<\_ACEOF
1907 #define __UNIXWARE__ 1
1912 *-*-cygwin* | *-*-mingw32* )
1916 DEFAULT_DEFAULT_wxUSE_MSW
=1
1922 cat >>confdefs.h
<<\_ACEOF
1927 DEFAULT_DEFAULT_wxUSE_MGL
=1
1928 LIBS
="$LIBS -lstdc++"
1931 *-pc-os2_emx | *-pc-os2-emx )
1932 cat >>confdefs.h
<<\_ACEOF
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_PM
=1
1944 LDFLAGS
="$LDFLAGS -Zcrtdll"
1945 ac_executable_extensions
=".exe"
1946 export ac_executable_extensions
1950 for ac_dir
in $PATH; do
1952 if test -z "$ac_TEMP_PATH"; then
1953 ac_TEMP_PATH
="$ac_dir"
1955 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1958 export PATH
="$ac_TEMP_PATH"
1966 cat >>confdefs.h
<<\_ACEOF
1970 cat >>confdefs.h
<<\_ACEOF
1971 #define __DARWIN__ 1
1974 cat >>confdefs.h
<<\_ACEOF
1975 #define __POWERPC__ 1
1978 cat >>confdefs.h
<<\_ACEOF
1979 #define TARGET_CARBON 1
1982 DEFAULT_DEFAULT_wxUSE_MAC
=1
1987 cat >>confdefs.h
<<\_ACEOF
1994 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1995 echo "$as_me: error: unknown system type ${host}." >&2;}
1996 { (exit 1); exit 1; }; }
2002 wx_arg_cache_file
="configarg.cache"
2003 echo "loading argument cache $wx_arg_cache_file"
2004 rm -f ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}.tmp
2006 touch ${wx_arg_cache_file}
2010 if test $DEBUG_CONFIGURE = 1; then
2011 DEFAULT_wxUSE_UNIVERSAL
=no
2012 DEFAULT_wxUSE_STL
=no
2014 DEFAULT_wxUSE_NANOX
=no
2016 DEFAULT_wxUSE_THREADS
=yes
2018 DEFAULT_wxUSE_SHARED
=yes
2019 DEFAULT_wxUSE_OPTIMISE
=no
2020 DEFAULT_wxUSE_PROFILE
=no
2021 DEFAULT_wxUSE_NO_DEPS
=no
2022 DEFAULT_wxUSE_NO_RTTI
=no
2023 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2024 DEFAULT_wxUSE_PERMISSIVE
=no
2025 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2026 DEFAULT_wxUSE_DEBUG_INFO
=yes
2027 DEFAULT_wxUSE_DEBUG_GDB
=yes
2028 DEFAULT_wxUSE_MEM_TRACING
=no
2029 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2030 DEFAULT_wxUSE_DMALLOC
=no
2031 DEFAULT_wxUSE_APPLE_IEEE
=no
2033 DEFAULT_wxUSE_EXCEPTIONS
=no
2034 DEFAULT_wxUSE_LOG
=yes
2035 DEFAULT_wxUSE_LOGWINDOW
=no
2036 DEFAULT_wxUSE_LOGGUI
=no
2037 DEFAULT_wxUSE_LOGDIALOG
=no
2039 DEFAULT_wxUSE_GUI
=yes
2040 DEFAULT_wxUSE_CONTROLS
=no
2042 DEFAULT_wxUSE_REGEX
=no
2043 DEFAULT_wxUSE_XML
=no
2044 DEFAULT_wxUSE_EXPAT
=no
2045 DEFAULT_wxUSE_ZLIB
=no
2046 DEFAULT_wxUSE_LIBPNG
=no
2047 DEFAULT_wxUSE_LIBJPEG
=no
2048 DEFAULT_wxUSE_LIBTIFF
=no
2049 DEFAULT_wxUSE_LIBXPM
=no
2050 DEFAULT_wxUSE_LIBMSPACK
=no
2051 DEFAULT_wxUSE_LIBSDL
=no
2052 DEFAULT_wxUSE_ODBC
=no
2053 DEFAULT_wxUSE_OPENGL
=no
2055 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2056 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2057 DEFAULT_wxUSE_STD_IOSTREAM
=no
2058 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2059 DEFAULT_wxUSE_DATETIME
=no
2060 DEFAULT_wxUSE_TIMER
=no
2061 DEFAULT_wxUSE_STOPWATCH
=no
2062 DEFAULT_wxUSE_FILE
=no
2063 DEFAULT_wxUSE_FFILE
=no
2064 DEFAULT_wxUSE_TEXTBUFFER
=no
2065 DEFAULT_wxUSE_TEXTFILE
=no
2066 DEFAULT_wxUSE_SOUND
=no
2067 DEFAULT_wxUSE_INTL
=no
2068 DEFAULT_wxUSE_CONFIG
=no
2069 DEFAULT_wxUSE_FONTMAP
=no
2070 DEFAULT_wxUSE_STREAMS
=no
2071 DEFAULT_wxUSE_SOCKETS
=no
2072 DEFAULT_wxUSE_OLE
=no
2073 DEFAULT_wxUSE_DATAOBJ
=no
2074 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2075 DEFAULT_wxUSE_JOYSTICK
=no
2076 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2077 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2078 DEFAULT_wxUSE_LONGLONG
=no
2079 DEFAULT_wxUSE_GEOMETRY
=no
2081 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2082 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2083 DEFAULT_wxUSE_POSTSCRIPT
=no
2085 DEFAULT_wxUSE_CLIPBOARD
=no
2086 DEFAULT_wxUSE_TOOLTIPS
=no
2087 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2088 DEFAULT_wxUSE_DRAGIMAGE
=no
2089 DEFAULT_wxUSE_SPLINES
=no
2091 DEFAULT_wxUSE_MDI
=no
2092 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2094 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2096 DEFAULT_wxUSE_RESOURCES
=no
2097 DEFAULT_wxUSE_CONSTRAINTS
=no
2098 DEFAULT_wxUSE_IPC
=no
2099 DEFAULT_wxUSE_HELP
=no
2100 DEFAULT_wxUSE_MS_HTML_HELP
=no
2101 DEFAULT_wxUSE_WXHTML_HELP
=no
2102 DEFAULT_wxUSE_TREELAYOUT
=no
2103 DEFAULT_wxUSE_METAFILE
=no
2104 DEFAULT_wxUSE_MIMETYPE
=no
2105 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2106 DEFAULT_wxUSE_PROTOCOL
=no
2107 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2108 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2109 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2110 DEFAULT_wxUSE_URL
=no
2112 DEFAULT_wxUSE_COMMONDLGS
=no
2113 DEFAULT_wxUSE_CHOICEDLG
=no
2114 DEFAULT_wxUSE_COLOURDLG
=no
2115 DEFAULT_wxUSE_DIRDLG
=no
2116 DEFAULT_wxUSE_FILEDLG
=no
2117 DEFAULT_wxUSE_FINDREPLDLG
=no
2118 DEFAULT_wxUSE_FONTDLG
=no
2119 DEFAULT_wxUSE_MSGDLG
=no
2120 DEFAULT_wxUSE_NUMBERDLG
=no
2121 DEFAULT_wxUSE_TEXTDLG
=no
2122 DEFAULT_wxUSE_SPLASH
=no
2123 DEFAULT_wxUSE_STARTUP_TIPS
=no
2124 DEFAULT_wxUSE_PROGRESSDLG
=no
2125 DEFAULT_wxUSE_WIZARDDLG
=no
2127 DEFAULT_wxUSE_MENUS
=no
2128 DEFAULT_wxUSE_MINIFRAME
=no
2129 DEFAULT_wxUSE_HTML
=no
2130 DEFAULT_wxUSE_WEBKIT
=no
2131 DEFAULT_wxUSE_FILESYSTEM
=no
2132 DEFAULT_wxUSE_FS_INET
=no
2133 DEFAULT_wxUSE_FS_ZIP
=no
2134 DEFAULT_wxUSE_BUSYINFO
=no
2135 DEFAULT_wxUSE_ZIPSTREAM
=no
2136 DEFAULT_wxUSE_VALIDATORS
=no
2138 DEFAULT_wxUSE_ACCEL
=no
2139 DEFAULT_wxUSE_BUTTON
=no
2140 DEFAULT_wxUSE_BMPBUTTON
=no
2141 DEFAULT_wxUSE_CALCTRL
=no
2142 DEFAULT_wxUSE_CARET
=no
2143 DEFAULT_wxUSE_CHECKBOX
=no
2144 DEFAULT_wxUSE_CHECKLST
=no
2145 DEFAULT_wxUSE_CHOICE
=no
2146 DEFAULT_wxUSE_COMBOBOX
=no
2147 DEFAULT_wxUSE_DISPLAY
=no
2148 DEFAULT_wxUSE_GAUGE
=no
2149 DEFAULT_wxUSE_GRID
=no
2150 DEFAULT_wxUSE_IMAGLIST
=no
2151 DEFAULT_wxUSE_LISTBOOK
=no
2152 DEFAULT_wxUSE_LISTBOX
=no
2153 DEFAULT_wxUSE_LISTCTRL
=no
2154 DEFAULT_wxUSE_NOTEBOOK
=no
2155 DEFAULT_wxUSE_RADIOBOX
=no
2156 DEFAULT_wxUSE_RADIOBTN
=no
2157 DEFAULT_wxUSE_SASH
=no
2158 DEFAULT_wxUSE_SCROLLBAR
=no
2159 DEFAULT_wxUSE_SLIDER
=no
2160 DEFAULT_wxUSE_SPINBTN
=no
2161 DEFAULT_wxUSE_SPINCTRL
=no
2162 DEFAULT_wxUSE_SPLITTER
=no
2163 DEFAULT_wxUSE_STATBMP
=no
2164 DEFAULT_wxUSE_STATBOX
=no
2165 DEFAULT_wxUSE_STATLINE
=no
2166 DEFAULT_wxUSE_STATTEXT
=no
2167 DEFAULT_wxUSE_STATUSBAR
=yes
2168 DEFAULT_wxUSE_TABDIALOG
=no
2169 DEFAULT_wxUSE_TEXTCTRL
=no
2170 DEFAULT_wxUSE_TOGGLEBTN
=no
2171 DEFAULT_wxUSE_TOOLBAR
=no
2172 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2173 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2174 DEFAULT_wxUSE_TREECTRL
=no
2175 DEFAULT_wxUSE_POPUPWIN
=no
2176 DEFAULT_wxUSE_TIPWINDOW
=no
2178 DEFAULT_wxUSE_UNICODE
=no
2179 DEFAULT_wxUSE_UNICODE_MSLU
=no
2180 DEFAULT_wxUSE_WCSRTOMBS
=no
2182 DEFAULT_wxUSE_PALETTE
=no
2183 DEFAULT_wxUSE_IMAGE
=no
2184 DEFAULT_wxUSE_GIF
=no
2185 DEFAULT_wxUSE_PCX
=no
2186 DEFAULT_wxUSE_PNM
=no
2187 DEFAULT_wxUSE_IFF
=no
2188 DEFAULT_wxUSE_XPM
=no
2189 DEFAULT_wxUSE_ICO_CUR
=no
2190 DEFAULT_wxUSE_ACCESSIBILITY
=no
2192 DEFAULT_wxUSE_MONOLITHIC
=no
2193 DEFAULT_wxUSE_PLUGINS
=no
2194 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2196 DEFAULT_wxUSE_UNIVERSAL
=no
2197 DEFAULT_wxUSE_STL
=no
2199 DEFAULT_wxUSE_NANOX
=no
2201 DEFAULT_wxUSE_THREADS
=yes
2203 DEFAULT_wxUSE_SHARED
=yes
2204 DEFAULT_wxUSE_OPTIMISE
=yes
2205 DEFAULT_wxUSE_PROFILE
=no
2206 DEFAULT_wxUSE_NO_DEPS
=no
2207 DEFAULT_wxUSE_NO_RTTI
=no
2208 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2209 DEFAULT_wxUSE_PERMISSIVE
=no
2210 DEFAULT_wxUSE_DEBUG_FLAG
=no
2211 DEFAULT_wxUSE_DEBUG_INFO
=no
2212 DEFAULT_wxUSE_DEBUG_GDB
=no
2213 DEFAULT_wxUSE_MEM_TRACING
=no
2214 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2215 DEFAULT_wxUSE_DMALLOC
=no
2216 DEFAULT_wxUSE_APPLE_IEEE
=yes
2218 DEFAULT_wxUSE_EXCEPTIONS
=yes
2219 DEFAULT_wxUSE_LOG
=yes
2220 DEFAULT_wxUSE_LOGWINDOW
=yes
2221 DEFAULT_wxUSE_LOGGUI
=yes
2222 DEFAULT_wxUSE_LOGDIALOG
=yes
2224 DEFAULT_wxUSE_GUI
=yes
2226 DEFAULT_wxUSE_REGEX
=yes
2227 DEFAULT_wxUSE_XML
=yes
2228 DEFAULT_wxUSE_EXPAT
=yes
2229 DEFAULT_wxUSE_ZLIB
=yes
2230 DEFAULT_wxUSE_LIBPNG
=yes
2231 DEFAULT_wxUSE_LIBJPEG
=yes
2232 DEFAULT_wxUSE_LIBTIFF
=yes
2233 DEFAULT_wxUSE_LIBXPM
=yes
2234 DEFAULT_wxUSE_LIBMSPACK
=yes
2235 DEFAULT_wxUSE_LIBSDL
=no
2236 DEFAULT_wxUSE_ODBC
=no
2237 DEFAULT_wxUSE_OPENGL
=no
2239 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2240 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2241 DEFAULT_wxUSE_STD_IOSTREAM
=no
2242 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2243 DEFAULT_wxUSE_DATETIME
=yes
2244 DEFAULT_wxUSE_TIMER
=yes
2245 DEFAULT_wxUSE_STOPWATCH
=yes
2246 DEFAULT_wxUSE_FILE
=yes
2247 DEFAULT_wxUSE_FFILE
=yes
2248 DEFAULT_wxUSE_TEXTBUFFER
=yes
2249 DEFAULT_wxUSE_TEXTFILE
=yes
2250 DEFAULT_wxUSE_SOUND
=yes
2251 DEFAULT_wxUSE_INTL
=yes
2252 DEFAULT_wxUSE_CONFIG
=yes
2253 DEFAULT_wxUSE_FONTMAP
=yes
2254 DEFAULT_wxUSE_STREAMS
=yes
2255 DEFAULT_wxUSE_SOCKETS
=yes
2256 DEFAULT_wxUSE_OLE
=yes
2257 DEFAULT_wxUSE_DATAOBJ
=yes
2258 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2259 DEFAULT_wxUSE_JOYSTICK
=yes
2260 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2261 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2262 DEFAULT_wxUSE_LONGLONG
=yes
2263 DEFAULT_wxUSE_GEOMETRY
=yes
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2267 DEFAULT_wxUSE_POSTSCRIPT
=yes
2269 DEFAULT_wxUSE_CLIPBOARD
=yes
2270 DEFAULT_wxUSE_TOOLTIPS
=yes
2271 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2272 DEFAULT_wxUSE_DRAGIMAGE
=yes
2273 DEFAULT_wxUSE_SPLINES
=yes
2275 DEFAULT_wxUSE_MDI
=yes
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2280 DEFAULT_wxUSE_RESOURCES
=no
2281 DEFAULT_wxUSE_CONSTRAINTS
=yes
2282 DEFAULT_wxUSE_IPC
=yes
2283 DEFAULT_wxUSE_HELP
=yes
2284 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2285 DEFAULT_wxUSE_WXHTML_HELP
=yes
2286 DEFAULT_wxUSE_TREELAYOUT
=yes
2287 DEFAULT_wxUSE_METAFILE
=yes
2288 DEFAULT_wxUSE_MIMETYPE
=yes
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2290 DEFAULT_wxUSE_PROTOCOL
=yes
2291 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2292 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2293 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2294 DEFAULT_wxUSE_URL
=yes
2296 DEFAULT_wxUSE_COMMONDLGS
=yes
2297 DEFAULT_wxUSE_CHOICEDLG
=yes
2298 DEFAULT_wxUSE_COLOURDLG
=yes
2299 DEFAULT_wxUSE_DIRDLG
=yes
2300 DEFAULT_wxUSE_FILEDLG
=yes
2301 DEFAULT_wxUSE_FINDREPLDLG
=yes
2302 DEFAULT_wxUSE_FONTDLG
=yes
2303 DEFAULT_wxUSE_MSGDLG
=yes
2304 DEFAULT_wxUSE_NUMBERDLG
=yes
2305 DEFAULT_wxUSE_TEXTDLG
=yes
2306 DEFAULT_wxUSE_SPLASH
=yes
2307 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2308 DEFAULT_wxUSE_PROGRESSDLG
=yes
2309 DEFAULT_wxUSE_WIZARDDLG
=yes
2311 DEFAULT_wxUSE_MENUS
=yes
2312 DEFAULT_wxUSE_MINIFRAME
=yes
2313 DEFAULT_wxUSE_HTML
=yes
2314 DEFAULT_wxUSE_WEBKIT
=yes
2315 DEFAULT_wxUSE_FILESYSTEM
=yes
2316 DEFAULT_wxUSE_FS_INET
=yes
2317 DEFAULT_wxUSE_FS_ZIP
=yes
2318 DEFAULT_wxUSE_BUSYINFO
=yes
2319 DEFAULT_wxUSE_ZIPSTREAM
=yes
2320 DEFAULT_wxUSE_VALIDATORS
=yes
2322 DEFAULT_wxUSE_ACCEL
=yes
2323 DEFAULT_wxUSE_BUTTON
=yes
2324 DEFAULT_wxUSE_BMPBUTTON
=yes
2325 DEFAULT_wxUSE_CALCTRL
=yes
2326 DEFAULT_wxUSE_CARET
=yes
2327 DEFAULT_wxUSE_CHECKBOX
=yes
2328 DEFAULT_wxUSE_CHECKLST
=yes
2329 DEFAULT_wxUSE_CHOICE
=yes
2330 DEFAULT_wxUSE_COMBOBOX
=yes
2331 DEFAULT_wxUSE_DISPLAY
=yes
2332 DEFAULT_wxUSE_GAUGE
=yes
2333 DEFAULT_wxUSE_GRID
=yes
2334 DEFAULT_wxUSE_IMAGLIST
=yes
2335 DEFAULT_wxUSE_LISTBOOK
=yes
2336 DEFAULT_wxUSE_LISTBOX
=yes
2337 DEFAULT_wxUSE_LISTCTRL
=yes
2338 DEFAULT_wxUSE_NOTEBOOK
=yes
2339 DEFAULT_wxUSE_RADIOBOX
=yes
2340 DEFAULT_wxUSE_RADIOBTN
=yes
2341 DEFAULT_wxUSE_SASH
=yes
2342 DEFAULT_wxUSE_SCROLLBAR
=yes
2343 DEFAULT_wxUSE_SLIDER
=yes
2344 DEFAULT_wxUSE_SPINBTN
=yes
2345 DEFAULT_wxUSE_SPINCTRL
=yes
2346 DEFAULT_wxUSE_SPLITTER
=yes
2347 DEFAULT_wxUSE_STATBMP
=yes
2348 DEFAULT_wxUSE_STATBOX
=yes
2349 DEFAULT_wxUSE_STATLINE
=yes
2350 DEFAULT_wxUSE_STATTEXT
=yes
2351 DEFAULT_wxUSE_STATUSBAR
=yes
2352 DEFAULT_wxUSE_TABDIALOG
=no
2353 DEFAULT_wxUSE_TEXTCTRL
=yes
2354 DEFAULT_wxUSE_TOGGLEBTN
=yes
2355 DEFAULT_wxUSE_TOOLBAR
=yes
2356 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2357 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2358 DEFAULT_wxUSE_TREECTRL
=yes
2359 DEFAULT_wxUSE_POPUPWIN
=yes
2360 DEFAULT_wxUSE_TIPWINDOW
=yes
2362 DEFAULT_wxUSE_UNICODE
=no
2363 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2364 DEFAULT_wxUSE_WCSRTOMBS
=no
2366 DEFAULT_wxUSE_PALETTE
=yes
2367 DEFAULT_wxUSE_IMAGE
=yes
2368 DEFAULT_wxUSE_GIF
=yes
2369 DEFAULT_wxUSE_PCX
=yes
2370 DEFAULT_wxUSE_IFF
=no
2371 DEFAULT_wxUSE_PNM
=yes
2372 DEFAULT_wxUSE_XPM
=yes
2373 DEFAULT_wxUSE_ICO_CUR
=yes
2374 DEFAULT_wxUSE_ACCESSIBILITY
=no
2376 DEFAULT_wxUSE_MONOLITHIC
=no
2377 DEFAULT_wxUSE_PLUGINS
=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2380 DEFAULT_wxUSE_GTK2
=yes
2385 for toolkit
in `echo $ALL_TOOLKITS`; do
2386 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2387 if test "x$LINE" != "x" ; then
2388 has_toolkit_in_cache
=1
2389 eval "DEFAULT_$LINE"
2390 eval "CACHE_$toolkit=1"
2397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2398 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2400 # Check whether --enable-gui or --disable-gui was given.
2401 if test "${enable_gui+set}" = set; then
2402 enableval
="$enable_gui"
2404 if test "$enableval" = yes; then
2405 ac_cv_use_gui
='wxUSE_GUI=yes'
2407 ac_cv_use_gui
='wxUSE_GUI=no'
2412 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2413 if test "x$LINE" != x
; then
2414 eval "DEFAULT_$LINE"
2419 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2423 eval "$ac_cv_use_gui"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2428 if test "$wxUSE_GUI" = yes; then
2429 echo "$as_me:$LINENO: result: yes" >&5
2430 echo "${ECHO_T}yes" >&6
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2439 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2441 # Check whether --enable-monolithic or --disable-monolithic was given.
2442 if test "${enable_monolithic+set}" = set; then
2443 enableval
="$enable_monolithic"
2445 if test "$enableval" = yes; then
2446 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2448 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2453 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2460 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2464 eval "$ac_cv_use_monolithic"
2465 if test "$no_cache" != 1; then
2466 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2469 if test "$wxUSE_MONOLITHIC" = yes; then
2470 echo "$as_me:$LINENO: result: yes" >&5
2471 echo "${ECHO_T}yes" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2482 # Check whether --enable-plugins or --disable-plugins was given.
2483 if test "${enable_plugins+set}" = set; then
2484 enableval
="$enable_plugins"
2486 if test "$enableval" = yes; then
2487 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2489 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2494 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x
; then
2496 eval "DEFAULT_$LINE"
2501 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2505 eval "$ac_cv_use_plugins"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2510 if test "$wxUSE_PLUGINS" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2519 if test "$wxUSE_GUI" = "yes"; then
2523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2524 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2526 # Check whether --enable-universal or --disable-universal was given.
2527 if test "${enable_universal+set}" = set; then
2528 enableval
="$enable_universal"
2530 if test "$enableval" = yes; then
2531 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2533 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2538 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x
; then
2540 eval "DEFAULT_$LINE"
2545 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2549 eval "$ac_cv_use_universal"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2554 if test "$wxUSE_UNIVERSAL" = yes; then
2555 echo "$as_me:$LINENO: result: yes" >&5
2556 echo "${ECHO_T}yes" >&6
2558 echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6
2563 # Check whether --with-gtk or --without-gtk was given.
2564 if test "${with_gtk+set}" = set; then
2566 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2569 # Check whether --with-motif or --without-motif was given.
2570 if test "${with_motif+set}" = set; then
2571 withval
="$with_motif"
2572 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2575 # Check whether --with-mac or --without-mac was given.
2576 if test "${with_mac+set}" = set; then
2578 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2581 # Check whether --with-cocoa or --without-cocoa was given.
2582 if test "${with_cocoa+set}" = set; then
2583 withval
="$with_cocoa"
2584 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2587 # Check whether --with-wine or --without-wine was given.
2588 if test "${with_wine+set}" = set; then
2589 withval
="$with_wine"
2590 wxUSE_WINE
="$withval" CACHE_WINE
=1
2593 # Check whether --with-msw or --without-msw was given.
2594 if test "${with_msw+set}" = set; then
2596 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-pm or --without-pm was given.
2600 if test "${with_pm+set}" = set; then
2602 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2605 # Check whether --with-mgl or --without-mgl was given.
2606 if test "${with_mgl+set}" = set; then
2608 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-microwin or --without-microwin was given.
2612 if test "${with_microwin+set}" = set; then
2613 withval
="$with_microwin"
2614 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2617 # Check whether --with-x11 or --without-x11 was given.
2618 if test "${with_x11+set}" = set; then
2620 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2625 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2627 # Check whether --enable-nanox or --disable-nanox was given.
2628 if test "${enable_nanox+set}" = set; then
2629 enableval
="$enable_nanox"
2631 if test "$enableval" = yes; then
2632 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2634 ac_cv_use_nanox
='wxUSE_NANOX=no'
2639 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x
; then
2641 eval "DEFAULT_$LINE"
2646 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2650 eval "$ac_cv_use_nanox"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2655 if test "$wxUSE_NANOX" = yes; then
2656 echo "$as_me:$LINENO: result: yes" >&5
2657 echo "${ECHO_T}yes" >&6
2659 echo "$as_me:$LINENO: result: no" >&5
2660 echo "${ECHO_T}no" >&6
2666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2667 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2669 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2670 if test "${enable_gtk2+set}" = set; then
2671 enableval
="$enable_gtk2"
2673 if test "$enableval" = yes; then
2674 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2676 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2681 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x
; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2692 eval "$ac_cv_use_gtk2"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2697 if test "$wxUSE_GTK2" = yes; then
2698 echo "$as_me:$LINENO: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2710 # Check whether --enable-gpe or --disable-gpe was given.
2711 if test "${enable_gpe+set}" = set; then
2712 enableval
="$enable_gpe"
2714 if test "$enableval" = yes; then
2715 ac_cv_use_gpe
='wxUSE_GPE=yes'
2717 ac_cv_use_gpe
='wxUSE_GPE=no'
2722 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x
; then
2724 eval "DEFAULT_$LINE"
2729 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2733 eval "$ac_cv_use_gpe"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_GPE" = yes; then
2739 echo "$as_me:$LINENO: result: yes" >&5
2740 echo "${ECHO_T}yes" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2748 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2752 # Check whether --with-libpng or --without-libpng was given.
2753 if test "${with_libpng+set}" = set; then
2754 withval
="$with_libpng"
2756 if test "$withval" = yes; then
2757 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2758 elif test "$withval" = no
; then
2759 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2760 elif test "$withval" = sys
; then
2761 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2762 elif test "$withval" = builtin; then
2763 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2765 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2766 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2767 { (exit 1); exit 1; }; }
2772 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x
; then
2774 eval "DEFAULT_$LINE"
2779 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2783 eval "$ac_cv_use_libpng"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2788 if test "$wxUSE_LIBPNG" = yes; then
2789 echo "$as_me:$LINENO: result: yes" >&5
2790 echo "${ECHO_T}yes" >&6
2791 elif test "$wxUSE_LIBPNG" = no
; then
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2794 elif test "$wxUSE_LIBPNG" = sys
; then
2795 echo "$as_me:$LINENO: result: system version" >&5
2796 echo "${ECHO_T}system version" >&6
2797 elif test "$wxUSE_LIBPNG" = builtin; then
2798 echo "$as_me:$LINENO: result: builtin version" >&5
2799 echo "${ECHO_T}builtin version" >&6
2801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2803 { (exit 1); exit 1; }; }
2807 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2811 # Check whether --with-libjpeg or --without-libjpeg was given.
2812 if test "${with_libjpeg+set}" = set; then
2813 withval
="$with_libjpeg"
2815 if test "$withval" = yes; then
2816 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2817 elif test "$withval" = no
; then
2818 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2819 elif test "$withval" = sys
; then
2820 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2821 elif test "$withval" = builtin; then
2822 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2824 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2825 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2826 { (exit 1); exit 1; }; }
2831 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2832 if test "x$LINE" != x
; then
2833 eval "DEFAULT_$LINE"
2838 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2842 eval "$ac_cv_use_libjpeg"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2847 if test "$wxUSE_LIBJPEG" = yes; then
2848 echo "$as_me:$LINENO: result: yes" >&5
2849 echo "${ECHO_T}yes" >&6
2850 elif test "$wxUSE_LIBJPEG" = no
; then
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2853 elif test "$wxUSE_LIBJPEG" = sys
; then
2854 echo "$as_me:$LINENO: result: system version" >&5
2855 echo "${ECHO_T}system version" >&6
2856 elif test "$wxUSE_LIBJPEG" = builtin; then
2857 echo "$as_me:$LINENO: result: builtin version" >&5
2858 echo "${ECHO_T}builtin version" >&6
2860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2862 { (exit 1); exit 1; }; }
2866 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2870 # Check whether --with-libtiff or --without-libtiff was given.
2871 if test "${with_libtiff+set}" = set; then
2872 withval
="$with_libtiff"
2874 if test "$withval" = yes; then
2875 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2876 elif test "$withval" = no
; then
2877 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2878 elif test "$withval" = sys
; then
2879 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2880 elif test "$withval" = builtin; then
2881 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2883 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2884 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2885 { (exit 1); exit 1; }; }
2890 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x
; then
2892 eval "DEFAULT_$LINE"
2897 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2901 eval "$ac_cv_use_libtiff"
2902 if test "$no_cache" != 1; then
2903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2906 if test "$wxUSE_LIBTIFF" = yes; then
2907 echo "$as_me:$LINENO: result: yes" >&5
2908 echo "${ECHO_T}yes" >&6
2909 elif test "$wxUSE_LIBTIFF" = no
; then
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2912 elif test "$wxUSE_LIBTIFF" = sys
; then
2913 echo "$as_me:$LINENO: result: system version" >&5
2914 echo "${ECHO_T}system version" >&6
2915 elif test "$wxUSE_LIBTIFF" = builtin; then
2916 echo "$as_me:$LINENO: result: builtin version" >&5
2917 echo "${ECHO_T}builtin version" >&6
2919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2921 { (exit 1); exit 1; }; }
2925 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2929 # Check whether --with-libxpm or --without-libxpm was given.
2930 if test "${with_libxpm+set}" = set; then
2931 withval
="$with_libxpm"
2933 if test "$withval" = yes; then
2934 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2935 elif test "$withval" = no
; then
2936 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2937 elif test "$withval" = sys
; then
2938 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2939 elif test "$withval" = builtin; then
2940 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2942 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2943 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2944 { (exit 1); exit 1; }; }
2949 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2960 eval "$ac_cv_use_libxpm"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2965 if test "$wxUSE_LIBXPM" = yes; then
2966 echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6
2968 elif test "$wxUSE_LIBXPM" = no
; then
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2971 elif test "$wxUSE_LIBXPM" = sys
; then
2972 echo "$as_me:$LINENO: result: system version" >&5
2973 echo "${ECHO_T}system version" >&6
2974 elif test "$wxUSE_LIBXPM" = builtin; then
2975 echo "$as_me:$LINENO: result: builtin version" >&5
2976 echo "${ECHO_T}builtin version" >&6
2978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2980 { (exit 1); exit 1; }; }
2984 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2985 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2988 # Check whether --with-libmspack or --without-libmspack was given.
2989 if test "${with_libmspack+set}" = set; then
2990 withval
="$with_libmspack"
2992 if test "$withval" = yes; then
2993 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2995 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3000 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x
; then
3002 eval "DEFAULT_$LINE"
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3011 eval "$ac_cv_use_libmspack"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3016 if test "$wxUSE_LIBMSPACK" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018 echo "${ECHO_T}yes" >&6
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3025 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3026 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3029 # Check whether --with-sdl or --without-sdl was given.
3030 if test "${with_sdl+set}" = set; then
3033 if test "$withval" = yes; then
3034 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3036 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3041 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3042 if test "x$LINE" != x
; then
3043 eval "DEFAULT_$LINE"
3048 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3052 eval "$ac_cv_use_sdl"
3053 if test "$no_cache" != 1; then
3054 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3057 if test "$wxUSE_LIBSDL" = yes; then
3058 echo "$as_me:$LINENO: result: yes" >&5
3059 echo "${ECHO_T}yes" >&6
3061 echo "$as_me:$LINENO: result: no" >&5
3062 echo "${ECHO_T}no" >&6
3066 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3067 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3070 # Check whether --with-opengl or --without-opengl was given.
3071 if test "${with_opengl+set}" = set; then
3072 withval
="$with_opengl"
3074 if test "$withval" = yes; then
3075 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3077 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3082 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3083 if test "x$LINE" != x
; then
3084 eval "DEFAULT_$LINE"
3089 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3093 eval "$ac_cv_use_opengl"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3098 if test "$wxUSE_OPENGL" = yes; then
3099 echo "$as_me:$LINENO: result: yes" >&5
3100 echo "${ECHO_T}yes" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3110 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3111 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3114 # Check whether --with-dmalloc or --without-dmalloc was given.
3115 if test "${with_dmalloc+set}" = set; then
3116 withval
="$with_dmalloc"
3118 if test "$withval" = yes; then
3119 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3121 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3126 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x
; then
3128 eval "DEFAULT_$LINE"
3133 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3137 eval "$ac_cv_use_dmalloc"
3138 if test "$no_cache" != 1; then
3139 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3142 if test "$wxUSE_DMALLOC" = yes; then
3143 echo "$as_me:$LINENO: result: yes" >&5
3144 echo "${ECHO_T}yes" >&6
3146 echo "$as_me:$LINENO: result: no" >&5
3147 echo "${ECHO_T}no" >&6
3151 echo "$as_me:$LINENO: checking for --with-regex" >&5
3152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3155 # Check whether --with-regex or --without-regex was given.
3156 if test "${with_regex+set}" = set; then
3157 withval
="$with_regex"
3159 if test "$withval" = yes; then
3160 ac_cv_use_regex
='wxUSE_REGEX=yes'
3161 elif test "$withval" = no
; then
3162 ac_cv_use_regex
='wxUSE_REGEX=no'
3163 elif test "$withval" = sys
; then
3164 ac_cv_use_regex
='wxUSE_REGEX=sys'
3165 elif test "$withval" = builtin; then
3166 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3168 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3169 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3170 { (exit 1); exit 1; }; }
3175 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x
; then
3177 eval "DEFAULT_$LINE"
3182 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3186 eval "$ac_cv_use_regex"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3191 if test "$wxUSE_REGEX" = yes; then
3192 echo "$as_me:$LINENO: result: yes" >&5
3193 echo "${ECHO_T}yes" >&6
3194 elif test "$wxUSE_REGEX" = no
; then
3195 echo "$as_me:$LINENO: result: no" >&5
3196 echo "${ECHO_T}no" >&6
3197 elif test "$wxUSE_REGEX" = sys
; then
3198 echo "$as_me:$LINENO: result: system version" >&5
3199 echo "${ECHO_T}system version" >&6
3200 elif test "$wxUSE_REGEX" = builtin; then
3201 echo "$as_me:$LINENO: result: builtin version" >&5
3202 echo "${ECHO_T}builtin version" >&6
3204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3206 { (exit 1); exit 1; }; }
3210 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3211 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3214 # Check whether --with-zlib or --without-zlib was given.
3215 if test "${with_zlib+set}" = set; then
3216 withval
="$with_zlib"
3218 if test "$withval" = yes; then
3219 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3220 elif test "$withval" = no
; then
3221 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3222 elif test "$withval" = sys
; then
3223 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3224 elif test "$withval" = builtin; then
3225 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3227 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3228 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3229 { (exit 1); exit 1; }; }
3234 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x
; then
3236 eval "DEFAULT_$LINE"
3241 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3245 eval "$ac_cv_use_zlib"
3246 if test "$no_cache" != 1; then
3247 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3250 if test "$wxUSE_ZLIB" = yes; then
3251 echo "$as_me:$LINENO: result: yes" >&5
3252 echo "${ECHO_T}yes" >&6
3253 elif test "$wxUSE_ZLIB" = no
; then
3254 echo "$as_me:$LINENO: result: no" >&5
3255 echo "${ECHO_T}no" >&6
3256 elif test "$wxUSE_ZLIB" = sys
; then
3257 echo "$as_me:$LINENO: result: system version" >&5
3258 echo "${ECHO_T}system version" >&6
3259 elif test "$wxUSE_ZLIB" = builtin; then
3260 echo "$as_me:$LINENO: result: builtin version" >&5
3261 echo "${ECHO_T}builtin version" >&6
3263 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3264 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3265 { (exit 1); exit 1; }; }
3269 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3270 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3273 # Check whether --with-odbc or --without-odbc was given.
3274 if test "${with_odbc+set}" = set; then
3275 withval
="$with_odbc"
3277 if test "$withval" = yes; then
3278 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3279 elif test "$withval" = no
; then
3280 ac_cv_use_odbc
='wxUSE_ODBC=no'
3281 elif test "$withval" = sys
; then
3282 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3283 elif test "$withval" = builtin; then
3284 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3286 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3287 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3288 { (exit 1); exit 1; }; }
3293 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3304 eval "$ac_cv_use_odbc"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_ODBC" = yes; then
3310 echo "$as_me:$LINENO: result: yes" >&5
3311 echo "${ECHO_T}yes" >&6
3312 elif test "$wxUSE_ODBC" = no
; then
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3315 elif test "$wxUSE_ODBC" = sys
; then
3316 echo "$as_me:$LINENO: result: system version" >&5
3317 echo "${ECHO_T}system version" >&6
3318 elif test "$wxUSE_ODBC" = builtin; then
3319 echo "$as_me:$LINENO: result: builtin version" >&5
3320 echo "${ECHO_T}builtin version" >&6
3322 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3323 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3324 { (exit 1); exit 1; }; }
3328 echo "$as_me:$LINENO: checking for --with-expat" >&5
3329 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3332 # Check whether --with-expat or --without-expat was given.
3333 if test "${with_expat+set}" = set; then
3334 withval
="$with_expat"
3336 if test "$withval" = yes; then
3337 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3338 elif test "$withval" = no
; then
3339 ac_cv_use_expat
='wxUSE_EXPAT=no'
3340 elif test "$withval" = sys
; then
3341 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3342 elif test "$withval" = builtin; then
3343 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3345 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3346 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3347 { (exit 1); exit 1; }; }
3352 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3363 eval "$ac_cv_use_expat"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_EXPAT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 elif test "$wxUSE_EXPAT" = no
; then
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 elif test "$wxUSE_EXPAT" = sys
; then
3375 echo "$as_me:$LINENO: result: system version" >&5
3376 echo "${ECHO_T}system version" >&6
3377 elif test "$wxUSE_EXPAT" = builtin; then
3378 echo "$as_me:$LINENO: result: builtin version" >&5
3379 echo "${ECHO_T}builtin version" >&6
3381 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3382 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3383 { (exit 1); exit 1; }; }
3390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3393 # Check whether --enable-shared or --disable-shared was given.
3394 if test "${enable_shared+set}" = set; then
3395 enableval
="$enable_shared"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_shared
='wxUSE_SHARED=yes'
3400 ac_cv_use_shared
='wxUSE_SHARED=no'
3405 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3416 eval "$ac_cv_use_shared"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_SHARED" = yes; then
3422 echo "$as_me:$LINENO: result: yes" >&5
3423 echo "${ECHO_T}yes" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3432 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3434 # Check whether --enable-optimise or --disable-optimise was given.
3435 if test "${enable_optimise+set}" = set; then
3436 enableval
="$enable_optimise"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3441 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3446 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3457 eval "$ac_cv_use_optimise"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_OPTIMISE" = yes; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3475 # Check whether --enable-debug or --disable-debug was given.
3476 if test "${enable_debug+set}" = set; then
3477 enableval
="$enable_debug"
3479 if test "$enableval" = yes; then
3480 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3482 ac_cv_use_debug
='wxUSE_DEBUG=no'
3487 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x
; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3498 eval "$ac_cv_use_debug"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_DEBUG" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3514 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3516 # Check whether --enable-stl or --disable-stl was given.
3517 if test "${enable_stl+set}" = set; then
3518 enableval
="$enable_stl"
3520 if test "$enableval" = yes; then
3521 ac_cv_use_stl
='wxUSE_STL=yes'
3523 ac_cv_use_stl
='wxUSE_STL=no'
3528 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x
; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3539 eval "$ac_cv_use_stl"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_STL" = yes; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3552 if test "$USE_OS2" = "1"; then
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3556 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3558 # Check whether --enable-omf or --disable-omf was given.
3559 if test "${enable_omf+set}" = set; then
3560 enableval
="$enable_omf"
3562 if test "$enableval" = yes; then
3563 ac_cv_use_omf
='wxUSE_OMF=yes'
3565 ac_cv_use_omf
='wxUSE_OMF=no'
3570 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x
; then
3572 eval "DEFAULT_$LINE"
3577 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3581 eval "$ac_cv_use_omf"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_OMF" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3596 if test "$wxUSE_DEBUG" = "yes"; then
3597 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3598 DEFAULT_wxUSE_DEBUG_INFO
=yes
3600 elif test "$wxUSE_DEBUG" = "no"; then
3601 DEFAULT_wxUSE_DEBUG_FLAG
=no
3602 DEFAULT_wxUSE_DEBUG_INFO
=no
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3611 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3612 if test "${enable_debug_flag+set}" = set; then
3613 enableval
="$enable_debug_flag"
3615 if test "$enableval" = yes; then
3616 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3618 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3623 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3634 eval "$ac_cv_use_debug_flag"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_DEBUG_FLAG" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3652 # Check whether --enable-debug_info or --disable-debug_info was given.
3653 if test "${enable_debug_info+set}" = set; then
3654 enableval
="$enable_debug_info"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3659 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3664 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3675 eval "$ac_cv_use_debug_info"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_DEBUG_INFO" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3693 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3694 if test "${enable_debug_gdb+set}" = set; then
3695 enableval
="$enable_debug_gdb"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3700 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3705 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x
; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3716 eval "$ac_cv_use_debug_gdb"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DEBUG_GDB" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3734 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3735 if test "${enable_debug_cntxt+set}" = set; then
3736 enableval
="$enable_debug_cntxt"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3741 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3746 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3757 eval "$ac_cv_use_debug_cntxt"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3775 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3776 if test "${enable_mem_tracing+set}" = set; then
3777 enableval
="$enable_mem_tracing"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3782 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3787 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3798 eval "$ac_cv_use_mem_tracing"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3803 if test "$wxUSE_MEM_TRACING" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3814 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3816 # Check whether --enable-profile or --disable-profile was given.
3817 if test "${enable_profile+set}" = set; then
3818 enableval
="$enable_profile"
3820 if test "$enableval" = yes; then
3821 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3823 ac_cv_use_profile
='wxUSE_PROFILE=no'
3828 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x
; then
3830 eval "DEFAULT_$LINE"
3835 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3839 eval "$ac_cv_use_profile"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3844 if test "$wxUSE_PROFILE" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846 echo "${ECHO_T}yes" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3857 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3858 if test "${enable_no_rtti+set}" = set; then
3859 enableval
="$enable_no_rtti"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3864 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3869 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x
; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3880 eval "$ac_cv_use_no_rtti"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_NO_RTTI" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3898 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3899 if test "${enable_no_exceptions+set}" = set; then
3900 enableval
="$enable_no_exceptions"
3902 if test "$enableval" = yes; then
3903 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3905 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3910 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x
; then
3912 eval "DEFAULT_$LINE"
3917 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3921 eval "$ac_cv_use_no_exceptions"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3939 # Check whether --enable-permissive or --disable-permissive was given.
3940 if test "${enable_permissive+set}" = set; then
3941 enableval
="$enable_permissive"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3946 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3951 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3962 eval "$ac_cv_use_permissive"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3967 if test "$wxUSE_PERMISSIVE" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3980 # Check whether --enable-no_deps or --disable-no_deps was given.
3981 if test "${enable_no_deps+set}" = set; then
3982 enableval
="$enable_no_deps"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3987 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3992 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4003 eval "$ac_cv_use_no_deps"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_NO_DEPS" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4022 # Check whether --enable-compat22 or --disable-compat22 was given.
4023 if test "${enable_compat22+set}" = set; then
4024 enableval
="$enable_compat22"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4029 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4034 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x
; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4045 eval "$ac_cv_use_compat22"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4050 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4059 enablestring
=disable
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4063 # Check whether --enable-compat24 or --disable-compat24 was given.
4064 if test "${enable_compat24+set}" = set; then
4065 enableval
="$enable_compat24"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4070 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4075 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x
; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4086 eval "$ac_cv_use_compat24"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4091 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4100 # Check whether --enable-rpath or --disable-rpath was given.
4101 if test "${enable_rpath+set}" = set; then
4102 enableval
="$enable_rpath"
4103 wxRPATH_DIR
="$enableval"
4106 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4107 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4117 # Check whether --enable-intl or --disable-intl was given.
4118 if test "${enable_intl+set}" = set; then
4119 enableval
="$enable_intl"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_intl
='wxUSE_INTL=yes'
4124 ac_cv_use_intl
='wxUSE_INTL=no'
4129 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4140 eval "$ac_cv_use_intl"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_INTL" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4158 # Check whether --enable-config or --disable-config was given.
4159 if test "${enable_config+set}" = set; then
4160 enableval
="$enable_config"
4162 if test "$enableval" = yes; then
4163 ac_cv_use_config
='wxUSE_CONFIG=yes'
4165 ac_cv_use_config
='wxUSE_CONFIG=no'
4170 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x
; then
4172 eval "DEFAULT_$LINE"
4177 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4181 eval "$ac_cv_use_config"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4186 if test "$wxUSE_CONFIG" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4198 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4200 # Check whether --enable-protocols or --disable-protocols was given.
4201 if test "${enable_protocols+set}" = set; then
4202 enableval
="$enable_protocols"
4204 if test "$enableval" = yes; then
4205 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4207 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4212 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x
; then
4214 eval "DEFAULT_$LINE"
4219 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4223 eval "$ac_cv_use_protocols"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_PROTOCOL" = yes; then
4229 echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4239 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4241 # Check whether --enable-ftp or --disable-ftp was given.
4242 if test "${enable_ftp+set}" = set; then
4243 enableval
="$enable_ftp"
4245 if test "$enableval" = yes; then
4246 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4248 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4253 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x
; then
4255 eval "DEFAULT_$LINE"
4260 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4264 eval "$ac_cv_use_ftp"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4270 echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4282 # Check whether --enable-http or --disable-http was given.
4283 if test "${enable_http+set}" = set; then
4284 enableval
="$enable_http"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4289 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4294 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4305 eval "$ac_cv_use_http"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4310 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4323 # Check whether --enable-fileproto or --disable-fileproto was given.
4324 if test "${enable_fileproto+set}" = set; then
4325 enableval
="$enable_fileproto"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4330 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4335 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4346 eval "$ac_cv_use_fileproto"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4351 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4362 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4364 # Check whether --enable-sockets or --disable-sockets was given.
4365 if test "${enable_sockets+set}" = set; then
4366 enableval
="$enable_sockets"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4371 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4376 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x
; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4387 eval "$ac_cv_use_sockets"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4392 if test "$wxUSE_SOCKETS" = yes; then
4393 echo "$as_me:$LINENO: result: yes" >&5
4394 echo "${ECHO_T}yes" >&6
4396 echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6
4402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4403 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4405 # Check whether --enable-ole or --disable-ole was given.
4406 if test "${enable_ole+set}" = set; then
4407 enableval
="$enable_ole"
4409 if test "$enableval" = yes; then
4410 ac_cv_use_ole
='wxUSE_OLE=yes'
4412 ac_cv_use_ole
='wxUSE_OLE=no'
4417 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x
; then
4419 eval "DEFAULT_$LINE"
4424 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4428 eval "$ac_cv_use_ole"
4429 if test "$no_cache" != 1; then
4430 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4433 if test "$wxUSE_OLE" = yes; then
4434 echo "$as_me:$LINENO: result: yes" >&5
4435 echo "${ECHO_T}yes" >&6
4437 echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6
4443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4444 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4446 # Check whether --enable-dataobj or --disable-dataobj was given.
4447 if test "${enable_dataobj+set}" = set; then
4448 enableval
="$enable_dataobj"
4450 if test "$enableval" = yes; then
4451 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4453 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4458 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x
; then
4460 eval "DEFAULT_$LINE"
4465 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4469 eval "$ac_cv_use_dataobj"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4474 if test "$wxUSE_DATAOBJ" = yes; then
4475 echo "$as_me:$LINENO: result: yes" >&5
4476 echo "${ECHO_T}yes" >&6
4478 echo "$as_me:$LINENO: result: no" >&5
4479 echo "${ECHO_T}no" >&6
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4488 # Check whether --enable-ipc or --disable-ipc was given.
4489 if test "${enable_ipc+set}" = set; then
4490 enableval
="$enable_ipc"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_ipc
='wxUSE_IPC=yes'
4495 ac_cv_use_ipc
='wxUSE_IPC=no'
4500 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x
; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4511 eval "$ac_cv_use_ipc"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4516 if test "$wxUSE_IPC" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4530 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4531 if test "${enable_apple_ieee+set}" = set; then
4532 enableval
="$enable_apple_ieee"
4534 if test "$enableval" = yes; then
4535 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4537 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4542 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x
; then
4544 eval "DEFAULT_$LINE"
4549 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4553 eval "$ac_cv_use_apple_ieee"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_APPLE_IEEE" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4571 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4572 if test "${enable_catch_segvs+set}" = set; then
4573 enableval
="$enable_catch_segvs"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4578 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4583 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4594 eval "$ac_cv_use_catch_segvs"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4599 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601 echo "${ECHO_T}yes" >&6
4603 echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4612 # Check whether --enable-cmdline or --disable-cmdline was given.
4613 if test "${enable_cmdline+set}" = set; then
4614 enableval
="$enable_cmdline"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4619 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4624 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4635 eval "$ac_cv_use_cmdline"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4640 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4653 # Check whether --enable-datetime or --disable-datetime was given.
4654 if test "${enable_datetime+set}" = set; then
4655 enableval
="$enable_datetime"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4660 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4665 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4676 eval "$ac_cv_use_datetime"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_DATETIME" = yes; then
4682 echo "$as_me:$LINENO: result: yes" >&5
4683 echo "${ECHO_T}yes" >&6
4685 echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6
4691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4694 # Check whether --enable-dialupman or --disable-dialupman was given.
4695 if test "${enable_dialupman+set}" = set; then
4696 enableval
="$enable_dialupman"
4698 if test "$enableval" = yes; then
4699 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4701 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4706 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x
; then
4708 eval "DEFAULT_$LINE"
4713 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4717 eval "$ac_cv_use_dialupman"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4723 echo "$as_me:$LINENO: result: yes" >&5
4724 echo "${ECHO_T}yes" >&6
4726 echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4735 # Check whether --enable-dynlib or --disable-dynlib was given.
4736 if test "${enable_dynlib+set}" = set; then
4737 enableval
="$enable_dynlib"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4742 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4747 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4758 eval "$ac_cv_use_dynlib"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4776 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4777 if test "${enable_dynamicloader+set}" = set; then
4778 enableval
="$enable_dynamicloader"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4783 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4788 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x
; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4799 eval "$ac_cv_use_dynamicloader"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4804 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4817 # Check whether --enable-exceptions or --disable-exceptions was given.
4818 if test "${enable_exceptions+set}" = set; then
4819 enableval
="$enable_exceptions"
4821 if test "$enableval" = yes; then
4822 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4824 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4829 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x
; then
4831 eval "DEFAULT_$LINE"
4836 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4840 eval "$ac_cv_use_exceptions"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_EXCEPTIONS" = yes; then
4846 echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4858 # Check whether --enable-ffile or --disable-ffile was given.
4859 if test "${enable_ffile+set}" = set; then
4860 enableval
="$enable_ffile"
4862 if test "$enableval" = yes; then
4863 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4865 ac_cv_use_ffile
='wxUSE_FFILE=no'
4870 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x
; then
4872 eval "DEFAULT_$LINE"
4877 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4881 eval "$ac_cv_use_ffile"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4886 if test "$wxUSE_FFILE" = yes; then
4887 echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4899 # Check whether --enable-file or --disable-file was given.
4900 if test "${enable_file+set}" = set; then
4901 enableval
="$enable_file"
4903 if test "$enableval" = yes; then
4904 ac_cv_use_file
='wxUSE_FILE=yes'
4906 ac_cv_use_file
='wxUSE_FILE=no'
4911 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x
; then
4913 eval "DEFAULT_$LINE"
4918 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4922 eval "$ac_cv_use_file"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_FILE" = yes; then
4928 echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4940 # Check whether --enable-filesystem or --disable-filesystem was given.
4941 if test "${enable_filesystem+set}" = set; then
4942 enableval
="$enable_filesystem"
4944 if test "$enableval" = yes; then
4945 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4947 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4952 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x
; then
4954 eval "DEFAULT_$LINE"
4959 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4963 eval "$ac_cv_use_filesystem"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_FILESYSTEM" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4981 # Check whether --enable-fontmap or --disable-fontmap was given.
4982 if test "${enable_fontmap+set}" = set; then
4983 enableval
="$enable_fontmap"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4988 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4993 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5004 eval "$ac_cv_use_fontmap"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5009 if test "$wxUSE_FONTMAP" = yes; then
5010 echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6
5013 echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6
5019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5022 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5023 if test "${enable_fs_inet+set}" = set; then
5024 enableval
="$enable_fs_inet"
5026 if test "$enableval" = yes; then
5027 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5029 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5034 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x
; then
5036 eval "DEFAULT_$LINE"
5041 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5045 eval "$ac_cv_use_fs_inet"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_FS_INET" = yes; then
5051 echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5063 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5064 if test "${enable_fs_zip+set}" = set; then
5065 enableval
="$enable_fs_zip"
5067 if test "$enableval" = yes; then
5068 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5070 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5075 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5082 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5086 eval "$ac_cv_use_fs_zip"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_FS_ZIP" = yes; then
5092 echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5104 # Check whether --enable-geometry or --disable-geometry was given.
5105 if test "${enable_geometry+set}" = set; then
5106 enableval
="$enable_geometry"
5108 if test "$enableval" = yes; then
5109 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5111 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5116 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x
; then
5118 eval "DEFAULT_$LINE"
5123 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5127 eval "$ac_cv_use_geometry"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5132 if test "$wxUSE_GEOMETRY" = yes; then
5133 echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6
5136 echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6
5142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5145 # Check whether --enable-log or --disable-log was given.
5146 if test "${enable_log+set}" = set; then
5147 enableval
="$enable_log"
5149 if test "$enableval" = yes; then
5150 ac_cv_use_log
='wxUSE_LOG=yes'
5152 ac_cv_use_log
='wxUSE_LOG=no'
5157 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5164 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5168 eval "$ac_cv_use_log"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_LOG" = yes; then
5174 echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6
5177 echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5186 # Check whether --enable-longlong or --disable-longlong was given.
5187 if test "${enable_longlong+set}" = set; then
5188 enableval
="$enable_longlong"
5190 if test "$enableval" = yes; then
5191 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5193 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5198 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x
; then
5200 eval "DEFAULT_$LINE"
5205 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5209 eval "$ac_cv_use_longlong"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5214 if test "$wxUSE_LONGLONG" = yes; then
5215 echo "$as_me:$LINENO: result: yes" >&5
5216 echo "${ECHO_T}yes" >&6
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5225 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5227 # Check whether --enable-mimetype or --disable-mimetype was given.
5228 if test "${enable_mimetype+set}" = set; then
5229 enableval
="$enable_mimetype"
5231 if test "$enableval" = yes; then
5232 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5234 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5239 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5240 if test "x$LINE" != x
; then
5241 eval "DEFAULT_$LINE"
5246 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5250 eval "$ac_cv_use_mimetype"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5255 if test "$wxUSE_MIMETYPE" = yes; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5268 # Check whether --enable-mslu or --disable-mslu was given.
5269 if test "${enable_mslu+set}" = set; then
5270 enableval
="$enable_mslu"
5272 if test "$enableval" = yes; then
5273 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5275 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5280 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x
; then
5282 eval "DEFAULT_$LINE"
5287 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5291 eval "$ac_cv_use_mslu"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5296 if test "$wxUSE_UNICODE_MSLU" = yes; then
5297 echo "$as_me:$LINENO: result: yes" >&5
5298 echo "${ECHO_T}yes" >&6
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5309 # Check whether --enable-snglinst or --disable-snglinst was given.
5310 if test "${enable_snglinst+set}" = set; then
5311 enableval
="$enable_snglinst"
5313 if test "$enableval" = yes; then
5314 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5316 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5321 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x
; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5332 eval "$ac_cv_use_snglinst"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5337 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339 echo "${ECHO_T}yes" >&6
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5350 # Check whether --enable-streams or --disable-streams was given.
5351 if test "${enable_streams+set}" = set; then
5352 enableval
="$enable_streams"
5354 if test "$enableval" = yes; then
5355 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5357 ac_cv_use_streams
='wxUSE_STREAMS=no'
5362 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x
; then
5364 eval "DEFAULT_$LINE"
5369 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5373 eval "$ac_cv_use_streams"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5378 if test "$wxUSE_STREAMS" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380 echo "${ECHO_T}yes" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5391 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5392 if test "${enable_std_iostreams+set}" = set; then
5393 enableval
="$enable_std_iostreams"
5395 if test "$enableval" = yes; then
5396 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5398 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5403 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x
; then
5405 eval "DEFAULT_$LINE"
5410 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5414 eval "$ac_cv_use_std_iostreams"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5419 if test "$wxUSE_STD_IOSTREAM" = yes; then
5420 echo "$as_me:$LINENO: result: yes" >&5
5421 echo "${ECHO_T}yes" >&6
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5432 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5433 if test "${enable_stopwatch+set}" = set; then
5434 enableval
="$enable_stopwatch"
5436 if test "$enableval" = yes; then
5437 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5439 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5444 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5445 if test "x$LINE" != x
; then
5446 eval "DEFAULT_$LINE"
5451 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5455 eval "$ac_cv_use_stopwatch"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_STOPWATCH" = yes; then
5461 echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5473 # Check whether --enable-system_options or --disable-system_options was given.
5474 if test "${enable_system_options+set}" = set; then
5475 enableval
="$enable_system_options"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5480 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5485 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5496 eval "$ac_cv_use_system_options"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5514 # Check whether --enable-textbuf or --disable-textbuf was given.
5515 if test "${enable_textbuf+set}" = set; then
5516 enableval
="$enable_textbuf"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5521 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5526 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x
; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5537 eval "$ac_cv_use_textbuf"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_TEXTBUFFER" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5555 # Check whether --enable-textfile or --disable-textfile was given.
5556 if test "${enable_textfile+set}" = set; then
5557 enableval
="$enable_textfile"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5562 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5567 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x
; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5578 eval "$ac_cv_use_textfile"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_TEXTFILE" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5596 # Check whether --enable-timer or --disable-timer was given.
5597 if test "${enable_timer+set}" = set; then
5598 enableval
="$enable_timer"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_timer
='wxUSE_TIMER=yes'
5603 ac_cv_use_timer
='wxUSE_TIMER=no'
5608 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x
; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5619 eval "$ac_cv_use_timer"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_TIMER" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5637 # Check whether --enable-unicode or --disable-unicode was given.
5638 if test "${enable_unicode+set}" = set; then
5639 enableval
="$enable_unicode"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5644 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5649 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x
; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5660 eval "$ac_cv_use_unicode"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_UNICODE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5678 # Check whether --enable-sound or --disable-sound was given.
5679 if test "${enable_sound+set}" = set; then
5680 enableval
="$enable_sound"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_sound
='wxUSE_SOUND=yes'
5685 ac_cv_use_sound
='wxUSE_SOUND=no'
5690 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x
; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5701 eval "$ac_cv_use_sound"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_SOUND" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5719 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5720 if test "${enable_wxprintfv+set}" = set; then
5721 enableval
="$enable_wxprintfv"
5723 if test "$enableval" = yes; then
5724 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5726 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5731 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x
; then
5733 eval "DEFAULT_$LINE"
5738 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5742 eval "$ac_cv_use_wxprintfv"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5747 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5748 echo "$as_me:$LINENO: result: yes" >&5
5749 echo "${ECHO_T}yes" >&6
5751 echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6
5757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5760 # Check whether --enable-zipstream or --disable-zipstream was given.
5761 if test "${enable_zipstream+set}" = set; then
5762 enableval
="$enable_zipstream"
5764 if test "$enableval" = yes; then
5765 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5767 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5772 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x
; then
5774 eval "DEFAULT_$LINE"
5779 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5783 eval "$ac_cv_use_zipstream"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5788 if test "$wxUSE_ZIPSTREAM" = yes; then
5789 echo "$as_me:$LINENO: result: yes" >&5
5790 echo "${ECHO_T}yes" >&6
5792 echo "$as_me:$LINENO: result: no" >&5
5793 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5802 # Check whether --enable-url or --disable-url was given.
5803 if test "${enable_url+set}" = set; then
5804 enableval
="$enable_url"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_url
='wxUSE_URL=yes'
5809 ac_cv_use_url
='wxUSE_URL=no'
5814 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5825 eval "$ac_cv_use_url"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_URL" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5843 # Check whether --enable-protocol or --disable-protocol was given.
5844 if test "${enable_protocol+set}" = set; then
5845 enableval
="$enable_protocol"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5850 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5855 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5866 eval "$ac_cv_use_protocol"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_PROTOCOL" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5884 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5885 if test "${enable_protocol_http+set}" = set; then
5886 enableval
="$enable_protocol_http"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5891 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5896 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5907 eval "$ac_cv_use_protocol_http"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5925 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5926 if test "${enable_protocol_ftp+set}" = set; then
5927 enableval
="$enable_protocol_ftp"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5932 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5937 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5948 eval "$ac_cv_use_protocol_ftp"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5966 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5967 if test "${enable_protocol_file+set}" = set; then
5968 enableval
="$enable_protocol_file"
5970 if test "$enableval" = yes; then
5971 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5973 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5978 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x
; then
5980 eval "DEFAULT_$LINE"
5985 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5989 eval "$ac_cv_use_protocol_file"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6010 # Check whether --enable-threads or --disable-threads was given.
6011 if test "${enable_threads+set}" = set; then
6012 enableval
="$enable_threads"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_threads
='wxUSE_THREADS=yes'
6017 ac_cv_use_threads
='wxUSE_THREADS=no'
6022 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6033 eval "$ac_cv_use_threads"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_THREADS" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6047 if test "$wxUSE_GUI" = "yes"; then
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6055 # Check whether --enable-docview or --disable-docview was given.
6056 if test "${enable_docview+set}" = set; then
6057 enableval
="$enable_docview"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6062 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6067 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6078 eval "$ac_cv_use_docview"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6096 # Check whether --enable-help or --disable-help was given.
6097 if test "${enable_help+set}" = set; then
6098 enableval
="$enable_help"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_help
='wxUSE_HELP=yes'
6103 ac_cv_use_help
='wxUSE_HELP=no'
6108 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6119 eval "$ac_cv_use_help"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_HELP" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6137 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6138 if test "${enable_mshtmlhelp+set}" = set; then
6139 enableval
="$enable_mshtmlhelp"
6141 if test "$enableval" = yes; then
6142 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6144 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6149 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x
; then
6151 eval "DEFAULT_$LINE"
6156 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6160 eval "$ac_cv_use_mshtmlhelp"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_MS_HTML_HELP" = yes; then
6166 echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6
6169 echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6178 # Check whether --enable-html or --disable-html was given.
6179 if test "${enable_html+set}" = set; then
6180 enableval
="$enable_html"
6182 if test "$enableval" = yes; then
6183 ac_cv_use_html
='wxUSE_HTML=yes'
6185 ac_cv_use_html
='wxUSE_HTML=no'
6190 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x
; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6201 eval "$ac_cv_use_html"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_HTML" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6219 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6220 if test "${enable_htmlhelp+set}" = set; then
6221 enableval
="$enable_htmlhelp"
6223 if test "$enableval" = yes; then
6224 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6226 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6231 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x
; then
6233 eval "DEFAULT_$LINE"
6238 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6242 eval "$ac_cv_use_htmlhelp"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6247 if test "$wxUSE_WXHTML_HELP" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6260 # Check whether --enable-constraints or --disable-constraints was given.
6261 if test "${enable_constraints+set}" = set; then
6262 enableval
="$enable_constraints"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6267 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6272 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6283 eval "$ac_cv_use_constraints"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_CONSTRAINTS" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6301 # Check whether --enable-printarch or --disable-printarch was given.
6302 if test "${enable_printarch+set}" = set; then
6303 enableval
="$enable_printarch"
6305 if test "$enableval" = yes; then
6306 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6308 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6313 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x
; then
6315 eval "DEFAULT_$LINE"
6320 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6324 eval "$ac_cv_use_printarch"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6330 echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6
6333 echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6
6339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6342 # Check whether --enable-mdi or --disable-mdi was given.
6343 if test "${enable_mdi+set}" = set; then
6344 enableval
="$enable_mdi"
6346 if test "$enableval" = yes; then
6347 ac_cv_use_mdi
='wxUSE_MDI=yes'
6349 ac_cv_use_mdi
='wxUSE_MDI=no'
6354 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x
; then
6356 eval "DEFAULT_$LINE"
6361 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6365 eval "$ac_cv_use_mdi"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_MDI" = yes; then
6371 echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6
6374 echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6
6380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6383 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6384 if test "${enable_mdidoc+set}" = set; then
6385 enableval
="$enable_mdidoc"
6387 if test "$enableval" = yes; then
6388 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6390 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6395 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x
; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6406 eval "$ac_cv_use_mdidoc"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6411 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6412 echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6
6415 echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6
6421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6422 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6424 # Check whether --enable-loggui or --disable-loggui was given.
6425 if test "${enable_loggui+set}" = set; then
6426 enableval
="$enable_loggui"
6428 if test "$enableval" = yes; then
6429 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6431 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6436 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x
; then
6438 eval "DEFAULT_$LINE"
6443 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6447 eval "$ac_cv_use_loggui"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_LOGGUI" = yes; then
6453 echo "$as_me:$LINENO: result: yes" >&5
6454 echo "${ECHO_T}yes" >&6
6456 echo "$as_me:$LINENO: result: no" >&5
6457 echo "${ECHO_T}no" >&6
6462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6465 # Check whether --enable-logwin or --disable-logwin was given.
6466 if test "${enable_logwin+set}" = set; then
6467 enableval
="$enable_logwin"
6469 if test "$enableval" = yes; then
6470 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6472 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6477 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6478 if test "x$LINE" != x
; then
6479 eval "DEFAULT_$LINE"
6484 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6488 eval "$ac_cv_use_logwin"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6493 if test "$wxUSE_LOGWINDOW" = yes; then
6494 echo "$as_me:$LINENO: result: yes" >&5
6495 echo "${ECHO_T}yes" >&6
6497 echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6
6503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6504 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6506 # Check whether --enable-logdialog or --disable-logdialog was given.
6507 if test "${enable_logdialog+set}" = set; then
6508 enableval
="$enable_logdialog"
6510 if test "$enableval" = yes; then
6511 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6513 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6518 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x
; then
6520 eval "DEFAULT_$LINE"
6525 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6529 eval "$ac_cv_use_logdialog"
6530 if test "$no_cache" != 1; then
6531 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6534 if test "$wxUSE_LOGDIALOG" = yes; then
6535 echo "$as_me:$LINENO: result: yes" >&5
6536 echo "${ECHO_T}yes" >&6
6538 echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6
6544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6545 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6547 # Check whether --enable-webkit or --disable-webkit was given.
6548 if test "${enable_webkit+set}" = set; then
6549 enableval
="$enable_webkit"
6551 if test "$enableval" = yes; then
6552 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6554 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6559 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x
; then
6561 eval "DEFAULT_$LINE"
6566 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6570 eval "$ac_cv_use_webkit"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6575 if test "$wxUSE_WEBKIT" = yes; then
6576 echo "$as_me:$LINENO: result: yes" >&5
6577 echo "${ECHO_T}yes" >&6
6579 echo "$as_me:$LINENO: result: no" >&5
6580 echo "${ECHO_T}no" >&6
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6589 # Check whether --enable-postscript or --disable-postscript was given.
6590 if test "${enable_postscript+set}" = set; then
6591 enableval
="$enable_postscript"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6596 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6601 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6612 eval "$ac_cv_use_postscript"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_POSTSCRIPT" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6633 # Check whether --enable-prologio or --disable-prologio was given.
6634 if test "${enable_prologio+set}" = set; then
6635 enableval
="$enable_prologio"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6640 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6645 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6656 eval "$ac_cv_use_prologio"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6661 if test "$wxUSE_PROLOGIO" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6674 # Check whether --enable-resources or --disable-resources was given.
6675 if test "${enable_resources+set}" = set; then
6676 enableval
="$enable_resources"
6678 if test "$enableval" = yes; then
6679 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6681 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6686 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x
; then
6688 eval "DEFAULT_$LINE"
6693 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6697 eval "$ac_cv_use_resources"
6698 if test "$no_cache" != 1; then
6699 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6702 if test "$wxUSE_RESOURCES" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6717 # Check whether --enable-clipboard or --disable-clipboard was given.
6718 if test "${enable_clipboard+set}" = set; then
6719 enableval
="$enable_clipboard"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6724 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6729 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x
; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6740 eval "$ac_cv_use_clipboard"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_CLIPBOARD" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6758 # Check whether --enable-dnd or --disable-dnd was given.
6759 if test "${enable_dnd+set}" = set; then
6760 enableval
="$enable_dnd"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6765 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6770 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6781 eval "$ac_cv_use_dnd"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6799 # Check whether --enable-metafile or --disable-metafile was given.
6800 if test "${enable_metafile+set}" = set; then
6801 enableval
="$enable_metafile"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6806 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6811 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6822 eval "$ac_cv_use_metafile"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_METAFILE" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6843 # Check whether --enable-controls or --disable-controls was given.
6844 if test "${enable_controls+set}" = set; then
6845 enableval
="$enable_controls"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6850 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6855 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6866 eval "$ac_cv_use_controls"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_CONTROLS" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6880 if test "$wxUSE_CONTROLS" = "yes"; then
6881 DEFAULT_wxUSE_ACCEL
=yes
6882 DEFAULT_wxUSE_BMPBUTTON
=yes
6883 DEFAULT_wxUSE_BUTTON
=yes
6884 DEFAULT_wxUSE_CALCTRL
=no
6885 DEFAULT_wxUSE_CARET
=yes
6886 DEFAULT_wxUSE_COMBOBOX
=yes
6887 DEFAULT_wxUSE_CHECKBOX
=yes
6888 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6889 DEFAULT_wxUSE_CHOICE
=yes
6890 DEFAULT_wxUSE_GAUGE
=yes
6891 DEFAULT_wxUSE_GRID
=yes
6892 DEFAULT_wxUSE_IMAGLIST
=yes
6893 DEFAULT_wxUSE_LISTBOOK
=yes
6894 DEFAULT_wxUSE_LISTBOX
=yes
6895 DEFAULT_wxUSE_LISTCTRL
=yes
6896 DEFAULT_wxUSE_NOTEBOOK
=yes
6897 DEFAULT_wxUSE_RADIOBOX
=yes
6898 DEFAULT_wxUSE_RADIOBTN
=yes
6899 DEFAULT_wxUSE_SASH
=yes
6900 DEFAULT_wxUSE_SCROLLBAR
=yes
6901 DEFAULT_wxUSE_SLIDER
=yes
6902 DEFAULT_wxUSE_SPINBTN
=yes
6903 DEFAULT_wxUSE_SPINCTRL
=yes
6904 DEFAULT_wxUSE_SPLITTER
=yes
6905 DEFAULT_wxUSE_STATBMP
=yes
6906 DEFAULT_wxUSE_STATBOX
=yes
6907 DEFAULT_wxUSE_STATLINE
=yes
6908 DEFAULT_wxUSE_STATUSBAR
=yes
6909 DEFAULT_wxUSE_TAB_DIALOG
=yes
6910 DEFAULT_wxUSE_TOGGLEBTN
=yes
6911 DEFAULT_wxUSE_TOOLBAR
=yes
6912 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6913 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6914 DEFAULT_wxUSE_TOOLTIPS
=yes
6915 DEFAULT_wxUSE_TREECTRL
=yes
6916 DEFAULT_wxUSE_POPUPWIN
=yes
6917 DEFAULT_wxUSE_TIPWINDOW
=yes
6918 elif test "$wxUSE_CONTROLS" = "no"; then
6919 DEFAULT_wxUSE_ACCEL
=no
6920 DEFAULT_wxUSE_BMPBUTTON
=no
6921 DEFAULT_wxUSE_BUTTON
=no
6922 DEFAULT_wxUSE_CALCTRL
=no
6923 DEFAULT_wxUSE_CARET
=no
6924 DEFAULT_wxUSE_COMBOBOX
=no
6925 DEFAULT_wxUSE_CHECKBOX
=no
6926 DEFAULT_wxUSE_CHECKLISTBOX
=no
6927 DEFAULT_wxUSE_CHOICE
=no
6928 DEFAULT_wxUSE_GAUGE
=no
6929 DEFAULT_wxUSE_GRID
=no
6930 DEFAULT_wxUSE_IMAGLIST
=no
6931 DEFAULT_wxUSE_LISTBOOK
=no
6932 DEFAULT_wxUSE_LISTBOX
=no
6933 DEFAULT_wxUSE_LISTCTRL
=no
6934 DEFAULT_wxUSE_NOTEBOOK
=no
6935 DEFAULT_wxUSE_RADIOBOX
=no
6936 DEFAULT_wxUSE_RADIOBTN
=no
6937 DEFAULT_wxUSE_SASH
=no
6938 DEFAULT_wxUSE_SCROLLBAR
=no
6939 DEFAULT_wxUSE_SLIDER
=no
6940 DEFAULT_wxUSE_SPINBTN
=no
6941 DEFAULT_wxUSE_SPINCTRL
=no
6942 DEFAULT_wxUSE_SPLITTER
=no
6943 DEFAULT_wxUSE_STATBMP
=no
6944 DEFAULT_wxUSE_STATBOX
=no
6945 DEFAULT_wxUSE_STATLINE
=no
6946 DEFAULT_wxUSE_STATUSBAR
=no
6947 DEFAULT_wxUSE_TAB_DIALOG
=no
6948 DEFAULT_wxUSE_TOGGLEBTN
=no
6949 DEFAULT_wxUSE_TOOLBAR
=no
6950 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6951 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6952 DEFAULT_wxUSE_TOOLTIPS
=no
6953 DEFAULT_wxUSE_TREECTRL
=no
6954 DEFAULT_wxUSE_POPUPWIN
=no
6955 DEFAULT_wxUSE_TIPWINDOW
=no
6958 ## FIXME: This is a blatant hack
6959 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6960 wxUSE_PRINTING_ARCHITECTURE
=no
6961 wxUSE_DRAG_AND_DROP
=no
6962 DEFAULT_wxUSE_TOOLTIPS
=no
6963 DEFAULT_wxUSE_DRAGIMAGE
=no
6968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6971 # Check whether --enable-accel or --disable-accel was given.
6972 if test "${enable_accel+set}" = set; then
6973 enableval
="$enable_accel"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6978 ac_cv_use_accel
='wxUSE_ACCEL=no'
6983 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6994 eval "$ac_cv_use_accel"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_ACCEL" = yes; then
7000 echo "$as_me:$LINENO: result: yes" >&5
7001 echo "${ECHO_T}yes" >&6
7003 echo "$as_me:$LINENO: result: no" >&5
7004 echo "${ECHO_T}no" >&6
7009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7010 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7012 # Check whether --enable-button or --disable-button was given.
7013 if test "${enable_button+set}" = set; then
7014 enableval
="$enable_button"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_button
='wxUSE_BUTTON=yes'
7019 ac_cv_use_button
='wxUSE_BUTTON=no'
7024 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7035 eval "$ac_cv_use_button"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_BUTTON" = yes; then
7041 echo "$as_me:$LINENO: result: yes" >&5
7042 echo "${ECHO_T}yes" >&6
7044 echo "$as_me:$LINENO: result: no" >&5
7045 echo "${ECHO_T}no" >&6
7050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7051 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7053 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7054 if test "${enable_bmpbutton+set}" = set; then
7055 enableval
="$enable_bmpbutton"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7060 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7065 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7076 eval "$ac_cv_use_bmpbutton"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_BMPBUTTON" = yes; then
7082 echo "$as_me:$LINENO: result: yes" >&5
7083 echo "${ECHO_T}yes" >&6
7085 echo "$as_me:$LINENO: result: no" >&5
7086 echo "${ECHO_T}no" >&6
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7094 # Check whether --enable-calendar or --disable-calendar was given.
7095 if test "${enable_calendar+set}" = set; then
7096 enableval
="$enable_calendar"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7101 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7106 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7117 eval "$ac_cv_use_calendar"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7122 if test "$wxUSE_CALCTRL" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7135 # Check whether --enable-caret or --disable-caret was given.
7136 if test "${enable_caret+set}" = set; then
7137 enableval
="$enable_caret"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_caret
='wxUSE_CARET=yes'
7142 ac_cv_use_caret
='wxUSE_CARET=no'
7147 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7158 eval "$ac_cv_use_caret"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7163 if test "$wxUSE_CARET" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7176 # Check whether --enable-checkbox or --disable-checkbox was given.
7177 if test "${enable_checkbox+set}" = set; then
7178 enableval
="$enable_checkbox"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7183 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7188 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7199 eval "$ac_cv_use_checkbox"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_CHECKBOX" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7217 # Check whether --enable-checklst or --disable-checklst was given.
7218 if test "${enable_checklst+set}" = set; then
7219 enableval
="$enable_checklst"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7224 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7229 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7240 eval "$ac_cv_use_checklst"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CHECKLST" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7258 # Check whether --enable-choice or --disable-choice was given.
7259 if test "${enable_choice+set}" = set; then
7260 enableval
="$enable_choice"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7265 ac_cv_use_choice
='wxUSE_CHOICE=no'
7270 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7281 eval "$ac_cv_use_choice"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_CHOICE" = yes; then
7287 echo "$as_me:$LINENO: result: yes" >&5
7288 echo "${ECHO_T}yes" >&6
7290 echo "$as_me:$LINENO: result: no" >&5
7291 echo "${ECHO_T}no" >&6
7296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7299 # Check whether --enable-combobox or --disable-combobox was given.
7300 if test "${enable_combobox+set}" = set; then
7301 enableval
="$enable_combobox"
7303 if test "$enableval" = yes; then
7304 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7306 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7311 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x
; then
7313 eval "DEFAULT_$LINE"
7318 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7322 eval "$ac_cv_use_combobox"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_COMBOBOX" = yes; then
7328 echo "$as_me:$LINENO: result: yes" >&5
7329 echo "${ECHO_T}yes" >&6
7331 echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6
7337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7340 # Check whether --enable-display or --disable-display was given.
7341 if test "${enable_display+set}" = set; then
7342 enableval
="$enable_display"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7347 ac_cv_use_display
='wxUSE_DISPLAY=no'
7352 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7363 eval "$ac_cv_use_display"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_DISPLAY" = yes; then
7369 echo "$as_me:$LINENO: result: yes" >&5
7370 echo "${ECHO_T}yes" >&6
7372 echo "$as_me:$LINENO: result: no" >&5
7373 echo "${ECHO_T}no" >&6
7378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7381 # Check whether --enable-gauge or --disable-gauge was given.
7382 if test "${enable_gauge+set}" = set; then
7383 enableval
="$enable_gauge"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7388 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7393 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7404 eval "$ac_cv_use_gauge"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_GAUGE" = yes; then
7410 echo "$as_me:$LINENO: result: yes" >&5
7411 echo "${ECHO_T}yes" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7422 # Check whether --enable-grid or --disable-grid was given.
7423 if test "${enable_grid+set}" = set; then
7424 enableval
="$enable_grid"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_grid
='wxUSE_GRID=yes'
7429 ac_cv_use_grid
='wxUSE_GRID=no'
7434 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7445 eval "$ac_cv_use_grid"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_GRID" = yes; then
7451 echo "$as_me:$LINENO: result: yes" >&5
7452 echo "${ECHO_T}yes" >&6
7454 echo "$as_me:$LINENO: result: no" >&5
7455 echo "${ECHO_T}no" >&6
7460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7461 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7463 # Check whether --enable-imaglist or --disable-imaglist was given.
7464 if test "${enable_imaglist+set}" = set; then
7465 enableval
="$enable_imaglist"
7467 if test "$enableval" = yes; then
7468 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7470 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7475 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7476 if test "x$LINE" != x
; then
7477 eval "DEFAULT_$LINE"
7482 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7486 eval "$ac_cv_use_imaglist"
7487 if test "$no_cache" != 1; then
7488 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7491 if test "$wxUSE_IMAGLIST" = yes; then
7492 echo "$as_me:$LINENO: result: yes" >&5
7493 echo "${ECHO_T}yes" >&6
7495 echo "$as_me:$LINENO: result: no" >&5
7496 echo "${ECHO_T}no" >&6
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7504 # Check whether --enable-listbook or --disable-listbook was given.
7505 if test "${enable_listbook+set}" = set; then
7506 enableval
="$enable_listbook"
7508 if test "$enableval" = yes; then
7509 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7511 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7516 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x
; then
7518 eval "DEFAULT_$LINE"
7523 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7527 eval "$ac_cv_use_listbook"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_LISTBOOK" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7543 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7545 # Check whether --enable-listbox or --disable-listbox was given.
7546 if test "${enable_listbox+set}" = set; then
7547 enableval
="$enable_listbox"
7549 if test "$enableval" = yes; then
7550 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7552 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7557 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7558 if test "x$LINE" != x
; then
7559 eval "DEFAULT_$LINE"
7564 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7568 eval "$ac_cv_use_listbox"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_LISTBOX" = yes; then
7574 echo "$as_me:$LINENO: result: yes" >&5
7575 echo "${ECHO_T}yes" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7584 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7586 # Check whether --enable-listctrl or --disable-listctrl was given.
7587 if test "${enable_listctrl+set}" = set; then
7588 enableval
="$enable_listctrl"
7590 if test "$enableval" = yes; then
7591 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7593 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7598 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7599 if test "x$LINE" != x
; then
7600 eval "DEFAULT_$LINE"
7605 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7609 eval "$ac_cv_use_listctrl"
7610 if test "$no_cache" != 1; then
7611 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7614 if test "$wxUSE_LISTCTRL" = yes; then
7615 echo "$as_me:$LINENO: result: yes" >&5
7616 echo "${ECHO_T}yes" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7625 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7627 # Check whether --enable-notebook or --disable-notebook was given.
7628 if test "${enable_notebook+set}" = set; then
7629 enableval
="$enable_notebook"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7634 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7639 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7650 eval "$ac_cv_use_notebook"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7655 if test "$wxUSE_NOTEBOOK" = yes; then
7656 echo "$as_me:$LINENO: result: yes" >&5
7657 echo "${ECHO_T}yes" >&6
7659 echo "$as_me:$LINENO: result: no" >&5
7660 echo "${ECHO_T}no" >&6
7665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7668 # Check whether --enable-radiobox or --disable-radiobox was given.
7669 if test "${enable_radiobox+set}" = set; then
7670 enableval
="$enable_radiobox"
7672 if test "$enableval" = yes; then
7673 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7675 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7680 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7681 if test "x$LINE" != x
; then
7682 eval "DEFAULT_$LINE"
7687 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7691 eval "$ac_cv_use_radiobox"
7692 if test "$no_cache" != 1; then
7693 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7696 if test "$wxUSE_RADIOBOX" = yes; then
7697 echo "$as_me:$LINENO: result: yes" >&5
7698 echo "${ECHO_T}yes" >&6
7700 echo "$as_me:$LINENO: result: no" >&5
7701 echo "${ECHO_T}no" >&6
7706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7709 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7710 if test "${enable_radiobtn+set}" = set; then
7711 enableval
="$enable_radiobtn"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7716 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7721 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7732 eval "$ac_cv_use_radiobtn"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_RADIOBTN" = yes; then
7738 echo "$as_me:$LINENO: result: yes" >&5
7739 echo "${ECHO_T}yes" >&6
7741 echo "$as_me:$LINENO: result: no" >&5
7742 echo "${ECHO_T}no" >&6
7747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7750 # Check whether --enable-sash or --disable-sash was given.
7751 if test "${enable_sash+set}" = set; then
7752 enableval
="$enable_sash"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_sash
='wxUSE_SASH=yes'
7757 ac_cv_use_sash
='wxUSE_SASH=no'
7762 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x
; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7773 eval "$ac_cv_use_sash"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_SASH" = yes; then
7779 echo "$as_me:$LINENO: result: yes" >&5
7780 echo "${ECHO_T}yes" >&6
7782 echo "$as_me:$LINENO: result: no" >&5
7783 echo "${ECHO_T}no" >&6
7788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7789 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7791 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7792 if test "${enable_scrollbar+set}" = set; then
7793 enableval
="$enable_scrollbar"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7798 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7803 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7814 eval "$ac_cv_use_scrollbar"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_SCROLLBAR" = yes; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7823 echo "$as_me:$LINENO: result: no" >&5
7824 echo "${ECHO_T}no" >&6
7829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7832 # Check whether --enable-slider or --disable-slider was given.
7833 if test "${enable_slider+set}" = set; then
7834 enableval
="$enable_slider"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7839 ac_cv_use_slider
='wxUSE_SLIDER=no'
7844 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x
; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7855 eval "$ac_cv_use_slider"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_SLIDER" = yes; then
7861 echo "$as_me:$LINENO: result: yes" >&5
7862 echo "${ECHO_T}yes" >&6
7864 echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6
7870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7871 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7873 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7874 if test "${enable_spinbtn+set}" = set; then
7875 enableval
="$enable_spinbtn"
7877 if test "$enableval" = yes; then
7878 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7880 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7885 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x
; then
7887 eval "DEFAULT_$LINE"
7892 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7896 eval "$ac_cv_use_spinbtn"
7897 if test "$no_cache" != 1; then
7898 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7901 if test "$wxUSE_SPINBTN" = yes; then
7902 echo "$as_me:$LINENO: result: yes" >&5
7903 echo "${ECHO_T}yes" >&6
7905 echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6
7911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7912 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7914 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7915 if test "${enable_spinctrl+set}" = set; then
7916 enableval
="$enable_spinctrl"
7918 if test "$enableval" = yes; then
7919 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7921 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7926 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7927 if test "x$LINE" != x
; then
7928 eval "DEFAULT_$LINE"
7933 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7937 eval "$ac_cv_use_spinctrl"
7938 if test "$no_cache" != 1; then
7939 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7942 if test "$wxUSE_SPINCTRL" = yes; then
7943 echo "$as_me:$LINENO: result: yes" >&5
7944 echo "${ECHO_T}yes" >&6
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7953 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7955 # Check whether --enable-splitter or --disable-splitter was given.
7956 if test "${enable_splitter+set}" = set; then
7957 enableval
="$enable_splitter"
7959 if test "$enableval" = yes; then
7960 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7962 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7967 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7968 if test "x$LINE" != x
; then
7969 eval "DEFAULT_$LINE"
7974 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7978 eval "$ac_cv_use_splitter"
7979 if test "$no_cache" != 1; then
7980 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7983 if test "$wxUSE_SPLITTER" = yes; then
7984 echo "$as_me:$LINENO: result: yes" >&5
7985 echo "${ECHO_T}yes" >&6
7987 echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6
7993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7994 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7996 # Check whether --enable-statbmp or --disable-statbmp was given.
7997 if test "${enable_statbmp+set}" = set; then
7998 enableval
="$enable_statbmp"
8000 if test "$enableval" = yes; then
8001 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8003 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8008 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8009 if test "x$LINE" != x
; then
8010 eval "DEFAULT_$LINE"
8015 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8019 eval "$ac_cv_use_statbmp"
8020 if test "$no_cache" != 1; then
8021 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8024 if test "$wxUSE_STATBMP" = yes; then
8025 echo "$as_me:$LINENO: result: yes" >&5
8026 echo "${ECHO_T}yes" >&6
8028 echo "$as_me:$LINENO: result: no" >&5
8029 echo "${ECHO_T}no" >&6
8034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8037 # Check whether --enable-statbox or --disable-statbox was given.
8038 if test "${enable_statbox+set}" = set; then
8039 enableval
="$enable_statbox"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8044 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8049 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x
; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8060 eval "$ac_cv_use_statbox"
8061 if test "$no_cache" != 1; then
8062 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8065 if test "$wxUSE_STATBOX" = yes; then
8066 echo "$as_me:$LINENO: result: yes" >&5
8067 echo "${ECHO_T}yes" >&6
8069 echo "$as_me:$LINENO: result: no" >&5
8070 echo "${ECHO_T}no" >&6
8075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8076 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8078 # Check whether --enable-statline or --disable-statline was given.
8079 if test "${enable_statline+set}" = set; then
8080 enableval
="$enable_statline"
8082 if test "$enableval" = yes; then
8083 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8085 ac_cv_use_statline
='wxUSE_STATLINE=no'
8090 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8091 if test "x$LINE" != x
; then
8092 eval "DEFAULT_$LINE"
8097 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8101 eval "$ac_cv_use_statline"
8102 if test "$no_cache" != 1; then
8103 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8106 if test "$wxUSE_STATLINE" = yes; then
8107 echo "$as_me:$LINENO: result: yes" >&5
8108 echo "${ECHO_T}yes" >&6
8110 echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8119 # Check whether --enable-stattext or --disable-stattext was given.
8120 if test "${enable_stattext+set}" = set; then
8121 enableval
="$enable_stattext"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8126 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8131 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x
; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8142 eval "$ac_cv_use_stattext"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8147 if test "$wxUSE_STATTEXT" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8160 # Check whether --enable-statusbar or --disable-statusbar was given.
8161 if test "${enable_statusbar+set}" = set; then
8162 enableval
="$enable_statusbar"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8167 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8172 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8183 eval "$ac_cv_use_statusbar"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8188 if test "$wxUSE_STATUSBAR" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8201 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8202 if test "${enable_tabdialog+set}" = set; then
8203 enableval
="$enable_tabdialog"
8205 if test "$enableval" = yes; then
8206 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8208 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8213 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x
; then
8215 eval "DEFAULT_$LINE"
8220 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8224 eval "$ac_cv_use_tabdialog"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8229 if test "$wxUSE_TABDIALOG" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8242 # Check whether --enable-textctrl or --disable-textctrl was given.
8243 if test "${enable_textctrl+set}" = set; then
8244 enableval
="$enable_textctrl"
8246 if test "$enableval" = yes; then
8247 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8249 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8254 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x
; then
8256 eval "DEFAULT_$LINE"
8261 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8265 eval "$ac_cv_use_textctrl"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8270 if test "$wxUSE_TEXTCTRL" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8283 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8284 if test "${enable_togglebtn+set}" = set; then
8285 enableval
="$enable_togglebtn"
8287 if test "$enableval" = yes; then
8288 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8290 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8295 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x
; then
8297 eval "DEFAULT_$LINE"
8302 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8306 eval "$ac_cv_use_togglebtn"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8311 if test "$wxUSE_TOGGLEBTN" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8324 # Check whether --enable-toolbar or --disable-toolbar was given.
8325 if test "${enable_toolbar+set}" = set; then
8326 enableval
="$enable_toolbar"
8328 if test "$enableval" = yes; then
8329 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8331 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8336 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x
; then
8338 eval "DEFAULT_$LINE"
8343 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8347 eval "$ac_cv_use_toolbar"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8352 if test "$wxUSE_TOOLBAR" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8365 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8366 if test "${enable_tbarnative+set}" = set; then
8367 enableval
="$enable_tbarnative"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8372 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8377 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x
; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8388 eval "$ac_cv_use_tbarnative"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8393 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8406 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8407 if test "${enable_tbarsmpl+set}" = set; then
8408 enableval
="$enable_tbarsmpl"
8410 if test "$enableval" = yes; then
8411 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8413 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8418 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x
; then
8420 eval "DEFAULT_$LINE"
8425 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8429 eval "$ac_cv_use_tbarsmpl"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8434 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8447 # Check whether --enable-treectrl or --disable-treectrl was given.
8448 if test "${enable_treectrl+set}" = set; then
8449 enableval
="$enable_treectrl"
8451 if test "$enableval" = yes; then
8452 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8454 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8459 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x
; then
8461 eval "DEFAULT_$LINE"
8466 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8470 eval "$ac_cv_use_treectrl"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8475 if test "$wxUSE_TREECTRL" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8488 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8489 if test "${enable_tipwindow+set}" = set; then
8490 enableval
="$enable_tipwindow"
8492 if test "$enableval" = yes; then
8493 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8495 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8500 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x
; then
8502 eval "DEFAULT_$LINE"
8507 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8511 eval "$ac_cv_use_tipwindow"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8516 if test "$wxUSE_TIPWINDOW" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8529 # Check whether --enable-popupwin or --disable-popupwin was given.
8530 if test "${enable_popupwin+set}" = set; then
8531 enableval
="$enable_popupwin"
8533 if test "$enableval" = yes; then
8534 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8536 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8541 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x
; then
8543 eval "DEFAULT_$LINE"
8548 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8552 eval "$ac_cv_use_popupwin"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_POPUPWIN" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8572 # Check whether --enable-commondlg or --disable-commondlg was given.
8573 if test "${enable_commondlg+set}" = set; then
8574 enableval
="$enable_commondlg"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8579 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8584 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x
; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8595 eval "$ac_cv_use_commondlg"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_COMMONDLGS" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8613 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8614 if test "${enable_choicedlg+set}" = set; then
8615 enableval
="$enable_choicedlg"
8617 if test "$enableval" = yes; then
8618 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8620 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8625 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x
; then
8627 eval "DEFAULT_$LINE"
8632 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8636 eval "$ac_cv_use_choicedlg"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8641 if test "$wxUSE_CHOICEDLG" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8654 # Check whether --enable-coldlg or --disable-coldlg was given.
8655 if test "${enable_coldlg+set}" = set; then
8656 enableval
="$enable_coldlg"
8658 if test "$enableval" = yes; then
8659 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8661 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8666 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x
; then
8668 eval "DEFAULT_$LINE"
8673 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8677 eval "$ac_cv_use_coldlg"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8682 if test "$wxUSE_COLOURDLG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8695 # Check whether --enable-filedlg or --disable-filedlg was given.
8696 if test "${enable_filedlg+set}" = set; then
8697 enableval
="$enable_filedlg"
8699 if test "$enableval" = yes; then
8700 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8702 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8707 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x
; then
8709 eval "DEFAULT_$LINE"
8714 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8718 eval "$ac_cv_use_filedlg"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_FILEDLG" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8736 # Check whether --enable-finddlg or --disable-finddlg was given.
8737 if test "${enable_finddlg+set}" = set; then
8738 enableval
="$enable_finddlg"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8743 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8748 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8759 eval "$ac_cv_use_finddlg"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_FINDREPLDLG" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8777 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8778 if test "${enable_fontdlg+set}" = set; then
8779 enableval
="$enable_fontdlg"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8784 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8789 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8800 eval "$ac_cv_use_fontdlg"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_FONTDLG" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8818 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8819 if test "${enable_dirdlg+set}" = set; then
8820 enableval
="$enable_dirdlg"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8825 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8830 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8841 eval "$ac_cv_use_dirdlg"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_DIRDLG" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8859 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8860 if test "${enable_msgdlg+set}" = set; then
8861 enableval
="$enable_msgdlg"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8866 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8871 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8882 eval "$ac_cv_use_msgdlg"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_MSGDLG" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8900 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8901 if test "${enable_numberdlg+set}" = set; then
8902 enableval
="$enable_numberdlg"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8907 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8912 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8923 eval "$ac_cv_use_numberdlg"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_NUMBERDLG" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8941 # Check whether --enable-splash or --disable-splash was given.
8942 if test "${enable_splash+set}" = set; then
8943 enableval
="$enable_splash"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8948 ac_cv_use_splash
='wxUSE_SPLASH=no'
8953 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8964 eval "$ac_cv_use_splash"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_SPLASH" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8982 # Check whether --enable-textdlg or --disable-textdlg was given.
8983 if test "${enable_textdlg+set}" = set; then
8984 enableval
="$enable_textdlg"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8989 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8994 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9005 eval "$ac_cv_use_textdlg"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_TEXTDLG" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9023 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9024 if test "${enable_tipdlg+set}" = set; then
9025 enableval
="$enable_tipdlg"
9027 if test "$enableval" = yes; then
9028 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9030 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9035 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x
; then
9037 eval "DEFAULT_$LINE"
9042 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9046 eval "$ac_cv_use_tipdlg"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9051 if test "$wxUSE_STARTUP_TIPS" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9064 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9065 if test "${enable_progressdlg+set}" = set; then
9066 enableval
="$enable_progressdlg"
9068 if test "$enableval" = yes; then
9069 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9076 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x
; then
9078 eval "DEFAULT_$LINE"
9083 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9087 eval "$ac_cv_use_progressdlg"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9092 if test "$wxUSE_PROGRESSDLG" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9105 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9106 if test "${enable_wizarddlg+set}" = set; then
9107 enableval
="$enable_wizarddlg"
9109 if test "$enableval" = yes; then
9110 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9112 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9117 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x
; then
9119 eval "DEFAULT_$LINE"
9124 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9128 eval "$ac_cv_use_wizarddlg"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9133 if test "$wxUSE_WIZARDDLG" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9148 # Check whether --enable-menus or --disable-menus was given.
9149 if test "${enable_menus+set}" = set; then
9150 enableval
="$enable_menus"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_menus
='wxUSE_MENUS=yes'
9155 ac_cv_use_menus
='wxUSE_MENUS=no'
9160 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x
; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9171 eval "$ac_cv_use_menus"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_MENUS" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9189 # Check whether --enable-miniframe or --disable-miniframe was given.
9190 if test "${enable_miniframe+set}" = set; then
9191 enableval
="$enable_miniframe"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9196 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9201 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x
; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9212 eval "$ac_cv_use_miniframe"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_MINIFRAME" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9230 # Check whether --enable-tooltips or --disable-tooltips was given.
9231 if test "${enable_tooltips+set}" = set; then
9232 enableval
="$enable_tooltips"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9237 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9242 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x
; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9253 eval "$ac_cv_use_tooltips"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_TOOLTIPS" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9271 # Check whether --enable-splines or --disable-splines was given.
9272 if test "${enable_splines+set}" = set; then
9273 enableval
="$enable_splines"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9278 ac_cv_use_splines
='wxUSE_SPLINES=no'
9283 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x
; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9294 eval "$ac_cv_use_splines"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_SPLINES" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9312 # Check whether --enable-validators or --disable-validators was given.
9313 if test "${enable_validators+set}" = set; then
9314 enableval
="$enable_validators"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9319 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9324 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9335 eval "$ac_cv_use_validators"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_VALIDATORS" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9353 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9354 if test "${enable_busyinfo+set}" = set; then
9355 enableval
="$enable_busyinfo"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9360 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9365 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9376 eval "$ac_cv_use_busyinfo"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_BUSYINFO" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9394 # Check whether --enable-joystick or --disable-joystick was given.
9395 if test "${enable_joystick+set}" = set; then
9396 enableval
="$enable_joystick"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9401 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9406 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9417 eval "$ac_cv_use_joystick"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_JOYSTICK" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9435 # Check whether --enable-metafile or --disable-metafile was given.
9436 if test "${enable_metafile+set}" = set; then
9437 enableval
="$enable_metafile"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9442 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9447 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9458 eval "$ac_cv_use_metafile"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_METAFILE" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9476 # Check whether --enable-dragimage or --disable-dragimage was given.
9477 if test "${enable_dragimage+set}" = set; then
9478 enableval
="$enable_dragimage"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9483 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9488 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9499 eval "$ac_cv_use_dragimage"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_DRAGIMAGE" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9517 # Check whether --enable-accessibility or --disable-accessibility was given.
9518 if test "${enable_accessibility+set}" = set; then
9519 enableval
="$enable_accessibility"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9524 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9529 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9540 eval "$ac_cv_use_accessibility"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_ACCESSIBILITY" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9560 # Check whether --enable-palette or --disable-palette was given.
9561 if test "${enable_palette+set}" = set; then
9562 enableval
="$enable_palette"
9564 if test "$enableval" = yes; then
9565 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9567 ac_cv_use_palette
='wxUSE_PALETTE=no'
9572 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x
; then
9574 eval "DEFAULT_$LINE"
9579 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9583 eval "$ac_cv_use_palette"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9588 if test "$wxUSE_PALETTE" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9601 # Check whether --enable-image or --disable-image was given.
9602 if test "${enable_image+set}" = set; then
9603 enableval
="$enable_image"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_image
='wxUSE_IMAGE=yes'
9608 ac_cv_use_image
='wxUSE_IMAGE=no'
9613 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9624 eval "$ac_cv_use_image"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_IMAGE" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9642 # Check whether --enable-gif or --disable-gif was given.
9643 if test "${enable_gif+set}" = set; then
9644 enableval
="$enable_gif"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_gif
='wxUSE_GIF=yes'
9649 ac_cv_use_gif
='wxUSE_GIF=no'
9654 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9665 eval "$ac_cv_use_gif"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_GIF" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9683 # Check whether --enable-pcx or --disable-pcx was given.
9684 if test "${enable_pcx+set}" = set; then
9685 enableval
="$enable_pcx"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_pcx
='wxUSE_PCX=yes'
9690 ac_cv_use_pcx
='wxUSE_PCX=no'
9695 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9706 eval "$ac_cv_use_pcx"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_PCX" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9724 # Check whether --enable-iff or --disable-iff was given.
9725 if test "${enable_iff+set}" = set; then
9726 enableval
="$enable_iff"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_iff
='wxUSE_IFF=yes'
9731 ac_cv_use_iff
='wxUSE_IFF=no'
9736 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9747 eval "$ac_cv_use_iff"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_IFF" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9765 # Check whether --enable-pnm or --disable-pnm was given.
9766 if test "${enable_pnm+set}" = set; then
9767 enableval
="$enable_pnm"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_pnm
='wxUSE_PNM=yes'
9772 ac_cv_use_pnm
='wxUSE_PNM=no'
9777 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9788 eval "$ac_cv_use_pnm"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_PNM" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9806 # Check whether --enable-xpm or --disable-xpm was given.
9807 if test "${enable_xpm+set}" = set; then
9808 enableval
="$enable_xpm"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_xpm
='wxUSE_XPM=yes'
9813 ac_cv_use_xpm
='wxUSE_XPM=no'
9818 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9829 eval "$ac_cv_use_xpm"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_XPM" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9847 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9848 if test "${enable_ico_cur+set}" = set; then
9849 enableval
="$enable_ico_cur"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9854 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9859 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9870 eval "$ac_cv_use_ico_cur"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_ICO_CUR" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9892 # Check whether --enable-official_build or --disable-official_build was given.
9893 if test "${enable_official_build+set}" = set; then
9894 enableval
="$enable_official_build"
9896 if test "$enableval" = yes; then
9897 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9899 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9904 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9905 if test "x$LINE" != x
; then
9906 eval "DEFAULT_$LINE"
9911 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9915 eval "$ac_cv_use_official_build"
9916 if test "$no_cache" != 1; then
9917 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9920 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9921 echo "$as_me:$LINENO: result: yes" >&5
9922 echo "${ECHO_T}yes" >&6
9924 echo "$as_me:$LINENO: result: no" >&5
9925 echo "${ECHO_T}no" >&6
9928 # Check whether --enable-vendor or --disable-vendor was given.
9929 if test "${enable_vendor+set}" = set; then
9930 enableval
="$enable_vendor"
9933 if test "x$VENDOR" = "x"; then
9938 *-pc-os2_emx | *-pc-os2-emx )
9948 echo "saving argument cache $wx_arg_cache_file"
9949 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9953 echo "$as_me:$LINENO: checking for toolkit" >&5
9954 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9956 # In Wine, we need to default to MSW, not GTK or MOTIF
9957 if test "$wxUSE_WINE" = "yes"; then
9958 DEFAULT_DEFAULT_wxUSE_GTK
=0
9959 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9960 DEFAULT_DEFAULT_wxUSE_MSW
=1
9964 if test "$wxUSE_GUI" = "yes"; then
9966 if test "$USE_BEOS" = 1; then
9967 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9968 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9969 { (exit 1); exit 1; }; }
9972 if test "$TOOLKIT_GIVEN" = 1; then
9973 for toolkit
in `echo $ALL_TOOLKITS`; do
9975 eval "value=\$${var}"
9976 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9979 for toolkit
in `echo $ALL_TOOLKITS`; do
9980 if test "$has_toolkit_in_cache" != 1; then
9981 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9983 var
=DEFAULT_wxUSE_
$toolkit
9985 eval "wxUSE_$toolkit=\$${var}"
9989 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9990 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9991 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9994 *-pc-os2_emx | *-pc-os2-emx )
9995 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9998 case "$NUM_TOOLKITS" in
10002 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10003 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10004 { (exit 1); exit 1; }; }
10007 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10008 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10009 { (exit 1); exit 1; }; }
10012 for toolkit
in `echo $ALL_TOOLKITS`; do
10014 eval "value=\$${var}"
10015 if test "x$value" != x
; then
10016 cache_var
=CACHE_
$toolkit
10017 eval "cache=\$${cache_var}"
10018 if test "$cache" = 1; then
10019 echo "$var=$value" >> ${wx_arg_cache_file}
10021 if test "$value" = 1; then
10022 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10023 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10024 echo "${ECHO_T}$toolkit_echo" >&6
10029 if test "x$host_alias" != "x"; then
10030 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10031 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10033 echo "$as_me:$LINENO: result: base only" >&5
10034 echo "${ECHO_T}base only" >&6
10039 doesnt_want_win32
=0
10042 if test "$wxUSE_MSW" = 1 ; then
10045 doesnt_want_win32
=1
10053 if test "$wxUSE_WINE" = "yes"; then
10058 LDFLAGS_GUI
="-mwindows"
10061 if test "$wants_win32" = 1 ; then
10064 cat >>confdefs.h
<<\_ACEOF
10065 #define __WIN32__ 1
10068 cat >>confdefs.h
<<\_ACEOF
10069 #define __WIN95__ 1
10072 cat >>confdefs.h
<<\_ACEOF
10073 #define __WINDOWS__ 1
10076 cat >>confdefs.h
<<\_ACEOF
10077 #define __GNUWIN32__ 1
10080 cat >>confdefs.h
<<\_ACEOF
10084 cat >>confdefs.h
<<\_ACEOF
10085 #define WINVER 0x0400
10089 if test "$doesnt_want_win32" = 1 ; then
10094 if test "$USE_UNIX" = 1 ; then
10096 cat >>confdefs.h
<<\_ACEOF
10103 cat >confcache
<<\_ACEOF
10104 # This file is a shell script that caches the results of configure
10105 # tests run on this system so they can be shared between configure
10106 # scripts and configure runs, see configure's option --config-cache.
10107 # It is not useful on other systems. If it contains results you don't
10108 # want to keep, you may remove or edit it.
10110 # config.status only pays attention to the cache file if you give it
10111 # the --recheck option to rerun configure.
10113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10115 # following values.
10119 # The following way of writing the cache mishandles newlines in values,
10120 # but we know of no workaround that is simple, portable, and efficient.
10121 # So, don't put newlines in cache variables' values.
10122 # Ultrix sh set writes to stderr and can't be redirected directly,
10123 # and sets the high bit in the cache file unless we assign to the vars.
10126 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10128 # `set' does not quote correctly, so add quotes (double-quote
10129 # substitution turns \\\\ into \\, and sed turns \\ into \).
10132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10135 # `set' quotes correctly as required by POSIX, so do not add quotes.
10137 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10146 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10148 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10149 if test -w $cache_file; then
10150 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10151 cat confcache
>$cache_file
10153 echo "not updating unwritable cache $cache_file"
10158 if test "$build" != "$host" ; then
10159 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10161 CXX
=$host_alias-c++
10163 RANLIB
=$host_alias-ranlib
10164 DLLTOOL
=$host_alias-dlltool
10165 RESCOMP
=$host_alias-windres
10168 STRIP
=$host_alias-strip
10170 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10171 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10172 { (exit 1); exit 1; }; }
10178 ac_cpp
='$CPP $CPPFLAGS'
10179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10182 if test -n "$ac_tool_prefix"; then
10183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10184 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10185 echo "$as_me:$LINENO: checking for $ac_word" >&5
10186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10187 if test "${ac_cv_prog_CC+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 if test -n "$CC"; then
10191 ac_cv_prog_CC
="$CC" # Let the user override the test.
10193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10194 for as_dir
in $PATH
10197 test -z "$as_dir" && as_dir
=.
10198 for ac_exec_ext
in '' $ac_executable_extensions; do
10199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10200 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10210 if test -n "$CC"; then
10211 echo "$as_me:$LINENO: result: $CC" >&5
10212 echo "${ECHO_T}$CC" >&6
10214 echo "$as_me:$LINENO: result: no" >&5
10215 echo "${ECHO_T}no" >&6
10219 if test -z "$ac_cv_prog_CC"; then
10221 # Extract the first word of "gcc", so it can be a program name with args.
10222 set dummy gcc
; ac_word
=$2
10223 echo "$as_me:$LINENO: checking for $ac_word" >&5
10224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10226 echo $ECHO_N "(cached) $ECHO_C" >&6
10228 if test -n "$ac_ct_CC"; then
10229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10232 for as_dir
in $PATH
10235 test -z "$as_dir" && as_dir
=.
10236 for ac_exec_ext
in '' $ac_executable_extensions; do
10237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10238 ac_cv_prog_ac_ct_CC
="gcc"
10239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10247 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10248 if test -n "$ac_ct_CC"; then
10249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10250 echo "${ECHO_T}$ac_ct_CC" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 CC
="$ac_cv_prog_CC"
10261 if test -z "$CC"; then
10262 if test -n "$ac_tool_prefix"; then
10263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10264 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10265 echo "$as_me:$LINENO: checking for $ac_word" >&5
10266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10267 if test "${ac_cv_prog_CC+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 if test -n "$CC"; then
10271 ac_cv_prog_CC
="$CC" # Let the user override the test.
10273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10274 for as_dir
in $PATH
10277 test -z "$as_dir" && as_dir
=.
10278 for ac_exec_ext
in '' $ac_executable_extensions; do
10279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10280 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 if test -n "$CC"; then
10291 echo "$as_me:$LINENO: result: $CC" >&5
10292 echo "${ECHO_T}$CC" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10299 if test -z "$ac_cv_prog_CC"; then
10301 # Extract the first word of "cc", so it can be a program name with args.
10302 set dummy cc
; ac_word
=$2
10303 echo "$as_me:$LINENO: checking for $ac_word" >&5
10304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 if test -n "$ac_ct_CC"; then
10309 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_prog_ac_ct_CC
="cc"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10327 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10328 if test -n "$ac_ct_CC"; then
10329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10330 echo "${ECHO_T}$ac_ct_CC" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10338 CC
="$ac_cv_prog_CC"
10342 if test -z "$CC"; then
10343 # Extract the first word of "cc", so it can be a program name with args.
10344 set dummy cc
; ac_word
=$2
10345 echo "$as_me:$LINENO: checking for $ac_word" >&5
10346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10347 if test "${ac_cv_prog_CC+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 if test -n "$CC"; then
10351 ac_cv_prog_CC
="$CC" # Let the user override the test.
10353 ac_prog_rejected
=no
10354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10355 for as_dir
in $PATH
10358 test -z "$as_dir" && as_dir
=.
10359 for ac_exec_ext
in '' $ac_executable_extensions; do
10360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10361 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10362 ac_prog_rejected
=yes
10366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10372 if test $ac_prog_rejected = yes; then
10373 # We found a bogon in the path, so make sure we never use it.
10374 set dummy
$ac_cv_prog_CC
10376 if test $# != 0; then
10377 # We chose a different compiler from the bogus one.
10378 # However, it has the same basename, so the bogon will be chosen
10379 # first if we set CC to just the basename; use the full file name.
10381 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10387 if test -n "$CC"; then
10388 echo "$as_me:$LINENO: result: $CC" >&5
10389 echo "${ECHO_T}$CC" >&6
10391 echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6
10396 if test -z "$CC"; then
10397 if test -n "$ac_tool_prefix"; then
10400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10401 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10402 echo "$as_me:$LINENO: checking for $ac_word" >&5
10403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10404 if test "${ac_cv_prog_CC+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 if test -n "$CC"; then
10408 ac_cv_prog_CC
="$CC" # Let the user override the test.
10410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10411 for as_dir
in $PATH
10414 test -z "$as_dir" && as_dir
=.
10415 for ac_exec_ext
in '' $ac_executable_extensions; do
10416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10417 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10427 if test -n "$CC"; then
10428 echo "$as_me:$LINENO: result: $CC" >&5
10429 echo "${ECHO_T}$CC" >&6
10431 echo "$as_me:$LINENO: result: no" >&5
10432 echo "${ECHO_T}no" >&6
10435 test -n "$CC" && break
10438 if test -z "$CC"; then
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy
$ac_prog; ac_word
=$2
10444 echo "$as_me:$LINENO: checking for $ac_word" >&5
10445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 if test -n "$ac_ct_CC"; then
10450 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10453 for as_dir
in $PATH
10456 test -z "$as_dir" && as_dir
=.
10457 for ac_exec_ext
in '' $ac_executable_extensions; do
10458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10459 ac_cv_prog_ac_ct_CC
="$ac_prog"
10460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10468 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10469 if test -n "$ac_ct_CC"; then
10470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10471 echo "${ECHO_T}$ac_ct_CC" >&6
10473 echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6
10477 test -n "$ac_ct_CC" && break
10486 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10487 See \`config.log' for more details." >&5
10488 echo "$as_me: error: no acceptable C compiler found in \$PATH
10489 See \`config.log' for more details." >&2;}
10490 { (exit 1); exit 1; }; }
10492 # Provide some information about the compiler.
10493 echo "$as_me:$LINENO:" \
10494 "checking for C compiler version" >&5
10495 ac_compiler
=`set X $ac_compile; echo $2`
10496 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10497 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }
10501 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10502 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }
10506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10507 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }
10512 cat >conftest.
$ac_ext <<_ACEOF
10515 cat confdefs.h
>>conftest.
$ac_ext
10516 cat >>conftest.
$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10527 ac_clean_files_save
=$ac_clean_files
10528 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10529 # Try to create an executable without -o first, disregard a.out.
10530 # It will help us diagnose broken compilers, and finding out an intuition
10532 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10533 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10534 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10535 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10536 (eval $ac_link_default) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; then
10540 # Find the output, starting from the most likely. This scheme is
10541 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10544 # Be careful to initialize this variable, since it used to be cached.
10545 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10547 # b.out is created by i960 compilers.
10548 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10550 test -f "$ac_file" || continue
10552 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10555 # This is the source file.
10558 # We found the default executable, but exeext='' is most
10562 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10563 # FIXME: I believe we export ac_cv_exeext for Libtool,
10564 # but it would be cool to find out if it's true. Does anybody
10565 # maintain Libtool? --akim.
10566 export ac_cv_exeext
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.
$ac_ext >&5
10576 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10577 See \`config.log' for more details." >&5
10578 echo "$as_me: error: C compiler cannot create executables
10579 See \`config.log' for more details." >&2;}
10580 { (exit 77); exit 77; }; }
10583 ac_exeext
=$ac_cv_exeext
10584 echo "$as_me:$LINENO: result: $ac_file" >&5
10585 echo "${ECHO_T}$ac_file" >&6
10587 # Check the compiler produces executables we can run. If not, either
10588 # the compiler is broken, or we cross compile.
10589 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10590 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10591 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10592 # If not cross compiling, check that we can run a simple program.
10593 if test "$cross_compiling" != yes; then
10594 if { ac_try
='./$ac_file'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10602 if test "$cross_compiling" = maybe
; then
10603 cross_compiling
=yes
10605 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10606 If you meant to cross compile, use \`--host'.
10607 See \`config.log' for more details." >&5
10608 echo "$as_me: error: cannot run C compiled programs.
10609 If you meant to cross compile, use \`--host'.
10610 See \`config.log' for more details." >&2;}
10611 { (exit 1); exit 1; }; }
10615 echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6
10618 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10619 ac_clean_files
=$ac_clean_files_save
10620 # Check the compiler produces executables we can run. If not, either
10621 # the compiler is broken, or we cross compile.
10622 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10623 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10624 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10625 echo "${ECHO_T}$cross_compiling" >&6
10627 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10628 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10630 (eval $ac_link) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; then
10634 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10635 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10636 # work properly (i.e., refer to `conftest.exe'), while it won't with
10638 for ac_file
in conftest.exe conftest conftest.
*; do
10639 test -f "$ac_file" || continue
10641 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10642 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10643 export ac_cv_exeext
10649 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10650 See \`config.log' for more details." >&5
10651 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10652 See \`config.log' for more details." >&2;}
10653 { (exit 1); exit 1; }; }
10656 rm -f conftest
$ac_cv_exeext
10657 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10658 echo "${ECHO_T}$ac_cv_exeext" >&6
10660 rm -f conftest.
$ac_ext
10661 EXEEXT
=$ac_cv_exeext
10663 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10664 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10665 if test "${ac_cv_objext+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 cat >conftest.
$ac_ext <<_ACEOF
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10683 rm -f conftest.o conftest.obj
10684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10685 (eval $ac_compile) 2>&5
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; then
10689 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10691 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10692 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10700 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10701 See \`config.log' for more details." >&5
10702 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10703 See \`config.log' for more details." >&2;}
10704 { (exit 1); exit 1; }; }
10707 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10709 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10710 echo "${ECHO_T}$ac_cv_objext" >&6
10711 OBJEXT
=$ac_cv_objext
10713 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 cat >conftest.
$ac_ext <<_ACEOF
10721 cat confdefs.h
>>conftest.
$ac_ext
10722 cat >>conftest.
$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10736 rm -f conftest.
$ac_objext
10737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10738 (eval $ac_compile) 2>conftest.er1
10740 grep -v '^ *+' conftest.er1
>conftest.err
10742 cat conftest.err
>&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } &&
10745 { ac_try
='test -z "$ac_c_werror_flag"
10746 || test ! -s conftest.err'
10747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10748 (eval $ac_try) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; } &&
10752 { ac_try
='test -s conftest.$ac_objext'
10753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then
10758 ac_compiler_gnu
=yes
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.
$ac_ext >&5
10765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10766 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10771 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10772 ac_test_CFLAGS
=${CFLAGS+set}
10773 ac_save_CFLAGS
=$CFLAGS
10775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10777 if test "${ac_cv_prog_cc_g+set}" = set; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 cat >conftest.
$ac_ext <<_ACEOF
10783 cat confdefs.h
>>conftest.
$ac_ext
10784 cat >>conftest.
$ac_ext <<_ACEOF
10785 /* end confdefs.h. */
10795 rm -f conftest.
$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 ac_cv_prog_cc_g
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10828 if test "$ac_test_CFLAGS" = set; then
10829 CFLAGS
=$ac_save_CFLAGS
10830 elif test $ac_cv_prog_cc_g = yes; then
10831 if test "$GCC" = yes; then
10837 if test "$GCC" = yes; then
10843 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10844 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10845 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 ac_cv_prog_cc_stdc
=no
10850 cat >conftest.
$ac_ext <<_ACEOF
10853 cat confdefs.h
>>conftest.
$ac_ext
10854 cat >>conftest.
$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10856 #include <stdarg.h>
10858 #include <sys/types.h>
10859 #include <sys/stat.h>
10860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10861 struct buf { int x; };
10862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10863 static char *e (p, i)
10869 static char *f (char * (*g) (char **, int), char **p, ...)
10874 s = g (p, va_arg (v,int));
10879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10880 function prototypes and stuff, but not '\xHH' hex character constants.
10881 These don't provoke an error unfortunately, instead are silently treated
10882 as 'x'. The following induces an error, until -std1 is added to get
10883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10884 array size at least. It's necessary to write '\x00'==0 to get something
10885 that's true only with -std1. */
10886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10888 int test (int i, double x);
10889 struct s1 {int (*f) (int a);};
10890 struct s2 {int (*f) (double a);};
10891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10902 # Don't try gcc -ansi; that turns off useful extensions and
10903 # breaks some systems' header files.
10904 # AIX -qlanglvl=ansi
10905 # Ultrix and OSF/1 -std1
10906 # HP-UX 10.20 and later -Ae
10907 # HP-UX older versions -Aa -D_HPUX_SOURCE
10908 # SVR4 -Xc -D__EXTENSIONS__
10909 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10911 CC
="$ac_save_CC $ac_arg"
10912 rm -f conftest.
$ac_objext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10914 (eval $ac_compile) 2>conftest.er1
10916 grep -v '^ *+' conftest.er1
>conftest.err
10918 cat conftest.err
>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try
='test -z "$ac_c_werror_flag"
10922 || test ! -s conftest.err'
10923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10924 (eval $ac_try) 2>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }; } &&
10928 { ac_try
='test -s conftest.$ac_objext'
10929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10930 (eval $ac_try) 2>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); }; }; then
10934 ac_cv_prog_cc_stdc
=$ac_arg
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.
$ac_ext >&5
10941 rm -f conftest.err conftest.
$ac_objext
10943 rm -f conftest.
$ac_ext conftest.
$ac_objext
10948 case "x$ac_cv_prog_cc_stdc" in
10950 echo "$as_me:$LINENO: result: none needed" >&5
10951 echo "${ECHO_T}none needed" >&6 ;;
10953 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10954 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10955 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10958 # Some people use a C++ compiler to compile C. Since we use `exit',
10959 # in C++ we need to declare it. In case someone uses the same compiler
10960 # for both compiling C and C++ we need to have the C++ compiler decide
10961 # the declaration of exit, since it's the most demanding environment.
10962 cat >conftest.
$ac_ext <<_ACEOF
10963 #ifndef __cplusplus
10967 rm -f conftest.
$ac_objext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969 (eval $ac_compile) 2>conftest.er1
10971 grep -v '^ *+' conftest.er1
>conftest.err
10973 cat conftest.err
>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try
='test -z "$ac_c_werror_flag"
10977 || test ! -s conftest.err'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try
='test -s conftest.$ac_objext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 for ac_declaration
in \
10991 'extern "C" void std::exit (int) throw (); using std::exit;' \
10992 'extern "C" void std::exit (int); using std::exit;' \
10993 'extern "C" void exit (int) throw ();' \
10994 'extern "C" void exit (int);' \
10997 cat >conftest.
$ac_ext <<_ACEOF
11000 cat confdefs.h
>>conftest.
$ac_ext
11001 cat >>conftest.
$ac_ext <<_ACEOF
11002 /* end confdefs.h. */
11004 #include <stdlib.h>
11013 rm -f conftest.
$ac_objext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11015 (eval $ac_compile) 2>conftest.er1
11017 grep -v '^ *+' conftest.er1
>conftest.err
11019 cat conftest.err
>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); } &&
11022 { ac_try
='test -z "$ac_c_werror_flag"
11023 || test ! -s conftest.err'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; } &&
11029 { ac_try
='test -s conftest.$ac_objext'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; }; then
11037 echo "$as_me: failed program was:" >&5
11038 sed 's/^/| /' conftest.
$ac_ext >&5
11042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11043 cat >conftest.
$ac_ext <<_ACEOF
11046 cat confdefs.h
>>conftest.
$ac_ext
11047 cat >>conftest.
$ac_ext <<_ACEOF
11048 /* end confdefs.h. */
11058 rm -f conftest.
$ac_objext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11060 (eval $ac_compile) 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try
='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try
='test -s conftest.$ac_objext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.
$ac_ext >&5
11086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11089 if test -n "$ac_declaration"; then
11090 echo '#ifdef __cplusplus' >>confdefs.h
11091 echo $ac_declaration >>confdefs.h
11092 echo '#endif' >>confdefs.h
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.
$ac_ext >&5
11100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11102 ac_cpp
='$CPP $CPPFLAGS'
11103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11110 ac_cpp
='$CPP $CPPFLAGS'
11111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11114 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11115 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11116 # On Suns, sometimes $CPP names a directory.
11117 if test -n "$CPP" && test -d "$CPP"; then
11120 if test -z "$CPP"; then
11121 if test "${ac_cv_prog_CPP+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 # Double quotes because CPP needs to be expanded
11125 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11127 ac_preproc_ok
=false
11128 for ac_c_preproc_warn_flag
in '' yes
11130 # Use a header file that comes with gcc, so configuring glibc
11131 # with a fresh cross-compiler works.
11132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11133 # <limits.h> exists even on freestanding compilers.
11134 # On the NeXT, cc -E runs the code through the compiler's parser,
11135 # not just through cpp. "Syntax error" is here to catch this case.
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11143 # include <limits.h>
11145 # include <assert.h>
11149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11152 grep -v '^ *+' conftest.er1
>conftest.err
11154 cat conftest.err
>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } >/dev
/null
; then
11157 if test -s conftest.err
; then
11158 ac_cpp_err
=$ac_c_preproc_warn_flag
11159 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11166 if test -z "$ac_cpp_err"; then
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.
$ac_ext >&5
11172 # Broken: fails on valid input.
11175 rm -f conftest.err conftest.
$ac_ext
11177 # OK, works on sane cases. Now check whether non-existent headers
11178 # can be detected and how.
11179 cat >conftest.
$ac_ext <<_ACEOF
11182 cat confdefs.h
>>conftest.
$ac_ext
11183 cat >>conftest.
$ac_ext <<_ACEOF
11184 /* end confdefs.h. */
11185 #include <ac_nonexistent.h>
11187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11190 grep -v '^ *+' conftest.er1
>conftest.err
11192 cat conftest.err
>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } >/dev
/null
; then
11195 if test -s conftest.err
; then
11196 ac_cpp_err
=$ac_c_preproc_warn_flag
11197 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11204 if test -z "$ac_cpp_err"; then
11205 # Broken: success on invalid input.
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.
$ac_ext >&5
11211 # Passes both tests.
11215 rm -f conftest.err conftest.
$ac_ext
11218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11219 rm -f conftest.err conftest.
$ac_ext
11220 if $ac_preproc_ok; then
11225 ac_cv_prog_CPP
=$CPP
11228 CPP
=$ac_cv_prog_CPP
11230 ac_cv_prog_CPP
=$CPP
11232 echo "$as_me:$LINENO: result: $CPP" >&5
11233 echo "${ECHO_T}$CPP" >&6
11234 ac_preproc_ok
=false
11235 for ac_c_preproc_warn_flag
in '' yes
11237 # Use a header file that comes with gcc, so configuring glibc
11238 # with a fresh cross-compiler works.
11239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11240 # <limits.h> exists even on freestanding compilers.
11241 # On the NeXT, cc -E runs the code through the compiler's parser,
11242 # not just through cpp. "Syntax error" is here to catch this case.
11243 cat >conftest.
$ac_ext <<_ACEOF
11246 cat confdefs.h
>>conftest.
$ac_ext
11247 cat >>conftest.
$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11250 # include <limits.h>
11252 # include <assert.h>
11256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11259 grep -v '^ *+' conftest.er1
>conftest.err
11261 cat conftest.err
>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } >/dev
/null
; then
11264 if test -s conftest.err
; then
11265 ac_cpp_err
=$ac_c_preproc_warn_flag
11266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11273 if test -z "$ac_cpp_err"; then
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.
$ac_ext >&5
11279 # Broken: fails on valid input.
11282 rm -f conftest.err conftest.
$ac_ext
11284 # OK, works on sane cases. Now check whether non-existent headers
11285 # can be detected and how.
11286 cat >conftest.
$ac_ext <<_ACEOF
11289 cat confdefs.h
>>conftest.
$ac_ext
11290 cat >>conftest.
$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 #include <ac_nonexistent.h>
11294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11297 grep -v '^ *+' conftest.er1
>conftest.err
11299 cat conftest.err
>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); } >/dev
/null
; then
11302 if test -s conftest.err
; then
11303 ac_cpp_err
=$ac_c_preproc_warn_flag
11304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11311 if test -z "$ac_cpp_err"; then
11312 # Broken: success on invalid input.
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 # Passes both tests.
11322 rm -f conftest.err conftest.
$ac_ext
11325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11326 rm -f conftest.err conftest.
$ac_ext
11327 if $ac_preproc_ok; then
11330 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11331 See \`config.log' for more details." >&5
11332 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11333 See \`config.log' for more details." >&2;}
11334 { (exit 1); exit 1; }; }
11338 ac_cpp
='$CPP $CPPFLAGS'
11339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11344 echo "$as_me:$LINENO: checking for egrep" >&5
11345 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11346 if test "${ac_cv_prog_egrep+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11350 then ac_cv_prog_egrep
='grep -E'
11351 else ac_cv_prog_egrep
='egrep'
11354 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11355 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11356 EGREP
=$ac_cv_prog_egrep
11359 if test $ac_cv_c_compiler_gnu = yes; then
11360 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11361 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11362 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 ac_pattern
="Autoconf.*'x'"
11366 cat >conftest.
$ac_ext <<_ACEOF
11369 cat confdefs.h
>>conftest.
$ac_ext
11370 cat >>conftest.
$ac_ext <<_ACEOF
11371 /* end confdefs.h. */
11375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11376 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11377 ac_cv_prog_gcc_traditional
=yes
11379 ac_cv_prog_gcc_traditional
=no
11384 if test $ac_cv_prog_gcc_traditional = no
; then
11385 cat >conftest.
$ac_ext <<_ACEOF
11388 cat confdefs.h
>>conftest.
$ac_ext
11389 cat >>conftest.
$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 #include <termio.h>
11394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11395 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11396 ac_cv_prog_gcc_traditional
=yes
11402 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11403 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11404 if test $ac_cv_prog_gcc_traditional = yes; then
11405 CC
="$CC -traditional"
11413 ac_cpp
='$CXXCPP $CPPFLAGS'
11414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11419 CXXFLAGS
=${CXXFLAGS:=}
11421 ac_cpp
='$CXXCPP $CPPFLAGS'
11422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11425 if test -n "$ac_tool_prefix"; then
11426 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11429 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11430 echo "$as_me:$LINENO: checking for $ac_word" >&5
11431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11432 if test "${ac_cv_prog_CXX+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 if test -n "$CXX"; then
11436 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11439 for as_dir
in $PATH
11442 test -z "$as_dir" && as_dir
=.
11443 for ac_exec_ext
in '' $ac_executable_extensions; do
11444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11445 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 CXX
=$ac_cv_prog_CXX
11455 if test -n "$CXX"; then
11456 echo "$as_me:$LINENO: result: $CXX" >&5
11457 echo "${ECHO_T}$CXX" >&6
11459 echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6
11463 test -n "$CXX" && break
11466 if test -z "$CXX"; then
11468 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11470 # Extract the first word of "$ac_prog", so it can be a program name with args.
11471 set dummy
$ac_prog; ac_word
=$2
11472 echo "$as_me:$LINENO: checking for $ac_word" >&5
11473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11474 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 if test -n "$ac_ct_CXX"; then
11478 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11481 for as_dir
in $PATH
11484 test -z "$as_dir" && as_dir
=.
11485 for ac_exec_ext
in '' $ac_executable_extensions; do
11486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11487 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11497 if test -n "$ac_ct_CXX"; then
11498 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11499 echo "${ECHO_T}$ac_ct_CXX" >&6
11501 echo "$as_me:$LINENO: result: no" >&5
11502 echo "${ECHO_T}no" >&6
11505 test -n "$ac_ct_CXX" && break
11507 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11513 # Provide some information about the compiler.
11514 echo "$as_me:$LINENO:" \
11515 "checking for C++ compiler version" >&5
11516 ac_compiler
=`set X $ac_compile; echo $2`
11517 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11518 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }
11522 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11523 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }
11527 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11528 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }
11533 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11534 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11535 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11536 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11556 rm -f conftest.
$ac_objext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11558 (eval $ac_compile) 2>conftest.er1
11560 grep -v '^ *+' conftest.er1
>conftest.err
11562 cat conftest.err
>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try
='test -z "$ac_cxx_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try
='test -s conftest.$ac_objext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_compiler_gnu
=yes
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.
$ac_ext >&5
11585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11586 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11589 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11590 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11591 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11592 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11593 ac_save_CXXFLAGS
=$CXXFLAGS
11595 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11596 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11597 if test "${ac_cv_prog_cxx_g+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 cat >conftest.
$ac_ext <<_ACEOF
11603 cat confdefs.h
>>conftest.
$ac_ext
11604 cat >>conftest.
$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11615 rm -f conftest.
$ac_objext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11617 (eval $ac_compile) 2>conftest.er1
11619 grep -v '^ *+' conftest.er1
>conftest.err
11621 cat conftest.err
>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try
='test -z "$ac_cxx_werror_flag"
11625 || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try
='test -s conftest.$ac_objext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_prog_cxx_g
=yes
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.
$ac_ext >&5
11642 ac_cv_prog_cxx_g
=no
11644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11646 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11648 if test "$ac_test_CXXFLAGS" = set; then
11649 CXXFLAGS
=$ac_save_CXXFLAGS
11650 elif test $ac_cv_prog_cxx_g = yes; then
11651 if test "$GXX" = yes; then
11657 if test "$GXX" = yes; then
11663 for ac_declaration
in \
11665 'extern "C" void std::exit (int) throw (); using std::exit;' \
11666 'extern "C" void std::exit (int); using std::exit;' \
11667 'extern "C" void exit (int) throw ();' \
11668 'extern "C" void exit (int);' \
11671 cat >conftest.
$ac_ext <<_ACEOF
11674 cat confdefs.h
>>conftest.
$ac_ext
11675 cat >>conftest.
$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11678 #include <stdlib.h>
11687 rm -f conftest.
$ac_objext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -z "$ac_cxx_werror_flag"
11697 || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11732 rm -f conftest.
$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>conftest.er1
11736 grep -v '^ *+' conftest.er1
>conftest.err
11738 cat conftest.err
>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } &&
11741 { ac_try
='test -z "$ac_cxx_werror_flag"
11742 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try
='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11763 if test -n "$ac_declaration"; then
11764 echo '#ifdef __cplusplus' >>confdefs.h
11765 echo $ac_declaration >>confdefs.h
11766 echo '#endif' >>confdefs.h
11770 ac_cpp
='$CXXCPP $CPPFLAGS'
11771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11777 ac_cpp
='$CPP $CPPFLAGS'
11778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11783 if test -n "$ac_tool_prefix"; then
11784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11785 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11786 echo "$as_me:$LINENO: checking for $ac_word" >&5
11787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11788 if test "${ac_cv_prog_RANLIB+set}" = set; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11791 if test -n "$RANLIB"; then
11792 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11795 for as_dir
in $PATH
11798 test -z "$as_dir" && as_dir
=.
11799 for ac_exec_ext
in '' $ac_executable_extensions; do
11800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11801 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11810 RANLIB
=$ac_cv_prog_RANLIB
11811 if test -n "$RANLIB"; then
11812 echo "$as_me:$LINENO: result: $RANLIB" >&5
11813 echo "${ECHO_T}$RANLIB" >&6
11815 echo "$as_me:$LINENO: result: no" >&5
11816 echo "${ECHO_T}no" >&6
11820 if test -z "$ac_cv_prog_RANLIB"; then
11821 ac_ct_RANLIB
=$RANLIB
11822 # Extract the first word of "ranlib", so it can be a program name with args.
11823 set dummy ranlib
; ac_word
=$2
11824 echo "$as_me:$LINENO: checking for $ac_word" >&5
11825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11826 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 if test -n "$ac_ct_RANLIB"; then
11830 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11833 for as_dir
in $PATH
11836 test -z "$as_dir" && as_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11839 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11846 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11849 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11850 if test -n "$ac_ct_RANLIB"; then
11851 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11852 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11854 echo "$as_me:$LINENO: result: no" >&5
11855 echo "${ECHO_T}no" >&6
11858 RANLIB
=$ac_ct_RANLIB
11860 RANLIB
="$ac_cv_prog_RANLIB"
11864 # Extract the first word of "ar", so it can be a program name with args.
11865 set dummy
ar; ac_word
=$2
11866 echo "$as_me:$LINENO: checking for $ac_word" >&5
11867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11868 if test "${ac_cv_prog_AR+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 if test -n "$AR"; then
11872 ac_cv_prog_AR
="$AR" # Let the user override the test.
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11891 if test -n "$AR"; then
11892 echo "$as_me:$LINENO: result: $AR" >&5
11893 echo "${ECHO_T}$AR" >&6
11895 echo "$as_me:$LINENO: result: no" >&5
11896 echo "${ECHO_T}no" >&6
11899 if test "x$AR" = "x" ; then
11900 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11901 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11902 { (exit 1); exit 1; }; }
11905 # Find a good install program. We prefer a C program (faster),
11906 # so one script is as good as another. But avoid the broken or
11907 # incompatible versions:
11908 # SysV /etc/install, /usr/sbin/install
11909 # SunOS /usr/etc/install
11910 # IRIX /sbin/install
11912 # AmigaOS /C/install, which installs bootblocks on floppy discs
11913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11916 # OS/2's system install, which has a completely different semantic
11917 # ./install, which can be erroneously created by make from ./install.sh.
11918 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11919 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11920 if test -z "$INSTALL"; then
11921 if test "${ac_cv_path_install+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11925 for as_dir
in $PATH
11928 test -z "$as_dir" && as_dir
=.
11929 # Account for people who put trailing slashes in PATH elements.
11931 .
/ | .
// | /cC
/* | \
11932 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11933 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11936 # OSF1 and SCO ODT 3.0 have their own names for install.
11937 # Don't use installbsd from OSF since it installs stuff as root
11939 for ac_prog
in ginstall scoinst
install; do
11940 for ac_exec_ext
in '' $ac_executable_extensions; do
11941 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11942 if test $ac_prog = install &&
11943 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11944 # AIX install. It has an incompatible calling convention.
11946 elif test $ac_prog = install &&
11947 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11948 # program-specific install script used by HP pwplus--don't use.
11951 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11963 if test "${ac_cv_path_install+set}" = set; then
11964 INSTALL
=$ac_cv_path_install
11966 # As a last resort, use the slow shell script. We don't cache a
11967 # path for INSTALL within a source directory, because that will
11968 # break other packages using the cache if that directory is
11969 # removed, or if the path is relative.
11970 INSTALL
=$ac_install_sh
11973 echo "$as_me:$LINENO: result: $INSTALL" >&5
11974 echo "${ECHO_T}$INSTALL" >&6
11976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11977 # It thinks the first close brace ends the variable substitution.
11978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11982 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11988 ?
:* ) # Drive letter, considered as absolute.
11991 INSTALL
=`pwd`/${INSTALL} ;;
11996 INSTALL_DIR
="mkdir"
11999 *) INSTALL_DIR
="$INSTALL -d"
12006 powerpc
-*-darwin* )
12007 INSTALL_PROGRAM
="cp -fp"
12008 INSTALL_DATA
="cp -fp"
12014 # Extract the first word of "strip", so it can be a program name with args.
12015 set dummy strip
; ac_word
=$2
12016 echo "$as_me:$LINENO: checking for $ac_word" >&5
12017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12018 if test "${ac_cv_prog_STRIP+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12021 if test -n "$STRIP"; then
12022 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12025 for as_dir
in $PATH
12028 test -z "$as_dir" && as_dir
=.
12029 for ac_exec_ext
in '' $ac_executable_extensions; do
12030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12031 ac_cv_prog_STRIP
="strip"
12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12041 STRIP
=$ac_cv_prog_STRIP
12042 if test -n "$STRIP"; then
12043 echo "$as_me:$LINENO: result: $STRIP" >&5
12044 echo "${ECHO_T}$STRIP" >&6
12046 echo "$as_me:$LINENO: result: no" >&5
12047 echo "${ECHO_T}no" >&6
12051 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12052 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12053 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12058 egrep -s GNU
> /dev
/null
); then
12059 wx_cv_prog_makeisgnu
="yes"
12061 wx_cv_prog_makeisgnu
="no"
12065 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12066 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12068 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12076 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12077 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12078 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12079 if test "${wx_cv_prog_makevpath+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 cat - << EOF > confMake
12089 if test ! -d sub
; then
12092 echo dummy
> sub
/file
12093 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12095 rm -f sub
/file check final_file confMake
12097 if test "$RESULT" = 0; then
12098 wx_cv_prog_makevpath
="yes"
12100 wx_cv_prog_makevpath
="no"
12104 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12105 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12107 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12108 { { echo "$as_me:$LINENO: error:
12109 You need a make-utility that is able to use the variable
12111 If your version of make does not support VPATH correctly,
12112 please install GNU-make (possibly as gmake), and start
12113 configure with the following command:
12114 export MAKE=gmake; ./configure for sh-type shells
12115 setenv MAKE gmake; ./configure for csh-type shells
12116 Also please do remember to use gmake in this case every time
12117 you are trying to compile.
12119 echo "$as_me: error:
12120 You need a make-utility that is able to use the variable
12122 If your version of make does not support VPATH correctly,
12123 please install GNU-make (possibly as gmake), and start
12124 configure with the following command:
12125 export MAKE=gmake; ./configure for sh-type shells
12126 setenv MAKE gmake; ./configure for csh-type shells
12127 Also please do remember to use gmake in this case every time
12128 you are trying to compile.
12130 { (exit 1); exit 1; }; }
12132 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12133 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12135 if test "$LN_S" = "ln -s"; then
12136 echo "$as_me:$LINENO: result: yes" >&5
12137 echo "${ECHO_T}yes" >&6
12139 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12140 echo "${ECHO_T}no, using $LN_S" >&6
12146 *-pc-os2_emx | *-pc-os2-emx )
12147 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12148 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12149 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12150 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 ac_check_lib_save_LIBS
=$LIBS
12154 LIBS
="-lcExt $LIBS"
12155 cat >conftest.
$ac_ext <<_ACEOF
12158 cat confdefs.h
>>conftest.
$ac_ext
12159 cat >>conftest.
$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12162 /* Override any gcc2 internal prototype to avoid an error. */
12166 /* We use char because int might match the return type of a gcc2
12167 builtin and then its argument prototype would still apply. */
12177 rm -f conftest.
$ac_objext conftest
$ac_exeext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12179 (eval $ac_link) 2>conftest.er1
12181 grep -v '^ *+' conftest.er1
>conftest.err
12183 cat conftest.err
>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try
='test -z "$ac_c_werror_flag"
12187 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } &&
12193 { ac_try
='test -s conftest$ac_exeext'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 ac_cv_lib_cExt_drand48
=yes
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.
$ac_ext >&5
12204 ac_cv_lib_cExt_drand48
=no
12206 rm -f conftest.err conftest.
$ac_objext \
12207 conftest
$ac_exeext conftest.
$ac_ext
12208 LIBS
=$ac_check_lib_save_LIBS
12210 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12211 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12212 if test $ac_cv_lib_cExt_drand48 = yes; then
12213 LIBS
="$LIBS -lcExt"
12217 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12219 echo "$as_me:$LINENO: checking for gcc version" >&5
12220 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12221 if test "${wx_cv_gccversion+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 cat >conftest.
$ac_ext <<_ACEOF
12228 cat confdefs.h
>>conftest.
$ac_ext
12229 cat >>conftest.
$ac_ext <<_ACEOF
12230 /* end confdefs.h. */
12244 rm -f conftest.
$ac_objext
12245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12246 (eval $ac_compile) 2>conftest.er1
12248 grep -v '^ *+' conftest.er1
>conftest.err
12250 cat conftest.err
>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); } &&
12253 { ac_try
='test -z "$ac_c_werror_flag"
12254 || test ! -s conftest.err'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; } &&
12260 { ac_try
='test -s conftest.$ac_objext'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12267 cat >conftest.
$ac_ext <<_ACEOF
12270 cat confdefs.h
>>conftest.
$ac_ext
12271 cat >>conftest.
$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12278 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12279 #error intermediate gcc
12286 rm -f conftest.
$ac_objext
12287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12288 (eval $ac_compile) 2>conftest.er1
12290 grep -v '^ *+' conftest.er1
>conftest.err
12292 cat conftest.err
>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } &&
12295 { ac_try
='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; } &&
12302 { ac_try
='test -s conftest.$ac_objext'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12309 wx_cv_gccversion
=Innotek
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.
$ac_ext >&5
12320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.
$ac_ext >&5
12331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12334 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12335 echo "${ECHO_T}$wx_cv_gccversion" >&6
12336 if test "$wx_cv_gccversion" = "2"; then
12337 LIBS
="$LIBS -lstdcpp"
12338 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12340 if test "$wx_cv_gccversion" = "3"; then
12341 LIBS
="$LIBS -lstdcxx"
12342 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12344 LIBS
="$LIBS -lstdc++"
12347 if test "$wxUSE_OMF" = "yes"; then
12348 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12356 ac_cpp
='$CXXCPP $CPPFLAGS'
12357 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12358 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12359 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12363 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12364 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12365 if test "${ac_cv_string_strcasecmp+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 cat >conftest.
$ac_ext <<_ACEOF
12372 cat confdefs.h
>>conftest.
$ac_ext
12373 cat >>conftest.
$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12376 #include <string.h>
12382 strcasecmp("foo", "bar");
12388 rm -f conftest.
$ac_objext conftest
$ac_exeext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12390 (eval $ac_link) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try
='test -z "$ac_cxx_werror_flag"
12398 || test ! -s conftest.err'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; } &&
12404 { ac_try
='test -s conftest$ac_exeext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_cv_string_strcasecmp
=yes
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.
$ac_ext >&5
12415 ac_cv_string_strcasecmp
=no
12418 rm -f conftest.err conftest.
$ac_objext \
12419 conftest
$ac_exeext conftest.
$ac_ext
12422 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12423 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12425 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12426 cat >>confdefs.h
<<\_ACEOF
12427 #define HAVE_STRCASECMP_IN_STRING_H 1
12431 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12432 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12433 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12434 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 cat >conftest.
$ac_ext <<_ACEOF
12440 cat confdefs.h
>>conftest.
$ac_ext
12441 cat >>conftest.
$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12444 #include <strings.h>
12450 strcasecmp("foo", "bar");
12456 rm -f conftest.
$ac_objext conftest
$ac_exeext
12457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>conftest.er1
12460 grep -v '^ *+' conftest.er1
>conftest.err
12462 cat conftest.err
>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try
='test -z "$ac_cxx_werror_flag"
12466 || test ! -s conftest.err'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; } &&
12472 { ac_try
='test -s conftest$ac_exeext'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; }; then
12478 ac_cv_strings_strcasecmp
=yes
12480 echo "$as_me: failed program was:" >&5
12481 sed 's/^/| /' conftest.
$ac_ext >&5
12483 ac_cv_strings_strcasecmp
=no
12486 rm -f conftest.err conftest.
$ac_objext \
12487 conftest
$ac_exeext conftest.
$ac_ext
12490 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12491 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12493 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12494 cat >>confdefs.h
<<\_ACEOF
12495 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12499 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12500 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12501 { (exit 1); exit 1; }; }
12506 ac_cpp
='$CPP $CPPFLAGS'
12507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12515 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12516 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12517 if test "${ac_cv_header_stdc+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 cat >conftest.
$ac_ext <<_ACEOF
12523 cat confdefs.h
>>conftest.
$ac_ext
12524 cat >>conftest.
$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12526 #include <stdlib.h>
12527 #include <stdarg.h>
12528 #include <string.h>
12539 rm -f conftest.
$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_c_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try
='test -s conftest.$ac_objext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_cv_header_stdc
=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12566 ac_cv_header_stdc
=no
12568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12570 if test $ac_cv_header_stdc = yes; then
12571 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12572 cat >conftest.
$ac_ext <<_ACEOF
12575 cat confdefs.h
>>conftest.
$ac_ext
12576 cat >>conftest.
$ac_ext <<_ACEOF
12577 /* end confdefs.h. */
12578 #include <string.h>
12581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12582 $EGREP "memchr" >/dev
/null
2>&1; then
12585 ac_cv_header_stdc
=no
12591 if test $ac_cv_header_stdc = yes; then
12592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12593 cat >conftest.
$ac_ext <<_ACEOF
12596 cat confdefs.h
>>conftest.
$ac_ext
12597 cat >>conftest.
$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 #include <stdlib.h>
12602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12603 $EGREP "free" >/dev
/null
2>&1; then
12606 ac_cv_header_stdc
=no
12612 if test $ac_cv_header_stdc = yes; then
12613 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12614 if test "$cross_compiling" = yes; then
12617 cat >conftest.
$ac_ext <<_ACEOF
12620 cat confdefs.h
>>conftest.
$ac_ext
12621 cat >>conftest.
$ac_ext <<_ACEOF
12622 /* end confdefs.h. */
12624 #if ((' ' & 0x0FF) == 0x020)
12625 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12626 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12628 # define ISLOWER(c) \
12629 (('a' <= (c) && (c) <= 'i') \
12630 || ('j' <= (c) && (c) <= 'r') \
12631 || ('s' <= (c) && (c) <= 'z'))
12632 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12640 for (i = 0; i < 256; i++)
12641 if (XOR (islower (i), ISLOWER (i))
12642 || toupper (i) != TOUPPER (i))
12647 rm -f conftest
$ac_exeext
12648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12649 (eval $ac_link) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; }; then
12660 echo "$as_me: program exited with status $ac_status" >&5
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.
$ac_ext >&5
12664 ( exit $ac_status )
12665 ac_cv_header_stdc
=no
12667 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12671 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12672 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12673 if test $ac_cv_header_stdc = yes; then
12675 cat >>confdefs.h
<<\_ACEOF
12676 #define STDC_HEADERS 1
12681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12691 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12692 inttypes.h stdint.h unistd.h
12694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12695 echo "$as_me:$LINENO: checking for $ac_header" >&5
12696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 cat >conftest.
$ac_ext <<_ACEOF
12703 cat confdefs.h
>>conftest.
$ac_ext
12704 cat >>conftest.
$ac_ext <<_ACEOF
12705 /* end confdefs.h. */
12706 $ac_includes_default
12708 #include <$ac_header>
12710 rm -f conftest.
$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712 (eval $ac_compile) 2>conftest.er1
12714 grep -v '^ *+' conftest.er1
>conftest.err
12716 cat conftest.err
>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try
='test -z "$ac_c_werror_flag"
12720 || test ! -s conftest.err'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; } &&
12726 { ac_try
='test -s conftest.$ac_objext'
12727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12728 (eval $ac_try) 2>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); }; }; then
12732 eval "$as_ac_Header=yes"
12734 echo "$as_me: failed program was:" >&5
12735 sed 's/^/| /' conftest.
$ac_ext >&5
12737 eval "$as_ac_Header=no"
12739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12744 cat >>confdefs.h
<<_ACEOF
12745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12754 for ac_header
in stdlib.h
12756 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12758 echo "$as_me:$LINENO: checking for $ac_header" >&5
12759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12766 # Is the header compilable?
12767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12769 cat >conftest.
$ac_ext <<_ACEOF
12772 cat confdefs.h
>>conftest.
$ac_ext
12773 cat >>conftest.
$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12775 $ac_includes_default
12776 #include <$ac_header>
12778 rm -f conftest.
$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>conftest.er1
12782 grep -v '^ *+' conftest.er1
>conftest.err
12784 cat conftest.err
>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try
='test -z "$ac_c_werror_flag"
12788 || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try
='test -s conftest.$ac_objext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 ac_header_compiler
=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 ac_header_compiler
=no
12807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12809 echo "${ECHO_T}$ac_header_compiler" >&6
12811 # Is the header present?
12812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12814 cat >conftest.
$ac_ext <<_ACEOF
12817 cat confdefs.h
>>conftest.
$ac_ext
12818 cat >>conftest.
$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12820 #include <$ac_header>
12822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } >/dev
/null
; then
12830 if test -s conftest.err
; then
12831 ac_cpp_err
=$ac_c_preproc_warn_flag
12832 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12839 if test -z "$ac_cpp_err"; then
12840 ac_header_preproc
=yes
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 ac_header_preproc
=no
12847 rm -f conftest.err conftest.
$ac_ext
12848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12849 echo "${ECHO_T}$ac_header_preproc" >&6
12851 # So? What about this header?
12852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12858 ac_header_preproc
=yes
12861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12875 ## ----------------------------------------- ##
12876 ## Report this to wx-dev@lists.wxwidgets.org ##
12877 ## ----------------------------------------- ##
12880 sed "s/^/$as_me: WARNING: /" >&2
12883 echo "$as_me:$LINENO: checking for $ac_header" >&5
12884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 eval "$as_ac_Header=\$ac_header_preproc"
12890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12895 cat >>confdefs.h
<<_ACEOF
12896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12904 for ac_header
in malloc.h
12906 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12908 echo "$as_me:$LINENO: checking for $ac_header" >&5
12909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12916 # Is the header compilable?
12917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12919 cat >conftest.
$ac_ext <<_ACEOF
12922 cat confdefs.h
>>conftest.
$ac_ext
12923 cat >>conftest.
$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 $ac_includes_default
12926 #include <$ac_header>
12928 rm -f conftest.
$ac_objext
12929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12930 (eval $ac_compile) 2>conftest.er1
12932 grep -v '^ *+' conftest.er1
>conftest.err
12934 cat conftest.err
>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); } &&
12937 { ac_try
='test -z "$ac_c_werror_flag"
12938 || test ! -s conftest.err'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; } &&
12944 { ac_try
='test -s conftest.$ac_objext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_header_compiler
=yes
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.
$ac_ext >&5
12955 ac_header_compiler
=no
12957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12959 echo "${ECHO_T}$ac_header_compiler" >&6
12961 # Is the header present?
12962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12964 cat >conftest.
$ac_ext <<_ACEOF
12967 cat confdefs.h
>>conftest.
$ac_ext
12968 cat >>conftest.
$ac_ext <<_ACEOF
12969 /* end confdefs.h. */
12970 #include <$ac_header>
12972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12973 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12975 grep -v '^ *+' conftest.er1
>conftest.err
12977 cat conftest.err
>&5
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); } >/dev
/null
; then
12980 if test -s conftest.err
; then
12981 ac_cpp_err
=$ac_c_preproc_warn_flag
12982 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12989 if test -z "$ac_cpp_err"; then
12990 ac_header_preproc
=yes
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.
$ac_ext >&5
12995 ac_header_preproc
=no
12997 rm -f conftest.err conftest.
$ac_ext
12998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12999 echo "${ECHO_T}$ac_header_preproc" >&6
13001 # So? What about this header?
13002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13008 ac_header_preproc
=yes
13011 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13013 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13014 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13015 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13017 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13018 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13021 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13025 ## ----------------------------------------- ##
13026 ## Report this to wx-dev@lists.wxwidgets.org ##
13027 ## ----------------------------------------- ##
13030 sed "s/^/$as_me: WARNING: /" >&2
13033 echo "$as_me:$LINENO: checking for $ac_header" >&5
13034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13036 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 eval "$as_ac_Header=\$ac_header_preproc"
13040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13045 cat >>confdefs.h
<<_ACEOF
13046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13054 for ac_header
in unistd.h
13056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13058 echo "$as_me:$LINENO: checking for $ac_header" >&5
13059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13066 # Is the header compilable?
13067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13069 cat >conftest.
$ac_ext <<_ACEOF
13072 cat confdefs.h
>>conftest.
$ac_ext
13073 cat >>conftest.
$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 $ac_includes_default
13076 #include <$ac_header>
13078 rm -f conftest.
$ac_objext
13079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13080 (eval $ac_compile) 2>conftest.er1
13082 grep -v '^ *+' conftest.er1
>conftest.err
13084 cat conftest.err
>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } &&
13087 { ac_try
='test -z "$ac_c_werror_flag"
13088 || test ! -s conftest.err'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; } &&
13094 { ac_try
='test -s conftest.$ac_objext'
13095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096 (eval $ac_try) 2>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); }; }; then
13100 ac_header_compiler
=yes
13102 echo "$as_me: failed program was:" >&5
13103 sed 's/^/| /' conftest.
$ac_ext >&5
13105 ac_header_compiler
=no
13107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13109 echo "${ECHO_T}$ac_header_compiler" >&6
13111 # Is the header present?
13112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13114 cat >conftest.
$ac_ext <<_ACEOF
13117 cat confdefs.h
>>conftest.
$ac_ext
13118 cat >>conftest.
$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 #include <$ac_header>
13122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13125 grep -v '^ *+' conftest.er1
>conftest.err
13127 cat conftest.err
>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } >/dev
/null
; then
13130 if test -s conftest.err
; then
13131 ac_cpp_err
=$ac_c_preproc_warn_flag
13132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13139 if test -z "$ac_cpp_err"; then
13140 ac_header_preproc
=yes
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.
$ac_ext >&5
13145 ac_header_preproc
=no
13147 rm -f conftest.err conftest.
$ac_ext
13148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13149 echo "${ECHO_T}$ac_header_preproc" >&6
13151 # So? What about this header?
13152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13158 ac_header_preproc
=yes
13161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13175 ## ----------------------------------------- ##
13176 ## Report this to wx-dev@lists.wxwidgets.org ##
13177 ## ----------------------------------------- ##
13180 sed "s/^/$as_me: WARNING: /" >&2
13183 echo "$as_me:$LINENO: checking for $ac_header" >&5
13184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 eval "$as_ac_Header=\$ac_header_preproc"
13190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13195 cat >>confdefs.h
<<_ACEOF
13196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13204 for ac_header
in wchar.h
13206 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13208 echo "$as_me:$LINENO: checking for $ac_header" >&5
13209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13216 # Is the header compilable?
13217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 $ac_includes_default
13226 #include <$ac_header>
13228 rm -f conftest.
$ac_objext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13230 (eval $ac_compile) 2>conftest.er1
13232 grep -v '^ *+' conftest.er1
>conftest.err
13234 cat conftest.err
>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try
='test -z "$ac_c_werror_flag"
13238 || test ! -s conftest.err'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; } &&
13244 { ac_try
='test -s conftest.$ac_objext'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 ac_header_compiler
=yes
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.
$ac_ext >&5
13255 ac_header_compiler
=no
13257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13259 echo "${ECHO_T}$ac_header_compiler" >&6
13261 # Is the header present?
13262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13264 cat >conftest.
$ac_ext <<_ACEOF
13267 cat confdefs.h
>>conftest.
$ac_ext
13268 cat >>conftest.
$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 #include <$ac_header>
13272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13275 grep -v '^ *+' conftest.er1
>conftest.err
13277 cat conftest.err
>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } >/dev
/null
; then
13280 if test -s conftest.err
; then
13281 ac_cpp_err
=$ac_c_preproc_warn_flag
13282 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13289 if test -z "$ac_cpp_err"; then
13290 ac_header_preproc
=yes
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.
$ac_ext >&5
13295 ac_header_preproc
=no
13297 rm -f conftest.err conftest.
$ac_ext
13298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13299 echo "${ECHO_T}$ac_header_preproc" >&6
13301 # So? What about this header?
13302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13308 ac_header_preproc
=yes
13311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13325 ## ----------------------------------------- ##
13326 ## Report this to wx-dev@lists.wxwidgets.org ##
13327 ## ----------------------------------------- ##
13330 sed "s/^/$as_me: WARNING: /" >&2
13333 echo "$as_me:$LINENO: checking for $ac_header" >&5
13334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 eval "$as_ac_Header=\$ac_header_preproc"
13340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13345 cat >>confdefs.h
<<_ACEOF
13346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13354 if test "$ac_cv_header_wchar_h" != "yes"; then
13356 for ac_header
in wcstr.h
13358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13360 echo "$as_me:$LINENO: checking for $ac_header" >&5
13361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13368 # Is the header compilable?
13369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13371 cat >conftest.
$ac_ext <<_ACEOF
13374 cat confdefs.h
>>conftest.
$ac_ext
13375 cat >>conftest.
$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 $ac_includes_default
13378 #include <$ac_header>
13380 rm -f conftest.
$ac_objext
13381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13382 (eval $ac_compile) 2>conftest.er1
13384 grep -v '^ *+' conftest.er1
>conftest.err
13386 cat conftest.err
>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } &&
13389 { ac_try
='test -z "$ac_c_werror_flag"
13390 || test ! -s conftest.err'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; } &&
13396 { ac_try
='test -s conftest.$ac_objext'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; }; then
13402 ac_header_compiler
=yes
13404 echo "$as_me: failed program was:" >&5
13405 sed 's/^/| /' conftest.
$ac_ext >&5
13407 ac_header_compiler
=no
13409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13411 echo "${ECHO_T}$ac_header_compiler" >&6
13413 # Is the header present?
13414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13422 #include <$ac_header>
13424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13425 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13427 grep -v '^ *+' conftest.er1
>conftest.err
13429 cat conftest.err
>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } >/dev
/null
; then
13432 if test -s conftest.err
; then
13433 ac_cpp_err
=$ac_c_preproc_warn_flag
13434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13441 if test -z "$ac_cpp_err"; then
13442 ac_header_preproc
=yes
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.
$ac_ext >&5
13447 ac_header_preproc
=no
13449 rm -f conftest.err conftest.
$ac_ext
13450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13451 echo "${ECHO_T}$ac_header_preproc" >&6
13453 # So? What about this header?
13454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13460 ac_header_preproc
=yes
13463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13477 ## ----------------------------------------- ##
13478 ## Report this to wx-dev@lists.wxwidgets.org ##
13479 ## ----------------------------------------- ##
13482 sed "s/^/$as_me: WARNING: /" >&2
13485 echo "$as_me:$LINENO: checking for $ac_header" >&5
13486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 eval "$as_ac_Header=\$ac_header_preproc"
13492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13497 cat >>confdefs.h
<<_ACEOF
13498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13508 for ac_header
in fnmatch.h
13510 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13512 echo "$as_me:$LINENO: checking for $ac_header" >&5
13513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13515 echo $ECHO_N "(cached) $ECHO_C" >&6
13517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13520 # Is the header compilable?
13521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13523 cat >conftest.
$ac_ext <<_ACEOF
13526 cat confdefs.h
>>conftest.
$ac_ext
13527 cat >>conftest.
$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13530 #include <$ac_header>
13532 rm -f conftest.
$ac_objext
13533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13534 (eval $ac_compile) 2>conftest.er1
13536 grep -v '^ *+' conftest.er1
>conftest.err
13538 cat conftest.err
>&5
13539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540 (exit $ac_status); } &&
13541 { ac_try
='test -z "$ac_c_werror_flag"
13542 || test ! -s conftest.err'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; } &&
13548 { ac_try
='test -s conftest.$ac_objext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 ac_header_compiler
=yes
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.
$ac_ext >&5
13559 ac_header_compiler
=no
13561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13563 echo "${ECHO_T}$ac_header_compiler" >&6
13565 # Is the header present?
13566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13568 cat >conftest.
$ac_ext <<_ACEOF
13571 cat confdefs.h
>>conftest.
$ac_ext
13572 cat >>conftest.
$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13574 #include <$ac_header>
13576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13579 grep -v '^ *+' conftest.er1
>conftest.err
13581 cat conftest.err
>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } >/dev
/null
; then
13584 if test -s conftest.err
; then
13585 ac_cpp_err
=$ac_c_preproc_warn_flag
13586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13593 if test -z "$ac_cpp_err"; then
13594 ac_header_preproc
=yes
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.
$ac_ext >&5
13599 ac_header_preproc
=no
13601 rm -f conftest.err conftest.
$ac_ext
13602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13603 echo "${ECHO_T}$ac_header_preproc" >&6
13605 # So? What about this header?
13606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13612 ac_header_preproc
=yes
13615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13629 ## ----------------------------------------- ##
13630 ## Report this to wx-dev@lists.wxwidgets.org ##
13631 ## ----------------------------------------- ##
13634 sed "s/^/$as_me: WARNING: /" >&2
13637 echo "$as_me:$LINENO: checking for $ac_header" >&5
13638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 eval "$as_ac_Header=\$ac_header_preproc"
13644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13649 cat >>confdefs.h
<<_ACEOF
13650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13658 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13660 for ac_func
in fnmatch
13662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13663 echo "$as_me:$LINENO: checking for $ac_func" >&5
13664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13665 if eval "test \"\${$as_ac_var+set}\" = set"; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 cat >conftest.
$ac_ext <<_ACEOF
13671 cat confdefs.h
>>conftest.
$ac_ext
13672 cat >>conftest.
$ac_ext <<_ACEOF
13673 /* end confdefs.h. */
13674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13676 #define $ac_func innocuous_$ac_func
13678 /* System header to define __stub macros and hopefully few prototypes,
13679 which can conflict with char $ac_func (); below.
13680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13681 <limits.h> exists even on freestanding compilers. */
13684 # include <limits.h>
13686 # include <assert.h>
13691 /* Override any gcc2 internal prototype to avoid an error. */
13696 /* We use char because int might match the return type of a gcc2
13697 builtin and then its argument prototype would still apply. */
13699 /* The GNU C library defines this for functions which it implements
13700 to always fail with ENOSYS. Some functions are actually named
13701 something starting with __ and the normal name is an alias. */
13702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13705 char (*f) () = $ac_func;
13714 return f != $ac_func;
13719 rm -f conftest.
$ac_objext conftest
$ac_exeext
13720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13721 (eval $ac_link) 2>conftest.er1
13723 grep -v '^ *+' conftest.er1
>conftest.err
13725 cat conftest.err
>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } &&
13728 { ac_try
='test -z "$ac_c_werror_flag"
13729 || test ! -s conftest.err'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; } &&
13735 { ac_try
='test -s conftest$ac_exeext'
13736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13737 (eval $ac_try) 2>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; }; then
13741 eval "$as_ac_var=yes"
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.
$ac_ext >&5
13746 eval "$as_ac_var=no"
13748 rm -f conftest.err conftest.
$ac_objext \
13749 conftest
$ac_exeext conftest.
$ac_ext
13751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13753 if test `eval echo '${'$as_ac_var'}'` = yes; then
13754 cat >>confdefs.h
<<_ACEOF
13755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13764 for ac_header
in langinfo.h
13766 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13768 echo "$as_me:$LINENO: checking for $ac_header" >&5
13769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13776 # Is the header compilable?
13777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13779 cat >conftest.
$ac_ext <<_ACEOF
13782 cat confdefs.h
>>conftest.
$ac_ext
13783 cat >>conftest.
$ac_ext <<_ACEOF
13784 /* end confdefs.h. */
13785 $ac_includes_default
13786 #include <$ac_header>
13788 rm -f conftest.
$ac_objext
13789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13790 (eval $ac_compile) 2>conftest.er1
13792 grep -v '^ *+' conftest.er1
>conftest.err
13794 cat conftest.err
>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } &&
13797 { ac_try
='test -z "$ac_c_werror_flag"
13798 || test ! -s conftest.err'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; } &&
13804 { ac_try
='test -s conftest.$ac_objext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_header_compiler
=yes
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.
$ac_ext >&5
13815 ac_header_compiler
=no
13817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13819 echo "${ECHO_T}$ac_header_compiler" >&6
13821 # Is the header present?
13822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13824 cat >conftest.
$ac_ext <<_ACEOF
13827 cat confdefs.h
>>conftest.
$ac_ext
13828 cat >>conftest.
$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13830 #include <$ac_header>
13832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13833 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13835 grep -v '^ *+' conftest.er1
>conftest.err
13837 cat conftest.err
>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } >/dev
/null
; then
13840 if test -s conftest.err
; then
13841 ac_cpp_err
=$ac_c_preproc_warn_flag
13842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13849 if test -z "$ac_cpp_err"; then
13850 ac_header_preproc
=yes
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.
$ac_ext >&5
13855 ac_header_preproc
=no
13857 rm -f conftest.err conftest.
$ac_ext
13858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13859 echo "${ECHO_T}$ac_header_preproc" >&6
13861 # So? What about this header?
13862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13868 ac_header_preproc
=yes
13871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13885 ## ----------------------------------------- ##
13886 ## Report this to wx-dev@lists.wxwidgets.org ##
13887 ## ----------------------------------------- ##
13890 sed "s/^/$as_me: WARNING: /" >&2
13893 echo "$as_me:$LINENO: checking for $ac_header" >&5
13894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 eval "$as_ac_Header=\$ac_header_preproc"
13900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13905 cat >>confdefs.h
<<_ACEOF
13906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13915 *-pc-os2_emx | *-pc-os2-emx )
13916 if test $ac_cv_header_langinfo_h = "yes"; then
13917 LIBS
="$LIBS -lintl"
13922 if test "$wxUSE_GUI" = "yes"; then
13923 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13925 for ac_header
in X
11/Xlib.h
13927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13929 echo "$as_me:$LINENO: checking for $ac_header" >&5
13930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13937 # Is the header compilable?
13938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13940 cat >conftest.
$ac_ext <<_ACEOF
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13947 #include <$ac_header>
13949 rm -f conftest.
$ac_objext
13950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>conftest.er1
13953 grep -v '^ *+' conftest.er1
>conftest.err
13955 cat conftest.err
>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } &&
13958 { ac_try
='test -z "$ac_c_werror_flag"
13959 || test ! -s conftest.err'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; } &&
13965 { ac_try
='test -s conftest.$ac_objext'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; }; then
13971 ac_header_compiler
=yes
13973 echo "$as_me: failed program was:" >&5
13974 sed 's/^/| /' conftest.
$ac_ext >&5
13976 ac_header_compiler
=no
13978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13980 echo "${ECHO_T}$ac_header_compiler" >&6
13982 # Is the header present?
13983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13985 cat >conftest.
$ac_ext <<_ACEOF
13988 cat confdefs.h
>>conftest.
$ac_ext
13989 cat >>conftest.
$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 #include <$ac_header>
13993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13996 grep -v '^ *+' conftest.er1
>conftest.err
13998 cat conftest.err
>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); } >/dev
/null
; then
14001 if test -s conftest.err
; then
14002 ac_cpp_err
=$ac_c_preproc_warn_flag
14003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14010 if test -z "$ac_cpp_err"; then
14011 ac_header_preproc
=yes
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.
$ac_ext >&5
14016 ac_header_preproc
=no
14018 rm -f conftest.err conftest.
$ac_ext
14019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14020 echo "${ECHO_T}$ac_header_preproc" >&6
14022 # So? What about this header?
14023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14029 ac_header_preproc
=yes
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14046 ## ----------------------------------------- ##
14047 ## Report this to wx-dev@lists.wxwidgets.org ##
14048 ## ----------------------------------------- ##
14051 sed "s/^/$as_me: WARNING: /" >&2
14054 echo "$as_me:$LINENO: checking for $ac_header" >&5
14055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 eval "$as_ac_Header=\$ac_header_preproc"
14061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14066 cat >>confdefs.h
<<_ACEOF
14067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14075 for ac_header
in X
11/XKBlib.h
14077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14078 echo "$as_me:$LINENO: checking for $ac_header" >&5
14079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 cat >conftest.
$ac_ext <<_ACEOF
14086 cat confdefs.h
>>conftest.
$ac_ext
14087 cat >>conftest.
$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14090 #if HAVE_X11_XLIB_H
14091 #include <X11/Xlib.h>
14095 #include <$ac_header>
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14101 grep -v '^ *+' conftest.er1
>conftest.err
14103 cat conftest.err
>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try
='test -z "$ac_c_werror_flag"
14107 || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try
='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 eval "$as_ac_Header=yes"
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.
$ac_ext >&5
14124 eval "$as_ac_Header=no"
14126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14131 cat >>confdefs.h
<<_ACEOF
14132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14143 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14144 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14145 if test "${ac_cv_c_const+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 cat >conftest.
$ac_ext <<_ACEOF
14151 cat confdefs.h
>>conftest.
$ac_ext
14152 cat >>conftest.
$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14158 /* FIXME: Include the comments suggested by Paul. */
14159 #ifndef __cplusplus
14160 /* Ultrix mips cc rejects this. */
14161 typedef int charset[2];
14163 /* SunOS 4.1.1 cc rejects this. */
14164 char const *const *ccp;
14166 /* NEC SVR4.0.2 mips cc rejects this. */
14167 struct point {int x, y;};
14168 static struct point const zero = {0,0};
14169 /* AIX XL C 1.02.0.0 rejects this.
14170 It does not let you subtract one const X* pointer from another in
14171 an arm of an if-expression whose if-part is not a constant
14173 const char *g = "string";
14174 ccp = &g + (g ? g-g : 0);
14175 /* HPUX 7.0 cc rejects these. */
14178 ccp = (char const *const *) p;
14179 { /* SCO 3.2v4 cc rejects this. */
14181 char const *s = 0 ? (char *) 0 : (char const *) 0;
14185 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14186 int x[] = {25, 17};
14187 const int *foo = &x[0];
14190 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14191 typedef const int *iptr;
14195 { /* AIX XL C 1.02.0.0 rejects this saying
14196 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14197 struct s { int j; const int *ap[3]; };
14198 struct s *b; b->j = 5;
14200 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14201 const int foo = 10;
14209 rm -f conftest.
$ac_objext
14210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14211 (eval $ac_compile) 2>conftest.er1
14213 grep -v '^ *+' conftest.er1
>conftest.err
14215 cat conftest.err
>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); } &&
14218 { ac_try
='test -z "$ac_c_werror_flag"
14219 || test ! -s conftest.err'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; } &&
14225 { ac_try
='test -s conftest.$ac_objext'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; }; then
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.
$ac_ext >&5
14238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14240 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14241 echo "${ECHO_T}$ac_cv_c_const" >&6
14242 if test $ac_cv_c_const = no
; then
14244 cat >>confdefs.h
<<\_ACEOF
14250 echo "$as_me:$LINENO: checking for inline" >&5
14251 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14252 if test "${ac_cv_c_inline+set}" = set; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 for ac_kw
in inline __inline__ __inline
; do
14257 cat >conftest.
$ac_ext <<_ACEOF
14260 cat confdefs.h
>>conftest.
$ac_ext
14261 cat >>conftest.
$ac_ext <<_ACEOF
14262 /* end confdefs.h. */
14263 #ifndef __cplusplus
14265 static $ac_kw foo_t static_foo () {return 0; }
14266 $ac_kw foo_t foo () {return 0; }
14270 rm -f conftest.
$ac_objext
14271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14272 (eval $ac_compile) 2>conftest.er1
14274 grep -v '^ *+' conftest.er1
>conftest.err
14276 cat conftest.err
>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try
='test -z "$ac_c_werror_flag"
14280 || test ! -s conftest.err'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; } &&
14286 { ac_try
='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_cv_c_inline
=$ac_kw; break
14294 echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.
$ac_ext >&5
14298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14302 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14303 echo "${ECHO_T}$ac_cv_c_inline" >&6
14306 case $ac_cv_c_inline in
14309 case $ac_cv_c_inline in
14311 *) ac_val
=$ac_cv_c_inline;;
14313 cat >>confdefs.h
<<_ACEOF
14314 #ifndef __cplusplus
14315 #define inline $ac_val
14322 echo "$as_me:$LINENO: checking for char" >&5
14323 echo $ECHO_N "checking for char... $ECHO_C" >&6
14324 if test "${ac_cv_type_char+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 cat >conftest.
$ac_ext <<_ACEOF
14330 cat confdefs.h
>>conftest.
$ac_ext
14331 cat >>conftest.
$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 $ac_includes_default
14345 rm -f conftest.
$ac_objext
14346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14347 (eval $ac_compile) 2>conftest.er1
14349 grep -v '^ *+' conftest.er1
>conftest.err
14351 cat conftest.err
>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); } &&
14354 { ac_try
='test -z "$ac_c_werror_flag"
14355 || test ! -s conftest.err'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; } &&
14361 { ac_try
='test -s conftest.$ac_objext'
14362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14363 (eval $ac_try) 2>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }; }; then
14367 ac_cv_type_char
=yes
14369 echo "$as_me: failed program was:" >&5
14370 sed 's/^/| /' conftest.
$ac_ext >&5
14374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14376 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14377 echo "${ECHO_T}$ac_cv_type_char" >&6
14379 echo "$as_me:$LINENO: checking size of char" >&5
14380 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14381 if test "${ac_cv_sizeof_char+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14384 if test "$ac_cv_type_char" = yes; then
14385 # The cast to unsigned long works around a bug in the HP C Compiler
14386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14388 # This bug is HP SR number 8606223364.
14389 if test "$cross_compiling" = yes; then
14390 # Depending upon the size, compute the lo and hi bounds.
14391 cat >conftest.
$ac_ext <<_ACEOF
14394 cat confdefs.h
>>conftest.
$ac_ext
14395 cat >>conftest.
$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397 $ac_includes_default
14401 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14408 rm -f conftest.
$ac_objext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14410 (eval $ac_compile) 2>conftest.er1
14412 grep -v '^ *+' conftest.er1
>conftest.err
14414 cat conftest.err
>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try
='test -z "$ac_c_werror_flag"
14418 || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try
='test -s conftest.$ac_objext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14432 cat >conftest.
$ac_ext <<_ACEOF
14435 cat confdefs.h
>>conftest.
$ac_ext
14436 cat >>conftest.
$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14438 $ac_includes_default
14442 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14449 rm -f conftest.
$ac_objext
14450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14451 (eval $ac_compile) 2>conftest.er1
14453 grep -v '^ *+' conftest.er1
>conftest.err
14455 cat conftest.err
>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } &&
14458 { ac_try
='test -z "$ac_c_werror_flag"
14459 || test ! -s conftest.err'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; } &&
14465 { ac_try
='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14471 ac_hi
=$ac_mid; break
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.
$ac_ext >&5
14476 ac_lo
=`expr $ac_mid + 1`
14477 if test $ac_lo -le $ac_mid; then
14481 ac_mid
=`expr 2 '*' $ac_mid + 1`
14483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.
$ac_ext >&5
14489 cat >conftest.
$ac_ext <<_ACEOF
14492 cat confdefs.h
>>conftest.
$ac_ext
14493 cat >>conftest.
$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14499 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14506 rm -f conftest.
$ac_objext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14508 (eval $ac_compile) 2>conftest.er1
14510 grep -v '^ *+' conftest.er1
>conftest.err
14512 cat conftest.err
>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); } &&
14515 { ac_try
='test -z "$ac_c_werror_flag"
14516 || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try
='test -s conftest.$ac_objext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14530 cat >conftest.
$ac_ext <<_ACEOF
14533 cat confdefs.h
>>conftest.
$ac_ext
14534 cat >>conftest.
$ac_ext <<_ACEOF
14535 /* end confdefs.h. */
14536 $ac_includes_default
14540 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14547 rm -f conftest.
$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14551 grep -v '^ *+' conftest.er1
>conftest.err
14553 cat conftest.err
>&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try
='test -z "$ac_c_werror_flag"
14557 || test ! -s conftest.err'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; } &&
14563 { ac_try
='test -s conftest.$ac_objext'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 ac_lo
=$ac_mid; break
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.
$ac_ext >&5
14574 ac_hi
=`expr '(' $ac_mid ')' - 1`
14575 if test $ac_mid -le $ac_hi; then
14579 ac_mid
=`expr 2 '*' $ac_mid`
14581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.
$ac_ext >&5
14589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14592 # Binary search between lo and hi bounds.
14593 while test "x$ac_lo" != "x$ac_hi"; do
14594 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14595 cat >conftest.
$ac_ext <<_ACEOF
14598 cat confdefs.h
>>conftest.
$ac_ext
14599 cat >>conftest.
$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601 $ac_includes_default
14605 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14612 rm -f conftest.
$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14616 grep -v '^ *+' conftest.er1
>conftest.err
14618 cat conftest.err
>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try
='test -z "$ac_c_werror_flag"
14622 || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try
='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14639 ac_lo
=`expr '(' $ac_mid ')' + 1`
14641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14644 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14645 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14646 See \`config.log' for more details." >&5
14647 echo "$as_me: error: cannot compute sizeof (char), 77
14648 See \`config.log' for more details." >&2;}
14649 { (exit 1); exit 1; }; } ;;
14652 if test "$cross_compiling" = yes; then
14653 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14654 See \`config.log' for more details." >&5
14655 echo "$as_me: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14659 cat >conftest.
$ac_ext <<_ACEOF
14662 cat confdefs.h
>>conftest.
$ac_ext
14663 cat >>conftest.
$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 $ac_includes_default
14666 long longval () { return (long) (sizeof (char)); }
14667 unsigned long ulongval () { return (long) (sizeof (char)); }
14669 #include <stdlib.h>
14674 FILE *f = fopen ("conftest.val", "w");
14677 if (((long) (sizeof (char))) < 0)
14679 long i = longval ();
14680 if (i != ((long) (sizeof (char))))
14682 fprintf (f, "%ld\n", i);
14686 unsigned long i = ulongval ();
14687 if (i != ((long) (sizeof (char))))
14689 fprintf (f, "%lu\n", i);
14691 exit (ferror (f) || fclose (f) != 0);
14697 rm -f conftest
$ac_exeext
14698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14699 (eval $ac_link) 2>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 ac_cv_sizeof_char
=`cat conftest.val`
14710 echo "$as_me: program exited with status $ac_status" >&5
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.
$ac_ext >&5
14714 ( exit $ac_status )
14715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14716 See \`config.log' for more details." >&5
14717 echo "$as_me: error: cannot compute sizeof (char), 77
14718 See \`config.log' for more details." >&2;}
14719 { (exit 1); exit 1; }; }
14721 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14726 ac_cv_sizeof_char
=0
14729 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14730 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14731 cat >>confdefs.h
<<_ACEOF
14732 #define SIZEOF_CHAR $ac_cv_sizeof_char
14736 echo "$as_me:$LINENO: checking for short" >&5
14737 echo $ECHO_N "checking for short... $ECHO_C" >&6
14738 if test "${ac_cv_type_short+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 cat >conftest.
$ac_ext <<_ACEOF
14744 cat confdefs.h
>>conftest.
$ac_ext
14745 cat >>conftest.
$ac_ext <<_ACEOF
14746 /* end confdefs.h. */
14747 $ac_includes_default
14753 if (sizeof (short))
14759 rm -f conftest.
$ac_objext
14760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761 (eval $ac_compile) 2>conftest.er1
14763 grep -v '^ *+' conftest.er1
>conftest.err
14765 cat conftest.err
>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } &&
14768 { ac_try
='test -z "$ac_c_werror_flag"
14769 || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try
='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 ac_cv_type_short
=yes
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14786 ac_cv_type_short
=no
14788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14790 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14791 echo "${ECHO_T}$ac_cv_type_short" >&6
14793 echo "$as_me:$LINENO: checking size of short" >&5
14794 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14795 if test "${ac_cv_sizeof_short+set}" = set; then
14796 echo $ECHO_N "(cached) $ECHO_C" >&6
14798 if test "$ac_cv_type_short" = yes; then
14799 # The cast to unsigned long works around a bug in the HP C Compiler
14800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14802 # This bug is HP SR number 8606223364.
14803 if test "$cross_compiling" = yes; then
14804 # Depending upon the size, compute the lo and hi bounds.
14805 cat >conftest.
$ac_ext <<_ACEOF
14808 cat confdefs.h
>>conftest.
$ac_ext
14809 cat >>conftest.
$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 $ac_includes_default
14815 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14822 rm -f conftest.
$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>conftest.er1
14826 grep -v '^ *+' conftest.er1
>conftest.err
14828 cat conftest.err
>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try
='test -z "$ac_c_werror_flag"
14832 || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try
='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
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 (short))) <= $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
14885 ac_hi
=$ac_mid; break
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ac_lo
=`expr $ac_mid + 1`
14891 if test $ac_lo -le $ac_mid; then
14895 ac_mid
=`expr 2 '*' $ac_mid + 1`
14897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.
$ac_ext >&5
14903 cat >conftest.
$ac_ext <<_ACEOF
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14913 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14920 rm -f conftest.
$ac_objext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>conftest.er1
14924 grep -v '^ *+' conftest.er1
>conftest.err
14926 cat conftest.err
>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try
='test -z "$ac_c_werror_flag"
14930 || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try
='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14944 cat >conftest.
$ac_ext <<_ACEOF
14947 cat confdefs.h
>>conftest.
$ac_ext
14948 cat >>conftest.
$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14950 $ac_includes_default
14954 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14961 rm -f conftest.
$ac_objext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14963 (eval $ac_compile) 2>conftest.er1
14965 grep -v '^ *+' conftest.er1
>conftest.err
14967 cat conftest.err
>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } &&
14970 { ac_try
='test -z "$ac_c_werror_flag"
14971 || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try
='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 ac_lo
=$ac_mid; break
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.
$ac_ext >&5
14988 ac_hi
=`expr '(' $ac_mid ')' - 1`
14989 if test $ac_mid -le $ac_hi; then
14993 ac_mid
=`expr 2 '*' $ac_mid`
14995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.
$ac_ext >&5
15003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15006 # Binary search between lo and hi bounds.
15007 while test "x$ac_lo" != "x$ac_hi"; do
15008 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15009 cat >conftest.
$ac_ext <<_ACEOF
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15019 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15026 rm -f conftest.
$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>conftest.er1
15030 grep -v '^ *+' conftest.er1
>conftest.err
15032 cat conftest.err
>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } &&
15035 { ac_try
='test -z "$ac_c_werror_flag"
15036 || test ! -s conftest.err'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; } &&
15042 { ac_try
='test -s conftest.$ac_objext'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; }; then
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15053 ac_lo
=`expr '(' $ac_mid ')' + 1`
15055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15058 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15059 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15060 See \`config.log' for more details." >&5
15061 echo "$as_me: error: cannot compute sizeof (short), 77
15062 See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; } ;;
15066 if test "$cross_compiling" = yes; then
15067 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15068 See \`config.log' for more details." >&5
15069 echo "$as_me: error: cannot run test program while cross compiling
15070 See \`config.log' for more details." >&2;}
15071 { (exit 1); exit 1; }; }
15073 cat >conftest.
$ac_ext <<_ACEOF
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 $ac_includes_default
15080 long longval () { return (long) (sizeof (short)); }
15081 unsigned long ulongval () { return (long) (sizeof (short)); }
15083 #include <stdlib.h>
15088 FILE *f = fopen ("conftest.val", "w");
15091 if (((long) (sizeof (short))) < 0)
15093 long i = longval ();
15094 if (i != ((long) (sizeof (short))))
15096 fprintf (f, "%ld\n", i);
15100 unsigned long i = ulongval ();
15101 if (i != ((long) (sizeof (short))))
15103 fprintf (f, "%lu\n", i);
15105 exit (ferror (f) || fclose (f) != 0);
15111 rm -f conftest
$ac_exeext
15112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15113 (eval $ac_link) 2>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 ac_cv_sizeof_short
=`cat conftest.val`
15124 echo "$as_me: program exited with status $ac_status" >&5
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.
$ac_ext >&5
15128 ( exit $ac_status )
15129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15130 See \`config.log' for more details." >&5
15131 echo "$as_me: error: cannot compute sizeof (short), 77
15132 See \`config.log' for more details." >&2;}
15133 { (exit 1); exit 1; }; }
15135 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15140 ac_cv_sizeof_short
=0
15143 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15144 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15145 cat >>confdefs.h
<<_ACEOF
15146 #define SIZEOF_SHORT $ac_cv_sizeof_short
15150 echo "$as_me:$LINENO: checking for void *" >&5
15151 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15152 if test "${ac_cv_type_void_p+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 cat >conftest.
$ac_ext <<_ACEOF
15158 cat confdefs.h
>>conftest.
$ac_ext
15159 cat >>conftest.
$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15161 $ac_includes_default
15167 if (sizeof (void *))
15173 rm -f conftest.
$ac_objext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15175 (eval $ac_compile) 2>conftest.er1
15177 grep -v '^ *+' conftest.er1
>conftest.err
15179 cat conftest.err
>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try
='test -z "$ac_c_werror_flag"
15183 || test ! -s conftest.err'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; } &&
15189 { ac_try
='test -s conftest.$ac_objext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_type_void_p
=yes
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.
$ac_ext >&5
15200 ac_cv_type_void_p
=no
15202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15204 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15205 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15207 echo "$as_me:$LINENO: checking size of void *" >&5
15208 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15209 if test "${ac_cv_sizeof_void_p+set}" = set; then
15210 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 if test "$ac_cv_type_void_p" = yes; then
15213 # The cast to unsigned long works around a bug in the HP C Compiler
15214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15216 # This bug is HP SR number 8606223364.
15217 if test "$cross_compiling" = yes; then
15218 # Depending upon the size, compute the lo and hi bounds.
15219 cat >conftest.
$ac_ext <<_ACEOF
15222 cat confdefs.h
>>conftest.
$ac_ext
15223 cat >>conftest.
$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15229 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15236 rm -f conftest.
$ac_objext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15238 (eval $ac_compile) 2>conftest.er1
15240 grep -v '^ *+' conftest.er1
>conftest.err
15242 cat conftest.err
>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } &&
15245 { ac_try
='test -z "$ac_c_werror_flag"
15246 || test ! -s conftest.err'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try
='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
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 (void *))) <= $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
15299 ac_hi
=$ac_mid; break
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.
$ac_ext >&5
15304 ac_lo
=`expr $ac_mid + 1`
15305 if test $ac_lo -le $ac_mid; then
15309 ac_mid
=`expr 2 '*' $ac_mid + 1`
15311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.
$ac_ext >&5
15317 cat >conftest.
$ac_ext <<_ACEOF
15320 cat confdefs.h
>>conftest.
$ac_ext
15321 cat >>conftest.
$ac_ext <<_ACEOF
15322 /* end confdefs.h. */
15323 $ac_includes_default
15327 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15334 rm -f conftest.
$ac_objext
15335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15336 (eval $ac_compile) 2>conftest.er1
15338 grep -v '^ *+' conftest.er1
>conftest.err
15340 cat conftest.err
>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); } &&
15343 { ac_try
='test -z "$ac_c_werror_flag"
15344 || test ! -s conftest.err'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; } &&
15350 { ac_try
='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15358 cat >conftest.
$ac_ext <<_ACEOF
15361 cat confdefs.h
>>conftest.
$ac_ext
15362 cat >>conftest.
$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15364 $ac_includes_default
15368 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15375 rm -f conftest.
$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15377 (eval $ac_compile) 2>conftest.er1
15379 grep -v '^ *+' conftest.er1
>conftest.err
15381 cat conftest.err
>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try
='test -z "$ac_c_werror_flag"
15385 || test ! -s conftest.err'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; } &&
15391 { ac_try
='test -s conftest.$ac_objext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_lo
=$ac_mid; break
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_hi
=`expr '(' $ac_mid ')' - 1`
15403 if test $ac_mid -le $ac_hi; then
15407 ac_mid
=`expr 2 '*' $ac_mid`
15409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15412 echo "$as_me: failed program was:" >&5
15413 sed 's/^/| /' conftest.
$ac_ext >&5
15417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15420 # Binary search between lo and hi bounds.
15421 while test "x$ac_lo" != "x$ac_hi"; do
15422 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15423 cat >conftest.
$ac_ext <<_ACEOF
15426 cat confdefs.h
>>conftest.
$ac_ext
15427 cat >>conftest.
$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 $ac_includes_default
15433 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15440 rm -f conftest.
$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>conftest.er1
15444 grep -v '^ *+' conftest.er1
>conftest.err
15446 cat conftest.err
>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try
='test -z "$ac_c_werror_flag"
15450 || test ! -s conftest.err'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; } &&
15456 { ac_try
='test -s conftest.$ac_objext'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; }; then
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.
$ac_ext >&5
15467 ac_lo
=`expr '(' $ac_mid ')' + 1`
15469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15472 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15473 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: cannot compute sizeof (void *), 77
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; } ;;
15480 if test "$cross_compiling" = yes; then
15481 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15482 See \`config.log' for more details." >&5
15483 echo "$as_me: error: cannot run test program while cross compiling
15484 See \`config.log' for more details." >&2;}
15485 { (exit 1); exit 1; }; }
15487 cat >conftest.
$ac_ext <<_ACEOF
15490 cat confdefs.h
>>conftest.
$ac_ext
15491 cat >>conftest.
$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 $ac_includes_default
15494 long longval () { return (long) (sizeof (void *)); }
15495 unsigned long ulongval () { return (long) (sizeof (void *)); }
15497 #include <stdlib.h>
15502 FILE *f = fopen ("conftest.val", "w");
15505 if (((long) (sizeof (void *))) < 0)
15507 long i = longval ();
15508 if (i != ((long) (sizeof (void *))))
15510 fprintf (f, "%ld\n", i);
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (void *))))
15517 fprintf (f, "%lu\n", i);
15519 exit (ferror (f) || fclose (f) != 0);
15525 rm -f conftest
$ac_exeext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_void_p
=`cat conftest.val`
15538 echo "$as_me: program exited with status $ac_status" >&5
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 ( exit $ac_status )
15543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (void *), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; }
15549 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15554 ac_cv_sizeof_void_p
=0
15557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15558 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15559 cat >>confdefs.h
<<_ACEOF
15560 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15564 echo "$as_me:$LINENO: checking for int" >&5
15565 echo $ECHO_N "checking for int... $ECHO_C" >&6
15566 if test "${ac_cv_type_int+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 $ac_includes_default
15587 rm -f conftest.
$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1
>conftest.err
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -z "$ac_c_werror_flag"
15597 || test ! -s conftest.err'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; } &&
15603 { ac_try
='test -s conftest.$ac_objext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15618 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15619 echo "${ECHO_T}$ac_cv_type_int" >&6
15621 echo "$as_me:$LINENO: checking size of int" >&5
15622 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15623 if test "${ac_cv_sizeof_int+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 if test "$ac_cv_type_int" = yes; then
15627 # The cast to unsigned long works around a bug in the HP C Compiler
15628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15630 # This bug is HP SR number 8606223364.
15631 if test "$cross_compiling" = yes; then
15632 # Depending upon the size, compute the lo and hi bounds.
15633 cat >conftest.
$ac_ext <<_ACEOF
15636 cat confdefs.h
>>conftest.
$ac_ext
15637 cat >>conftest.
$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 $ac_includes_default
15643 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15650 rm -f conftest.
$ac_objext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15652 (eval $ac_compile) 2>conftest.er1
15654 grep -v '^ *+' conftest.er1
>conftest.err
15656 cat conftest.err
>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); } &&
15659 { ac_try
='test -z "$ac_c_werror_flag"
15660 || test ! -s conftest.err'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; } &&
15666 { ac_try
='test -s conftest.$ac_objext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
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 (int))) <= $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
15713 ac_hi
=$ac_mid; break
15715 echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.
$ac_ext >&5
15718 ac_lo
=`expr $ac_mid + 1`
15719 if test $ac_lo -le $ac_mid; then
15723 ac_mid
=`expr 2 '*' $ac_mid + 1`
15725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.
$ac_ext >&5
15731 cat >conftest.
$ac_ext <<_ACEOF
15734 cat confdefs.h
>>conftest.
$ac_ext
15735 cat >>conftest.
$ac_ext <<_ACEOF
15736 /* end confdefs.h. */
15737 $ac_includes_default
15741 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15748 rm -f conftest.
$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15752 grep -v '^ *+' conftest.er1
>conftest.err
15754 cat conftest.err
>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try
='test -z "$ac_c_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try
='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15772 cat >conftest.
$ac_ext <<_ACEOF
15775 cat confdefs.h
>>conftest.
$ac_ext
15776 cat >>conftest.
$ac_ext <<_ACEOF
15777 /* end confdefs.h. */
15778 $ac_includes_default
15782 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15789 rm -f conftest.
$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15793 grep -v '^ *+' conftest.er1
>conftest.err
15795 cat conftest.err
>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try
='test -z "$ac_c_werror_flag"
15799 || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try
='test -s conftest.$ac_objext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_lo
=$ac_mid; break
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.
$ac_ext >&5
15816 ac_hi
=`expr '(' $ac_mid ')' - 1`
15817 if test $ac_mid -le $ac_hi; then
15821 ac_mid
=`expr 2 '*' $ac_mid`
15823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15834 # Binary search between lo and hi bounds.
15835 while test "x$ac_lo" != "x$ac_hi"; do
15836 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15837 cat >conftest.
$ac_ext <<_ACEOF
15840 cat confdefs.h
>>conftest.
$ac_ext
15841 cat >>conftest.
$ac_ext <<_ACEOF
15842 /* end confdefs.h. */
15843 $ac_includes_default
15847 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15854 rm -f conftest.
$ac_objext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15856 (eval $ac_compile) 2>conftest.er1
15858 grep -v '^ *+' conftest.er1
>conftest.err
15860 cat conftest.err
>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try
='test -z "$ac_c_werror_flag"
15864 || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try
='test -s conftest.$ac_objext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.
$ac_ext >&5
15881 ac_lo
=`expr '(' $ac_mid ')' + 1`
15883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15886 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15887 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15888 See \`config.log' for more details." >&5
15889 echo "$as_me: error: cannot compute sizeof (int), 77
15890 See \`config.log' for more details." >&2;}
15891 { (exit 1); exit 1; }; } ;;
15894 if test "$cross_compiling" = yes; then
15895 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15896 See \`config.log' for more details." >&5
15897 echo "$as_me: error: cannot run test program while cross compiling
15898 See \`config.log' for more details." >&2;}
15899 { (exit 1); exit 1; }; }
15901 cat >conftest.
$ac_ext <<_ACEOF
15904 cat confdefs.h
>>conftest.
$ac_ext
15905 cat >>conftest.
$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 $ac_includes_default
15908 long longval () { return (long) (sizeof (int)); }
15909 unsigned long ulongval () { return (long) (sizeof (int)); }
15911 #include <stdlib.h>
15916 FILE *f = fopen ("conftest.val", "w");
15919 if (((long) (sizeof (int))) < 0)
15921 long i = longval ();
15922 if (i != ((long) (sizeof (int))))
15924 fprintf (f, "%ld\n", i);
15928 unsigned long i = ulongval ();
15929 if (i != ((long) (sizeof (int))))
15931 fprintf (f, "%lu\n", i);
15933 exit (ferror (f) || fclose (f) != 0);
15939 rm -f conftest
$ac_exeext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15941 (eval $ac_link) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15950 ac_cv_sizeof_int
=`cat conftest.val`
15952 echo "$as_me: program exited with status $ac_status" >&5
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.
$ac_ext >&5
15956 ( exit $ac_status )
15957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15958 See \`config.log' for more details." >&5
15959 echo "$as_me: error: cannot compute sizeof (int), 77
15960 See \`config.log' for more details." >&2;}
15961 { (exit 1); exit 1; }; }
15963 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15971 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15972 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15973 cat >>confdefs.h
<<_ACEOF
15974 #define SIZEOF_INT $ac_cv_sizeof_int
15978 echo "$as_me:$LINENO: checking for long" >&5
15979 echo $ECHO_N "checking for long... $ECHO_C" >&6
15980 if test "${ac_cv_type_long+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 cat >conftest.
$ac_ext <<_ACEOF
15986 cat confdefs.h
>>conftest.
$ac_ext
15987 cat >>conftest.
$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 $ac_includes_default
16001 rm -f conftest.
$ac_objext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16003 (eval $ac_compile) 2>conftest.er1
16005 grep -v '^ *+' conftest.er1
>conftest.err
16007 cat conftest.err
>&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } &&
16010 { ac_try
='test -z "$ac_c_werror_flag"
16011 || test ! -s conftest.err'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try
='test -s conftest.$ac_objext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 ac_cv_type_long
=yes
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.
$ac_ext >&5
16030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16032 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16033 echo "${ECHO_T}$ac_cv_type_long" >&6
16035 echo "$as_me:$LINENO: checking size of long" >&5
16036 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16037 if test "${ac_cv_sizeof_long+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 if test "$ac_cv_type_long" = yes; then
16041 # The cast to unsigned long works around a bug in the HP C Compiler
16042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16044 # This bug is HP SR number 8606223364.
16045 if test "$cross_compiling" = yes; then
16046 # Depending upon the size, compute the lo and hi bounds.
16047 cat >conftest.
$ac_ext <<_ACEOF
16050 cat confdefs.h
>>conftest.
$ac_ext
16051 cat >>conftest.
$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 $ac_includes_default
16057 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16064 rm -f conftest.
$ac_objext
16065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16066 (eval $ac_compile) 2>conftest.er1
16068 grep -v '^ *+' conftest.er1
>conftest.err
16070 cat conftest.err
>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } &&
16073 { ac_try
='test -z "$ac_c_werror_flag"
16074 || test ! -s conftest.err'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; } &&
16080 { ac_try
='test -s conftest.$ac_objext'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; }; then
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 (long))) <= $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
16127 ac_hi
=$ac_mid; break
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.
$ac_ext >&5
16132 ac_lo
=`expr $ac_mid + 1`
16133 if test $ac_lo -le $ac_mid; then
16137 ac_mid
=`expr 2 '*' $ac_mid + 1`
16139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16145 cat >conftest.
$ac_ext <<_ACEOF
16148 cat confdefs.h
>>conftest.
$ac_ext
16149 cat >>conftest.
$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16151 $ac_includes_default
16155 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16162 rm -f conftest.
$ac_objext
16163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16164 (eval $ac_compile) 2>conftest.er1
16166 grep -v '^ *+' conftest.er1
>conftest.err
16168 cat conftest.err
>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } &&
16171 { ac_try
='test -z "$ac_c_werror_flag"
16172 || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try
='test -s conftest.$ac_objext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16186 cat >conftest.
$ac_ext <<_ACEOF
16189 cat confdefs.h
>>conftest.
$ac_ext
16190 cat >>conftest.
$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 $ac_includes_default
16196 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16203 rm -f conftest.
$ac_objext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>conftest.er1
16207 grep -v '^ *+' conftest.er1
>conftest.err
16209 cat conftest.err
>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); } &&
16212 { ac_try
='test -z "$ac_c_werror_flag"
16213 || test ! -s conftest.err'
16214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215 (eval $ac_try) 2>&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; } &&
16219 { ac_try
='test -s conftest.$ac_objext'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; }; then
16225 ac_lo
=$ac_mid; break
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.
$ac_ext >&5
16230 ac_hi
=`expr '(' $ac_mid ')' - 1`
16231 if test $ac_mid -le $ac_hi; then
16235 ac_mid
=`expr 2 '*' $ac_mid`
16237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.
$ac_ext >&5
16245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16248 # Binary search between lo and hi bounds.
16249 while test "x$ac_lo" != "x$ac_hi"; do
16250 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16251 cat >conftest.
$ac_ext <<_ACEOF
16254 cat confdefs.h
>>conftest.
$ac_ext
16255 cat >>conftest.
$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 $ac_includes_default
16261 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16268 rm -f conftest.
$ac_objext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16270 (eval $ac_compile) 2>conftest.er1
16272 grep -v '^ *+' conftest.er1
>conftest.err
16274 cat conftest.err
>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try
='test -z "$ac_c_werror_flag"
16278 || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try
='test -s conftest.$ac_objext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 ac_lo
=`expr '(' $ac_mid ')' + 1`
16297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16300 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16301 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16302 See \`config.log' for more details." >&5
16303 echo "$as_me: error: cannot compute sizeof (long), 77
16304 See \`config.log' for more details." >&2;}
16305 { (exit 1); exit 1; }; } ;;
16308 if test "$cross_compiling" = yes; then
16309 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16310 See \`config.log' for more details." >&5
16311 echo "$as_me: error: cannot run test program while cross compiling
16312 See \`config.log' for more details." >&2;}
16313 { (exit 1); exit 1; }; }
16315 cat >conftest.
$ac_ext <<_ACEOF
16318 cat confdefs.h
>>conftest.
$ac_ext
16319 cat >>conftest.
$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 $ac_includes_default
16322 long longval () { return (long) (sizeof (long)); }
16323 unsigned long ulongval () { return (long) (sizeof (long)); }
16325 #include <stdlib.h>
16330 FILE *f = fopen ("conftest.val", "w");
16333 if (((long) (sizeof (long))) < 0)
16335 long i = longval ();
16336 if (i != ((long) (sizeof (long))))
16338 fprintf (f, "%ld\n", i);
16342 unsigned long i = ulongval ();
16343 if (i != ((long) (sizeof (long))))
16345 fprintf (f, "%lu\n", i);
16347 exit (ferror (f) || fclose (f) != 0);
16353 rm -f conftest
$ac_exeext
16354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16355 (eval $ac_link) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 ac_cv_sizeof_long
=`cat conftest.val`
16366 echo "$as_me: program exited with status $ac_status" >&5
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.
$ac_ext >&5
16370 ( exit $ac_status )
16371 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16372 See \`config.log' for more details." >&5
16373 echo "$as_me: error: cannot compute sizeof (long), 77
16374 See \`config.log' for more details." >&2;}
16375 { (exit 1); exit 1; }; }
16377 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16382 ac_cv_sizeof_long
=0
16385 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16386 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16387 cat >>confdefs.h
<<_ACEOF
16388 #define SIZEOF_LONG $ac_cv_sizeof_long
16392 echo "$as_me:$LINENO: checking for size_t" >&5
16393 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16394 if test "${ac_cv_type_size_t+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 cat >conftest.
$ac_ext <<_ACEOF
16400 cat confdefs.h
>>conftest.
$ac_ext
16401 cat >>conftest.
$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 $ac_includes_default
16409 if (sizeof (size_t))
16415 rm -f conftest.
$ac_objext
16416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16417 (eval $ac_compile) 2>conftest.er1
16419 grep -v '^ *+' conftest.er1
>conftest.err
16421 cat conftest.err
>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); } &&
16424 { ac_try
='test -z "$ac_c_werror_flag"
16425 || test ! -s conftest.err'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; } &&
16431 { ac_try
='test -s conftest.$ac_objext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_type_size_t
=yes
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16442 ac_cv_type_size_t
=no
16444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16446 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16447 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16449 echo "$as_me:$LINENO: checking size of size_t" >&5
16450 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16451 if test "${ac_cv_sizeof_size_t+set}" = set; then
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 if test "$ac_cv_type_size_t" = yes; then
16455 # The cast to unsigned long works around a bug in the HP C Compiler
16456 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16457 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16458 # This bug is HP SR number 8606223364.
16459 if test "$cross_compiling" = yes; then
16460 # Depending upon the size, compute the lo and hi bounds.
16461 cat >conftest.
$ac_ext <<_ACEOF
16464 cat confdefs.h
>>conftest.
$ac_ext
16465 cat >>conftest.
$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16467 $ac_includes_default
16471 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16478 rm -f conftest.
$ac_objext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16480 (eval $ac_compile) 2>conftest.er1
16482 grep -v '^ *+' conftest.er1
>conftest.err
16484 cat conftest.err
>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try
='test -z "$ac_c_werror_flag"
16488 || test ! -s conftest.err'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; } &&
16494 { ac_try
='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
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 (size_t))) <= $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
16541 ac_hi
=$ac_mid; break
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.
$ac_ext >&5
16546 ac_lo
=`expr $ac_mid + 1`
16547 if test $ac_lo -le $ac_mid; then
16551 ac_mid
=`expr 2 '*' $ac_mid + 1`
16553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 cat >conftest.
$ac_ext <<_ACEOF
16562 cat confdefs.h
>>conftest.
$ac_ext
16563 cat >>conftest.
$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16565 $ac_includes_default
16569 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16576 rm -f conftest.
$ac_objext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16578 (eval $ac_compile) 2>conftest.er1
16580 grep -v '^ *+' conftest.er1
>conftest.err
16582 cat conftest.err
>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try
='test -z "$ac_c_werror_flag"
16586 || test ! -s conftest.err'
16587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16588 (eval $ac_try) 2>&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); }; } &&
16592 { ac_try
='test -s conftest.$ac_objext'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; }; then
16600 cat >conftest.
$ac_ext <<_ACEOF
16603 cat confdefs.h
>>conftest.
$ac_ext
16604 cat >>conftest.
$ac_ext <<_ACEOF
16605 /* end confdefs.h. */
16606 $ac_includes_default
16610 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16617 rm -f conftest.
$ac_objext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16619 (eval $ac_compile) 2>conftest.er1
16621 grep -v '^ *+' conftest.er1
>conftest.err
16623 cat conftest.err
>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } &&
16626 { ac_try
='test -z "$ac_c_werror_flag"
16627 || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try
='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_lo
=$ac_mid; break
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.
$ac_ext >&5
16644 ac_hi
=`expr '(' $ac_mid ')' - 1`
16645 if test $ac_mid -le $ac_hi; then
16649 ac_mid
=`expr 2 '*' $ac_mid`
16651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16662 # Binary search between lo and hi bounds.
16663 while test "x$ac_lo" != "x$ac_hi"; do
16664 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16665 cat >conftest.
$ac_ext <<_ACEOF
16668 cat confdefs.h
>>conftest.
$ac_ext
16669 cat >>conftest.
$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16675 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16682 rm -f conftest.
$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16686 grep -v '^ *+' conftest.er1
>conftest.err
16688 cat conftest.err
>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try
='test -z "$ac_c_werror_flag"
16692 || test ! -s conftest.err'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; } &&
16698 { ac_try
='test -s conftest.$ac_objext'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; }; then
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.
$ac_ext >&5
16709 ac_lo
=`expr '(' $ac_mid ')' + 1`
16711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16714 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16715 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16716 See \`config.log' for more details." >&5
16717 echo "$as_me: error: cannot compute sizeof (size_t), 77
16718 See \`config.log' for more details." >&2;}
16719 { (exit 1); exit 1; }; } ;;
16722 if test "$cross_compiling" = yes; then
16723 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16724 See \`config.log' for more details." >&5
16725 echo "$as_me: error: cannot run test program while cross compiling
16726 See \`config.log' for more details." >&2;}
16727 { (exit 1); exit 1; }; }
16729 cat >conftest.
$ac_ext <<_ACEOF
16732 cat confdefs.h
>>conftest.
$ac_ext
16733 cat >>conftest.
$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 $ac_includes_default
16736 long longval () { return (long) (sizeof (size_t)); }
16737 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16739 #include <stdlib.h>
16744 FILE *f = fopen ("conftest.val", "w");
16747 if (((long) (sizeof (size_t))) < 0)
16749 long i = longval ();
16750 if (i != ((long) (sizeof (size_t))))
16752 fprintf (f, "%ld\n", i);
16756 unsigned long i = ulongval ();
16757 if (i != ((long) (sizeof (size_t))))
16759 fprintf (f, "%lu\n", i);
16761 exit (ferror (f) || fclose (f) != 0);
16767 rm -f conftest
$ac_exeext
16768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16769 (eval $ac_link) 2>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; }; then
16778 ac_cv_sizeof_size_t
=`cat conftest.val`
16780 echo "$as_me: program exited with status $ac_status" >&5
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 ( exit $ac_status )
16785 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16786 See \`config.log' for more details." >&5
16787 echo "$as_me: error: cannot compute sizeof (size_t), 77
16788 See \`config.log' for more details." >&2;}
16789 { (exit 1); exit 1; }; }
16791 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16796 ac_cv_sizeof_size_t
=0
16799 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16800 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16801 cat >>confdefs.h
<<_ACEOF
16802 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16809 echo "$as_me:$LINENO: checking for long long" >&5
16810 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16811 if test "${ac_cv_type_long_long+set}" = set; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16814 cat >conftest.
$ac_ext <<_ACEOF
16817 cat confdefs.h
>>conftest.
$ac_ext
16818 cat >>conftest.
$ac_ext <<_ACEOF
16819 /* end confdefs.h. */
16820 $ac_includes_default
16824 if ((long long *) 0)
16826 if (sizeof (long long))
16832 rm -f conftest.
$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16836 grep -v '^ *+' conftest.er1
>conftest.err
16838 cat conftest.err
>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try
='test -z "$ac_c_werror_flag"
16842 || test ! -s conftest.err'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try
='test -s conftest.$ac_objext'
16849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16850 (eval $ac_try) 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; }; then
16854 ac_cv_type_long_long
=yes
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.
$ac_ext >&5
16859 ac_cv_type_long_long
=no
16861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16863 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16864 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16866 echo "$as_me:$LINENO: checking size of long long" >&5
16867 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16868 if test "${ac_cv_sizeof_long_long+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 if test "$ac_cv_type_long_long" = yes; then
16872 # The cast to unsigned long works around a bug in the HP C Compiler
16873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16875 # This bug is HP SR number 8606223364.
16876 if test "$cross_compiling" = yes; then
16877 # Depending upon the size, compute the lo and hi bounds.
16878 cat >conftest.
$ac_ext <<_ACEOF
16881 cat confdefs.h
>>conftest.
$ac_ext
16882 cat >>conftest.
$ac_ext <<_ACEOF
16883 /* end confdefs.h. */
16884 $ac_includes_default
16888 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16895 rm -f conftest.
$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16899 grep -v '^ *+' conftest.er1
>conftest.err
16901 cat conftest.err
>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try
='test -z "$ac_c_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try
='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16919 cat >conftest.
$ac_ext <<_ACEOF
16922 cat confdefs.h
>>conftest.
$ac_ext
16923 cat >>conftest.
$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16936 rm -f conftest.
$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try
='test -z "$ac_c_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_hi
=$ac_mid; break
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 ac_lo
=`expr $ac_mid + 1`
16964 if test $ac_lo -le $ac_mid; then
16968 ac_mid
=`expr 2 '*' $ac_mid + 1`
16970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.
$ac_ext >&5
16976 cat >conftest.
$ac_ext <<_ACEOF
16979 cat confdefs.h
>>conftest.
$ac_ext
16980 cat >>conftest.
$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16986 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16993 rm -f conftest.
$ac_objext
16994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16995 (eval $ac_compile) 2>conftest.er1
16997 grep -v '^ *+' conftest.er1
>conftest.err
16999 cat conftest.err
>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } &&
17002 { ac_try
='test -z "$ac_c_werror_flag"
17003 || test ! -s conftest.err'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; } &&
17009 { ac_try
='test -s conftest.$ac_objext'
17010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17011 (eval $ac_try) 2>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); }; }; then
17017 cat >conftest.
$ac_ext <<_ACEOF
17020 cat confdefs.h
>>conftest.
$ac_ext
17021 cat >>conftest.
$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 $ac_includes_default
17027 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17034 rm -f conftest.
$ac_objext
17035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17036 (eval $ac_compile) 2>conftest.er1
17038 grep -v '^ *+' conftest.er1
>conftest.err
17040 cat conftest.err
>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); } &&
17043 { ac_try
='test -z "$ac_c_werror_flag"
17044 || test ! -s conftest.err'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; } &&
17050 { ac_try
='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 ac_lo
=$ac_mid; break
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.
$ac_ext >&5
17061 ac_hi
=`expr '(' $ac_mid ')' - 1`
17062 if test $ac_mid -le $ac_hi; then
17066 ac_mid
=`expr 2 '*' $ac_mid`
17068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17079 # Binary search between lo and hi bounds.
17080 while test "x$ac_lo" != "x$ac_hi"; do
17081 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17082 cat >conftest.
$ac_ext <<_ACEOF
17085 cat confdefs.h
>>conftest.
$ac_ext
17086 cat >>conftest.
$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 $ac_includes_default
17092 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17099 rm -f conftest.
$ac_objext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17101 (eval $ac_compile) 2>conftest.er1
17103 grep -v '^ *+' conftest.er1
>conftest.err
17105 cat conftest.err
>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try
='test -z "$ac_c_werror_flag"
17109 || test ! -s conftest.err'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 (eval $ac_try) 2>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; } &&
17115 { ac_try
='test -s conftest.$ac_objext'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; }; then
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.
$ac_ext >&5
17126 ac_lo
=`expr '(' $ac_mid ')' + 1`
17128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17131 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: cannot compute sizeof (long long), 77
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; } ;;
17139 if test "$cross_compiling" = yes; then
17140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17141 See \`config.log' for more details." >&5
17142 echo "$as_me: error: cannot run test program while cross compiling
17143 See \`config.log' for more details." >&2;}
17144 { (exit 1); exit 1; }; }
17146 cat >conftest.
$ac_ext <<_ACEOF
17149 cat confdefs.h
>>conftest.
$ac_ext
17150 cat >>conftest.
$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152 $ac_includes_default
17153 long longval () { return (long) (sizeof (long long)); }
17154 unsigned long ulongval () { return (long) (sizeof (long long)); }
17156 #include <stdlib.h>
17161 FILE *f = fopen ("conftest.val", "w");
17164 if (((long) (sizeof (long long))) < 0)
17166 long i = longval ();
17167 if (i != ((long) (sizeof (long long))))
17169 fprintf (f, "%ld\n", i);
17173 unsigned long i = ulongval ();
17174 if (i != ((long) (sizeof (long long))))
17176 fprintf (f, "%lu\n", i);
17178 exit (ferror (f) || fclose (f) != 0);
17184 rm -f conftest
$ac_exeext
17185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17186 (eval $ac_link) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; }; then
17195 ac_cv_sizeof_long_long
=`cat conftest.val`
17197 echo "$as_me: program exited with status $ac_status" >&5
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.
$ac_ext >&5
17201 ( exit $ac_status )
17202 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17203 See \`config.log' for more details." >&5
17204 echo "$as_me: error: cannot compute sizeof (long long), 77
17205 See \`config.log' for more details." >&2;}
17206 { (exit 1); exit 1; }; }
17208 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17213 ac_cv_sizeof_long_long
=0
17216 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17217 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17218 cat >>confdefs.h
<<_ACEOF
17219 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17225 echo "$as_me:$LINENO: checking for long long" >&5
17226 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17227 if test "${ac_cv_type_long_long+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.
$ac_ext <<_ACEOF
17233 cat confdefs.h
>>conftest.
$ac_ext
17234 cat >>conftest.
$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 $ac_includes_default
17240 if ((long long *) 0)
17242 if (sizeof (long long))
17248 rm -f conftest.
$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17252 grep -v '^ *+' conftest.er1
>conftest.err
17254 cat conftest.err
>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try
='test -z "$ac_c_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try
='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_cv_type_long_long
=yes
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.
$ac_ext >&5
17275 ac_cv_type_long_long
=no
17277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17280 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17282 echo "$as_me:$LINENO: checking size of long long" >&5
17283 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17284 if test "${ac_cv_sizeof_long_long+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 if test "$ac_cv_type_long_long" = yes; then
17288 # The cast to unsigned long works around a bug in the HP C Compiler
17289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17291 # This bug is HP SR number 8606223364.
17292 if test "$cross_compiling" = yes; then
17293 # Depending upon the size, compute the lo and hi bounds.
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17304 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17311 rm -f conftest.
$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try
='test -z "$ac_c_werror_flag"
17321 || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try
='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17352 rm -f conftest.
$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try
='test -z "$ac_c_werror_flag"
17362 || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try
='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_hi
=$ac_mid; break
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.
$ac_ext >&5
17379 ac_lo
=`expr $ac_mid + 1`
17380 if test $ac_lo -le $ac_mid; then
17384 ac_mid
=`expr 2 '*' $ac_mid + 1`
17386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 $ac_includes_default
17402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17409 rm -f conftest.
$ac_objext
17410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17411 (eval $ac_compile) 2>conftest.er1
17413 grep -v '^ *+' conftest.er1
>conftest.err
17415 cat conftest.err
>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } &&
17418 { ac_try
='test -z "$ac_c_werror_flag"
17419 || test ! -s conftest.err'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; } &&
17425 { ac_try
='test -s conftest.$ac_objext'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; }; then
17433 cat >conftest.
$ac_ext <<_ACEOF
17436 cat confdefs.h
>>conftest.
$ac_ext
17437 cat >>conftest.
$ac_ext <<_ACEOF
17438 /* end confdefs.h. */
17439 $ac_includes_default
17443 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17450 rm -f conftest.
$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>conftest.er1
17454 grep -v '^ *+' conftest.er1
>conftest.err
17456 cat conftest.err
>&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try
='test -z "$ac_c_werror_flag"
17460 || test ! -s conftest.err'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; } &&
17466 { ac_try
='test -s conftest.$ac_objext'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; }; then
17472 ac_lo
=$ac_mid; break
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.
$ac_ext >&5
17477 ac_hi
=`expr '(' $ac_mid ')' - 1`
17478 if test $ac_mid -le $ac_hi; then
17482 ac_mid
=`expr 2 '*' $ac_mid`
17484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.
$ac_ext >&5
17492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17495 # Binary search between lo and hi bounds.
17496 while test "x$ac_lo" != "x$ac_hi"; do
17497 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17498 cat >conftest.
$ac_ext <<_ACEOF
17501 cat confdefs.h
>>conftest.
$ac_ext
17502 cat >>conftest.
$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 $ac_includes_default
17508 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17515 rm -f conftest.
$ac_objext
17516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17517 (eval $ac_compile) 2>conftest.er1
17519 grep -v '^ *+' conftest.er1
>conftest.err
17521 cat conftest.err
>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } &&
17524 { ac_try
='test -z "$ac_c_werror_flag"
17525 || test ! -s conftest.err'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; } &&
17531 { ac_try
='test -s conftest.$ac_objext'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; }; then
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.
$ac_ext >&5
17542 ac_lo
=`expr '(' $ac_mid ')' + 1`
17544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17547 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17548 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17549 See \`config.log' for more details." >&5
17550 echo "$as_me: error: cannot compute sizeof (long long), 77
17551 See \`config.log' for more details." >&2;}
17552 { (exit 1); exit 1; }; } ;;
17555 if test "$cross_compiling" = yes; then
17556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17557 See \`config.log' for more details." >&5
17558 echo "$as_me: error: cannot run test program while cross compiling
17559 See \`config.log' for more details." >&2;}
17560 { (exit 1); exit 1; }; }
17562 cat >conftest.
$ac_ext <<_ACEOF
17565 cat confdefs.h
>>conftest.
$ac_ext
17566 cat >>conftest.
$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568 $ac_includes_default
17569 long longval () { return (long) (sizeof (long long)); }
17570 unsigned long ulongval () { return (long) (sizeof (long long)); }
17572 #include <stdlib.h>
17577 FILE *f = fopen ("conftest.val", "w");
17580 if (((long) (sizeof (long long))) < 0)
17582 long i = longval ();
17583 if (i != ((long) (sizeof (long long))))
17585 fprintf (f, "%ld\n", i);
17589 unsigned long i = ulongval ();
17590 if (i != ((long) (sizeof (long long))))
17592 fprintf (f, "%lu\n", i);
17594 exit (ferror (f) || fclose (f) != 0);
17600 rm -f conftest
$ac_exeext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17602 (eval $ac_link) 2>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; }; then
17611 ac_cv_sizeof_long_long
=`cat conftest.val`
17613 echo "$as_me: program exited with status $ac_status" >&5
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.
$ac_ext >&5
17617 ( exit $ac_status )
17618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17619 See \`config.log' for more details." >&5
17620 echo "$as_me: error: cannot compute sizeof (long long), 77
17621 See \`config.log' for more details." >&2;}
17622 { (exit 1); exit 1; }; }
17624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17629 ac_cv_sizeof_long_long
=0
17632 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17633 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17634 cat >>confdefs.h
<<_ACEOF
17635 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17639 if test "$ac_cv_sizeof_long_long" != "0"; then
17640 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17644 echo "$as_me:$LINENO: checking for long long" >&5
17645 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17646 if test "${ac_cv_type_long_long+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17659 if ((long long *) 0)
17661 if (sizeof (long long))
17667 rm -f conftest.
$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17671 grep -v '^ *+' conftest.er1
>conftest.err
17673 cat conftest.err
>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try
='test -z "$ac_c_werror_flag"
17677 || test ! -s conftest.err'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; } &&
17683 { ac_try
='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 ac_cv_type_long_long
=yes
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.
$ac_ext >&5
17694 ac_cv_type_long_long
=no
17696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17698 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17699 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17701 echo "$as_me:$LINENO: checking size of long long" >&5
17702 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17703 if test "${ac_cv_sizeof_long_long+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 if test "$ac_cv_type_long_long" = yes; then
17707 # The cast to unsigned long works around a bug in the HP C Compiler
17708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17710 # This bug is HP SR number 8606223364.
17711 if test "$cross_compiling" = yes; then
17712 # Depending upon the size, compute the lo and hi bounds.
17713 cat >conftest.
$ac_ext <<_ACEOF
17716 cat confdefs.h
>>conftest.
$ac_ext
17717 cat >>conftest.
$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17719 $ac_includes_default
17723 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17730 rm -f conftest.
$ac_objext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17732 (eval $ac_compile) 2>conftest.er1
17734 grep -v '^ *+' conftest.er1
>conftest.err
17736 cat conftest.err
>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } &&
17739 { ac_try
='test -z "$ac_c_werror_flag"
17740 || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try
='test -s conftest.$ac_objext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17754 cat >conftest.
$ac_ext <<_ACEOF
17757 cat confdefs.h
>>conftest.
$ac_ext
17758 cat >>conftest.
$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17760 $ac_includes_default
17764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17771 rm -f conftest.
$ac_objext
17772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17773 (eval $ac_compile) 2>conftest.er1
17775 grep -v '^ *+' conftest.er1
>conftest.err
17777 cat conftest.err
>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try
='test -z "$ac_c_werror_flag"
17781 || test ! -s conftest.err'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; } &&
17787 { ac_try
='test -s conftest.$ac_objext'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; }; then
17793 ac_hi
=$ac_mid; break
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.
$ac_ext >&5
17798 ac_lo
=`expr $ac_mid + 1`
17799 if test $ac_lo -le $ac_mid; then
17803 ac_mid
=`expr 2 '*' $ac_mid + 1`
17805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.
$ac_ext >&5
17811 cat >conftest.
$ac_ext <<_ACEOF
17814 cat confdefs.h
>>conftest.
$ac_ext
17815 cat >>conftest.
$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 $ac_includes_default
17821 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17828 rm -f conftest.
$ac_objext
17829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17830 (eval $ac_compile) 2>conftest.er1
17832 grep -v '^ *+' conftest.er1
>conftest.err
17834 cat conftest.err
>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } &&
17837 { ac_try
='test -z "$ac_c_werror_flag"
17838 || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try
='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17852 cat >conftest.
$ac_ext <<_ACEOF
17855 cat confdefs.h
>>conftest.
$ac_ext
17856 cat >>conftest.
$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17858 $ac_includes_default
17862 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17869 rm -f conftest.
$ac_objext
17870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17871 (eval $ac_compile) 2>conftest.er1
17873 grep -v '^ *+' conftest.er1
>conftest.err
17875 cat conftest.err
>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } &&
17878 { ac_try
='test -z "$ac_c_werror_flag"
17879 || test ! -s conftest.err'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; } &&
17885 { ac_try
='test -s conftest.$ac_objext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_lo
=$ac_mid; break
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.
$ac_ext >&5
17896 ac_hi
=`expr '(' $ac_mid ')' - 1`
17897 if test $ac_mid -le $ac_hi; then
17901 ac_mid
=`expr 2 '*' $ac_mid`
17903 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17914 # Binary search between lo and hi bounds.
17915 while test "x$ac_lo" != "x$ac_hi"; do
17916 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17917 cat >conftest.
$ac_ext <<_ACEOF
17920 cat confdefs.h
>>conftest.
$ac_ext
17921 cat >>conftest.
$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923 $ac_includes_default
17927 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17934 rm -f conftest.
$ac_objext
17935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17936 (eval $ac_compile) 2>conftest.er1
17938 grep -v '^ *+' conftest.er1
>conftest.err
17940 cat conftest.err
>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try
='test -z "$ac_c_werror_flag"
17944 || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try
='test -s conftest.$ac_objext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ac_lo
=`expr '(' $ac_mid ')' + 1`
17963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17966 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17968 See \`config.log' for more details." >&5
17969 echo "$as_me: error: cannot compute sizeof (long long), 77
17970 See \`config.log' for more details." >&2;}
17971 { (exit 1); exit 1; }; } ;;
17974 if test "$cross_compiling" = yes; then
17975 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17976 See \`config.log' for more details." >&5
17977 echo "$as_me: error: cannot run test program while cross compiling
17978 See \`config.log' for more details." >&2;}
17979 { (exit 1); exit 1; }; }
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 $ac_includes_default
17988 long longval () { return (long) (sizeof (long long)); }
17989 unsigned long ulongval () { return (long) (sizeof (long long)); }
17991 #include <stdlib.h>
17996 FILE *f = fopen ("conftest.val", "w");
17999 if (((long) (sizeof (long long))) < 0)
18001 long i = longval ();
18002 if (i != ((long) (sizeof (long long))))
18004 fprintf (f, "%ld\n", i);
18008 unsigned long i = ulongval ();
18009 if (i != ((long) (sizeof (long long))))
18011 fprintf (f, "%lu\n", i);
18013 exit (ferror (f) || fclose (f) != 0);
18019 rm -f conftest
$ac_exeext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18021 (eval $ac_link) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 ac_cv_sizeof_long_long
=`cat conftest.val`
18032 echo "$as_me: program exited with status $ac_status" >&5
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.
$ac_ext >&5
18036 ( exit $ac_status )
18037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18038 See \`config.log' for more details." >&5
18039 echo "$as_me: error: cannot compute sizeof (long long), 77
18040 See \`config.log' for more details." >&2;}
18041 { (exit 1); exit 1; }; }
18043 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18048 ac_cv_sizeof_long_long
=0
18051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18052 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18053 cat >>confdefs.h
<<_ACEOF
18054 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18060 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18061 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18062 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18066 if test "$cross_compiling" = yes; then
18070 wx_cv_sizeof_wchar_t
=0
18073 wx_cv_sizeof_wchar_t
=4
18079 cat >conftest.
$ac_ext <<_ACEOF
18082 cat confdefs.h
>>conftest.
$ac_ext
18083 cat >>conftest.
$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18086 /* DJGPP only has fake wchar_t: */
18088 # error "fake wchar_t"
18090 #ifdef HAVE_WCHAR_H
18092 # include <stddef.h>
18094 # include <wchar.h>
18096 #ifdef HAVE_STDLIB_H
18097 # include <stdlib.h>
18102 FILE *f=fopen("conftestval", "w");
18104 fprintf(f, "%i", sizeof(wchar_t));
18109 rm -f conftest
$ac_exeext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18111 (eval $ac_link) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 wx_cv_sizeof_wchar_t
=`cat conftestval`
18122 echo "$as_me: program exited with status $ac_status" >&5
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.
$ac_ext >&5
18126 ( exit $ac_status )
18127 wx_cv_sizeof_wchar_t
=0
18129 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18133 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18134 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18136 cat >>confdefs.h
<<_ACEOF
18137 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18141 # Check whether --enable-largefile or --disable-largefile was given.
18142 if test "${enable_largefile+set}" = set; then
18143 enableval
="$enable_largefile"
18146 if test "$enable_largefile" != no
; then
18149 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18150 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18151 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 cat >conftest.
$ac_ext <<_ACEOF
18158 cat confdefs.h
>>conftest.
$ac_ext
18159 cat >>conftest.
$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161 #define _FILE_OFFSET_BITS 64
18162 #include <sys/types.h>
18167 unsigned int field: sizeof(off_t) == 8;
18174 rm -f conftest.
$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try
='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_cv_sys_file_offset_bits
=64
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.
$ac_ext >&5
18201 ac_cv_sys_file_offset_bits
=no
18203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18207 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18208 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18210 if test "$ac_cv_sys_file_offset_bits" != no
; then
18212 cat >>confdefs.h
<<_ACEOF
18213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18218 if test "x$wx_largefile" != "xyes"; then
18220 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18221 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18222 if test "${ac_cv_sys_large_files+set}" = set; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 #define _LARGE_FILES 1
18233 #include <sys/types.h>
18238 unsigned int field: sizeof(off_t) == 8;
18245 rm -f conftest.
$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18249 grep -v '^ *+' conftest.er1
>conftest.err
18251 cat conftest.err
>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try
='test -z "$ac_c_werror_flag"
18255 || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try
='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 ac_cv_sys_large_files
=1
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.
$ac_ext >&5
18272 ac_cv_sys_large_files
=no
18274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18278 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18279 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18281 if test "$ac_cv_sys_large_files" != no
; then
18283 cat >>confdefs.h
<<_ACEOF
18284 #define _LARGE_FILES $ac_cv_sys_large_files
18291 echo "$as_me:$LINENO: checking if large file support is available" >&5
18292 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18293 if test "x$wx_largefile" = "xyes"; then
18294 cat >>confdefs.h
<<\_ACEOF
18295 #define HAVE_LARGEFILE_SUPPORT 1
18299 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18300 echo "${ECHO_T}$wx_largefile" >&6
18304 if test "x$wx_largefile" = "xyes"; then
18305 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18306 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18308 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18310 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18313 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18314 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18315 if test "${ac_cv_c_bigendian+set}" = set; then
18316 echo $ECHO_N "(cached) $ECHO_C" >&6
18318 ac_cv_c_bigendian
=unknown
18319 # See if sys/param.h defines the BYTE_ORDER macro.
18320 cat >conftest.
$ac_ext <<_ACEOF
18323 cat confdefs.h
>>conftest.
$ac_ext
18324 cat >>conftest.
$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 #include <sys/types.h>
18327 #include <sys/param.h>
18332 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18333 bogus endian macros
18339 rm -f conftest.
$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18343 grep -v '^ *+' conftest.er1
>conftest.err
18345 cat conftest.err
>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try
='test -z "$ac_c_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try
='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 # It does; now see whether it defined to BIG_ENDIAN or not.
18362 cat >conftest.
$ac_ext <<_ACEOF
18365 cat confdefs.h
>>conftest.
$ac_ext
18366 cat >>conftest.
$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 #include <sys/types.h>
18369 #include <sys/param.h>
18374 #if BYTE_ORDER != BIG_ENDIAN
18381 rm -f conftest.
$ac_objext
18382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18383 (eval $ac_compile) 2>conftest.er1
18385 grep -v '^ *+' conftest.er1
>conftest.err
18387 cat conftest.err
>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); } &&
18390 { ac_try
='test -z "$ac_c_werror_flag"
18391 || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try
='test -s conftest.$ac_objext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18403 ac_cv_c_bigendian
=yes
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.
$ac_ext >&5
18408 ac_cv_c_bigendian
=no
18410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.
$ac_ext >&5
18416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18417 if test $ac_cv_c_bigendian = unknown
; then
18418 if test "$cross_compiling" = yes; then
18419 ac_cv_c_bigendian
=unknown
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18428 /* Are we little or big endian? From Harbison&Steele. */
18432 char c[sizeof (long)];
18435 exit (u.c[sizeof (long) - 1] == 1);
18438 rm -f conftest
$ac_exeext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18440 (eval $ac_link) 2>&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_c_bigendian
=no
18451 echo "$as_me: program exited with status $ac_status" >&5
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.
$ac_ext >&5
18455 ( exit $ac_status )
18456 ac_cv_c_bigendian
=yes
18458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18462 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18463 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18464 if test $ac_cv_c_bigendian = unknown
; then
18465 { 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
18466 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;}
18468 if test $ac_cv_c_bigendian = yes; then
18469 cat >>confdefs.h
<<\_ACEOF
18470 #define WORDS_BIGENDIAN 1
18477 ac_cpp
='$CXXCPP $CPPFLAGS'
18478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18481 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18482 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18483 if test -z "$CXXCPP"; then
18484 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 # Double quotes because CXXCPP needs to be expanded
18488 for CXXCPP
in "$CXX -E" "/lib/cpp"
18490 ac_preproc_ok
=false
18491 for ac_cxx_preproc_warn_flag
in '' yes
18493 # Use a header file that comes with gcc, so configuring glibc
18494 # with a fresh cross-compiler works.
18495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18496 # <limits.h> exists even on freestanding compilers.
18497 # On the NeXT, cc -E runs the code through the compiler's parser,
18498 # not just through cpp. "Syntax error" is here to catch this case.
18499 cat >conftest.
$ac_ext <<_ACEOF
18502 cat confdefs.h
>>conftest.
$ac_ext
18503 cat >>conftest.
$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18506 # include <limits.h>
18508 # include <assert.h>
18512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18513 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18515 grep -v '^ *+' conftest.er1
>conftest.err
18517 cat conftest.err
>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } >/dev
/null
; then
18520 if test -s conftest.err
; then
18521 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18522 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18529 if test -z "$ac_cpp_err"; then
18532 echo "$as_me: failed program was:" >&5
18533 sed 's/^/| /' conftest.
$ac_ext >&5
18535 # Broken: fails on valid input.
18538 rm -f conftest.err conftest.
$ac_ext
18540 # OK, works on sane cases. Now check whether non-existent headers
18541 # can be detected and how.
18542 cat >conftest.
$ac_ext <<_ACEOF
18545 cat confdefs.h
>>conftest.
$ac_ext
18546 cat >>conftest.
$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 #include <ac_nonexistent.h>
18550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18553 grep -v '^ *+' conftest.er1
>conftest.err
18555 cat conftest.err
>&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } >/dev
/null
; then
18558 if test -s conftest.err
; then
18559 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18560 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18567 if test -z "$ac_cpp_err"; then
18568 # Broken: success on invalid input.
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.
$ac_ext >&5
18574 # Passes both tests.
18578 rm -f conftest.err conftest.
$ac_ext
18581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18582 rm -f conftest.err conftest.
$ac_ext
18583 if $ac_preproc_ok; then
18588 ac_cv_prog_CXXCPP
=$CXXCPP
18591 CXXCPP
=$ac_cv_prog_CXXCPP
18593 ac_cv_prog_CXXCPP
=$CXXCPP
18595 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18596 echo "${ECHO_T}$CXXCPP" >&6
18597 ac_preproc_ok
=false
18598 for ac_cxx_preproc_warn_flag
in '' yes
18600 # Use a header file that comes with gcc, so configuring glibc
18601 # with a fresh cross-compiler works.
18602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18603 # <limits.h> exists even on freestanding compilers.
18604 # On the NeXT, cc -E runs the code through the compiler's parser,
18605 # not just through cpp. "Syntax error" is here to catch this case.
18606 cat >conftest.
$ac_ext <<_ACEOF
18609 cat confdefs.h
>>conftest.
$ac_ext
18610 cat >>conftest.
$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18613 # include <limits.h>
18615 # include <assert.h>
18619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18620 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18622 grep -v '^ *+' conftest.er1
>conftest.err
18624 cat conftest.err
>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } >/dev
/null
; then
18627 if test -s conftest.err
; then
18628 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18629 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18636 if test -z "$ac_cpp_err"; then
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.
$ac_ext >&5
18642 # Broken: fails on valid input.
18645 rm -f conftest.err conftest.
$ac_ext
18647 # OK, works on sane cases. Now check whether non-existent headers
18648 # can be detected and how.
18649 cat >conftest.
$ac_ext <<_ACEOF
18652 cat confdefs.h
>>conftest.
$ac_ext
18653 cat >>conftest.
$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 #include <ac_nonexistent.h>
18657 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18658 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18660 grep -v '^ *+' conftest.er1
>conftest.err
18662 cat conftest.err
>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } >/dev
/null
; then
18665 if test -s conftest.err
; then
18666 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18667 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18674 if test -z "$ac_cpp_err"; then
18675 # Broken: success on invalid input.
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.
$ac_ext >&5
18681 # Passes both tests.
18685 rm -f conftest.err conftest.
$ac_ext
18688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18689 rm -f conftest.err conftest.
$ac_ext
18690 if $ac_preproc_ok; then
18693 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18694 See \`config.log' for more details." >&5
18695 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18696 See \`config.log' for more details." >&2;}
18697 { (exit 1); exit 1; }; }
18701 ac_cpp
='$CXXCPP $CPPFLAGS'
18702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18708 if test "$cross_compiling" = "yes"; then
18709 cat >>confdefs.h
<<\_ACEOF
18710 #define wxUSE_IOSTREAMH 1
18717 ac_cpp
='$CXXCPP $CPPFLAGS'
18718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18724 for ac_header
in iostream
18726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18728 echo "$as_me:$LINENO: checking for $ac_header" >&5
18729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18736 # Is the header compilable?
18737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18739 cat >conftest.
$ac_ext <<_ACEOF
18742 cat confdefs.h
>>conftest.
$ac_ext
18743 cat >>conftest.
$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745 $ac_includes_default
18746 #include <$ac_header>
18748 rm -f conftest.
$ac_objext
18749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18750 (eval $ac_compile) 2>conftest.er1
18752 grep -v '^ *+' conftest.er1
>conftest.err
18754 cat conftest.err
>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } &&
18757 { ac_try
='test -z "$ac_cxx_werror_flag"
18758 || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try
='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_header_compiler
=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 ac_header_compiler
=no
18777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18779 echo "${ECHO_T}$ac_header_compiler" >&6
18781 # Is the header present?
18782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18784 cat >conftest.
$ac_ext <<_ACEOF
18787 cat confdefs.h
>>conftest.
$ac_ext
18788 cat >>conftest.
$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18790 #include <$ac_header>
18792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18795 grep -v '^ *+' conftest.er1
>conftest.err
18797 cat conftest.err
>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } >/dev
/null
; then
18800 if test -s conftest.err
; then
18801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18809 if test -z "$ac_cpp_err"; then
18810 ac_header_preproc
=yes
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.
$ac_ext >&5
18815 ac_header_preproc
=no
18817 rm -f conftest.err conftest.
$ac_ext
18818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18819 echo "${ECHO_T}$ac_header_preproc" >&6
18821 # So? What about this header?
18822 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18828 ac_header_preproc
=yes
18831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18845 ## ----------------------------------------- ##
18846 ## Report this to wx-dev@lists.wxwidgets.org ##
18847 ## ----------------------------------------- ##
18850 sed "s/^/$as_me: WARNING: /" >&2
18853 echo "$as_me:$LINENO: checking for $ac_header" >&5
18854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18858 eval "$as_ac_Header=\$ac_header_preproc"
18860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18865 cat >>confdefs.h
<<_ACEOF
18866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18874 if test "$ac_cv_header_iostream" = "yes" ; then
18877 cat >>confdefs.h
<<\_ACEOF
18878 #define wxUSE_IOSTREAMH 1
18884 ac_cpp
='$CPP $CPPFLAGS'
18885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18893 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18894 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18895 if test "${wx_cv_cpp_bool+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 ac_cpp
='$CXXCPP $CPPFLAGS'
18903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18908 cat >conftest.
$ac_ext <<_ACEOF
18911 cat confdefs.h
>>conftest.
$ac_ext
18912 cat >>conftest.
$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18928 rm -f conftest.
$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18932 grep -v '^ *+' conftest.er1
>conftest.err
18934 cat conftest.err
>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try
='test -z "$ac_cxx_werror_flag"
18938 || test ! -s conftest.err'
18939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18940 (eval $ac_try) 2>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); }; } &&
18944 { ac_try
='test -s conftest.$ac_objext'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; }; then
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.
$ac_ext >&5
18962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18965 ac_cpp
='$CPP $CPPFLAGS'
18966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18972 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18973 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18975 if test "$wx_cv_cpp_bool" = "yes"; then
18976 cat >>confdefs.h
<<\_ACEOF
18977 #define HAVE_BOOL 1
18984 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18985 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18986 if test "${wx_cv_explicit+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 ac_cpp
='$CXXCPP $CPPFLAGS'
18994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18999 cat >conftest.
$ac_ext <<_ACEOF
19002 cat confdefs.h
>>conftest.
$ac_ext
19003 cat >>conftest.
$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19006 class Foo { public: explicit Foo(int) {} };
19018 rm -f conftest.
$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19022 grep -v '^ *+' conftest.er1
>conftest.err
19024 cat conftest.err
>&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try
='test -z "$ac_cxx_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try
='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19041 cat >conftest.
$ac_ext <<_ACEOF
19044 cat confdefs.h
>>conftest.
$ac_ext
19045 cat >>conftest.
$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19048 class Foo { public: explicit Foo(int) {} };
19049 static void TakeFoo(const Foo& foo) { }
19062 rm -f conftest.
$ac_objext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19064 (eval $ac_compile) 2>conftest.er1
19066 grep -v '^ *+' conftest.er1
>conftest.err
19068 cat conftest.err
>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try
='test -z "$ac_cxx_werror_flag"
19072 || test ! -s conftest.err'
19073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19074 (eval $ac_try) 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; } &&
19078 { ac_try
='test -s conftest.$ac_objext'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; }; then
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.
$ac_ext >&5
19092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.
$ac_ext >&5
19101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19104 ac_cpp
='$CPP $CPPFLAGS'
19105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19111 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19112 echo "${ECHO_T}$wx_cv_explicit" >&6
19114 if test "$wx_cv_explicit" = "yes"; then
19115 cat >>confdefs.h
<<\_ACEOF
19116 #define HAVE_EXPLICIT 1
19122 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19123 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19124 if test "${ac_cv_cxx_const_cast+set}" = set; then
19125 echo $ECHO_N "(cached) $ECHO_C" >&6
19130 ac_cpp
='$CXXCPP $CPPFLAGS'
19131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19135 cat >conftest.
$ac_ext <<_ACEOF
19138 cat confdefs.h
>>conftest.
$ac_ext
19139 cat >>conftest.
$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19145 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19150 rm -f conftest.
$ac_objext
19151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19152 (eval $ac_compile) 2>conftest.er1
19154 grep -v '^ *+' conftest.er1
>conftest.err
19156 cat conftest.err
>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } &&
19159 { ac_try
='test -z "$ac_cxx_werror_flag"
19160 || test ! -s conftest.err'
19161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19162 (eval $ac_try) 2>&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); }; } &&
19166 { ac_try
='test -s conftest.$ac_objext'
19167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19168 (eval $ac_try) 2>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); }; }; then
19172 ac_cv_cxx_const_cast
=yes
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19177 ac_cv_cxx_const_cast
=no
19179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19181 ac_cpp
='$CPP $CPPFLAGS'
19182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19188 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19189 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19190 if test "$ac_cv_cxx_const_cast" = yes; then
19192 cat >>confdefs.h
<<\_ACEOF
19193 #define HAVE_CONST_CAST
19198 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19199 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19200 if test "${ac_cv_cxx_static_cast+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 ac_cpp
='$CXXCPP $CPPFLAGS'
19207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19211 cat >conftest.
$ac_ext <<_ACEOF
19214 cat confdefs.h
>>conftest.
$ac_ext
19215 cat >>conftest.
$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 #include <typeinfo>
19218 class Base { public : Base () {} virtual void f () = 0; };
19219 class Derived : public Base { public : Derived () {} virtual void f () {} };
19220 int g (Derived&) { return 0; }
19225 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19230 rm -f conftest.
$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19234 grep -v '^ *+' conftest.er1
>conftest.err
19236 cat conftest.err
>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try
='test -z "$ac_cxx_werror_flag"
19240 || test ! -s conftest.err'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try
='test -s conftest.$ac_objext'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; }; then
19252 ac_cv_cxx_static_cast
=yes
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.
$ac_ext >&5
19257 ac_cv_cxx_static_cast
=no
19259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19261 ac_cpp
='$CPP $CPPFLAGS'
19262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19268 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19269 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19270 if test "$ac_cv_cxx_static_cast" = yes; then
19272 cat >>confdefs.h
<<\_ACEOF
19273 #define HAVE_STATIC_CAST
19279 if test "$wxUSE_STL" = "yes"; then
19281 ac_cpp
='$CXXCPP $CPPFLAGS'
19282 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19283 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19284 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19287 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19288 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19289 cat >conftest.
$ac_ext <<_ACEOF
19292 cat confdefs.h
>>conftest.
$ac_ext
19293 cat >>conftest.
$ac_ext <<_ACEOF
19294 /* end confdefs.h. */
19296 #include <functional>
19297 #include <algorithm>
19303 std::vector<int> moo;
19304 std::list<int> foo;
19305 std::vector<int>::iterator it =
19306 std::find_if(moo.begin(), moo.end(),
19307 std::bind2nd(std::less<int>(), 3));
19312 rm -f conftest.
$ac_objext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19314 (eval $ac_compile) 2>conftest.er1
19316 grep -v '^ *+' conftest.er1
>conftest.err
19318 cat conftest.err
>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try
='test -z "$ac_cxx_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest.$ac_objext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 echo "$as_me:$LINENO: result: yes" >&5
19335 echo "${ECHO_T}yes" >&6
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19340 echo "$as_me:$LINENO: result: no" >&5
19341 echo "${ECHO_T}no" >&6
19342 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19343 echo "$as_me: error: Basic STL functionality missing" >&2;}
19344 { (exit 1); exit 1; }; }
19346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19348 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19349 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19350 cat >conftest.
$ac_ext <<_ACEOF
19353 cat confdefs.h
>>conftest.
$ac_ext
19354 cat >>conftest.
$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19365 rm -f conftest.
$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>conftest.er1
19369 grep -v '^ *+' conftest.er1
>conftest.err
19371 cat conftest.err
>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try
='test -z "$ac_cxx_werror_flag"
19375 || test ! -s conftest.err'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; } &&
19381 { ac_try
='test -s conftest.$ac_objext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 echo "$as_me:$LINENO: result: yes" >&5
19388 echo "${ECHO_T}yes" >&6
19389 cat >>confdefs.h
<<\_ACEOF
19390 #define HAVE_STD_WSTRING 1
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.
$ac_ext >&5
19397 echo "$as_me:$LINENO: result: no" >&5
19398 echo "${ECHO_T}no" >&6
19400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19402 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19403 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19404 cat >conftest.
$ac_ext <<_ACEOF
19407 cat confdefs.h
>>conftest.
$ac_ext
19408 cat >>conftest.
$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19414 std::string foo, bar;
19416 foo.compare(1, 1, bar);
19417 foo.compare(1, 1, bar, 1, 1);
19419 foo.compare(1, 1, "");
19420 foo.compare(1, 1, "", 2);
19425 rm -f conftest.
$ac_objext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19427 (eval $ac_compile) 2>conftest.er1
19429 grep -v '^ *+' conftest.er1
>conftest.err
19431 cat conftest.err
>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } &&
19434 { ac_try
='test -z "$ac_cxx_werror_flag"
19435 || test ! -s conftest.err'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; } &&
19441 { ac_try
='test -s conftest.$ac_objext'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 echo "$as_me:$LINENO: result: yes" >&5
19448 echo "${ECHO_T}yes" >&6
19449 cat >>confdefs.h
<<\_ACEOF
19450 #define HAVE_STD_STRING_COMPARE 1
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.
$ac_ext >&5
19457 echo "$as_me:$LINENO: result: no" >&5
19458 echo "${ECHO_T}no" >&6
19460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19462 if test "${ac_cv_header_hash_map+set}" = set; then
19463 echo "$as_me:$LINENO: checking for hash_map" >&5
19464 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19465 if test "${ac_cv_header_hash_map+set}" = set; then
19466 echo $ECHO_N "(cached) $ECHO_C" >&6
19468 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19469 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19471 # Is the header compilable?
19472 echo "$as_me:$LINENO: checking hash_map usability" >&5
19473 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19474 cat >conftest.
$ac_ext <<_ACEOF
19477 cat confdefs.h
>>conftest.
$ac_ext
19478 cat >>conftest.
$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 $ac_includes_default
19481 #include <hash_map>
19483 rm -f conftest.
$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19487 grep -v '^ *+' conftest.er1
>conftest.err
19489 cat conftest.err
>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try
='test -z "$ac_cxx_werror_flag"
19493 || test ! -s conftest.err'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; } &&
19499 { ac_try
='test -s conftest.$ac_objext'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19505 ac_header_compiler
=yes
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.
$ac_ext >&5
19510 ac_header_compiler
=no
19512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19514 echo "${ECHO_T}$ac_header_compiler" >&6
19516 # Is the header present?
19517 echo "$as_me:$LINENO: checking hash_map presence" >&5
19518 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <hash_map>
19527 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19528 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19530 grep -v '^ *+' conftest.er1
>conftest.err
19532 cat conftest.err
>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } >/dev
/null
; then
19535 if test -s conftest.err
; then
19536 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19537 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19544 if test -z "$ac_cpp_err"; then
19545 ac_header_preproc
=yes
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.
$ac_ext >&5
19550 ac_header_preproc
=no
19552 rm -f conftest.err conftest.
$ac_ext
19553 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19554 echo "${ECHO_T}$ac_header_preproc" >&6
19556 # So? What about this header?
19557 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19559 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19560 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19561 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19562 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19563 ac_header_preproc
=yes
19566 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19567 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19568 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19569 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19570 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19571 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19572 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19573 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19574 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19575 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19576 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19577 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19580 ## ----------------------------------------- ##
19581 ## Report this to wx-dev@lists.wxwidgets.org ##
19582 ## ----------------------------------------- ##
19585 sed "s/^/$as_me: WARNING: /" >&2
19588 echo "$as_me:$LINENO: checking for hash_map" >&5
19589 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19590 if test "${ac_cv_header_hash_map+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 ac_cv_header_hash_map
=$ac_header_preproc
19595 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19596 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19599 if test $ac_cv_header_hash_map = yes; then
19600 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19601 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <hash_map>
19609 #include <hash_set>
19613 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19614 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19619 rm -f conftest.
$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19623 grep -v '^ *+' conftest.er1
>conftest.err
19625 cat conftest.err
>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try
='test -z "$ac_cxx_werror_flag"
19629 || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try
='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19641 echo "$as_me:$LINENO: result: yes" >&5
19642 echo "${ECHO_T}yes" >&6
19643 cat >>confdefs.h
<<\_ACEOF
19644 #define HAVE_HASH_MAP 1
19647 cat >>confdefs.h
<<\_ACEOF
19648 #define HAVE_STD_HASH_MAP 1
19652 echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.
$ac_ext >&5
19655 echo "$as_me:$LINENO: result: no" >&5
19656 echo "${ECHO_T}no" >&6
19658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19664 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19665 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19666 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19667 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19671 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19673 # Is the header compilable?
19674 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19675 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19676 cat >conftest.
$ac_ext <<_ACEOF
19679 cat confdefs.h
>>conftest.
$ac_ext
19680 cat >>conftest.
$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 #include <ext/hash_map>
19685 rm -f conftest.
$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try
='test -z "$ac_cxx_werror_flag"
19695 || test ! -s conftest.err'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; } &&
19701 { ac_try
='test -s conftest.$ac_objext'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 ac_header_compiler
=yes
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19712 ac_header_compiler
=no
19714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19716 echo "${ECHO_T}$ac_header_compiler" >&6
19718 # Is the header present?
19719 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19720 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19721 cat >conftest.
$ac_ext <<_ACEOF
19724 cat confdefs.h
>>conftest.
$ac_ext
19725 cat >>conftest.
$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 #include <ext/hash_map>
19729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19732 grep -v '^ *+' conftest.er1
>conftest.err
19734 cat conftest.err
>&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } >/dev
/null
; then
19737 if test -s conftest.err
; then
19738 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19739 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19746 if test -z "$ac_cpp_err"; then
19747 ac_header_preproc
=yes
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.
$ac_ext >&5
19752 ac_header_preproc
=no
19754 rm -f conftest.err conftest.
$ac_ext
19755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19756 echo "${ECHO_T}$ac_header_preproc" >&6
19758 # So? What about this header?
19759 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19761 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19762 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19764 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19765 ac_header_preproc
=yes
19768 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19769 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19770 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19771 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19773 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19775 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19776 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19777 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19778 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19779 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19782 ## ----------------------------------------- ##
19783 ## Report this to wx-dev@lists.wxwidgets.org ##
19784 ## ----------------------------------------- ##
19787 sed "s/^/$as_me: WARNING: /" >&2
19790 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19791 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19792 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 ac_cv_header_ext_hash_map
=$ac_header_preproc
19797 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19798 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19801 if test $ac_cv_header_ext_hash_map = yes; then
19802 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19803 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19804 cat >conftest.
$ac_ext <<_ACEOF
19807 cat confdefs.h
>>conftest.
$ac_ext
19808 cat >>conftest.
$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #include <ext/hash_map>
19811 #include <ext/hash_set>
19815 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
19816 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
19821 rm -f conftest.
$ac_objext
19822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19823 (eval $ac_compile) 2>conftest.er1
19825 grep -v '^ *+' conftest.er1
>conftest.err
19827 cat conftest.err
>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } &&
19830 { ac_try
='test -z "$ac_cxx_werror_flag"
19831 || test ! -s conftest.err'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; } &&
19837 { ac_try
='test -s conftest.$ac_objext'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; }; then
19843 echo "$as_me:$LINENO: result: yes" >&5
19844 echo "${ECHO_T}yes" >&6
19845 cat >>confdefs.h
<<\_ACEOF
19846 #define HAVE_EXT_HASH_MAP 1
19849 cat >>confdefs.h
<<\_ACEOF
19850 #define HAVE_GNU_CXX_HASH_MAP 1
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.
$ac_ext >&5
19857 echo "$as_me:$LINENO: result: no" >&5
19858 echo "${ECHO_T}no" >&6
19860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19867 ac_cpp
='$CPP $CPPFLAGS'
19868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19876 /usr/local/include \
19878 /usr/Motif-2.1/include \
19879 /usr/Motif-1.2/include \
19880 /usr/include/Motif1.2 \
19881 /opt/xpm/include/X11 \
19882 /opt/GBxpm/include/ \
19883 /opt/GBxpm/X11/include/ \
19886 /usr/openwin/include \
19890 /usr/X11R6/include \
19891 /usr/X11R6.4/include \
19892 /usr/X11R5/include \
19893 /usr/X11R4/include \
19895 /usr/include/X11R6 \
19896 /usr/include/X11R5 \
19897 /usr/include/X11R4 \
19899 /usr/local/X11R6/include \
19900 /usr/local/X11R5/include \
19901 /usr/local/X11R4/include \
19903 /usr/local/include/X11R6 \
19904 /usr/local/include/X11R5 \
19905 /usr/local/include/X11R4 \
19909 /usr/local/X11/include \
19910 /usr/local/include/X11 \
19912 /usr/X386/include \
19913 /usr/x386/include \
19914 /usr/XFree86/include/X11 \
19916 X:/XFree86/include \
19917 X:/XFree86/include/X11 \
19920 /usr/local/include/gtk \
19921 /usr/include/glib \
19922 /usr/local/include/glib \
19925 /usr/local/include/qt \
19927 /usr/local/arm/3.3.2/include \
19929 /usr/include/windows \
19930 /usr/include/wine \
19931 /usr/local/include/wine \
19933 /usr/unsupported/include \
19934 /usr/athena/include \
19935 /usr/local/x11r5/include \
19936 /usr/lpp/Xamples/include \
19938 /usr/openwin/share/include"
19940 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19943 cat >confcache
<<\_ACEOF
19944 # This file is a shell script that caches the results of configure
19945 # tests run on this system so they can be shared between configure
19946 # scripts and configure runs, see configure's option --config-cache.
19947 # It is not useful on other systems. If it contains results you don't
19948 # want to keep, you may remove or edit it.
19950 # config.status only pays attention to the cache file if you give it
19951 # the --recheck option to rerun configure.
19953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19955 # following values.
19959 # The following way of writing the cache mishandles newlines in values,
19960 # but we know of no workaround that is simple, portable, and efficient.
19961 # So, don't put newlines in cache variables' values.
19962 # Ultrix sh set writes to stderr and can't be redirected directly,
19963 # and sets the high bit in the cache file unless we assign to the vars.
19966 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19968 # `set' does not quote correctly, so add quotes (double-quote
19969 # substitution turns \\\\ into \\, and sed turns \\ into \).
19972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19975 # `set' quotes correctly as required by POSIX, so do not add quotes.
19977 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19986 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19988 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19989 if test -w $cache_file; then
19990 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19991 cat confcache
>$cache_file
19993 echo "not updating unwritable cache $cache_file"
19998 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19999 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20000 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20001 if test "${wx_cv_lib_glibc21+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20005 cat >conftest.
$ac_ext <<_ACEOF
20008 cat confdefs.h
>>conftest.
$ac_ext
20009 cat >>conftest.
$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 #include <features.h>
20016 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20017 #error not glibc2.1
20024 rm -f conftest.
$ac_objext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20026 (eval $ac_compile) 2>conftest.er1
20028 grep -v '^ *+' conftest.er1
>conftest.err
20030 cat conftest.err
>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try
='test -z "$ac_c_werror_flag"
20034 || test ! -s conftest.err'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; } &&
20040 { ac_try
='test -s conftest.$ac_objext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20047 wx_cv_lib_glibc21
=yes
20050 echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.
$ac_ext >&5
20054 wx_cv_lib_glibc21
=no
20058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20061 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20062 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20063 if test "$wx_cv_lib_glibc21" = "yes"; then
20064 cat >>confdefs.h
<<\_ACEOF
20065 #define wxHAVE_GLIBC2 1
20071 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20072 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20073 cat >>confdefs.h
<<\_ACEOF
20074 #define _GNU_SOURCE 1
20082 if test "$wxUSE_REGEX" != "no"; then
20083 cat >>confdefs.h
<<\_ACEOF
20084 #define wxUSE_REGEX 1
20088 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20089 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20090 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20091 wxUSE_REGEX
=builtin
20094 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20095 if test "${ac_cv_header_regex_h+set}" = set; then
20096 echo "$as_me:$LINENO: checking for regex.h" >&5
20097 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20098 if test "${ac_cv_header_regex_h+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20102 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20104 # Is the header compilable?
20105 echo "$as_me:$LINENO: checking regex.h usability" >&5
20106 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20116 rm -f conftest.
$ac_objext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20118 (eval $ac_compile) 2>conftest.er1
20120 grep -v '^ *+' conftest.er1
>conftest.err
20122 cat conftest.err
>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try
='test -z "$ac_c_werror_flag"
20126 || test ! -s conftest.err'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; } &&
20132 { ac_try
='test -s conftest.$ac_objext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20138 ac_header_compiler
=yes
20140 echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.
$ac_ext >&5
20143 ac_header_compiler
=no
20145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20147 echo "${ECHO_T}$ac_header_compiler" >&6
20149 # Is the header present?
20150 echo "$as_me:$LINENO: checking regex.h presence" >&5
20151 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20152 cat >conftest.
$ac_ext <<_ACEOF
20155 cat confdefs.h
>>conftest.
$ac_ext
20156 cat >>conftest.
$ac_ext <<_ACEOF
20157 /* end confdefs.h. */
20160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20163 grep -v '^ *+' conftest.er1
>conftest.err
20165 cat conftest.err
>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } >/dev
/null
; then
20168 if test -s conftest.err
; then
20169 ac_cpp_err
=$ac_c_preproc_warn_flag
20170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20177 if test -z "$ac_cpp_err"; then
20178 ac_header_preproc
=yes
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.
$ac_ext >&5
20183 ac_header_preproc
=no
20185 rm -f conftest.err conftest.
$ac_ext
20186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20187 echo "${ECHO_T}$ac_header_preproc" >&6
20189 # So? What about this header?
20190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20192 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20193 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20194 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20195 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20196 ac_header_preproc
=yes
20199 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20200 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20201 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20202 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20203 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20204 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20205 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20206 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20207 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20208 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20209 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20210 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20213 ## ----------------------------------------- ##
20214 ## Report this to wx-dev@lists.wxwidgets.org ##
20215 ## ----------------------------------------- ##
20218 sed "s/^/$as_me: WARNING: /" >&2
20221 echo "$as_me:$LINENO: checking for regex.h" >&5
20222 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20223 if test "${ac_cv_header_regex_h+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 ac_cv_header_regex_h
=$ac_header_preproc
20228 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20229 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20232 if test $ac_cv_header_regex_h = yes; then
20234 for ac_func
in regcomp
20236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20237 echo "$as_me:$LINENO: checking for $ac_func" >&5
20238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20239 if eval "test \"\${$as_ac_var+set}\" = set"; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 cat >conftest.
$ac_ext <<_ACEOF
20245 cat confdefs.h
>>conftest.
$ac_ext
20246 cat >>conftest.
$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20250 #define $ac_func innocuous_$ac_func
20252 /* System header to define __stub macros and hopefully few prototypes,
20253 which can conflict with char $ac_func (); below.
20254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20255 <limits.h> exists even on freestanding compilers. */
20258 # include <limits.h>
20260 # include <assert.h>
20265 /* Override any gcc2 internal prototype to avoid an error. */
20270 /* We use char because int might match the return type of a gcc2
20271 builtin and then its argument prototype would still apply. */
20273 /* The GNU C library defines this for functions which it implements
20274 to always fail with ENOSYS. Some functions are actually named
20275 something starting with __ and the normal name is an alias. */
20276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20279 char (*f) () = $ac_func;
20288 return f != $ac_func;
20293 rm -f conftest.
$ac_objext conftest
$ac_exeext
20294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20295 (eval $ac_link) 2>conftest.er1
20297 grep -v '^ *+' conftest.er1
>conftest.err
20299 cat conftest.err
>&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } &&
20302 { ac_try
='test -z "$ac_c_werror_flag"
20303 || test ! -s conftest.err'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; } &&
20309 { ac_try
='test -s conftest$ac_exeext'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 eval "$as_ac_var=yes"
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.
$ac_ext >&5
20320 eval "$as_ac_var=no"
20322 rm -f conftest.err conftest.
$ac_objext \
20323 conftest
$ac_exeext conftest.
$ac_ext
20325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20327 if test `eval echo '${'$as_ac_var'}'` = yes; then
20328 cat >>confdefs.h
<<_ACEOF
20329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20339 if test "x$ac_cv_func_regcomp" != "xyes"; then
20340 if test "$wxUSE_REGEX" = "sys" ; then
20341 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20342 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20343 { (exit 1); exit 1; }; }
20345 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20346 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20347 wxUSE_REGEX
=builtin
20351 cat >>confdefs.h
<<\_ACEOF
20352 #define WX_NO_REGEX_ADVANCED 1
20361 if test "$wxUSE_ZLIB" != "no" ; then
20362 cat >>confdefs.h
<<\_ACEOF
20363 #define wxUSE_ZLIB 1
20367 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20368 if test "$USE_DARWIN" = 1; then
20369 system_zlib_h_ok
="yes"
20371 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20372 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20373 if test "${ac_cv_header_zlib_h+set}" = set; then
20374 echo $ECHO_N "(cached) $ECHO_C" >&6
20376 if test "$cross_compiling" = yes; then
20377 unset ac_cv_header_zlib_h
20380 cat >conftest.
$ac_ext <<_ACEOF
20383 cat confdefs.h
>>conftest.
$ac_ext
20384 cat >>conftest.
$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20392 FILE *f=fopen("conftestval", "w");
20395 ZLIB_VERSION[0] == '1' &&
20396 (ZLIB_VERSION[2] > '1' ||
20397 (ZLIB_VERSION[2] == '1' &&
20398 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20403 rm -f conftest
$ac_exeext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405 (eval $ac_link) 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_cv_header_zlib_h
=`cat conftestval`
20416 echo "$as_me: program exited with status $ac_status" >&5
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.
$ac_ext >&5
20420 ( exit $ac_status )
20421 ac_cv_header_zlib_h
=no
20423 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20427 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20428 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20429 if test "${ac_cv_header_zlib_h+set}" = set; then
20430 echo "$as_me:$LINENO: checking for zlib.h" >&5
20431 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20432 if test "${ac_cv_header_zlib_h+set}" = set; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20436 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20438 # Is the header compilable?
20439 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20440 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20441 cat >conftest.
$ac_ext <<_ACEOF
20444 cat confdefs.h
>>conftest.
$ac_ext
20445 cat >>conftest.
$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20450 rm -f conftest.
$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>conftest.er1
20454 grep -v '^ *+' conftest.er1
>conftest.err
20456 cat conftest.err
>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try
='test -z "$ac_c_werror_flag"
20460 || test ! -s conftest.err'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20472 ac_header_compiler
=yes
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.
$ac_ext >&5
20477 ac_header_compiler
=no
20479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20481 echo "${ECHO_T}$ac_header_compiler" >&6
20483 # Is the header present?
20484 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20485 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20495 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20497 grep -v '^ *+' conftest.er1
>conftest.err
20499 cat conftest.err
>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } >/dev
/null
; then
20502 if test -s conftest.err
; then
20503 ac_cpp_err
=$ac_c_preproc_warn_flag
20504 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20511 if test -z "$ac_cpp_err"; then
20512 ac_header_preproc
=yes
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.
$ac_ext >&5
20517 ac_header_preproc
=no
20519 rm -f conftest.err conftest.
$ac_ext
20520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20521 echo "${ECHO_T}$ac_header_preproc" >&6
20523 # So? What about this header?
20524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20526 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20527 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20528 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20529 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20530 ac_header_preproc
=yes
20533 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20534 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20536 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20537 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20538 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20539 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20540 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20542 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20543 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20544 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20547 ## ----------------------------------------- ##
20548 ## Report this to wx-dev@lists.wxwidgets.org ##
20549 ## ----------------------------------------- ##
20552 sed "s/^/$as_me: WARNING: /" >&2
20555 echo "$as_me:$LINENO: checking for zlib.h" >&5
20556 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20557 if test "${ac_cv_header_zlib_h+set}" = set; then
20558 echo $ECHO_N "(cached) $ECHO_C" >&6
20560 ac_cv_header_zlib_h
=$ac_header_preproc
20562 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20563 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20569 system_zlib_h_ok
=$ac_cv_header_zlib_h
20572 if test "$system_zlib_h_ok" = "yes"; then
20573 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20574 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20575 if test "${ac_cv_lib_z_deflate+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20578 ac_check_lib_save_LIBS
=$LIBS
20580 cat >conftest.
$ac_ext <<_ACEOF
20583 cat confdefs.h
>>conftest.
$ac_ext
20584 cat >>conftest.
$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20587 /* Override any gcc2 internal prototype to avoid an error. */
20591 /* We use char because int might match the return type of a gcc2
20592 builtin and then its argument prototype would still apply. */
20602 rm -f conftest.
$ac_objext conftest
$ac_exeext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20604 (eval $ac_link) 2>conftest.er1
20606 grep -v '^ *+' conftest.er1
>conftest.err
20608 cat conftest.err
>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try
='test -z "$ac_c_werror_flag"
20612 || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try
='test -s conftest$ac_exeext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 ac_cv_lib_z_deflate
=yes
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.
$ac_ext >&5
20629 ac_cv_lib_z_deflate
=no
20631 rm -f conftest.err conftest.
$ac_objext \
20632 conftest
$ac_exeext conftest.
$ac_ext
20633 LIBS
=$ac_check_lib_save_LIBS
20635 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20636 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20637 if test $ac_cv_lib_z_deflate = yes; then
20643 if test "x$ZLIB_LINK" = "x" ; then
20644 if test "$wxUSE_ZLIB" = "sys" ; then
20645 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20646 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20647 { (exit 1); exit 1; }; }
20649 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20650 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20661 if test "$wxUSE_LIBPNG" != "no" ; then
20662 cat >>confdefs.h
<<\_ACEOF
20663 #define wxUSE_LIBPNG 1
20667 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20668 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20669 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20673 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20674 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20675 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20676 wxUSE_LIBPNG
=builtin
20679 if test "$wxUSE_MGL" != 1 ; then
20680 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20681 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20682 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20683 if test "${ac_cv_header_png_h+set}" = set; then
20684 echo $ECHO_N "(cached) $ECHO_C" >&6
20686 if test "$cross_compiling" = yes; then
20687 unset ac_cv_header_png_h
20690 cat >conftest.
$ac_ext <<_ACEOF
20693 cat confdefs.h
>>conftest.
$ac_ext
20694 cat >>conftest.
$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20702 FILE *f=fopen("conftestval", "w");
20705 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20710 rm -f conftest
$ac_exeext
20711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20712 (eval $ac_link) 2>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 ac_cv_header_png_h
=`cat conftestval`
20723 echo "$as_me: program exited with status $ac_status" >&5
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.
$ac_ext >&5
20727 ( exit $ac_status )
20728 ac_cv_header_png_h
=no
20730 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20734 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20735 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20736 if test "${ac_cv_header_png_h+set}" = set; then
20737 echo "$as_me:$LINENO: checking for png.h" >&5
20738 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20739 if test "${ac_cv_header_png_h+set}" = set; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20742 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20743 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20745 # Is the header compilable?
20746 echo "$as_me:$LINENO: checking png.h usability" >&5
20747 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20748 cat >conftest.
$ac_ext <<_ACEOF
20751 cat confdefs.h
>>conftest.
$ac_ext
20752 cat >>conftest.
$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 $ac_includes_default
20757 rm -f conftest.
$ac_objext
20758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20759 (eval $ac_compile) 2>conftest.er1
20761 grep -v '^ *+' conftest.er1
>conftest.err
20763 cat conftest.err
>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try
='test -z "$ac_c_werror_flag"
20767 || test ! -s conftest.err'
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); }; } &&
20773 { ac_try
='test -s conftest.$ac_objext'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_header_compiler
=yes
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20784 ac_header_compiler
=no
20786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20788 echo "${ECHO_T}$ac_header_compiler" >&6
20790 # Is the header present?
20791 echo "$as_me:$LINENO: checking png.h presence" >&5
20792 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20793 cat >conftest.
$ac_ext <<_ACEOF
20796 cat confdefs.h
>>conftest.
$ac_ext
20797 cat >>conftest.
$ac_ext <<_ACEOF
20798 /* end confdefs.h. */
20801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20804 grep -v '^ *+' conftest.er1
>conftest.err
20806 cat conftest.err
>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } >/dev
/null
; then
20809 if test -s conftest.err
; then
20810 ac_cpp_err
=$ac_c_preproc_warn_flag
20811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20818 if test -z "$ac_cpp_err"; then
20819 ac_header_preproc
=yes
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.
$ac_ext >&5
20824 ac_header_preproc
=no
20826 rm -f conftest.err conftest.
$ac_ext
20827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20828 echo "${ECHO_T}$ac_header_preproc" >&6
20830 # So? What about this header?
20831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20833 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20834 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20835 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20836 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20837 ac_header_preproc
=yes
20840 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20841 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20842 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20843 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20844 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20845 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20846 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20847 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20849 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20850 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20851 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20854 ## ----------------------------------------- ##
20855 ## Report this to wx-dev@lists.wxwidgets.org ##
20856 ## ----------------------------------------- ##
20859 sed "s/^/$as_me: WARNING: /" >&2
20862 echo "$as_me:$LINENO: checking for png.h" >&5
20863 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20864 if test "${ac_cv_header_png_h+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20867 ac_cv_header_png_h
=$ac_header_preproc
20869 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20870 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20876 if test "$ac_cv_header_png_h" = "yes"; then
20877 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20878 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20879 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20880 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 ac_check_lib_save_LIBS
=$LIBS
20883 LIBS
="-lpng -lz -lm $LIBS"
20884 cat >conftest.
$ac_ext <<_ACEOF
20887 cat confdefs.h
>>conftest.
$ac_ext
20888 cat >>conftest.
$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20891 /* Override any gcc2 internal prototype to avoid an error. */
20895 /* We use char because int might match the return type of a gcc2
20896 builtin and then its argument prototype would still apply. */
20897 char png_check_sig ();
20906 rm -f conftest.
$ac_objext conftest
$ac_exeext
20907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20908 (eval $ac_link) 2>conftest.er1
20910 grep -v '^ *+' conftest.er1
>conftest.err
20912 cat conftest.err
>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } &&
20915 { ac_try
='test -z "$ac_c_werror_flag"
20916 || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try
='test -s conftest$ac_exeext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 ac_cv_lib_png_png_check_sig
=yes
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.
$ac_ext >&5
20933 ac_cv_lib_png_png_check_sig
=no
20935 rm -f conftest.err conftest.
$ac_objext \
20936 conftest
$ac_exeext conftest.
$ac_ext
20937 LIBS
=$ac_check_lib_save_LIBS
20939 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20940 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20941 if test $ac_cv_lib_png_png_check_sig = yes; then
20942 PNG_LINK
=" -lpng -lz"
20947 if test "x$PNG_LINK" = "x" ; then
20948 if test "$wxUSE_LIBPNG" = "sys" ; then
20949 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20950 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20951 { (exit 1); exit 1; }; }
20953 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20954 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20955 wxUSE_LIBPNG
=builtin
20963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20968 if test "$wxUSE_LIBJPEG" != "no" ; then
20969 cat >>confdefs.h
<<\_ACEOF
20970 #define wxUSE_LIBJPEG 1
20974 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20975 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20976 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20980 if test "$wxUSE_MGL" != 1 ; then
20981 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20982 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20983 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20984 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 cat >conftest.
$ac_ext <<_ACEOF
20990 cat confdefs.h
>>conftest.
$ac_ext
20991 cat >>conftest.
$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20994 #undef HAVE_STDLIB_H
20996 #include <jpeglib.h>
21007 rm -f conftest.
$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21011 grep -v '^ *+' conftest.er1
>conftest.err
21013 cat conftest.err
>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try
='test -z "$ac_c_werror_flag"
21017 || test ! -s conftest.err'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; } &&
21023 { ac_try
='test -s conftest.$ac_objext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_header_jpeglib_h
=yes
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.
$ac_ext >&5
21034 ac_cv_header_jpeglib_h
=no
21037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21041 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21042 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21044 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21045 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21046 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21047 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21050 ac_check_lib_save_LIBS
=$LIBS
21051 LIBS
="-ljpeg $LIBS"
21052 cat >conftest.
$ac_ext <<_ACEOF
21055 cat confdefs.h
>>conftest.
$ac_ext
21056 cat >>conftest.
$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21059 /* Override any gcc2 internal prototype to avoid an error. */
21063 /* We use char because int might match the return type of a gcc2
21064 builtin and then its argument prototype would still apply. */
21065 char jpeg_read_header ();
21069 jpeg_read_header ();
21074 rm -f conftest.
$ac_objext conftest
$ac_exeext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21076 (eval $ac_link) 2>conftest.er1
21078 grep -v '^ *+' conftest.er1
>conftest.err
21080 cat conftest.err
>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } &&
21083 { ac_try
='test -z "$ac_c_werror_flag"
21084 || test ! -s conftest.err'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; } &&
21090 { ac_try
='test -s conftest$ac_exeext'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; }; then
21096 ac_cv_lib_jpeg_jpeg_read_header
=yes
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.
$ac_ext >&5
21101 ac_cv_lib_jpeg_jpeg_read_header
=no
21103 rm -f conftest.err conftest.
$ac_objext \
21104 conftest
$ac_exeext conftest.
$ac_ext
21105 LIBS
=$ac_check_lib_save_LIBS
21107 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21108 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21109 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21110 JPEG_LINK
=" -ljpeg"
21115 if test "x$JPEG_LINK" = "x" ; then
21116 if test "$wxUSE_LIBJPEG" = "sys" ; then
21117 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21118 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21119 { (exit 1); exit 1; }; }
21121 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21122 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21123 wxUSE_LIBJPEG
=builtin
21134 TIFF_PREREQ_LINKS
=-lm
21135 if test "$wxUSE_LIBTIFF" != "no" ; then
21136 cat >>confdefs.h
<<\_ACEOF
21137 #define wxUSE_LIBTIFF 1
21141 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21142 if test "$wxUSE_LIBJPEG" = "sys"; then
21143 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21145 if test "$wxUSE_ZLIB" = "sys"; then
21146 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21148 if test "${ac_cv_header_tiffio_h+set}" = set; then
21149 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21150 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21151 if test "${ac_cv_header_tiffio_h+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21155 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21157 # Is the header compilable?
21158 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21159 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 #include <tiffio.h>
21169 rm -f conftest.
$ac_objext
21170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21171 (eval $ac_compile) 2>conftest.er1
21173 grep -v '^ *+' conftest.er1
>conftest.err
21175 cat conftest.err
>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } &&
21178 { ac_try
='test -z "$ac_c_werror_flag"
21179 || test ! -s conftest.err'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; } &&
21185 { ac_try
='test -s conftest.$ac_objext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_header_compiler
=yes
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.
$ac_ext >&5
21196 ac_header_compiler
=no
21198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21200 echo "${ECHO_T}$ac_header_compiler" >&6
21202 # Is the header present?
21203 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21204 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21205 cat >conftest.
$ac_ext <<_ACEOF
21208 cat confdefs.h
>>conftest.
$ac_ext
21209 cat >>conftest.
$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 #include <tiffio.h>
21213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21216 grep -v '^ *+' conftest.er1
>conftest.err
21218 cat conftest.err
>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } >/dev
/null
; then
21221 if test -s conftest.err
; then
21222 ac_cpp_err
=$ac_c_preproc_warn_flag
21223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21230 if test -z "$ac_cpp_err"; then
21231 ac_header_preproc
=yes
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.
$ac_ext >&5
21236 ac_header_preproc
=no
21238 rm -f conftest.err conftest.
$ac_ext
21239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21240 echo "${ECHO_T}$ac_header_preproc" >&6
21242 # So? What about this header?
21243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21245 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21246 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21247 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21248 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21249 ac_header_preproc
=yes
21252 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21253 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21254 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21255 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21256 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21257 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21259 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21261 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21263 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21266 ## ----------------------------------------- ##
21267 ## Report this to wx-dev@lists.wxwidgets.org ##
21268 ## ----------------------------------------- ##
21271 sed "s/^/$as_me: WARNING: /" >&2
21274 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21275 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21276 if test "${ac_cv_header_tiffio_h+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 ac_cv_header_tiffio_h
=$ac_header_preproc
21281 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21282 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21285 if test $ac_cv_header_tiffio_h = yes; then
21287 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21288 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21289 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21290 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 ac_check_lib_save_LIBS
=$LIBS
21293 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21294 cat >conftest.
$ac_ext <<_ACEOF
21297 cat confdefs.h
>>conftest.
$ac_ext
21298 cat >>conftest.
$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21301 /* Override any gcc2 internal prototype to avoid an error. */
21305 /* We use char because int might match the return type of a gcc2
21306 builtin and then its argument prototype would still apply. */
21316 rm -f conftest.
$ac_objext conftest
$ac_exeext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21318 (eval $ac_link) 2>conftest.er1
21320 grep -v '^ *+' conftest.er1
>conftest.err
21322 cat conftest.err
>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try
='test -z "$ac_c_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try
='test -s conftest$ac_exeext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 ac_cv_lib_tiff_TIFFError
=yes
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.
$ac_ext >&5
21343 ac_cv_lib_tiff_TIFFError
=no
21345 rm -f conftest.err conftest.
$ac_objext \
21346 conftest
$ac_exeext conftest.
$ac_ext
21347 LIBS
=$ac_check_lib_save_LIBS
21349 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21350 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21351 if test $ac_cv_lib_tiff_TIFFError = yes; then
21352 TIFF_LINK
=" -ltiff"
21361 if test "x$TIFF_LINK" = "x" ; then
21362 if test "$wxUSE_LIBTIFF" = "sys" ; then
21363 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21364 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21365 { (exit 1); exit 1; }; }
21367 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21368 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21369 wxUSE_LIBTIFF
=builtin
21378 if test "$wxUSE_EXPAT" != "no"; then
21380 cat >>confdefs.h
<<\_ACEOF
21381 #define wxUSE_EXPAT 1
21384 cat >>confdefs.h
<<\_ACEOF
21385 #define wxUSE_XML 1
21389 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21390 if test "${ac_cv_header_expat_h+set}" = set; then
21391 echo "$as_me:$LINENO: checking for expat.h" >&5
21392 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21393 if test "${ac_cv_header_expat_h+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21397 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21399 # Is the header compilable?
21400 echo "$as_me:$LINENO: checking expat.h usability" >&5
21401 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21402 cat >conftest.
$ac_ext <<_ACEOF
21405 cat confdefs.h
>>conftest.
$ac_ext
21406 cat >>conftest.
$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21411 rm -f conftest.
$ac_objext
21412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21413 (eval $ac_compile) 2>conftest.er1
21415 grep -v '^ *+' conftest.er1
>conftest.err
21417 cat conftest.err
>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } &&
21420 { ac_try
='test -z "$ac_c_werror_flag"
21421 || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try
='test -s conftest.$ac_objext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21429 (eval $ac_try) 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; }; then
21433 ac_header_compiler
=yes
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21438 ac_header_compiler
=no
21440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21442 echo "${ECHO_T}$ac_header_compiler" >&6
21444 # Is the header present?
21445 echo "$as_me:$LINENO: checking expat.h presence" >&5
21446 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21447 cat >conftest.
$ac_ext <<_ACEOF
21450 cat confdefs.h
>>conftest.
$ac_ext
21451 cat >>conftest.
$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21458 grep -v '^ *+' conftest.er1
>conftest.err
21460 cat conftest.err
>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } >/dev
/null
; then
21463 if test -s conftest.err
; then
21464 ac_cpp_err
=$ac_c_preproc_warn_flag
21465 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21472 if test -z "$ac_cpp_err"; then
21473 ac_header_preproc
=yes
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.
$ac_ext >&5
21478 ac_header_preproc
=no
21480 rm -f conftest.err conftest.
$ac_ext
21481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21482 echo "${ECHO_T}$ac_header_preproc" >&6
21484 # So? What about this header?
21485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21487 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21488 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21489 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21490 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21491 ac_header_preproc
=yes
21494 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21495 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21497 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21498 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21499 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21501 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21502 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21503 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21504 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21505 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21508 ## ----------------------------------------- ##
21509 ## Report this to wx-dev@lists.wxwidgets.org ##
21510 ## ----------------------------------------- ##
21513 sed "s/^/$as_me: WARNING: /" >&2
21516 echo "$as_me:$LINENO: checking for expat.h" >&5
21517 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21518 if test "${ac_cv_header_expat_h+set}" = set; then
21519 echo $ECHO_N "(cached) $ECHO_C" >&6
21521 ac_cv_header_expat_h
=$ac_header_preproc
21523 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21524 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21527 if test $ac_cv_header_expat_h = yes; then
21532 if test "x$found_expat_h" = "x1"; then
21533 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21534 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21535 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21536 echo $ECHO_N "(cached) $ECHO_C" >&6
21542 ac_cpp
='$CXXCPP $CPPFLAGS'
21543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21547 cat >conftest.
$ac_ext <<_ACEOF
21550 cat confdefs.h
>>conftest.
$ac_ext
21551 cat >>conftest.
$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21562 rm -f conftest.
$ac_objext
21563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21564 (eval $ac_compile) 2>conftest.er1
21566 grep -v '^ *+' conftest.er1
>conftest.err
21568 cat conftest.err
>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); } &&
21571 { ac_try
='test -z "$ac_cxx_werror_flag"
21572 || test ! -s conftest.err'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; } &&
21578 { ac_try
='test -s conftest.$ac_objext'
21579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21580 (eval $ac_try) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; }; then
21584 wx_cv_expat_is_not_broken
=yes
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.
$ac_ext >&5
21589 wx_cv_expat_is_not_broken
=no
21592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21594 ac_cpp
='$CPP $CPPFLAGS'
21595 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21602 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21603 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21604 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21605 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21606 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21607 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 ac_check_lib_save_LIBS
=$LIBS
21611 LIBS
="-lexpat $LIBS"
21612 cat >conftest.
$ac_ext <<_ACEOF
21615 cat confdefs.h
>>conftest.
$ac_ext
21616 cat >>conftest.
$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21619 /* Override any gcc2 internal prototype to avoid an error. */
21623 /* We use char because int might match the return type of a gcc2
21624 builtin and then its argument prototype would still apply. */
21625 char XML_ParserCreate ();
21629 XML_ParserCreate ();
21634 rm -f conftest.
$ac_objext conftest
$ac_exeext
21635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21636 (eval $ac_link) 2>conftest.er1
21638 grep -v '^ *+' conftest.er1
>conftest.err
21640 cat conftest.err
>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } &&
21643 { ac_try
='test -z "$ac_c_werror_flag"
21644 || test ! -s conftest.err'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try
='test -s conftest$ac_exeext'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; }; then
21656 ac_cv_lib_expat_XML_ParserCreate
=yes
21658 echo "$as_me: failed program was:" >&5
21659 sed 's/^/| /' conftest.
$ac_ext >&5
21661 ac_cv_lib_expat_XML_ParserCreate
=no
21663 rm -f conftest.err conftest.
$ac_objext \
21664 conftest
$ac_exeext conftest.
$ac_ext
21665 LIBS
=$ac_check_lib_save_LIBS
21667 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21668 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21669 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21670 EXPAT_LINK
=" -lexpat"
21675 if test "x$EXPAT_LINK" = "x" ; then
21676 if test "$wxUSE_EXPAT" = "sys" ; then
21677 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21678 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21679 { (exit 1); exit 1; }; }
21681 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21682 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21683 wxUSE_EXPAT
=builtin
21689 if test "$wxUSE_EXPAT" = "builtin" ; then
21692 subdirs
="$subdirs src/expat"
21699 if test "$wxUSE_LIBMSPACK" != "no"; then
21701 if test "${ac_cv_header_mspack_h+set}" = set; then
21702 echo "$as_me:$LINENO: checking for mspack.h" >&5
21703 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21704 if test "${ac_cv_header_mspack_h+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21708 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21710 # Is the header compilable?
21711 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21712 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21713 cat >conftest.
$ac_ext <<_ACEOF
21716 cat confdefs.h
>>conftest.
$ac_ext
21717 cat >>conftest.
$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 $ac_includes_default
21720 #include <mspack.h>
21722 rm -f conftest.
$ac_objext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21724 (eval $ac_compile) 2>conftest.er1
21726 grep -v '^ *+' conftest.er1
>conftest.err
21728 cat conftest.err
>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } &&
21731 { ac_try
='test -z "$ac_c_werror_flag"
21732 || test ! -s conftest.err'
21733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21734 (eval $ac_try) 2>&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); }; } &&
21738 { ac_try
='test -s conftest.$ac_objext'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; }; then
21744 ac_header_compiler
=yes
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.
$ac_ext >&5
21749 ac_header_compiler
=no
21751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21753 echo "${ECHO_T}$ac_header_compiler" >&6
21755 # Is the header present?
21756 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21757 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21758 cat >conftest.
$ac_ext <<_ACEOF
21761 cat confdefs.h
>>conftest.
$ac_ext
21762 cat >>conftest.
$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <mspack.h>
21766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21767 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } >/dev
/null
; then
21774 if test -s conftest.err
; then
21775 ac_cpp_err
=$ac_c_preproc_warn_flag
21776 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21783 if test -z "$ac_cpp_err"; then
21784 ac_header_preproc
=yes
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.
$ac_ext >&5
21789 ac_header_preproc
=no
21791 rm -f conftest.err conftest.
$ac_ext
21792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21793 echo "${ECHO_T}$ac_header_preproc" >&6
21795 # So? What about this header?
21796 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21798 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21799 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21800 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21801 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21802 ac_header_preproc
=yes
21805 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21806 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21807 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21808 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21809 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21810 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21811 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21812 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21813 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21814 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21816 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21819 ## ----------------------------------------- ##
21820 ## Report this to wx-dev@lists.wxwidgets.org ##
21821 ## ----------------------------------------- ##
21824 sed "s/^/$as_me: WARNING: /" >&2
21827 echo "$as_me:$LINENO: checking for mspack.h" >&5
21828 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21829 if test "${ac_cv_header_mspack_h+set}" = set; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21832 ac_cv_header_mspack_h
=$ac_header_preproc
21834 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21835 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21838 if test $ac_cv_header_mspack_h = yes; then
21843 if test "x$found_mspack_h" = "x1"; then
21844 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21845 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21846 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21849 ac_check_lib_save_LIBS
=$LIBS
21850 LIBS
="-lmspack $LIBS"
21851 cat >conftest.
$ac_ext <<_ACEOF
21854 cat confdefs.h
>>conftest.
$ac_ext
21855 cat >>conftest.
$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21858 /* Override any gcc2 internal prototype to avoid an error. */
21862 /* We use char because int might match the return type of a gcc2
21863 builtin and then its argument prototype would still apply. */
21864 char mspack_create_chm_decompressor ();
21868 mspack_create_chm_decompressor ();
21873 rm -f conftest.
$ac_objext conftest
$ac_exeext
21874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21875 (eval $ac_link) 2>conftest.er1
21877 grep -v '^ *+' conftest.er1
>conftest.err
21879 cat conftest.err
>&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } &&
21882 { ac_try
='test -z "$ac_c_werror_flag"
21883 || test ! -s conftest.err'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; } &&
21889 { ac_try
='test -s conftest$ac_exeext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21895 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21897 echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.
$ac_ext >&5
21900 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21902 rm -f conftest.err conftest.
$ac_objext \
21903 conftest
$ac_exeext conftest.
$ac_ext
21904 LIBS
=$ac_check_lib_save_LIBS
21906 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21907 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21908 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21909 MSPACK_LINK
=" -lmspack"
21913 if test "x$MSPACK_LINK" = "x" ; then
21916 cat >>confdefs.h
<<\_ACEOF
21917 #define wxUSE_LIBMSPACK 1
21932 if test "$USE_WIN32" = 1 ; then
21934 for ac_header
in w32api.h
21936 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21938 echo "$as_me:$LINENO: checking for $ac_header" >&5
21939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21941 echo $ECHO_N "(cached) $ECHO_C" >&6
21943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21946 # Is the header compilable?
21947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21949 cat >conftest.
$ac_ext <<_ACEOF
21952 cat confdefs.h
>>conftest.
$ac_ext
21953 cat >>conftest.
$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955 $ac_includes_default
21956 #include <$ac_header>
21958 rm -f conftest.
$ac_objext
21959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21960 (eval $ac_compile) 2>conftest.er1
21962 grep -v '^ *+' conftest.er1
>conftest.err
21964 cat conftest.err
>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } &&
21967 { ac_try
='test -z "$ac_c_werror_flag"
21968 || test ! -s conftest.err'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try
='test -s conftest.$ac_objext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_header_compiler
=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.
$ac_ext >&5
21985 ac_header_compiler
=no
21987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21989 echo "${ECHO_T}$ac_header_compiler" >&6
21991 # Is the header present?
21992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21994 cat >conftest.
$ac_ext <<_ACEOF
21997 cat confdefs.h
>>conftest.
$ac_ext
21998 cat >>conftest.
$ac_ext <<_ACEOF
21999 /* end confdefs.h. */
22000 #include <$ac_header>
22002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22005 grep -v '^ *+' conftest.er1
>conftest.err
22007 cat conftest.err
>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } >/dev
/null
; then
22010 if test -s conftest.err
; then
22011 ac_cpp_err
=$ac_c_preproc_warn_flag
22012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22019 if test -z "$ac_cpp_err"; then
22020 ac_header_preproc
=yes
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.
$ac_ext >&5
22025 ac_header_preproc
=no
22027 rm -f conftest.err conftest.
$ac_ext
22028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22029 echo "${ECHO_T}$ac_header_preproc" >&6
22031 # So? What about this header?
22032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22037 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22038 ac_header_preproc
=yes
22041 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22044 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22045 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22046 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22048 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22051 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22052 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22055 ## ----------------------------------------- ##
22056 ## Report this to wx-dev@lists.wxwidgets.org ##
22057 ## ----------------------------------------- ##
22060 sed "s/^/$as_me: WARNING: /" >&2
22063 echo "$as_me:$LINENO: checking for $ac_header" >&5
22064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22066 echo $ECHO_N "(cached) $ECHO_C" >&6
22068 eval "$as_ac_Header=\$ac_header_preproc"
22070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22075 cat >>confdefs.h
<<_ACEOF
22076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22083 if test "${ac_cv_header_windows_h+set}" = set; then
22084 echo "$as_me:$LINENO: checking for windows.h" >&5
22085 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22086 if test "${ac_cv_header_windows_h+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22090 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22092 # Is the header compilable?
22093 echo "$as_me:$LINENO: checking windows.h usability" >&5
22094 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22095 cat >conftest.
$ac_ext <<_ACEOF
22098 cat confdefs.h
>>conftest.
$ac_ext
22099 cat >>conftest.
$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 $ac_includes_default
22102 #include <windows.h>
22104 rm -f conftest.
$ac_objext
22105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22106 (eval $ac_compile) 2>conftest.er1
22108 grep -v '^ *+' conftest.er1
>conftest.err
22110 cat conftest.err
>&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } &&
22113 { ac_try
='test -z "$ac_c_werror_flag"
22114 || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try
='test -s conftest.$ac_objext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_header_compiler
=yes
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.
$ac_ext >&5
22131 ac_header_compiler
=no
22133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22135 echo "${ECHO_T}$ac_header_compiler" >&6
22137 # Is the header present?
22138 echo "$as_me:$LINENO: checking windows.h presence" >&5
22139 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22140 cat >conftest.
$ac_ext <<_ACEOF
22143 cat confdefs.h
>>conftest.
$ac_ext
22144 cat >>conftest.
$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 #include <windows.h>
22148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22151 grep -v '^ *+' conftest.er1
>conftest.err
22153 cat conftest.err
>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } >/dev
/null
; then
22156 if test -s conftest.err
; then
22157 ac_cpp_err
=$ac_c_preproc_warn_flag
22158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22165 if test -z "$ac_cpp_err"; then
22166 ac_header_preproc
=yes
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 ac_header_preproc
=no
22173 rm -f conftest.err conftest.
$ac_ext
22174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22175 echo "${ECHO_T}$ac_header_preproc" >&6
22177 # So? What about this header?
22178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22180 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22181 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22182 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22183 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22184 ac_header_preproc
=yes
22187 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22188 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22189 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22190 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22191 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22192 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22194 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22196 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22198 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22201 ## ----------------------------------------- ##
22202 ## Report this to wx-dev@lists.wxwidgets.org ##
22203 ## ----------------------------------------- ##
22206 sed "s/^/$as_me: WARNING: /" >&2
22209 echo "$as_me:$LINENO: checking for windows.h" >&5
22210 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22211 if test "${ac_cv_header_windows_h+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 ac_cv_header_windows_h
=$ac_header_preproc
22216 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22217 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22220 if test $ac_cv_header_windows_h = yes; then
22224 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22225 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22226 { (exit 1); exit 1; }; }
22232 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22234 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22235 LIBS
="$LIBS -loleacc"
22240 LIBS
="$LIBS -lkernel32 -luser32"
22241 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22244 if test "$wxUSE_ODBC" = "sys" ; then
22247 if test "$wxUSE_ODBC" = "yes" ; then
22248 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22249 cat >>confdefs.h
<<\_ACEOF
22250 #define wxUSE_ODBC 1
22255 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22256 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22258 WIN32INSTALL
=win32install
22261 if test "$wxUSE_GUI" = "yes"; then
22271 if test "$wxUSE_MSW" = 1 ; then
22277 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22281 if test "$wxUSE_GTK" = 1; then
22282 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22283 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22285 gtk_version_cached
=1
22286 if test "${wx_cv_lib_gtk+set}" = set; then
22287 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 gtk_version_cached
=0
22291 echo "$as_me:$LINENO: result: " >&5
22292 echo "${ECHO_T}" >&6
22295 if test "$wxUSE_THREADS" = "yes"; then
22296 GTK_MODULES
=gthread
22300 if test "x$wxUSE_GTK2" = "xyes"; then
22301 # Check whether --enable-gtktest or --disable-gtktest was given.
22302 if test "${enable_gtktest+set}" = set; then
22303 enableval
="$enable_gtktest"
22309 pkg_config_args
=gtk
+-2.0
22310 for module
in .
$GTK_MODULES
22314 pkg_config_args
="$pkg_config_args gthread-2.0"
22321 # Extract the first word of "pkg-config", so it can be a program name with args.
22322 set dummy pkg
-config; ac_word
=$2
22323 echo "$as_me:$LINENO: checking for $ac_word" >&5
22324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22325 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22328 case $PKG_CONFIG in
22330 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22334 for as_dir
in $PATH
22337 test -z "$as_dir" && as_dir
=.
22338 for ac_exec_ext
in '' $ac_executable_extensions; do
22339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22340 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22347 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22351 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22353 if test -n "$PKG_CONFIG"; then
22354 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22355 echo "${ECHO_T}$PKG_CONFIG" >&6
22357 echo "$as_me:$LINENO: result: no" >&5
22358 echo "${ECHO_T}no" >&6
22362 if test x
$PKG_CONFIG != xno
; then
22363 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22366 echo "*** pkg-config too old; version 0.7 or better required."
22374 min_gtk_version
=2.0.0
22375 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22376 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22378 if test x
$PKG_CONFIG != xno
; then
22379 ## don't try to run the test against uninstalled libtool libs
22380 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22381 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22385 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22392 if test x
"$no_gtk" = x
; then
22393 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22394 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22395 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22397 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22399 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22401 if test "x$enable_gtktest" = "xyes" ; then
22402 ac_save_CFLAGS
="$CFLAGS"
22403 ac_save_LIBS
="$LIBS"
22404 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22405 LIBS
="$GTK_LIBS $LIBS"
22407 if test "$cross_compiling" = yes; then
22408 echo $ac_n "cross compiling; assumed OK... $ac_c"
22410 cat >conftest.
$ac_ext <<_ACEOF
22413 cat confdefs.h
>>conftest.
$ac_ext
22414 cat >>conftest.
$ac_ext <<_ACEOF
22415 /* end confdefs.h. */
22417 #include <gtk/gtk.h>
22419 #include <stdlib.h>
22424 int major, minor, micro;
22427 system ("touch conf.gtktest");
22429 /* HP/UX 9 (%@#!) writes to sscanf strings */
22430 tmp_version = g_strdup("$min_gtk_version");
22431 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22432 printf("%s, bad version string\n", "$min_gtk_version");
22436 if ((gtk_major_version != $gtk_config_major_version) ||
22437 (gtk_minor_version != $gtk_config_minor_version) ||
22438 (gtk_micro_version != $gtk_config_micro_version))
22440 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22441 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22442 gtk_major_version, gtk_minor_version, gtk_micro_version);
22443 printf ("*** was found! If pkg-config was correct, then it is best\n");
22444 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22445 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22446 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22447 printf("*** required on your system.\n");
22448 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22449 printf("*** to point to the correct configuration files\n");
22451 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22452 (gtk_minor_version != GTK_MINOR_VERSION) ||
22453 (gtk_micro_version != GTK_MICRO_VERSION))
22455 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22456 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22457 printf("*** library (version %d.%d.%d)\n",
22458 gtk_major_version, gtk_minor_version, gtk_micro_version);
22462 if ((gtk_major_version > major) ||
22463 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22464 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22470 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22471 gtk_major_version, gtk_minor_version, gtk_micro_version);
22472 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22473 major, minor, micro);
22474 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22476 printf("*** If you have already installed a sufficiently new version, this error\n");
22477 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22478 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22479 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22480 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22481 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22482 printf("*** so that the correct libraries are found at run-time))\n");
22489 rm -f conftest
$ac_exeext
22490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22491 (eval $ac_link) 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496 (eval $ac_try) 2>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); }; }; then
22502 echo "$as_me: program exited with status $ac_status" >&5
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.
$ac_ext >&5
22506 ( exit $ac_status )
22509 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22511 CFLAGS
="$ac_save_CFLAGS"
22512 LIBS
="$ac_save_LIBS"
22515 if test "x$no_gtk" = x
; then
22516 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22517 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22520 echo "$as_me:$LINENO: result: no" >&5
22521 echo "${ECHO_T}no" >&6
22522 if test "$PKG_CONFIG" = "no" ; then
22523 echo "*** A new enough version of pkg-config was not found."
22524 echo "*** See http://pkgconfig.sourceforge.net"
22526 if test -f conf.gtktest
; then
22529 echo "*** Could not run GTK+ test program, checking why..."
22530 ac_save_CFLAGS
="$CFLAGS"
22531 ac_save_LIBS
="$LIBS"
22532 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22533 LIBS
="$LIBS $GTK_LIBS"
22534 cat >conftest.
$ac_ext <<_ACEOF
22537 cat confdefs.h
>>conftest.
$ac_ext
22538 cat >>conftest.
$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22541 #include <gtk/gtk.h>
22547 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22552 rm -f conftest.
$ac_objext conftest
$ac_exeext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22554 (eval $ac_link) 2>conftest.er1
22556 grep -v '^ *+' conftest.er1
>conftest.err
22558 cat conftest.err
>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try
='test -z "$ac_c_werror_flag"
22562 || test ! -s conftest.err'
22563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22564 (eval $ac_try) 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try
='test -s conftest$ac_exeext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 echo "*** The test program compiled, but did not run. This usually means"
22575 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22576 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22579 echo "*** is required on your system"
22581 echo "*** If you have an old version installed, it is best to remove it, although"
22582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.
$ac_ext >&5
22587 echo "*** The test program failed to compile or link. See the file config.log for the"
22588 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22590 rm -f conftest.err conftest.
$ac_objext \
22591 conftest
$ac_exeext conftest.
$ac_ext
22592 CFLAGS
="$ac_save_CFLAGS"
22593 LIBS
="$ac_save_LIBS"
22606 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22607 if test "${with_gtk_prefix+set}" = set; then
22608 withval
="$with_gtk_prefix"
22609 gtk_config_prefix
="$withval"
22611 gtk_config_prefix
=""
22614 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22615 if test "${with_gtk_exec_prefix+set}" = set; then
22616 withval
="$with_gtk_exec_prefix"
22617 gtk_config_exec_prefix
="$withval"
22619 gtk_config_exec_prefix
=""
22621 # Check whether --enable-gtktest or --disable-gtktest was given.
22622 if test "${enable_gtktest+set}" = set; then
22623 enableval
="$enable_gtktest"
22629 for module
in .
$GTK_MODULES
22633 gtk_config_args
="$gtk_config_args gthread"
22638 if test x
$gtk_config_exec_prefix != x
; then
22639 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22640 if test x
${GTK_CONFIG+set} != xset
; then
22641 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22644 if test x
$gtk_config_prefix != x
; then
22645 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22646 if test x
${GTK_CONFIG+set} != xset
; then
22647 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22651 # Extract the first word of "gtk-config", so it can be a program name with args.
22652 set dummy gtk
-config; ac_word
=$2
22653 echo "$as_me:$LINENO: checking for $ac_word" >&5
22654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22655 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22658 case $GTK_CONFIG in
22660 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22664 for as_dir
in $PATH
22667 test -z "$as_dir" && as_dir
=.
22668 for ac_exec_ext
in '' $ac_executable_extensions; do
22669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22670 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22677 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22681 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22683 if test -n "$GTK_CONFIG"; then
22684 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22685 echo "${ECHO_T}$GTK_CONFIG" >&6
22687 echo "$as_me:$LINENO: result: no" >&5
22688 echo "${ECHO_T}no" >&6
22691 min_gtk_version
=1.2.7
22692 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22693 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22695 if test "$GTK_CONFIG" = "no" ; then
22698 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22699 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22700 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22702 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22704 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22706 if test "x$enable_gtktest" = "xyes" ; then
22707 ac_save_CFLAGS
="$CFLAGS"
22708 ac_save_LIBS
="$LIBS"
22709 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22710 LIBS
="$GTK_LIBS $LIBS"
22712 if test "$cross_compiling" = yes; then
22713 echo $ac_n "cross compiling; assumed OK... $ac_c"
22715 cat >conftest.
$ac_ext <<_ACEOF
22718 cat confdefs.h
>>conftest.
$ac_ext
22719 cat >>conftest.
$ac_ext <<_ACEOF
22720 /* end confdefs.h. */
22722 #include <gtk/gtk.h>
22724 #include <stdlib.h>
22729 int major, minor, micro;
22732 system ("touch conf.gtktest");
22734 /* HP/UX 9 (%@#!) writes to sscanf strings */
22735 tmp_version = g_strdup("$min_gtk_version");
22736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22737 printf("%s, bad version string\n", "$min_gtk_version");
22741 if ((gtk_major_version != $gtk_config_major_version) ||
22742 (gtk_minor_version != $gtk_config_minor_version) ||
22743 (gtk_micro_version != $gtk_config_micro_version))
22745 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22747 gtk_major_version, gtk_minor_version, gtk_micro_version);
22748 printf ("*** was found! If gtk-config was correct, then it is best\n");
22749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22752 printf("*** required on your system.\n");
22753 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22754 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22755 printf("*** before re-running configure\n");
22757 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22758 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22759 (gtk_minor_version != GTK_MINOR_VERSION) ||
22760 (gtk_micro_version != GTK_MICRO_VERSION))
22762 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22763 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22764 printf("*** library (version %d.%d.%d)\n",
22765 gtk_major_version, gtk_minor_version, gtk_micro_version);
22767 #endif /* defined (GTK_MAJOR_VERSION) ... */
22770 if ((gtk_major_version > major) ||
22771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22779 gtk_major_version, gtk_minor_version, gtk_micro_version);
22780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22781 major, minor, micro);
22782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22784 printf("*** If you have already installed a sufficiently new version, this error\n");
22785 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22787 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22788 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22790 printf("*** so that the correct libraries are found at run-time))\n");
22797 rm -f conftest
$ac_exeext
22798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22799 (eval $ac_link) 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22810 echo "$as_me: program exited with status $ac_status" >&5
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.
$ac_ext >&5
22814 ( exit $ac_status )
22817 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22819 CFLAGS
="$ac_save_CFLAGS"
22820 LIBS
="$ac_save_LIBS"
22823 if test "x$no_gtk" = x
; then
22824 echo "$as_me:$LINENO: result: yes" >&5
22825 echo "${ECHO_T}yes" >&6
22826 wx_cv_lib_gtk
=1.2.7
22828 echo "$as_me:$LINENO: result: no" >&5
22829 echo "${ECHO_T}no" >&6
22830 if test "$GTK_CONFIG" = "no" ; then
22831 echo "*** The gtk-config script installed by GTK could not be found"
22832 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22833 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22834 echo "*** full path to gtk-config."
22836 if test -f conf.gtktest
; then
22839 echo "*** Could not run GTK test program, checking why..."
22840 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22841 LIBS
="$LIBS $GTK_LIBS"
22842 cat >conftest.
$ac_ext <<_ACEOF
22845 cat confdefs.h
>>conftest.
$ac_ext
22846 cat >>conftest.
$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22849 #include <gtk/gtk.h>
22855 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22860 rm -f conftest.
$ac_objext conftest
$ac_exeext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22862 (eval $ac_link) 2>conftest.er1
22864 grep -v '^ *+' conftest.er1
>conftest.err
22866 cat conftest.err
>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try
='test -z "$ac_c_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try
='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 echo "*** The test program compiled, but did not run. This usually means"
22883 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22884 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22885 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22886 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22887 echo "*** is required on your system"
22889 echo "*** If you have an old version installed, it is best to remove it, although"
22890 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22892 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22893 echo "*** came with the system with the command"
22895 echo "*** rpm --erase --nodeps gtk gtk-devel"
22897 echo "$as_me: failed program was:" >&5
22898 sed 's/^/| /' conftest.
$ac_ext >&5
22900 echo "*** The test program failed to compile or link. See the file config.log for the"
22901 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22902 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22903 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22905 rm -f conftest.err conftest.
$ac_objext \
22906 conftest
$ac_exeext conftest.
$ac_ext
22907 CFLAGS
="$ac_save_CFLAGS"
22908 LIBS
="$ac_save_LIBS"
22920 if test -z "$wx_cv_lib_gtk"; then
22922 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22923 if test "${with_gtk_prefix+set}" = set; then
22924 withval
="$with_gtk_prefix"
22925 gtk_config_prefix
="$withval"
22927 gtk_config_prefix
=""
22930 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22931 if test "${with_gtk_exec_prefix+set}" = set; then
22932 withval
="$with_gtk_exec_prefix"
22933 gtk_config_exec_prefix
="$withval"
22935 gtk_config_exec_prefix
=""
22937 # Check whether --enable-gtktest or --disable-gtktest was given.
22938 if test "${enable_gtktest+set}" = set; then
22939 enableval
="$enable_gtktest"
22945 for module
in .
$GTK_MODULES
22949 gtk_config_args
="$gtk_config_args gthread"
22954 if test x
$gtk_config_exec_prefix != x
; then
22955 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22956 if test x
${GTK_CONFIG+set} != xset
; then
22957 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22960 if test x
$gtk_config_prefix != x
; then
22961 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22962 if test x
${GTK_CONFIG+set} != xset
; then
22963 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22967 # Extract the first word of "gtk-config", so it can be a program name with args.
22968 set dummy gtk
-config; ac_word
=$2
22969 echo "$as_me:$LINENO: checking for $ac_word" >&5
22970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22971 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22972 echo $ECHO_N "(cached) $ECHO_C" >&6
22974 case $GTK_CONFIG in
22976 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22980 for as_dir
in $PATH
22983 test -z "$as_dir" && as_dir
=.
22984 for ac_exec_ext
in '' $ac_executable_extensions; do
22985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22986 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22993 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22997 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22999 if test -n "$GTK_CONFIG"; then
23000 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23001 echo "${ECHO_T}$GTK_CONFIG" >&6
23003 echo "$as_me:$LINENO: result: no" >&5
23004 echo "${ECHO_T}no" >&6
23007 min_gtk_version
=1.2.3
23008 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23009 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23011 if test "$GTK_CONFIG" = "no" ; then
23014 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23015 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23016 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23018 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23020 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23022 if test "x$enable_gtktest" = "xyes" ; then
23023 ac_save_CFLAGS
="$CFLAGS"
23024 ac_save_LIBS
="$LIBS"
23025 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23026 LIBS
="$GTK_LIBS $LIBS"
23028 if test "$cross_compiling" = yes; then
23029 echo $ac_n "cross compiling; assumed OK... $ac_c"
23031 cat >conftest.
$ac_ext <<_ACEOF
23034 cat confdefs.h
>>conftest.
$ac_ext
23035 cat >>conftest.
$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23038 #include <gtk/gtk.h>
23040 #include <stdlib.h>
23045 int major, minor, micro;
23048 system ("touch conf.gtktest");
23050 /* HP/UX 9 (%@#!) writes to sscanf strings */
23051 tmp_version = g_strdup("$min_gtk_version");
23052 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23053 printf("%s, bad version string\n", "$min_gtk_version");
23057 if ((gtk_major_version != $gtk_config_major_version) ||
23058 (gtk_minor_version != $gtk_config_minor_version) ||
23059 (gtk_micro_version != $gtk_config_micro_version))
23061 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23062 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23063 gtk_major_version, gtk_minor_version, gtk_micro_version);
23064 printf ("*** was found! If gtk-config was correct, then it is best\n");
23065 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23066 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23067 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23068 printf("*** required on your system.\n");
23069 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23070 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23071 printf("*** before re-running configure\n");
23073 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23074 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23075 (gtk_minor_version != GTK_MINOR_VERSION) ||
23076 (gtk_micro_version != GTK_MICRO_VERSION))
23078 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23079 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23080 printf("*** library (version %d.%d.%d)\n",
23081 gtk_major_version, gtk_minor_version, gtk_micro_version);
23083 #endif /* defined (GTK_MAJOR_VERSION) ... */
23086 if ((gtk_major_version > major) ||
23087 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23088 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23094 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23095 gtk_major_version, gtk_minor_version, gtk_micro_version);
23096 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23097 major, minor, micro);
23098 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23100 printf("*** If you have already installed a sufficiently new version, this error\n");
23101 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23102 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23103 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23104 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23105 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23106 printf("*** so that the correct libraries are found at run-time))\n");
23113 rm -f conftest
$ac_exeext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23115 (eval $ac_link) 2>&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23126 echo "$as_me: program exited with status $ac_status" >&5
23127 echo "$as_me: failed program was:" >&5
23128 sed 's/^/| /' conftest.
$ac_ext >&5
23130 ( exit $ac_status )
23133 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23135 CFLAGS
="$ac_save_CFLAGS"
23136 LIBS
="$ac_save_LIBS"
23139 if test "x$no_gtk" = x
; then
23140 echo "$as_me:$LINENO: result: yes" >&5
23141 echo "${ECHO_T}yes" >&6
23142 wx_cv_lib_gtk
=1.2.3
23144 echo "$as_me:$LINENO: result: no" >&5
23145 echo "${ECHO_T}no" >&6
23146 if test "$GTK_CONFIG" = "no" ; then
23147 echo "*** The gtk-config script installed by GTK could not be found"
23148 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23149 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23150 echo "*** full path to gtk-config."
23152 if test -f conf.gtktest
; then
23155 echo "*** Could not run GTK test program, checking why..."
23156 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23157 LIBS
="$LIBS $GTK_LIBS"
23158 cat >conftest.
$ac_ext <<_ACEOF
23161 cat confdefs.h
>>conftest.
$ac_ext
23162 cat >>conftest.
$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23165 #include <gtk/gtk.h>
23171 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23176 rm -f conftest.
$ac_objext conftest
$ac_exeext
23177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23178 (eval $ac_link) 2>conftest.er1
23180 grep -v '^ *+' conftest.er1
>conftest.err
23182 cat conftest.err
>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } &&
23185 { ac_try
='test -z "$ac_c_werror_flag"
23186 || test ! -s conftest.err'
23187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188 (eval $ac_try) 2>&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); }; } &&
23192 { ac_try
='test -s conftest$ac_exeext'
23193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23194 (eval $ac_try) 2>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); }; }; then
23198 echo "*** The test program compiled, but did not run. This usually means"
23199 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23200 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23201 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23202 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23203 echo "*** is required on your system"
23205 echo "*** If you have an old version installed, it is best to remove it, although"
23206 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23208 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23209 echo "*** came with the system with the command"
23211 echo "*** rpm --erase --nodeps gtk gtk-devel"
23213 echo "$as_me: failed program was:" >&5
23214 sed 's/^/| /' conftest.
$ac_ext >&5
23216 echo "*** The test program failed to compile or link. See the file config.log for the"
23217 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23218 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23219 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23221 rm -f conftest.err conftest.
$ac_objext \
23222 conftest
$ac_exeext conftest.
$ac_ext
23223 CFLAGS
="$ac_save_CFLAGS"
23224 LIBS
="$ac_save_LIBS"
23238 if test -z "$wx_cv_lib_gtk"; then
23241 wx_cv_cflags_gtk
=$GTK_CFLAGS
23242 wx_cv_libs_gtk
=$GTK_LIBS
23249 if test "$gtk_version_cached" = 1; then
23250 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23251 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23254 case "$wx_cv_lib_gtk" in
23263 *) { { echo "$as_me:$LINENO: error:
23264 Please check that gtk-config is in path, the directory
23265 where GTK+ libraries are installed (returned by
23266 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23267 equivalent variable and GTK+ is version 1.2.3 or above.
23269 echo "$as_me: error:
23270 Please check that gtk-config is in path, the directory
23271 where GTK+ libraries are installed (returned by
23272 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23273 equivalent variable and GTK+ is version 1.2.3 or above.
23275 { (exit 1); exit 1; }; }
23279 if test "$WXGTK20" = 1; then
23280 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23284 if test -z "$PKG_CONFIG"; then
23285 # Extract the first word of "pkg-config", so it can be a program name with args.
23286 set dummy pkg
-config; ac_word
=$2
23287 echo "$as_me:$LINENO: checking for $ac_word" >&5
23288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23289 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23292 case $PKG_CONFIG in
23294 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23298 for as_dir
in $PATH
23301 test -z "$as_dir" && as_dir
=.
23302 for ac_exec_ext
in '' $ac_executable_extensions; do
23303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23304 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23311 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23315 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23317 if test -n "$PKG_CONFIG"; then
23318 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23319 echo "${ECHO_T}$PKG_CONFIG" >&6
23321 echo "$as_me:$LINENO: result: no" >&5
23322 echo "${ECHO_T}no" >&6
23327 if test "$PKG_CONFIG" = "no" ; then
23328 echo "*** The pkg-config script could not be found. Make sure it is"
23329 echo "*** in your path, or set the PKG_CONFIG environment variable"
23330 echo "*** to the full path to pkg-config."
23331 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23333 PKG_CONFIG_MIN_VERSION
=0.9.0
23334 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23335 echo "$as_me:$LINENO: checking for pangoft2" >&5
23336 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23338 if $PKG_CONFIG --exists "pangoft2" ; then
23339 echo "$as_me:$LINENO: result: yes" >&5
23340 echo "${ECHO_T}yes" >&6
23343 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23344 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23345 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23346 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23347 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23349 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23350 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23351 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23352 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23353 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23357 ## If we have a custom action on failure, don't print errors, but
23358 ## do set a variable so people can do so.
23359 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23366 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23367 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23371 if test $succeeded = yes; then
23373 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23374 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23378 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23379 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23380 wxUSE_PRINTING_ARCHITECTURE
="no"
23387 save_CFLAGS
="$CFLAGS"
23389 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23390 LIBS
="$LIBS $GTK_LIBS"
23392 for ac_func
in pango_font_family_is_monospace
23394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23395 echo "$as_me:$LINENO: checking for $ac_func" >&5
23396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23397 if eval "test \"\${$as_ac_var+set}\" = set"; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23400 cat >conftest.
$ac_ext <<_ACEOF
23403 cat confdefs.h
>>conftest.
$ac_ext
23404 cat >>conftest.
$ac_ext <<_ACEOF
23405 /* end confdefs.h. */
23406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23408 #define $ac_func innocuous_$ac_func
23410 /* System header to define __stub macros and hopefully few prototypes,
23411 which can conflict with char $ac_func (); below.
23412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23413 <limits.h> exists even on freestanding compilers. */
23416 # include <limits.h>
23418 # include <assert.h>
23423 /* Override any gcc2 internal prototype to avoid an error. */
23428 /* We use char because int might match the return type of a gcc2
23429 builtin and then its argument prototype would still apply. */
23431 /* The GNU C library defines this for functions which it implements
23432 to always fail with ENOSYS. Some functions are actually named
23433 something starting with __ and the normal name is an alias. */
23434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23437 char (*f) () = $ac_func;
23446 return f != $ac_func;
23451 rm -f conftest.
$ac_objext conftest
$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>conftest.er1
23455 grep -v '^ *+' conftest.er1
>conftest.err
23457 cat conftest.err
>&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try
='test -z "$ac_c_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try
='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 eval "$as_ac_var=yes"
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.
$ac_ext >&5
23478 eval "$as_ac_var=no"
23480 rm -f conftest.err conftest.
$ac_objext \
23481 conftest
$ac_exeext conftest.
$ac_ext
23483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23485 if test `eval echo '${'$as_ac_var'}'` = yes; then
23486 cat >>confdefs.h
<<_ACEOF
23487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23493 CFLAGS
="$save_CFLAGS"
23496 if test "$wxUSE_UNICODE" = "yes"; then
23497 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23498 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23503 if test "$USE_DARWIN" != 1; then
23505 for ac_func
in poll
23507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23508 echo "$as_me:$LINENO: checking for $ac_func" >&5
23509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23510 if eval "test \"\${$as_ac_var+set}\" = set"; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23513 cat >conftest.
$ac_ext <<_ACEOF
23516 cat confdefs.h
>>conftest.
$ac_ext
23517 cat >>conftest.
$ac_ext <<_ACEOF
23518 /* end confdefs.h. */
23519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23521 #define $ac_func innocuous_$ac_func
23523 /* System header to define __stub macros and hopefully few prototypes,
23524 which can conflict with char $ac_func (); below.
23525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23526 <limits.h> exists even on freestanding compilers. */
23529 # include <limits.h>
23531 # include <assert.h>
23536 /* Override any gcc2 internal prototype to avoid an error. */
23541 /* We use char because int might match the return type of a gcc2
23542 builtin and then its argument prototype would still apply. */
23544 /* The GNU C library defines this for functions which it implements
23545 to always fail with ENOSYS. Some functions are actually named
23546 something starting with __ and the normal name is an alias. */
23547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23550 char (*f) () = $ac_func;
23559 return f != $ac_func;
23564 rm -f conftest.
$ac_objext conftest
$ac_exeext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23566 (eval $ac_link) 2>conftest.er1
23568 grep -v '^ *+' conftest.er1
>conftest.err
23570 cat conftest.err
>&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try
='test -z "$ac_c_werror_flag"
23574 || test ! -s conftest.err'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; } &&
23580 { ac_try
='test -s conftest$ac_exeext'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23586 eval "$as_ac_var=yes"
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.
$ac_ext >&5
23591 eval "$as_ac_var=no"
23593 rm -f conftest.err conftest.
$ac_objext \
23594 conftest
$ac_exeext conftest.
$ac_ext
23596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23598 if test `eval echo '${'$as_ac_var'}'` = yes; then
23599 cat >>confdefs.h
<<_ACEOF
23600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23608 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23609 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23611 AFMINSTALL
=afminstall
23615 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23616 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23617 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23620 ac_check_lib_save_LIBS
=$LIBS
23622 cat >conftest.
$ac_ext <<_ACEOF
23625 cat confdefs.h
>>conftest.
$ac_ext
23626 cat >>conftest.
$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23629 /* Override any gcc2 internal prototype to avoid an error. */
23633 /* We use char because int might match the return type of a gcc2
23634 builtin and then its argument prototype would still apply. */
23635 char gdk_im_open ();
23644 rm -f conftest.
$ac_objext conftest
$ac_exeext
23645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23646 (eval $ac_link) 2>conftest.er1
23648 grep -v '^ *+' conftest.er1
>conftest.err
23650 cat conftest.err
>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } &&
23653 { ac_try
='test -z "$ac_c_werror_flag"
23654 || test ! -s conftest.err'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; } &&
23660 { ac_try
='test -s conftest$ac_exeext'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; }; then
23666 ac_cv_lib_gdk_gdk_im_open
=yes
23668 echo "$as_me: failed program was:" >&5
23669 sed 's/^/| /' conftest.
$ac_ext >&5
23671 ac_cv_lib_gdk_gdk_im_open
=no
23673 rm -f conftest.err conftest.
$ac_objext \
23674 conftest
$ac_exeext conftest.
$ac_ext
23675 LIBS
=$ac_check_lib_save_LIBS
23677 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23678 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23679 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23680 cat >>confdefs.h
<<\_ACEOF
23688 if test "$wxUSE_GPE" = "yes"; then
23689 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23690 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23693 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23695 for ac_extension
in a so sl dylib
; do
23696 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23697 ac_find_libraries
=$ac_dir
23703 if test "$ac_find_libraries" != "" ; then
23705 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23707 if test $result = 0; then
23710 ac_path_to_link
=" -L$ac_find_libraries"
23713 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23715 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23716 echo "${ECHO_T}found at $ac_find_libraries" >&6
23718 echo "$as_me:$LINENO: result: not found" >&5
23719 echo "${ECHO_T}not found" >&6
23725 if test "$wxUSE_MGL" = 1; then
23726 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23727 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23728 if test "x$MGL_ROOT" = x
; then
23729 echo "$as_me:$LINENO: result: not found" >&5
23730 echo "${ECHO_T}not found" >&6
23731 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23732 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23733 { (exit 1); exit 1; }; }
23735 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23736 echo "${ECHO_T}$MGL_ROOT" >&6
23739 echo "$as_me:$LINENO: checking for libmgl location" >&5
23740 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23743 if test "x$wxUSE_SHARED" = xyes
; then
23744 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23746 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23750 mgl_os_candidates
="dos32/dj2"
23753 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23754 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23755 { (exit 1); exit 1; }; }
23761 for mgl_os_i
in $mgl_os_candidates ; do
23762 if test "x$mgl_os" = x
; then
23763 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23764 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23765 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23770 if test "x$mgl_lib_type" = x
; then
23771 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23772 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23773 mgl_lib_type
=release
23780 if test "x$mgl_os" = x
; then
23781 echo "$as_me:$LINENO: result: not found" >&5
23782 echo "${ECHO_T}not found" >&6
23783 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23784 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23785 { (exit 1); exit 1; }; }
23787 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23788 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23790 wxUSE_UNIVERSAL
="yes"
23792 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23793 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23795 AFMINSTALL
=afminstall
23800 if test "$wxUSE_MICROWIN" = 1; then
23801 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23802 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23803 if test "x$MICROWINDOWS" = x
; then
23804 echo "$as_me:$LINENO: result: not found" >&5
23805 echo "${ECHO_T}not found" >&6
23806 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23807 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23808 { (exit 1); exit 1; }; }
23810 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23811 echo "${ECHO_T}$MICROWINDOWS" >&6
23814 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23815 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23816 echo "${ECHO_T}MicroWindows' libraries found." >&6
23818 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23819 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23820 { (exit 1); exit 1; }; }
23823 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23824 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23826 wxUSE_UNIVERSAL
="yes"
23828 AFMINSTALL
=afminstall
23830 GUIDIST
=MICROWIN_DIST
23832 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23835 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
23836 echo "$as_me:$LINENO: checking for X" >&5
23837 echo $ECHO_N "checking for X... $ECHO_C" >&6
23840 # Check whether --with-x or --without-x was given.
23841 if test "${with_x+set}" = set; then
23845 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23846 if test "x$with_x" = xno
; then
23847 # The user explicitly disabled X.
23850 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23851 # Both variables are already set.
23854 if test "${ac_cv_have_x+set}" = set; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23857 # One or both of the vars are not set, and there is no cached value.
23858 ac_x_includes
=no ac_x_libraries
=no
23859 rm -fr conftest.dir
23860 if mkdir conftest.dir
; then
23862 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23863 cat >Imakefile
<<'_ACEOF'
23865 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23867 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23869 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23870 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23871 for ac_extension
in a so sl
; do
23872 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23873 test -f $ac_im_libdir/libX11.
$ac_extension; then
23874 ac_im_usrlibdir
=$ac_im_libdir; break
23877 # Screen out bogus values from the imake configuration. They are
23878 # bogus both because they are the default anyway, and because
23879 # using them would break gcc on systems where it needs fixed includes.
23880 case $ac_im_incroot in
23882 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23884 case $ac_im_usrlibdir in
23885 /usr
/lib
| /lib
) ;;
23886 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23890 rm -fr conftest.dir
23893 # Standard set of common directories for X headers.
23894 # Check X11 before X11Rn because it is often a symlink to the current release.
23906 /usr/local/X11/include
23907 /usr/local/X11R6/include
23908 /usr/local/X11R5/include
23909 /usr/local/X11R4/include
23911 /usr/local/include/X11
23912 /usr/local/include/X11R6
23913 /usr/local/include/X11R5
23914 /usr/local/include/X11R4
23918 /usr/XFree86/include/X11
23922 /usr/unsupported/include
23923 /usr/athena/include
23924 /usr/local/x11r5/include
23925 /usr/lpp/Xamples/include
23927 /usr/openwin/include
23928 /usr/openwin/share/include'
23930 if test "$ac_x_includes" = no
; then
23931 # Guess where to find include files, by looking for Intrinsic.h.
23932 # First, try using that file with no special directory specified.
23933 cat >conftest.
$ac_ext <<_ACEOF
23936 cat confdefs.h
>>conftest.
$ac_ext
23937 cat >>conftest.
$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 #include <X11/Intrinsic.h>
23941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23944 grep -v '^ *+' conftest.er1
>conftest.err
23946 cat conftest.err
>&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } >/dev
/null
; then
23949 if test -s conftest.err
; then
23950 ac_cpp_err
=$ac_c_preproc_warn_flag
23951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23958 if test -z "$ac_cpp_err"; then
23959 # We can compile using X headers with no special include directory.
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.
$ac_ext >&5
23965 for ac_dir
in $ac_x_header_dirs; do
23966 if test -r "$ac_dir/X11/Intrinsic.h"; then
23967 ac_x_includes
=$ac_dir
23972 rm -f conftest.err conftest.
$ac_ext
23973 fi # $ac_x_includes = no
23975 if test "$ac_x_libraries" = no
; then
23976 # Check for the libraries.
23977 # See if we find them without any special options.
23978 # Don't add to $LIBS permanently.
23981 cat >conftest.
$ac_ext <<_ACEOF
23984 cat confdefs.h
>>conftest.
$ac_ext
23985 cat >>conftest.
$ac_ext <<_ACEOF
23986 /* end confdefs.h. */
23987 #include <X11/Intrinsic.h>
23996 rm -f conftest.
$ac_objext conftest
$ac_exeext
23997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23998 (eval $ac_link) 2>conftest.er1
24000 grep -v '^ *+' conftest.er1
>conftest.err
24002 cat conftest.err
>&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } &&
24005 { ac_try
='test -z "$ac_c_werror_flag"
24006 || test ! -s conftest.err'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; } &&
24012 { ac_try
='test -s conftest$ac_exeext'
24013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24014 (eval $ac_try) 2>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); }; }; then
24019 # We can link X programs with no special library path.
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.
$ac_ext >&5
24026 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24028 # Don't even attempt the hair of trying to link an X program!
24029 for ac_extension
in a so sl
; do
24030 if test -r $ac_dir/libXt.
$ac_extension; then
24031 ac_x_libraries
=$ac_dir
24037 rm -f conftest.err conftest.
$ac_objext \
24038 conftest
$ac_exeext conftest.
$ac_ext
24039 fi # $ac_x_libraries = no
24041 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24042 # Didn't find X anywhere. Cache the known absence of X.
24043 ac_cv_have_x
="have_x=no"
24045 # Record where we found X for the cache.
24046 ac_cv_have_x
="have_x=yes \
24047 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24052 eval "$ac_cv_have_x"
24055 if test "$have_x" != yes; then
24056 echo "$as_me:$LINENO: result: $have_x" >&5
24057 echo "${ECHO_T}$have_x" >&6
24060 # If each of the values was on the command line, it overrides each guess.
24061 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24062 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24063 # Update the cache value to reflect the command line values.
24064 ac_cv_have_x
="have_x=yes \
24065 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24066 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24067 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24070 if test "$no_x" = yes; then
24071 # Not all programs may use this symbol, but it does not hurt to define it.
24073 cat >>confdefs.h
<<\_ACEOF
24074 #define X_DISPLAY_MISSING 1
24077 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24079 if test -n "$x_includes"; then
24080 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24083 # It would also be nice to do this for all -L options, not just this one.
24084 if test -n "$x_libraries"; then
24085 X_LIBS
="$X_LIBS -L$x_libraries"
24086 # For Solaris; some versions of Sun CC require a space after -R and
24087 # others require no space. Words are not sufficient . . . .
24088 case `(uname -sr) 2>/dev/null` in
24090 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24091 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24092 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24093 cat >conftest.
$ac_ext <<_ACEOF
24096 cat confdefs.h
>>conftest.
$ac_ext
24097 cat >>conftest.
$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24108 rm -f conftest.
$ac_objext conftest
$ac_exeext
24109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24110 (eval $ac_link) 2>conftest.er1
24112 grep -v '^ *+' conftest.er1
>conftest.err
24114 cat conftest.err
>&5
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); } &&
24117 { ac_try
='test -z "$ac_c_werror_flag"
24118 || test ! -s conftest.err'
24119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24120 (eval $ac_try) 2>&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); }; } &&
24124 { ac_try
='test -s conftest$ac_exeext'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; }; then
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.
$ac_ext >&5
24137 rm -f conftest.err conftest.
$ac_objext \
24138 conftest
$ac_exeext conftest.
$ac_ext
24139 if test $ac_R_nospace = yes; then
24140 echo "$as_me:$LINENO: result: no" >&5
24141 echo "${ECHO_T}no" >&6
24142 X_LIBS
="$X_LIBS -R$x_libraries"
24144 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24145 cat >conftest.
$ac_ext <<_ACEOF
24148 cat confdefs.h
>>conftest.
$ac_ext
24149 cat >>conftest.
$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24160 rm -f conftest.
$ac_objext conftest
$ac_exeext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24162 (eval $ac_link) 2>conftest.er1
24164 grep -v '^ *+' conftest.er1
>conftest.err
24166 cat conftest.err
>&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } &&
24169 { ac_try
='test -z "$ac_c_werror_flag"
24170 || test ! -s conftest.err'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; } &&
24176 { ac_try
='test -s conftest$ac_exeext'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; }; then
24184 echo "$as_me: failed program was:" >&5
24185 sed 's/^/| /' conftest.
$ac_ext >&5
24189 rm -f conftest.err conftest.
$ac_objext \
24190 conftest
$ac_exeext conftest.
$ac_ext
24191 if test $ac_R_space = yes; then
24192 echo "$as_me:$LINENO: result: yes" >&5
24193 echo "${ECHO_T}yes" >&6
24194 X_LIBS
="$X_LIBS -R $x_libraries"
24196 echo "$as_me:$LINENO: result: neither works" >&5
24197 echo "${ECHO_T}neither works" >&6
24200 LIBS
=$ac_xsave_LIBS
24204 # Check for system-dependent libraries X programs must link with.
24205 # Do this before checking for the system-independent R6 libraries
24206 # (-lICE), since we may need -lsocket or whatever for X linking.
24208 if test "$ISC" = yes; then
24209 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24211 # Martyn Johnson says this is needed for Ultrix, if the X
24212 # libraries were built with DECnet support. And Karl Berry says
24213 # the Alpha needs dnet_stub (dnet does not exist).
24214 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24215 cat >conftest.
$ac_ext <<_ACEOF
24218 cat confdefs.h
>>conftest.
$ac_ext
24219 cat >>conftest.
$ac_ext <<_ACEOF
24220 /* end confdefs.h. */
24222 /* Override any gcc2 internal prototype to avoid an error. */
24226 /* We use char because int might match the return type of a gcc2
24227 builtin and then its argument prototype would still apply. */
24228 char XOpenDisplay ();
24237 rm -f conftest.
$ac_objext conftest
$ac_exeext
24238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24239 (eval $ac_link) 2>conftest.er1
24241 grep -v '^ *+' conftest.er1
>conftest.err
24243 cat conftest.err
>&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); } &&
24246 { ac_try
='test -z "$ac_c_werror_flag"
24247 || test ! -s conftest.err'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; } &&
24253 { ac_try
='test -s conftest$ac_exeext'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; }; then
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.
$ac_ext >&5
24264 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24265 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24266 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24269 ac_check_lib_save_LIBS
=$LIBS
24270 LIBS
="-ldnet $LIBS"
24271 cat >conftest.
$ac_ext <<_ACEOF
24274 cat confdefs.h
>>conftest.
$ac_ext
24275 cat >>conftest.
$ac_ext <<_ACEOF
24276 /* end confdefs.h. */
24278 /* Override any gcc2 internal prototype to avoid an error. */
24282 /* We use char because int might match the return type of a gcc2
24283 builtin and then its argument prototype would still apply. */
24293 rm -f conftest.
$ac_objext conftest
$ac_exeext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24295 (eval $ac_link) 2>conftest.er1
24297 grep -v '^ *+' conftest.er1
>conftest.err
24299 cat conftest.err
>&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } &&
24302 { ac_try
='test -z "$ac_c_werror_flag"
24303 || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try
='test -s conftest$ac_exeext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 ac_cv_lib_dnet_dnet_ntoa
=yes
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.
$ac_ext >&5
24320 ac_cv_lib_dnet_dnet_ntoa
=no
24322 rm -f conftest.err conftest.
$ac_objext \
24323 conftest
$ac_exeext conftest.
$ac_ext
24324 LIBS
=$ac_check_lib_save_LIBS
24326 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24327 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24328 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24329 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24332 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24333 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24334 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24335 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 ac_check_lib_save_LIBS
=$LIBS
24339 LIBS
="-ldnet_stub $LIBS"
24340 cat >conftest.
$ac_ext <<_ACEOF
24343 cat confdefs.h
>>conftest.
$ac_ext
24344 cat >>conftest.
$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24347 /* Override any gcc2 internal prototype to avoid an error. */
24351 /* We use char because int might match the return type of a gcc2
24352 builtin and then its argument prototype would still apply. */
24362 rm -f conftest.
$ac_objext conftest
$ac_exeext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24364 (eval $ac_link) 2>conftest.er1
24366 grep -v '^ *+' conftest.er1
>conftest.err
24368 cat conftest.err
>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try
='test -z "$ac_c_werror_flag"
24372 || test ! -s conftest.err'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try
='test -s conftest$ac_exeext'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24384 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.
$ac_ext >&5
24389 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24391 rm -f conftest.err conftest.
$ac_objext \
24392 conftest
$ac_exeext conftest.
$ac_ext
24393 LIBS
=$ac_check_lib_save_LIBS
24395 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24396 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24397 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24403 rm -f conftest.err conftest.
$ac_objext \
24404 conftest
$ac_exeext conftest.
$ac_ext
24405 LIBS
="$ac_xsave_LIBS"
24407 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24408 # to get the SysV transport functions.
24409 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24411 # The nsl library prevents programs from opening the X display
24412 # on Irix 5.2, according to T.E. Dickey.
24413 # The functions gethostbyname, getservbyname, and inet_addr are
24414 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24415 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24416 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24417 if test "${ac_cv_func_gethostbyname+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24420 cat >conftest.
$ac_ext <<_ACEOF
24423 cat confdefs.h
>>conftest.
$ac_ext
24424 cat >>conftest.
$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24428 #define gethostbyname innocuous_gethostbyname
24430 /* System header to define __stub macros and hopefully few prototypes,
24431 which can conflict with char gethostbyname (); below.
24432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24433 <limits.h> exists even on freestanding compilers. */
24436 # include <limits.h>
24438 # include <assert.h>
24441 #undef gethostbyname
24443 /* Override any gcc2 internal prototype to avoid an error. */
24448 /* We use char because int might match the return type of a gcc2
24449 builtin and then its argument prototype would still apply. */
24450 char gethostbyname ();
24451 /* The GNU C library defines this for functions which it implements
24452 to always fail with ENOSYS. Some functions are actually named
24453 something starting with __ and the normal name is an alias. */
24454 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24457 char (*f) () = gethostbyname;
24466 return f != gethostbyname;
24471 rm -f conftest.
$ac_objext conftest
$ac_exeext
24472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24473 (eval $ac_link) 2>conftest.er1
24475 grep -v '^ *+' conftest.er1
>conftest.err
24477 cat conftest.err
>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try
='test -z "$ac_c_werror_flag"
24481 || test ! -s conftest.err'
24482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24483 (eval $ac_try) 2>&5
24485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486 (exit $ac_status); }; } &&
24487 { ac_try
='test -s conftest$ac_exeext'
24488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489 (eval $ac_try) 2>&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); }; }; then
24493 ac_cv_func_gethostbyname
=yes
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.
$ac_ext >&5
24498 ac_cv_func_gethostbyname
=no
24500 rm -f conftest.err conftest.
$ac_objext \
24501 conftest
$ac_exeext conftest.
$ac_ext
24503 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24504 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24506 if test $ac_cv_func_gethostbyname = no
; then
24507 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24508 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24509 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 ac_check_lib_save_LIBS
=$LIBS
24514 cat >conftest.
$ac_ext <<_ACEOF
24517 cat confdefs.h
>>conftest.
$ac_ext
24518 cat >>conftest.
$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24521 /* Override any gcc2 internal prototype to avoid an error. */
24525 /* We use char because int might match the return type of a gcc2
24526 builtin and then its argument prototype would still apply. */
24527 char gethostbyname ();
24536 rm -f conftest.
$ac_objext conftest
$ac_exeext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24538 (eval $ac_link) 2>conftest.er1
24540 grep -v '^ *+' conftest.er1
>conftest.err
24542 cat conftest.err
>&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } &&
24545 { ac_try
='test -z "$ac_c_werror_flag"
24546 || test ! -s conftest.err'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; } &&
24552 { ac_try
='test -s conftest$ac_exeext'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 ac_cv_lib_nsl_gethostbyname
=yes
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.
$ac_ext >&5
24563 ac_cv_lib_nsl_gethostbyname
=no
24565 rm -f conftest.err conftest.
$ac_objext \
24566 conftest
$ac_exeext conftest.
$ac_ext
24567 LIBS
=$ac_check_lib_save_LIBS
24569 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24570 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24571 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24572 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24575 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24576 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24577 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24578 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24579 echo $ECHO_N "(cached) $ECHO_C" >&6
24581 ac_check_lib_save_LIBS
=$LIBS
24583 cat >conftest.
$ac_ext <<_ACEOF
24586 cat confdefs.h
>>conftest.
$ac_ext
24587 cat >>conftest.
$ac_ext <<_ACEOF
24588 /* end confdefs.h. */
24590 /* Override any gcc2 internal prototype to avoid an error. */
24594 /* We use char because int might match the return type of a gcc2
24595 builtin and then its argument prototype would still apply. */
24596 char gethostbyname ();
24605 rm -f conftest.
$ac_objext conftest
$ac_exeext
24606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24607 (eval $ac_link) 2>conftest.er1
24609 grep -v '^ *+' conftest.er1
>conftest.err
24611 cat conftest.err
>&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); } &&
24614 { ac_try
='test -z "$ac_c_werror_flag"
24615 || test ! -s conftest.err'
24616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617 (eval $ac_try) 2>&5
24619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620 (exit $ac_status); }; } &&
24621 { ac_try
='test -s conftest$ac_exeext'
24622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24623 (eval $ac_try) 2>&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); }; }; then
24627 ac_cv_lib_bsd_gethostbyname
=yes
24629 echo "$as_me: failed program was:" >&5
24630 sed 's/^/| /' conftest.
$ac_ext >&5
24632 ac_cv_lib_bsd_gethostbyname
=no
24634 rm -f conftest.err conftest.
$ac_objext \
24635 conftest
$ac_exeext conftest.
$ac_ext
24636 LIBS
=$ac_check_lib_save_LIBS
24638 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24639 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24640 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24641 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24647 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24648 # socket/setsockopt and other routines are undefined under SCO ODT
24649 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24650 # on later versions), says Simon Leinen: it contains gethostby*
24651 # variants that don't use the name server (or something). -lsocket
24652 # must be given before -lnsl if both are needed. We assume that
24653 # if connect needs -lnsl, so does gethostbyname.
24654 echo "$as_me:$LINENO: checking for connect" >&5
24655 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24656 if test "${ac_cv_func_connect+set}" = set; then
24657 echo $ECHO_N "(cached) $ECHO_C" >&6
24659 cat >conftest.
$ac_ext <<_ACEOF
24662 cat confdefs.h
>>conftest.
$ac_ext
24663 cat >>conftest.
$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24665 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24667 #define connect innocuous_connect
24669 /* System header to define __stub macros and hopefully few prototypes,
24670 which can conflict with char connect (); below.
24671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24672 <limits.h> exists even on freestanding compilers. */
24675 # include <limits.h>
24677 # include <assert.h>
24682 /* Override any gcc2 internal prototype to avoid an error. */
24687 /* We use char because int might match the return type of a gcc2
24688 builtin and then its argument prototype would still apply. */
24690 /* The GNU C library defines this for functions which it implements
24691 to always fail with ENOSYS. Some functions are actually named
24692 something starting with __ and the normal name is an alias. */
24693 #if defined (__stub_connect) || defined (__stub___connect)
24696 char (*f) () = connect;
24705 return f != connect;
24710 rm -f conftest.
$ac_objext conftest
$ac_exeext
24711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24712 (eval $ac_link) 2>conftest.er1
24714 grep -v '^ *+' conftest.er1
>conftest.err
24716 cat conftest.err
>&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } &&
24719 { ac_try
='test -z "$ac_c_werror_flag"
24720 || test ! -s conftest.err'
24721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24722 (eval $ac_try) 2>&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); }; } &&
24726 { ac_try
='test -s conftest$ac_exeext'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; }; then
24732 ac_cv_func_connect
=yes
24734 echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.
$ac_ext >&5
24737 ac_cv_func_connect
=no
24739 rm -f conftest.err conftest.
$ac_objext \
24740 conftest
$ac_exeext conftest.
$ac_ext
24742 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24743 echo "${ECHO_T}$ac_cv_func_connect" >&6
24745 if test $ac_cv_func_connect = no
; then
24746 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24747 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24748 if test "${ac_cv_lib_socket_connect+set}" = set; then
24749 echo $ECHO_N "(cached) $ECHO_C" >&6
24751 ac_check_lib_save_LIBS
=$LIBS
24752 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24753 cat >conftest.
$ac_ext <<_ACEOF
24756 cat confdefs.h
>>conftest.
$ac_ext
24757 cat >>conftest.
$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24760 /* Override any gcc2 internal prototype to avoid an error. */
24764 /* We use char because int might match the return type of a gcc2
24765 builtin and then its argument prototype would still apply. */
24775 rm -f conftest.
$ac_objext conftest
$ac_exeext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24777 (eval $ac_link) 2>conftest.er1
24779 grep -v '^ *+' conftest.er1
>conftest.err
24781 cat conftest.err
>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } &&
24784 { ac_try
='test -z "$ac_c_werror_flag"
24785 || test ! -s conftest.err'
24786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24787 (eval $ac_try) 2>&5
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); }; } &&
24791 { ac_try
='test -s conftest$ac_exeext'
24792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24793 (eval $ac_try) 2>&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); }; }; then
24797 ac_cv_lib_socket_connect
=yes
24799 echo "$as_me: failed program was:" >&5
24800 sed 's/^/| /' conftest.
$ac_ext >&5
24802 ac_cv_lib_socket_connect
=no
24804 rm -f conftest.err conftest.
$ac_objext \
24805 conftest
$ac_exeext conftest.
$ac_ext
24806 LIBS
=$ac_check_lib_save_LIBS
24808 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24809 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24810 if test $ac_cv_lib_socket_connect = yes; then
24811 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24816 # Guillermo Gomez says -lposix is necessary on A/UX.
24817 echo "$as_me:$LINENO: checking for remove" >&5
24818 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24819 if test "${ac_cv_func_remove+set}" = set; then
24820 echo $ECHO_N "(cached) $ECHO_C" >&6
24822 cat >conftest.
$ac_ext <<_ACEOF
24825 cat confdefs.h
>>conftest.
$ac_ext
24826 cat >>conftest.
$ac_ext <<_ACEOF
24827 /* end confdefs.h. */
24828 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24830 #define remove innocuous_remove
24832 /* System header to define __stub macros and hopefully few prototypes,
24833 which can conflict with char remove (); below.
24834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24835 <limits.h> exists even on freestanding compilers. */
24838 # include <limits.h>
24840 # include <assert.h>
24845 /* Override any gcc2 internal prototype to avoid an error. */
24850 /* We use char because int might match the return type of a gcc2
24851 builtin and then its argument prototype would still apply. */
24853 /* The GNU C library defines this for functions which it implements
24854 to always fail with ENOSYS. Some functions are actually named
24855 something starting with __ and the normal name is an alias. */
24856 #if defined (__stub_remove) || defined (__stub___remove)
24859 char (*f) () = remove;
24868 return f != remove;
24873 rm -f conftest.
$ac_objext conftest
$ac_exeext
24874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24875 (eval $ac_link) 2>conftest.er1
24877 grep -v '^ *+' conftest.er1
>conftest.err
24879 cat conftest.err
>&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); } &&
24882 { ac_try
='test -z "$ac_c_werror_flag"
24883 || test ! -s conftest.err'
24884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24885 (eval $ac_try) 2>&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); }; } &&
24889 { ac_try
='test -s conftest$ac_exeext'
24890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24891 (eval $ac_try) 2>&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); }; }; then
24895 ac_cv_func_remove
=yes
24897 echo "$as_me: failed program was:" >&5
24898 sed 's/^/| /' conftest.
$ac_ext >&5
24900 ac_cv_func_remove
=no
24902 rm -f conftest.err conftest.
$ac_objext \
24903 conftest
$ac_exeext conftest.
$ac_ext
24905 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24906 echo "${ECHO_T}$ac_cv_func_remove" >&6
24908 if test $ac_cv_func_remove = no
; then
24909 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24910 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24911 if test "${ac_cv_lib_posix_remove+set}" = set; then
24912 echo $ECHO_N "(cached) $ECHO_C" >&6
24914 ac_check_lib_save_LIBS
=$LIBS
24915 LIBS
="-lposix $LIBS"
24916 cat >conftest.
$ac_ext <<_ACEOF
24919 cat confdefs.h
>>conftest.
$ac_ext
24920 cat >>conftest.
$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24923 /* Override any gcc2 internal prototype to avoid an error. */
24927 /* We use char because int might match the return type of a gcc2
24928 builtin and then its argument prototype would still apply. */
24938 rm -f conftest.
$ac_objext conftest
$ac_exeext
24939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24940 (eval $ac_link) 2>conftest.er1
24942 grep -v '^ *+' conftest.er1
>conftest.err
24944 cat conftest.err
>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } &&
24947 { ac_try
='test -z "$ac_c_werror_flag"
24948 || test ! -s conftest.err'
24949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24950 (eval $ac_try) 2>&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); }; } &&
24954 { ac_try
='test -s conftest$ac_exeext'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; }; then
24960 ac_cv_lib_posix_remove
=yes
24962 echo "$as_me: failed program was:" >&5
24963 sed 's/^/| /' conftest.
$ac_ext >&5
24965 ac_cv_lib_posix_remove
=no
24967 rm -f conftest.err conftest.
$ac_objext \
24968 conftest
$ac_exeext conftest.
$ac_ext
24969 LIBS
=$ac_check_lib_save_LIBS
24971 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24972 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24973 if test $ac_cv_lib_posix_remove = yes; then
24974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24979 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24980 echo "$as_me:$LINENO: checking for shmat" >&5
24981 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24982 if test "${ac_cv_func_shmat+set}" = set; then
24983 echo $ECHO_N "(cached) $ECHO_C" >&6
24985 cat >conftest.
$ac_ext <<_ACEOF
24988 cat confdefs.h
>>conftest.
$ac_ext
24989 cat >>conftest.
$ac_ext <<_ACEOF
24990 /* end confdefs.h. */
24991 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24993 #define shmat innocuous_shmat
24995 /* System header to define __stub macros and hopefully few prototypes,
24996 which can conflict with char shmat (); below.
24997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24998 <limits.h> exists even on freestanding compilers. */
25001 # include <limits.h>
25003 # include <assert.h>
25008 /* Override any gcc2 internal prototype to avoid an error. */
25013 /* We use char because int might match the return type of a gcc2
25014 builtin and then its argument prototype would still apply. */
25016 /* The GNU C library defines this for functions which it implements
25017 to always fail with ENOSYS. Some functions are actually named
25018 something starting with __ and the normal name is an alias. */
25019 #if defined (__stub_shmat) || defined (__stub___shmat)
25022 char (*f) () = shmat;
25036 rm -f conftest.
$ac_objext conftest
$ac_exeext
25037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25038 (eval $ac_link) 2>conftest.er1
25040 grep -v '^ *+' conftest.er1
>conftest.err
25042 cat conftest.err
>&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); } &&
25045 { ac_try
='test -z "$ac_c_werror_flag"
25046 || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try
='test -s conftest$ac_exeext'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; }; then
25058 ac_cv_func_shmat
=yes
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.
$ac_ext >&5
25063 ac_cv_func_shmat
=no
25065 rm -f conftest.err conftest.
$ac_objext \
25066 conftest
$ac_exeext conftest.
$ac_ext
25068 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25069 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25071 if test $ac_cv_func_shmat = no
; then
25072 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25073 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25074 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25075 echo $ECHO_N "(cached) $ECHO_C" >&6
25077 ac_check_lib_save_LIBS
=$LIBS
25079 cat >conftest.
$ac_ext <<_ACEOF
25082 cat confdefs.h
>>conftest.
$ac_ext
25083 cat >>conftest.
$ac_ext <<_ACEOF
25084 /* end confdefs.h. */
25086 /* Override any gcc2 internal prototype to avoid an error. */
25090 /* We use char because int might match the return type of a gcc2
25091 builtin and then its argument prototype would still apply. */
25101 rm -f conftest.
$ac_objext conftest
$ac_exeext
25102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25103 (eval $ac_link) 2>conftest.er1
25105 grep -v '^ *+' conftest.er1
>conftest.err
25107 cat conftest.err
>&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } &&
25110 { ac_try
='test -z "$ac_c_werror_flag"
25111 || test ! -s conftest.err'
25112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25113 (eval $ac_try) 2>&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); }; } &&
25117 { ac_try
='test -s conftest$ac_exeext'
25118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25119 (eval $ac_try) 2>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); }; }; then
25123 ac_cv_lib_ipc_shmat
=yes
25125 echo "$as_me: failed program was:" >&5
25126 sed 's/^/| /' conftest.
$ac_ext >&5
25128 ac_cv_lib_ipc_shmat
=no
25130 rm -f conftest.err conftest.
$ac_objext \
25131 conftest
$ac_exeext conftest.
$ac_ext
25132 LIBS
=$ac_check_lib_save_LIBS
25134 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25135 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25136 if test $ac_cv_lib_ipc_shmat = yes; then
25137 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25143 # Check for libraries that X11R6 Xt/Xaw programs need.
25144 ac_save_LDFLAGS
=$LDFLAGS
25145 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25146 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25147 # check for ICE first), but we must link in the order -lSM -lICE or
25148 # we get undefined symbols. So assume we have SM if we have ICE.
25149 # These have to be linked with before -lX11, unlike the other
25150 # libraries we check for below, so use a different variable.
25151 # John Interrante, Karl Berry
25152 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25153 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25154 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25155 echo $ECHO_N "(cached) $ECHO_C" >&6
25157 ac_check_lib_save_LIBS
=$LIBS
25158 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25159 cat >conftest.
$ac_ext <<_ACEOF
25162 cat confdefs.h
>>conftest.
$ac_ext
25163 cat >>conftest.
$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25166 /* Override any gcc2 internal prototype to avoid an error. */
25170 /* We use char because int might match the return type of a gcc2
25171 builtin and then its argument prototype would still apply. */
25172 char IceConnectionNumber ();
25176 IceConnectionNumber ();
25181 rm -f conftest.
$ac_objext conftest
$ac_exeext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25183 (eval $ac_link) 2>conftest.er1
25185 grep -v '^ *+' conftest.er1
>conftest.err
25187 cat conftest.err
>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try
='test -z "$ac_c_werror_flag"
25191 || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try
='test -s conftest$ac_exeext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_lib_ICE_IceConnectionNumber
=yes
25205 echo "$as_me: failed program was:" >&5
25206 sed 's/^/| /' conftest.
$ac_ext >&5
25208 ac_cv_lib_ICE_IceConnectionNumber
=no
25210 rm -f conftest.err conftest.
$ac_objext \
25211 conftest
$ac_exeext conftest.
$ac_ext
25212 LIBS
=$ac_check_lib_save_LIBS
25214 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25215 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25216 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25217 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25220 LDFLAGS
=$ac_save_LDFLAGS
25225 if test "$no_x" = "yes"; then
25226 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25227 echo "$as_me: error: X11 not found" >&2;}
25228 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25231 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25232 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25233 AFMINSTALL
=afminstall
25234 COMPILED_X_PROGRAM
=0
25238 if test "$wxUSE_X11" = 1; then
25239 if test "$wxUSE_NANOX" = "yes"; then
25240 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25241 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25242 if test "x$MICROWIN" = x
; then
25243 echo "$as_me:$LINENO: result: not found" >&5
25244 echo "${ECHO_T}not found" >&6
25245 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25246 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25247 { (exit 1); exit 1; }; }
25249 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25250 echo "${ECHO_T}$MICROWIN" >&6
25251 cat >>confdefs.h
<<\_ACEOF
25252 #define wxUSE_NANOX 1
25258 if test "$wxUSE_UNICODE" = "yes"; then
25262 if test -z "$PKG_CONFIG"; then
25263 # Extract the first word of "pkg-config", so it can be a program name with args.
25264 set dummy pkg
-config; ac_word
=$2
25265 echo "$as_me:$LINENO: checking for $ac_word" >&5
25266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25267 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 case $PKG_CONFIG in
25272 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25276 for as_dir
in $PATH
25279 test -z "$as_dir" && as_dir
=.
25280 for ac_exec_ext
in '' $ac_executable_extensions; do
25281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25282 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25289 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25293 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25295 if test -n "$PKG_CONFIG"; then
25296 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25297 echo "${ECHO_T}$PKG_CONFIG" >&6
25299 echo "$as_me:$LINENO: result: no" >&5
25300 echo "${ECHO_T}no" >&6
25305 if test "$PKG_CONFIG" = "no" ; then
25306 echo "*** The pkg-config script could not be found. Make sure it is"
25307 echo "*** in your path, or set the PKG_CONFIG environment variable"
25308 echo "*** to the full path to pkg-config."
25309 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25311 PKG_CONFIG_MIN_VERSION
=0.9.0
25312 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25313 echo "$as_me:$LINENO: checking for pangox" >&5
25314 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25316 if $PKG_CONFIG --exists "pangox" ; then
25317 echo "$as_me:$LINENO: result: yes" >&5
25318 echo "${ECHO_T}yes" >&6
25321 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25322 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25323 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25324 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25325 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25327 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25328 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25329 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25330 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25331 echo "${ECHO_T}$PANGOX_LIBS" >&6
25335 ## If we have a custom action on failure, don't print errors, but
25336 ## do set a variable so people can do so.
25337 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25344 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25345 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25349 if test $succeeded = yes; then
25351 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25352 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25356 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25357 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25358 { (exit 1); exit 1; }; }
25366 if test -z "$PKG_CONFIG"; then
25367 # Extract the first word of "pkg-config", so it can be a program name with args.
25368 set dummy pkg
-config; ac_word
=$2
25369 echo "$as_me:$LINENO: checking for $ac_word" >&5
25370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 case $PKG_CONFIG in
25376 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25380 for as_dir
in $PATH
25383 test -z "$as_dir" && as_dir
=.
25384 for ac_exec_ext
in '' $ac_executable_extensions; do
25385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25386 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25393 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25397 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25399 if test -n "$PKG_CONFIG"; then
25400 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25401 echo "${ECHO_T}$PKG_CONFIG" >&6
25403 echo "$as_me:$LINENO: result: no" >&5
25404 echo "${ECHO_T}no" >&6
25409 if test "$PKG_CONFIG" = "no" ; then
25410 echo "*** The pkg-config script could not be found. Make sure it is"
25411 echo "*** in your path, or set the PKG_CONFIG environment variable"
25412 echo "*** to the full path to pkg-config."
25413 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25415 PKG_CONFIG_MIN_VERSION
=0.9.0
25416 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25417 echo "$as_me:$LINENO: checking for pangoft2" >&5
25418 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25420 if $PKG_CONFIG --exists "pangoft2" ; then
25421 echo "$as_me:$LINENO: result: yes" >&5
25422 echo "${ECHO_T}yes" >&6
25425 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25426 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25427 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25428 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25429 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25431 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25432 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25433 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25434 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25435 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25439 ## If we have a custom action on failure, don't print errors, but
25440 ## do set a variable so people can do so.
25441 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25448 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25449 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25453 if test $succeeded = yes; then
25455 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25456 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25460 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25461 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25462 wxUSE_PRINTING_ARCHITECTURE
="no"
25470 if test -z "$PKG_CONFIG"; then
25471 # Extract the first word of "pkg-config", so it can be a program name with args.
25472 set dummy pkg
-config; ac_word
=$2
25473 echo "$as_me:$LINENO: checking for $ac_word" >&5
25474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25475 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 case $PKG_CONFIG in
25480 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25484 for as_dir
in $PATH
25487 test -z "$as_dir" && as_dir
=.
25488 for ac_exec_ext
in '' $ac_executable_extensions; do
25489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25490 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25497 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25501 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25503 if test -n "$PKG_CONFIG"; then
25504 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25505 echo "${ECHO_T}$PKG_CONFIG" >&6
25507 echo "$as_me:$LINENO: result: no" >&5
25508 echo "${ECHO_T}no" >&6
25513 if test "$PKG_CONFIG" = "no" ; then
25514 echo "*** The pkg-config script could not be found. Make sure it is"
25515 echo "*** in your path, or set the PKG_CONFIG environment variable"
25516 echo "*** to the full path to pkg-config."
25517 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25519 PKG_CONFIG_MIN_VERSION
=0.9.0
25520 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25521 echo "$as_me:$LINENO: checking for pangoxft" >&5
25522 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25524 if $PKG_CONFIG --exists "pangoxft" ; then
25525 echo "$as_me:$LINENO: result: yes" >&5
25526 echo "${ECHO_T}yes" >&6
25529 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25530 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25531 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25532 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25533 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25535 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25536 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25537 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25538 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25539 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25543 ## If we have a custom action on failure, don't print errors, but
25544 ## do set a variable so people can do so.
25545 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25552 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25553 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25557 if test $succeeded = yes; then
25559 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25560 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25564 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25565 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25570 save_CFLAGS
="$CFLAGS"
25572 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25573 LIBS
="$LIBS $PANGOX_LIBS"
25575 for ac_func
in pango_font_family_is_monospace
25577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25578 echo "$as_me:$LINENO: checking for $ac_func" >&5
25579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25580 if eval "test \"\${$as_ac_var+set}\" = set"; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 cat >conftest.
$ac_ext <<_ACEOF
25586 cat confdefs.h
>>conftest.
$ac_ext
25587 cat >>conftest.
$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25591 #define $ac_func innocuous_$ac_func
25593 /* System header to define __stub macros and hopefully few prototypes,
25594 which can conflict with char $ac_func (); below.
25595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25596 <limits.h> exists even on freestanding compilers. */
25599 # include <limits.h>
25601 # include <assert.h>
25606 /* Override any gcc2 internal prototype to avoid an error. */
25611 /* We use char because int might match the return type of a gcc2
25612 builtin and then its argument prototype would still apply. */
25614 /* The GNU C library defines this for functions which it implements
25615 to always fail with ENOSYS. Some functions are actually named
25616 something starting with __ and the normal name is an alias. */
25617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25620 char (*f) () = $ac_func;
25629 return f != $ac_func;
25634 rm -f conftest.
$ac_objext conftest
$ac_exeext
25635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25636 (eval $ac_link) 2>conftest.er1
25638 grep -v '^ *+' conftest.er1
>conftest.err
25640 cat conftest.err
>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try
='test -z "$ac_c_werror_flag"
25644 || test ! -s conftest.err'
25645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25646 (eval $ac_try) 2>&5
25648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25649 (exit $ac_status); }; } &&
25650 { ac_try
='test -s conftest$ac_exeext'
25651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25652 (eval $ac_try) 2>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); }; }; then
25656 eval "$as_ac_var=yes"
25658 echo "$as_me: failed program was:" >&5
25659 sed 's/^/| /' conftest.
$ac_ext >&5
25661 eval "$as_ac_var=no"
25663 rm -f conftest.err conftest.
$ac_objext \
25664 conftest
$ac_exeext conftest.
$ac_ext
25666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25668 if test `eval echo '${'$as_ac_var'}'` = yes; then
25669 cat >>confdefs.h
<<_ACEOF
25670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25676 CFLAGS
="$save_CFLAGS"
25680 wxUSE_UNIVERSAL
="yes"
25682 if test "$wxUSE_NANOX" = "yes"; then
25683 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25684 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"
25685 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25687 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25690 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
25695 if test "$wxUSE_MOTIF" = 1; then
25696 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25697 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25700 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25702 if test -f "$ac_dir/Xm/Xm.h"; then
25703 ac_find_includes
=$ac_dir
25708 if test "$ac_find_includes" != "" ; then
25709 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25710 echo "${ECHO_T}found in $ac_find_includes" >&6
25712 if test "x$ac_find_includes" = "x/usr/include"; then
25713 ac_path_to_include
=""
25715 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25717 if test $result = 0; then
25718 ac_path_to_include
=""
25720 ac_path_to_include
=" -I$ac_find_includes"
25724 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25726 cat >conftest.
$ac_ext <<_ACEOF
25729 cat confdefs.h
>>conftest.
$ac_ext
25730 cat >>conftest.
$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25740 version = xmUseVersion;
25746 rm -f conftest.
$ac_objext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748 (eval $ac_compile) 2>conftest.er1
25750 grep -v '^ *+' conftest.er1
>conftest.err
25752 cat conftest.err
>&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try
='test -z "$ac_c_werror_flag"
25756 || test ! -s conftest.err'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try
='test -s conftest.$ac_objext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25769 echo "$as_me:$LINENO: result: found in default search path" >&5
25770 echo "${ECHO_T}found in default search path" >&6
25771 COMPILED_X_PROGRAM
=1
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.
$ac_ext >&5
25778 echo "$as_me:$LINENO: result: no" >&5
25779 echo "${ECHO_T}no" >&6
25780 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25781 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25782 { (exit 1); exit 1; }; }
25786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25789 if test "$COMPILED_X_PROGRAM" = 0; then
25790 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25791 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25794 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25796 for ac_extension
in a so sl dylib
; do
25797 if test -f "$ac_dir/libXm.$ac_extension"; then
25798 ac_find_libraries
=$ac_dir
25804 if test "$ac_find_libraries" != "" ; then
25805 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25806 echo "${ECHO_T}found at $ac_find_libraries" >&6
25809 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25811 if test $result = 0; then
25814 ac_path_to_link
=" -L$ac_find_libraries"
25817 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25819 save_CFLAGS
=$CFLAGS
25820 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25822 cat >conftest.
$ac_ext <<_ACEOF
25825 cat confdefs.h
>>conftest.
$ac_ext
25826 cat >>conftest.
$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25836 version = xmUseVersion;
25842 rm -f conftest.
$ac_objext
25843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25844 (eval $ac_compile) 2>conftest.er1
25846 grep -v '^ *+' conftest.er1
>conftest.err
25848 cat conftest.err
>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } &&
25851 { ac_try
='test -z "$ac_c_werror_flag"
25852 || test ! -s conftest.err'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; } &&
25858 { ac_try
='test -s conftest.$ac_objext'
25859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860 (eval $ac_try) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); }; }; then
25865 echo "$as_me:$LINENO: result: found in default search path" >&5
25866 echo "${ECHO_T}found in default search path" >&6
25867 COMPILED_X_PROGRAM
=1
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.
$ac_ext >&5
25874 echo "$as_me:$LINENO: result: no" >&5
25875 echo "${ECHO_T}no" >&6
25876 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25877 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25878 { (exit 1); exit 1; }; }
25882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25884 CFLAGS
=$save_CFLAGS
25888 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25889 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25893 for libp
in "" " -lXp"; do
25894 if test "$libs_found" = "0"; then
25895 for libsm_ice
in "" " -lSM -lICE"; do
25896 if test "$libs_found" = "0"; then
25898 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25899 save_CFLAGS
=$CFLAGS
25900 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25902 cat >conftest.
$ac_ext <<_ACEOF
25905 cat confdefs.h
>>conftest.
$ac_ext
25906 cat >>conftest.
$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25910 #include <Xm/List.h>
25916 XmString string = NULL;
25919 XmListAddItem(w, string, position);
25925 rm -f conftest.
$ac_objext conftest
$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25929 grep -v '^ *+' conftest.er1
>conftest.err
25931 cat conftest.err
>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try
='test -z "$ac_c_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try
='test -s conftest$ac_exeext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25949 libsm_ice_link
="$libsm_ice"
25950 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25951 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.
$ac_ext >&5
25961 rm -f conftest.err conftest.
$ac_objext \
25962 conftest
$ac_exeext conftest.
$ac_ext
25965 CFLAGS
=$save_CFLAGS
25971 if test "$libs_found" = "0"; then
25972 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25973 echo "${ECHO_T}can't find the right libraries" >&6
25974 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25975 echo "$as_me: error: can't link a simple motif program" >&2;}
25976 { (exit 1); exit 1; }; }
25979 save_CFLAGS
=$CFLAGS
25980 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25981 echo "$as_me:$LINENO: checking for Motif 2" >&5
25982 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25983 cat >conftest.
$ac_ext <<_ACEOF
25986 cat confdefs.h
>>conftest.
$ac_ext
25987 cat >>conftest.
$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25996 #if XmVersion < 2000
25997 #error "Not Motif 2"
26004 rm -f conftest.
$ac_objext
26005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26006 (eval $ac_compile) 2>conftest.er1
26008 grep -v '^ *+' conftest.er1
>conftest.err
26010 cat conftest.err
>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } &&
26013 { ac_try
='test -z "$ac_c_werror_flag"
26014 || test ! -s conftest.err'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; } &&
26020 { ac_try
='test -s conftest.$ac_objext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26027 cat >>confdefs.h
<<\_ACEOF
26028 #define __WXMOTIF20__ 1
26031 echo "$as_me:$LINENO: result: found" >&5
26032 echo "${ECHO_T}found" >&6
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.
$ac_ext >&5
26039 cat >>confdefs.h
<<\_ACEOF
26040 #define __WXMOTIF20__ 0
26043 echo "$as_me:$LINENO: result: not found" >&5
26044 echo "${ECHO_T}not found" >&6
26047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26048 CFLAGS
=$save_CFLAGS
26050 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26051 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26056 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26057 if test "$wxUSE_LIBXPM" = "sys"; then
26058 echo "$as_me:$LINENO: checking for Xpm library" >&5
26059 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26062 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26064 for ac_extension
in a so sl dylib
; do
26065 if test -f "$ac_dir/libXpm.$ac_extension"; then
26066 ac_find_libraries
=$ac_dir
26072 if test "$ac_find_libraries" != "" ; then
26074 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26076 if test $result = 0; then
26079 ac_path_to_link
=" -L$ac_find_libraries"
26082 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26083 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26084 echo "${ECHO_T}found at $ac_find_libraries" >&6
26086 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26087 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26088 if test "${wx_cv_x11_xpm_h+set}" = set; then
26089 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 save_CFLAGS
=$CFLAGS
26093 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26095 cat >conftest.
$ac_ext <<_ACEOF
26098 cat confdefs.h
>>conftest.
$ac_ext
26099 cat >>conftest.
$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26102 #include <X11/xpm.h>
26109 version = XpmLibraryVersion();
26115 rm -f conftest.
$ac_objext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26117 (eval $ac_compile) 2>conftest.er1
26119 grep -v '^ *+' conftest.er1
>conftest.err
26121 cat conftest.err
>&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try
='test -z "$ac_c_werror_flag"
26125 || test ! -s conftest.err'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; } &&
26131 { ac_try
='test -s conftest.$ac_objext'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; }; then
26137 wx_cv_x11_xpm_h
=yes
26139 echo "$as_me: failed program was:" >&5
26140 sed 's/^/| /' conftest.
$ac_ext >&5
26145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26147 CFLAGS
=$save_CFLAGS
26151 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26152 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26154 if test $wx_cv_x11_xpm_h = "yes"; then
26155 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26156 cat >>confdefs.h
<<\_ACEOF
26157 #define wxHAVE_LIB_XPM 1
26161 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26162 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26168 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26169 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26170 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26173 ac_check_lib_save_LIBS
=$LIBS
26174 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26175 cat >conftest.
$ac_ext <<_ACEOF
26178 cat confdefs.h
>>conftest.
$ac_ext
26179 cat >>conftest.
$ac_ext <<_ACEOF
26180 /* end confdefs.h. */
26182 /* Override any gcc2 internal prototype to avoid an error. */
26186 /* We use char because int might match the return type of a gcc2
26187 builtin and then its argument prototype would still apply. */
26188 char XShapeQueryExtension ();
26192 XShapeQueryExtension ();
26197 rm -f conftest.
$ac_objext conftest
$ac_exeext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26199 (eval $ac_link) 2>conftest.er1
26201 grep -v '^ *+' conftest.er1
>conftest.err
26203 cat conftest.err
>&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); } &&
26206 { ac_try
='test -z "$ac_c_werror_flag"
26207 || test ! -s conftest.err'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; } &&
26213 { ac_try
='test -s conftest$ac_exeext'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.
$ac_ext >&5
26224 ac_cv_lib_Xext_XShapeQueryExtension
=no
26226 rm -f conftest.err conftest.
$ac_objext \
26227 conftest
$ac_exeext conftest.
$ac_ext
26228 LIBS
=$ac_check_lib_save_LIBS
26230 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26240 if test "$wxHAVE_XEXT_LIB" = 1; then
26241 save_CFLAGS
="$CFLAGS"
26242 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26244 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26245 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26246 cat >conftest.
$ac_ext <<_ACEOF
26249 cat confdefs.h
>>conftest.
$ac_ext
26250 cat >>conftest.
$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26253 #include <X11/Xlib.h>
26254 #include <X11/extensions/shape.h>
26260 int dummy1, dummy2;
26261 XShapeQueryExtension((Display*)NULL,
26262 (int*)NULL, (int*)NULL);
26268 rm -f conftest.
$ac_objext
26269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26270 (eval $ac_compile) 2>conftest.er1
26272 grep -v '^ *+' conftest.er1
>conftest.err
26274 cat conftest.err
>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } &&
26277 { ac_try
='test -z "$ac_c_werror_flag"
26278 || test ! -s conftest.err'
26279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26280 (eval $ac_try) 2>&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); }; } &&
26284 { ac_try
='test -s conftest.$ac_objext'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; }; then
26291 cat >>confdefs.h
<<\_ACEOF
26292 #define HAVE_XSHAPE 1
26295 echo "$as_me:$LINENO: result: found" >&5
26296 echo "${ECHO_T}found" >&6
26299 echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.
$ac_ext >&5
26303 echo "$as_me:$LINENO: result: not found" >&5
26304 echo "${ECHO_T}not found" >&6
26307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26308 CFLAGS
="$save_CFLAGS"
26313 if test "$wxUSE_MAC" = 1; then
26314 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26315 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26316 if test "$GCC" = yes; then
26317 echo "$as_me:$LINENO: result: gcc" >&5
26318 echo "${ECHO_T}gcc" >&6
26319 CPPFLAGS_PASCAL
="-fpascal-strings"
26320 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26321 echo "$as_me:$LINENO: result: xlc" >&5
26322 echo "${ECHO_T}xlc" >&6
26323 CPPFLAGS_PASCAL
="-qmacpstr"
26325 echo "$as_me:$LINENO: result: none" >&5
26326 echo "${ECHO_T}none" >&6
26329 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26331 TOOLKIT_VPATH
="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26334 WXBASEPORT
="_carbon"
26337 if test "$wxUSE_COCOA" = 1; then
26338 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26343 if test "$wxUSE_PM" = 1; then
26346 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26347 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26348 if test "${wx_cv_spbcdata+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26352 cat >conftest.
$ac_ext <<_ACEOF
26355 cat confdefs.h
>>conftest.
$ac_ext
26356 cat >>conftest.
$ac_ext <<_ACEOF
26357 /* end confdefs.h. */
26372 rm -f conftest.
$ac_objext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26374 (eval $ac_compile) 2>conftest.er1
26376 grep -v '^ *+' conftest.er1
>conftest.err
26378 cat conftest.err
>&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } &&
26381 { ac_try
='test -z "$ac_c_werror_flag"
26382 || test ! -s conftest.err'
26383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384 (eval $ac_try) 2>&5
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); }; } &&
26388 { ac_try
='test -s conftest.$ac_objext'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; }; then
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.
$ac_ext >&5
26402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26406 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26407 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26409 if test $wx_cv_spbcdata = "yes"; then
26410 cat >>confdefs.h
<<\_ACEOF
26411 #define HAVE_SPBCDATA 1
26417 if test "$TOOLKIT" = "PM" ; then
26420 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26423 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26425 if test "$wxUSE_UNIVERSAL" = "yes"; then
26426 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26428 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26429 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26431 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26432 if test "$wxUSE_X11" = 1; then
26433 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26435 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26437 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26440 ALL_OBJECTS
="\$(GUIOBJS)"
26441 ALL_SOURCES
="\$(ALL_SOURCES)"
26442 ALL_HEADERS
="\$(ALL_HEADERS)"
26445 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26447 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26448 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26451 if test "$wxUSE_HTML" = "yes"; then
26452 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26455 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26456 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26458 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26459 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26461 if test "$wxUSE_LIBPNG" = "builtin" ; then
26462 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26465 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26466 DISTDIR
="wx\$(TOOLKIT)"
26472 if test "$USE_WIN32" = 1 ; then
26473 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26474 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26478 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26479 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26482 ALL_SOURCES
="\$(ALL_SOURCES)"
26483 ALL_HEADERS
="\$(ALL_HEADERS)"
26485 PORT_FILES
="\${top_srcdir}/src/files.lst"
26487 GUIDIST
="BASE_DIST"
26497 if test "$TOOLKIT" != "MSW" ; then
26499 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26501 if test "${ac_cv_header_sql_h+set}" = set; then
26502 echo "$as_me:$LINENO: checking for sql.h" >&5
26503 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26504 if test "${ac_cv_header_sql_h+set}" = set; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26508 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26510 # Is the header compilable?
26511 echo "$as_me:$LINENO: checking sql.h usability" >&5
26512 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26513 cat >conftest.
$ac_ext <<_ACEOF
26516 cat confdefs.h
>>conftest.
$ac_ext
26517 cat >>conftest.
$ac_ext <<_ACEOF
26518 /* end confdefs.h. */
26519 $ac_includes_default
26522 rm -f conftest.
$ac_objext
26523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26524 (eval $ac_compile) 2>conftest.er1
26526 grep -v '^ *+' conftest.er1
>conftest.err
26528 cat conftest.err
>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } &&
26531 { ac_try
='test -z "$ac_c_werror_flag"
26532 || test ! -s conftest.err'
26533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534 (eval $ac_try) 2>&5
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; } &&
26538 { ac_try
='test -s conftest.$ac_objext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 ac_header_compiler
=yes
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.
$ac_ext >&5
26549 ac_header_compiler
=no
26551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26553 echo "${ECHO_T}$ac_header_compiler" >&6
26555 # Is the header present?
26556 echo "$as_me:$LINENO: checking sql.h presence" >&5
26557 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26558 cat >conftest.
$ac_ext <<_ACEOF
26561 cat confdefs.h
>>conftest.
$ac_ext
26562 cat >>conftest.
$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26567 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26569 grep -v '^ *+' conftest.er1
>conftest.err
26571 cat conftest.err
>&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } >/dev
/null
; then
26574 if test -s conftest.err
; then
26575 ac_cpp_err
=$ac_c_preproc_warn_flag
26576 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26583 if test -z "$ac_cpp_err"; then
26584 ac_header_preproc
=yes
26586 echo "$as_me: failed program was:" >&5
26587 sed 's/^/| /' conftest.
$ac_ext >&5
26589 ac_header_preproc
=no
26591 rm -f conftest.err conftest.
$ac_ext
26592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26593 echo "${ECHO_T}$ac_header_preproc" >&6
26595 # So? What about this header?
26596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26598 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26599 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26600 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26601 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26602 ac_header_preproc
=yes
26605 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26606 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26607 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26608 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26609 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26610 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26611 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26612 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26613 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26614 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26615 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26616 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26619 ## ----------------------------------------- ##
26620 ## Report this to wx-dev@lists.wxwidgets.org ##
26621 ## ----------------------------------------- ##
26624 sed "s/^/$as_me: WARNING: /" >&2
26627 echo "$as_me:$LINENO: checking for sql.h" >&5
26628 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26629 if test "${ac_cv_header_sql_h+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26632 ac_cv_header_sql_h
=$ac_header_preproc
26634 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26635 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26638 if test $ac_cv_header_sql_h = yes; then
26643 if test "x$found_sql_h" = "x1" ; then
26644 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26645 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26646 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26647 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 ac_check_lib_save_LIBS
=$LIBS
26650 LIBS
="-liodbc $LIBS"
26651 cat >conftest.
$ac_ext <<_ACEOF
26654 cat confdefs.h
>>conftest.
$ac_ext
26655 cat >>conftest.
$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26658 /* Override any gcc2 internal prototype to avoid an error. */
26662 /* We use char because int might match the return type of a gcc2
26663 builtin and then its argument prototype would still apply. */
26664 char SQLAllocEnv ();
26673 rm -f conftest.
$ac_objext conftest
$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>conftest.er1
26677 grep -v '^ *+' conftest.er1
>conftest.err
26679 cat conftest.err
>&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } &&
26682 { ac_try
='test -z "$ac_c_werror_flag"
26683 || test ! -s conftest.err'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; } &&
26689 { ac_try
='test -s conftest$ac_exeext'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; }; then
26695 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26697 echo "$as_me: failed program was:" >&5
26698 sed 's/^/| /' conftest.
$ac_ext >&5
26700 ac_cv_lib_iodbc_SQLAllocEnv
=no
26702 rm -f conftest.err conftest.
$ac_objext \
26703 conftest
$ac_exeext conftest.
$ac_ext
26704 LIBS
=$ac_check_lib_save_LIBS
26706 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26707 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26708 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26709 ODBC_LINK
=" -liodbc"
26712 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26713 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26714 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 ac_check_lib_save_LIBS
=$LIBS
26718 LIBS
="-lunixodbc $LIBS"
26719 cat >conftest.
$ac_ext <<_ACEOF
26722 cat confdefs.h
>>conftest.
$ac_ext
26723 cat >>conftest.
$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26726 /* Override any gcc2 internal prototype to avoid an error. */
26730 /* We use char because int might match the return type of a gcc2
26731 builtin and then its argument prototype would still apply. */
26732 char SQLAllocEnv ();
26741 rm -f conftest.
$ac_objext conftest
$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>conftest.er1
26745 grep -v '^ *+' conftest.er1
>conftest.err
26747 cat conftest.err
>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try
='test -z "$ac_c_werror_flag"
26751 || test ! -s conftest.err'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; } &&
26757 { ac_try
='test -s conftest$ac_exeext'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; }; then
26763 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.
$ac_ext >&5
26768 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26770 rm -f conftest.err conftest.
$ac_objext \
26771 conftest
$ac_exeext conftest.
$ac_ext
26772 LIBS
=$ac_check_lib_save_LIBS
26774 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26775 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26776 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26777 ODBC_LINK
=" -lunixodbc"
26780 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26781 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26782 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 ac_check_lib_save_LIBS
=$LIBS
26786 LIBS
="-lodbc $LIBS"
26787 cat >conftest.
$ac_ext <<_ACEOF
26790 cat confdefs.h
>>conftest.
$ac_ext
26791 cat >>conftest.
$ac_ext <<_ACEOF
26792 /* end confdefs.h. */
26794 /* Override any gcc2 internal prototype to avoid an error. */
26798 /* We use char because int might match the return type of a gcc2
26799 builtin and then its argument prototype would still apply. */
26800 char SQLAllocEnv ();
26809 rm -f conftest.
$ac_objext conftest
$ac_exeext
26810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26811 (eval $ac_link) 2>conftest.er1
26813 grep -v '^ *+' conftest.er1
>conftest.err
26815 cat conftest.err
>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try
='test -z "$ac_c_werror_flag"
26819 || test ! -s conftest.err'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; } &&
26825 { ac_try
='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 ac_cv_lib_odbc_SQLAllocEnv
=yes
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.
$ac_ext >&5
26836 ac_cv_lib_odbc_SQLAllocEnv
=no
26838 rm -f conftest.err conftest.
$ac_objext \
26839 conftest
$ac_exeext conftest.
$ac_ext
26840 LIBS
=$ac_check_lib_save_LIBS
26842 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26843 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26844 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26845 ODBC_LINK
=" -lodbc"
26855 if test "x$ODBC_LINK" = "x" ; then
26856 if test "$wxUSE_ODBC" = "sys" ; then
26857 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26858 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26859 { (exit 1); exit 1; }; }
26861 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26862 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26869 if test "$wxUSE_ODBC" != "no" ; then
26870 cat >>confdefs.h
<<\_ACEOF
26871 #define wxUSE_ODBC 1
26874 if test "$wxUSE_ODBC" = "builtin" ; then
26875 cat >>confdefs.h
<<\_ACEOF
26876 #define wxUSE_BUILTIN_IODBC 1
26880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26882 WXODBCFLAG
="-D_IODBC_"
26886 if test "$wxUSE_REGEX" = "builtin" ; then
26887 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
26889 if test "$wxUSE_ZLIB" = "builtin" ; then
26890 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
26894 if test "$wxUSE_DISPLAY" = "yes"; then
26895 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
26896 echo "$as_me:$LINENO: checking for Xinerama" >&5
26897 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26900 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26902 for ac_extension
in a so sl dylib
; do
26903 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26904 ac_find_libraries
=$ac_dir
26910 if test "$ac_find_libraries" != "" ; then
26912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26914 if test $result = 0; then
26917 ac_path_to_link
=" -L$ac_find_libraries"
26920 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26921 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26923 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26924 echo "$as_me:$LINENO: result: yes" >&5
26925 echo "${ECHO_T}yes" >&6
26927 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26928 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26931 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26933 for ac_extension
in a so sl dylib
; do
26934 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26935 ac_find_libraries
=$ac_dir
26941 if test "$ac_find_libraries" != "" ; then
26942 echo "$as_me:$LINENO: result: yes" >&5
26943 echo "${ECHO_T}yes" >&6
26945 for ac_header
in X
11/extensions
/xf86vmode.h
26947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26948 echo "$as_me:$LINENO: checking for $ac_header" >&5
26949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26951 echo $ECHO_N "(cached) $ECHO_C" >&6
26953 cat >conftest.
$ac_ext <<_ACEOF
26956 cat confdefs.h
>>conftest.
$ac_ext
26957 cat >>conftest.
$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26960 #if HAVE_X11_XLIB_H
26961 #include <X11/Xlib.h>
26965 #include <$ac_header>
26967 rm -f conftest.
$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969 (eval $ac_compile) 2>conftest.er1
26971 grep -v '^ *+' conftest.er1
>conftest.err
26973 cat conftest.err
>&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try
='test -z "$ac_c_werror_flag"
26977 || test ! -s conftest.err'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; } &&
26983 { ac_try
='test -s conftest.$ac_objext'
26984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 (eval $ac_try) 2>&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 eval "$as_ac_Header=yes"
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.
$ac_ext >&5
26994 eval "$as_ac_Header=no"
26996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27001 cat >>confdefs.h
<<_ACEOF
27002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27005 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27012 echo "$as_me:$LINENO: result: no" >&5
27013 echo "${ECHO_T}no" >&6
27017 echo "$as_me:$LINENO: result: no" >&5
27018 echo "${ECHO_T}no" >&6
27019 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27020 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27023 elif test "$wxUSE_MSW" = 1; then
27026 for ac_header
in multimon.h ddraw.h
27028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27030 echo "$as_me:$LINENO: checking for $ac_header" >&5
27031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27033 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27038 # Is the header compilable?
27039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27041 cat >conftest.
$ac_ext <<_ACEOF
27044 cat confdefs.h
>>conftest.
$ac_ext
27045 cat >>conftest.
$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047 $ac_includes_default
27048 #include <$ac_header>
27050 rm -f conftest.
$ac_objext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27052 (eval $ac_compile) 2>conftest.er1
27054 grep -v '^ *+' conftest.er1
>conftest.err
27056 cat conftest.err
>&5
27057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058 (exit $ac_status); } &&
27059 { ac_try
='test -z "$ac_c_werror_flag"
27060 || test ! -s conftest.err'
27061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062 (eval $ac_try) 2>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); }; } &&
27066 { ac_try
='test -s conftest.$ac_objext'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; }; then
27072 ac_header_compiler
=yes
27074 echo "$as_me: failed program was:" >&5
27075 sed 's/^/| /' conftest.
$ac_ext >&5
27077 ac_header_compiler
=no
27079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27081 echo "${ECHO_T}$ac_header_compiler" >&6
27083 # Is the header present?
27084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27086 cat >conftest.
$ac_ext <<_ACEOF
27089 cat confdefs.h
>>conftest.
$ac_ext
27090 cat >>conftest.
$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <$ac_header>
27094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27097 grep -v '^ *+' conftest.er1
>conftest.err
27099 cat conftest.err
>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } >/dev
/null
; then
27102 if test -s conftest.err
; then
27103 ac_cpp_err
=$ac_c_preproc_warn_flag
27104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27111 if test -z "$ac_cpp_err"; then
27112 ac_header_preproc
=yes
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27117 ac_header_preproc
=no
27119 rm -f conftest.err conftest.
$ac_ext
27120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27121 echo "${ECHO_T}$ac_header_preproc" >&6
27123 # So? What about this header?
27124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27130 ac_header_preproc
=yes
27133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27147 ## ----------------------------------------- ##
27148 ## Report this to wx-dev@lists.wxwidgets.org ##
27149 ## ----------------------------------------- ##
27152 sed "s/^/$as_me: WARNING: /" >&2
27155 echo "$as_me:$LINENO: checking for $ac_header" >&5
27156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27160 eval "$as_ac_Header=\$ac_header_preproc"
27162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27167 cat >>confdefs.h
<<_ACEOF
27168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27174 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27175 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27186 if test "$wxUSE_OPENGL" = "yes"; then
27187 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27188 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27189 elif test "$wxUSE_MSW" = 1; then
27190 OPENGL_LIBS
="-lopengl32 -lglu32"
27195 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27197 if test -f "$ac_dir/GL/gl.h"; then
27198 ac_find_includes
=$ac_dir
27203 if test "$ac_find_includes" != "" ; then
27204 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27205 echo "${ECHO_T}found in $ac_find_includes" >&6
27207 if test "x$ac_find_includes" = "x/usr/include"; then
27208 ac_path_to_include
=""
27210 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27212 if test $result = 0; then
27213 ac_path_to_include
=""
27215 ac_path_to_include
=" -I$ac_find_includes"
27219 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27222 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27223 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27224 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27225 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27228 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27229 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27231 # Is the header compilable?
27232 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27233 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27234 cat >conftest.
$ac_ext <<_ACEOF
27237 cat confdefs.h
>>conftest.
$ac_ext
27238 cat >>conftest.
$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240 $ac_includes_default
27243 rm -f conftest.
$ac_objext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27245 (eval $ac_compile) 2>conftest.er1
27247 grep -v '^ *+' conftest.er1
>conftest.err
27249 cat conftest.err
>&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } &&
27252 { ac_try
='test -z "$ac_c_werror_flag"
27253 || test ! -s conftest.err'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; } &&
27259 { ac_try
='test -s conftest.$ac_objext'
27260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261 (eval $ac_try) 2>&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); }; }; then
27265 ac_header_compiler
=yes
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.
$ac_ext >&5
27270 ac_header_compiler
=no
27272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27273 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27274 echo "${ECHO_T}$ac_header_compiler" >&6
27276 # Is the header present?
27277 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27278 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27279 cat >conftest.
$ac_ext <<_ACEOF
27282 cat confdefs.h
>>conftest.
$ac_ext
27283 cat >>conftest.
$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27290 grep -v '^ *+' conftest.er1
>conftest.err
27292 cat conftest.err
>&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); } >/dev
/null
; then
27295 if test -s conftest.err
; then
27296 ac_cpp_err
=$ac_c_preproc_warn_flag
27297 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27304 if test -z "$ac_cpp_err"; then
27305 ac_header_preproc
=yes
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.
$ac_ext >&5
27310 ac_header_preproc
=no
27312 rm -f conftest.err conftest.
$ac_ext
27313 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27314 echo "${ECHO_T}$ac_header_preproc" >&6
27316 # So? What about this header?
27317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27319 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27320 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27321 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27322 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27323 ac_header_preproc
=yes
27326 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27327 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27328 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27329 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27330 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27331 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27332 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27333 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27334 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27335 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27336 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27337 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27340 ## ----------------------------------------- ##
27341 ## Report this to wx-dev@lists.wxwidgets.org ##
27342 ## ----------------------------------------- ##
27345 sed "s/^/$as_me: WARNING: /" >&2
27348 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27349 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27350 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27353 ac_cv_header_GL_gl_h
=$ac_header_preproc
27355 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27356 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27359 if test $ac_cv_header_GL_gl_h = yes; then
27363 echo "$as_me:$LINENO: checking for -lGL" >&5
27364 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27367 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27369 for ac_extension
in a so sl dylib
; do
27370 if test -f "$ac_dir/libGL.$ac_extension"; then
27371 ac_find_libraries
=$ac_dir
27377 if test "$ac_find_libraries" != "" ; then
27379 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27381 if test $result = 0; then
27384 ac_path_to_link
=" -L$ac_find_libraries"
27387 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27388 LDFLAGS_GL
="$ac_path_to_link"
27393 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27395 for ac_extension
in a so sl dylib
; do
27396 if test -f "$ac_dir/libGLU.$ac_extension"; then
27397 ac_find_libraries
=$ac_dir
27403 if test "$ac_find_libraries" != "" ; then
27405 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27407 if test $result = 0; then
27410 ac_path_to_link
=" -L$ac_find_libraries"
27413 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27414 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27415 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27419 OPENGL_LIBS
="-lGL -lGLU"
27420 echo "$as_me:$LINENO: result: yes" >&5
27421 echo "${ECHO_T}yes" >&6
27425 if test "$found_gl" != 1; then
27426 echo "$as_me:$LINENO: result: no" >&5
27427 echo "${ECHO_T}no" >&6
27428 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27429 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27432 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27434 for ac_extension
in a so sl dylib
; do
27435 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27436 ac_find_libraries
=$ac_dir
27442 if test "$ac_find_libraries" != "" ; then
27444 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27446 if test $result = 0; then
27449 ac_path_to_link
=" -L$ac_find_libraries"
27452 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27453 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27454 echo "$as_me:$LINENO: result: yes" >&5
27455 echo "${ECHO_T}yes" >&6
27457 echo "$as_me:$LINENO: result: no" >&5
27458 echo "${ECHO_T}no" >&6
27466 if test "x$OPENGL_LIBS" = "x"; then
27467 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27468 echo "$as_me: error: OpenGL libraries not available" >&2;}
27469 { (exit 1); exit 1; }; }
27473 if test "$wxUSE_OPENGL" = "yes"; then
27475 cat >>confdefs.h
<<\_ACEOF
27476 #define wxUSE_OPENGL 1
27479 cat >>confdefs.h
<<\_ACEOF
27480 #define wxUSE_GLCANVAS 1
27483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27487 if test -z "$TOOLKIT_VPATH" ; then
27488 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27491 if test -n "$TOOLKIT" ; then
27492 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27496 lib_unicode_suffix
=
27497 wxconfig_filename_unicode
="ansi"
27498 if test "$wxUSE_UNICODE" = "yes"; then
27499 lib_unicode_suffix
=u
27500 wxconfig_filename_unicode
="unicode"
27505 wxconfig_filename_debug
="release"
27507 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27509 wxconfig_filename_debug
="debug"
27514 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27518 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27520 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27521 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27523 WXCONFIG_DATA_FILE
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
27525 if test "$cross_compiling" = "yes"; then
27526 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27527 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27528 WXCONFIG_DATA_FILE
="${WXCONFIG_DATA_FILE}-${host_alias}"
27529 HOST_SUFFIX
="-${host_alias}"
27532 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27533 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27534 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27535 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27537 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27538 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27540 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27541 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27542 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27543 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27546 *-*-cygwin* | *-*-mingw32* )
27547 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27548 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27553 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27554 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27556 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27557 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27558 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27559 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27561 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27562 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27563 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27568 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27569 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27571 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27572 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27574 if test "$wxUSE_OPENGL" = "yes"; then
27575 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27576 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27581 if test "$wxUSE_SHARED" = "yes"; then
27585 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27586 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27592 if test "$wxUSE_SHARED" = "yes"; then
27596 found_versioning
=no
27599 if test $found_versioning = no
; then
27600 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27601 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27602 if test "${wx_cv_version_script+set}" = set; then
27603 echo $ECHO_N "(cached) $ECHO_C" >&6
27606 echo "VER_1 { *; };" >conftest.sym
27607 echo "int main() { return 0; }" >conftest.cpp
27610 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27611 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27613 (eval $ac_try) 2>&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); }; } ; then
27617 if test -s conftest.stderr
; then
27618 wx_cv_version_script
=no
27620 wx_cv_version_script
=yes
27623 wx_cv_version_script
=no
27625 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27628 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27629 echo "${ECHO_T}$wx_cv_version_script" >&6
27630 if test $wx_cv_version_script = yes ; then
27631 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27637 *-*-linux* | *-*-gnu* )
27638 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27642 if test "$GCC" = yes ; then
27643 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27645 saveLdflags
="$LDFLAGS"
27646 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27647 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27648 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27649 cat >conftest.
$ac_ext <<_ACEOF
27652 cat confdefs.h
>>conftest.
$ac_ext
27653 cat >>conftest.
$ac_ext <<_ACEOF
27654 /* end confdefs.h. */
27664 rm -f conftest.
$ac_objext conftest
$ac_exeext
27665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27666 (eval $ac_link) 2>conftest.er1
27668 grep -v '^ *+' conftest.er1
>conftest.err
27670 cat conftest.err
>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); } &&
27673 { ac_try
='test -z "$ac_c_werror_flag"
27674 || test ! -s conftest.err'
27675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27676 (eval $ac_try) 2>&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; } &&
27680 { ac_try
='test -s conftest$ac_exeext'
27681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27682 (eval $ac_try) 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; }; then
27687 echo "$as_me:$LINENO: result: yes" >&5
27688 echo "${ECHO_T}yes" >&6
27689 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.
$ac_ext >&5
27696 echo "$as_me:$LINENO: result: no" >&5
27697 echo "${ECHO_T}no" >&6
27698 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27699 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27700 LDFLAGS
="$saveLdflags -Wl,-R,/"
27701 cat >conftest.
$ac_ext <<_ACEOF
27704 cat confdefs.h
>>conftest.
$ac_ext
27705 cat >>conftest.
$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27716 rm -f conftest.
$ac_objext conftest
$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27720 grep -v '^ *+' conftest.er1
>conftest.err
27722 cat conftest.err
>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try
='test -z "$ac_c_werror_flag"
27726 || test ! -s conftest.err'
27727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728 (eval $ac_try) 2>&5
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; } &&
27732 { ac_try
='test -s conftest$ac_exeext'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; }; then
27739 echo "$as_me:$LINENO: result: yes" >&5
27740 echo "${ECHO_T}yes" >&6
27741 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.
$ac_ext >&5
27747 echo "$as_me:$LINENO: result: no" >&5
27748 echo "${ECHO_T}no" >&6
27751 rm -f conftest.err conftest.
$ac_objext \
27752 conftest
$ac_exeext conftest.
$ac_ext
27755 rm -f conftest.err conftest.
$ac_objext \
27756 conftest
$ac_exeext conftest.
$ac_ext
27757 LDFLAGS
="$saveLdflags"
27759 SHARED_LD
="${CXX} -G -o"
27761 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27765 powerpc
-*-darwin* )
27766 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27767 cat <<EOF >change-install-names
27769 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27770 inst_cmd="install_name_tool "
27771 for i in \${libnames} ; do
27772 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27776 chmod +x change
-install-names
27779 *-*-cygwin* | *-*-mingw32* )
27780 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27785 if test "x$WX_TARGET_LIBRARY" = "x"; then
27786 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27787 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27790 WX_TARGET_LIBRARY_TYPE
="so"
27791 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27794 if test "$wxUSE_SHARED" = "no"; then
27796 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27797 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27800 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27801 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27804 if test "$wxUSE_OPENGL" = "yes"; then
27805 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27806 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27808 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27811 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27812 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27814 WX_TARGET_LIBRARY_TYPE
="a"
27815 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27822 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27823 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27824 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27825 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27827 # Extract the first word of "Rez", so it can be a program name with args.
27828 set dummy Rez
; ac_word
=$2
27829 echo "$as_me:$LINENO: checking for $ac_word" >&5
27830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27831 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27832 echo $ECHO_N "(cached) $ECHO_C" >&6
27834 if test -n "$RESCOMP"; then
27835 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27838 for as_dir
in $PATH
27841 test -z "$as_dir" && as_dir
=.
27842 for ac_exec_ext
in '' $ac_executable_extensions; do
27843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27844 ac_cv_prog_RESCOMP
="Rez"
27845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27851 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27854 RESCOMP
=$ac_cv_prog_RESCOMP
27855 if test -n "$RESCOMP"; then
27856 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27857 echo "${ECHO_T}$RESCOMP" >&6
27859 echo "$as_me:$LINENO: result: no" >&5
27860 echo "${ECHO_T}no" >&6
27863 # Extract the first word of "DeRez", so it can be a program name with args.
27864 set dummy DeRez
; ac_word
=$2
27865 echo "$as_me:$LINENO: checking for $ac_word" >&5
27866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27867 if test "${ac_cv_prog_DEREZ+set}" = set; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 if test -n "$DEREZ"; then
27871 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27874 for as_dir
in $PATH
27877 test -z "$as_dir" && as_dir
=.
27878 for ac_exec_ext
in '' $ac_executable_extensions; do
27879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27880 ac_cv_prog_DEREZ
="DeRez"
27881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27887 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27890 DEREZ
=$ac_cv_prog_DEREZ
27891 if test -n "$DEREZ"; then
27892 echo "$as_me:$LINENO: result: $DEREZ" >&5
27893 echo "${ECHO_T}$DEREZ" >&6
27895 echo "$as_me:$LINENO: result: no" >&5
27896 echo "${ECHO_T}no" >&6
27899 # Extract the first word of "SetFile", so it can be a program name with args.
27900 set dummy SetFile
; ac_word
=$2
27901 echo "$as_me:$LINENO: checking for $ac_word" >&5
27902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27903 if test "${ac_cv_prog_SETFILE+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 if test -n "$SETFILE"; then
27907 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27910 for as_dir
in $PATH
27913 test -z "$as_dir" && as_dir
=.
27914 for ac_exec_ext
in '' $ac_executable_extensions; do
27915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27916 ac_cv_prog_SETFILE
="SetFile"
27917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27923 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27926 SETFILE
=$ac_cv_prog_SETFILE
27927 if test -n "$SETFILE"; then
27928 echo "$as_me:$LINENO: result: $SETFILE" >&5
27929 echo "${ECHO_T}$SETFILE" >&6
27931 echo "$as_me:$LINENO: result: no" >&5
27932 echo "${ECHO_T}no" >&6
27936 MACSETFILE
="\$(SETFILE)"
27938 if test "$wxUSE_MAC" = 1; then
27939 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27941 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27943 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27944 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27950 if test "$wxUSE_PM" = 1; then
27951 MACRESCOMP
="emxbind -ep"
27959 echo "$as_me:$LINENO: checking for mode_t" >&5
27960 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27961 if test "${ac_cv_type_mode_t+set}" = set; then
27962 echo $ECHO_N "(cached) $ECHO_C" >&6
27964 cat >conftest.
$ac_ext <<_ACEOF
27967 cat confdefs.h
>>conftest.
$ac_ext
27968 cat >>conftest.
$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970 $ac_includes_default
27976 if (sizeof (mode_t))
27982 rm -f conftest.
$ac_objext
27983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27984 (eval $ac_compile) 2>conftest.er1
27986 grep -v '^ *+' conftest.er1
>conftest.err
27988 cat conftest.err
>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } &&
27991 { ac_try
='test -z "$ac_c_werror_flag"
27992 || test ! -s conftest.err'
27993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27994 (eval $ac_try) 2>&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; } &&
27998 { ac_try
='test -s conftest.$ac_objext'
27999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28000 (eval $ac_try) 2>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); }; }; then
28004 ac_cv_type_mode_t
=yes
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.
$ac_ext >&5
28009 ac_cv_type_mode_t
=no
28011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28013 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28014 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28015 if test $ac_cv_type_mode_t = yes; then
28019 cat >>confdefs.h
<<_ACEOF
28025 echo "$as_me:$LINENO: checking for off_t" >&5
28026 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28027 if test "${ac_cv_type_off_t+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28030 cat >conftest.
$ac_ext <<_ACEOF
28033 cat confdefs.h
>>conftest.
$ac_ext
28034 cat >>conftest.
$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 $ac_includes_default
28042 if (sizeof (off_t))
28048 rm -f conftest.
$ac_objext
28049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28050 (eval $ac_compile) 2>conftest.er1
28052 grep -v '^ *+' conftest.er1
>conftest.err
28054 cat conftest.err
>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try
='test -z "$ac_c_werror_flag"
28058 || test ! -s conftest.err'
28059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28060 (eval $ac_try) 2>&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); }; } &&
28064 { ac_try
='test -s conftest.$ac_objext'
28065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28066 (eval $ac_try) 2>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; }; then
28070 ac_cv_type_off_t
=yes
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.
$ac_ext >&5
28075 ac_cv_type_off_t
=no
28077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28079 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28080 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28081 if test $ac_cv_type_off_t = yes; then
28085 cat >>confdefs.h
<<_ACEOF
28091 echo "$as_me:$LINENO: checking for pid_t" >&5
28092 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28093 if test "${ac_cv_type_pid_t+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 cat >conftest.
$ac_ext <<_ACEOF
28099 cat confdefs.h
>>conftest.
$ac_ext
28100 cat >>conftest.
$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102 $ac_includes_default
28108 if (sizeof (pid_t))
28114 rm -f conftest.
$ac_objext
28115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28116 (eval $ac_compile) 2>conftest.er1
28118 grep -v '^ *+' conftest.er1
>conftest.err
28120 cat conftest.err
>&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } &&
28123 { ac_try
='test -z "$ac_c_werror_flag"
28124 || test ! -s conftest.err'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; } &&
28130 { ac_try
='test -s conftest.$ac_objext'
28131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28132 (eval $ac_try) 2>&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); }; }; then
28136 ac_cv_type_pid_t
=yes
28138 echo "$as_me: failed program was:" >&5
28139 sed 's/^/| /' conftest.
$ac_ext >&5
28141 ac_cv_type_pid_t
=no
28143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28145 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28146 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28147 if test $ac_cv_type_pid_t = yes; then
28151 cat >>confdefs.h
<<_ACEOF
28157 echo "$as_me:$LINENO: checking for size_t" >&5
28158 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28159 if test "${ac_cv_type_size_t+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 cat >conftest.
$ac_ext <<_ACEOF
28165 cat confdefs.h
>>conftest.
$ac_ext
28166 cat >>conftest.
$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168 $ac_includes_default
28174 if (sizeof (size_t))
28180 rm -f conftest.
$ac_objext
28181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28182 (eval $ac_compile) 2>conftest.er1
28184 grep -v '^ *+' conftest.er1
>conftest.err
28186 cat conftest.err
>&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } &&
28189 { ac_try
='test -z "$ac_c_werror_flag"
28190 || test ! -s conftest.err'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try
='test -s conftest.$ac_objext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28202 ac_cv_type_size_t
=yes
28204 echo "$as_me: failed program was:" >&5
28205 sed 's/^/| /' conftest.
$ac_ext >&5
28207 ac_cv_type_size_t
=no
28209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28211 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28212 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28213 if test $ac_cv_type_size_t = yes; then
28217 cat >>confdefs.h
<<_ACEOF
28218 #define size_t unsigned
28223 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28224 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28225 if test "${ac_cv_type_uid_t+set}" = set; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 cat >conftest.
$ac_ext <<_ACEOF
28231 cat confdefs.h
>>conftest.
$ac_ext
28232 cat >>conftest.
$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 #include <sys/types.h>
28237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28238 $EGREP "uid_t" >/dev
/null
2>&1; then
28239 ac_cv_type_uid_t
=yes
28241 ac_cv_type_uid_t
=no
28246 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28247 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28248 if test $ac_cv_type_uid_t = no
; then
28250 cat >>confdefs.h
<<\_ACEOF
28255 cat >>confdefs.h
<<\_ACEOF
28265 ac_cpp
='$CXXCPP $CPPFLAGS'
28266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28270 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28271 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28272 if test "${wx_cv_size_t_is_uint+set}" = set; then
28273 echo $ECHO_N "(cached) $ECHO_C" >&6
28276 cat >conftest.
$ac_ext <<_ACEOF
28279 cat confdefs.h
>>conftest.
$ac_ext
28280 cat >>conftest.
$ac_ext <<_ACEOF
28281 /* end confdefs.h. */
28282 #include <stddef.h>
28289 struct Foo { void foo(size_t); void foo(unsigned int); };
28297 rm -f conftest.
$ac_objext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28299 (eval $ac_compile) 2>conftest.er1
28301 grep -v '^ *+' conftest.er1
>conftest.err
28303 cat conftest.err
>&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } &&
28306 { ac_try
='test -z "$ac_cxx_werror_flag"
28307 || test ! -s conftest.err'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; } &&
28313 { ac_try
='test -s conftest.$ac_objext'
28314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315 (eval $ac_try) 2>&5
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 (exit $ac_status); }; }; then
28319 wx_cv_size_t_is_uint
=no
28321 echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.
$ac_ext >&5
28324 wx_cv_size_t_is_uint
=yes
28327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28331 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28332 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28334 if test "$wx_cv_size_t_is_uint" = "yes"; then
28335 cat >>confdefs.h
<<\_ACEOF
28336 #define wxSIZE_T_IS_UINT 1
28340 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28341 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28342 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28345 cat >conftest.
$ac_ext <<_ACEOF
28348 cat confdefs.h
>>conftest.
$ac_ext
28349 cat >>conftest.
$ac_ext <<_ACEOF
28350 /* end confdefs.h. */
28351 #include <stddef.h>
28358 struct Foo { void foo(size_t); void foo(unsigned long); };
28366 rm -f conftest.
$ac_objext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28368 (eval $ac_compile) 2>conftest.er1
28370 grep -v '^ *+' conftest.er1
>conftest.err
28372 cat conftest.err
>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); } &&
28375 { ac_try
='test -z "$ac_cxx_werror_flag"
28376 || test ! -s conftest.err'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; } &&
28382 { ac_try
='test -s conftest.$ac_objext'
28383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28384 (eval $ac_try) 2>&5
28386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387 (exit $ac_status); }; }; then
28388 wx_cv_size_t_is_ulong
=no
28390 echo "$as_me: failed program was:" >&5
28391 sed 's/^/| /' conftest.
$ac_ext >&5
28393 wx_cv_size_t_is_ulong
=yes
28396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28399 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28400 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28402 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28403 cat >>confdefs.h
<<\_ACEOF
28404 #define wxSIZE_T_IS_ULONG 1
28411 ac_cpp
='$CPP $CPPFLAGS'
28412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28418 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28419 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28420 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 cat >conftest.
$ac_ext <<_ACEOF
28427 cat confdefs.h
>>conftest.
$ac_ext
28428 cat >>conftest.
$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28443 rm -f conftest.
$ac_objext
28444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28445 (eval $ac_compile) 2>conftest.er1
28447 grep -v '^ *+' conftest.er1
>conftest.err
28449 cat conftest.err
>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try
='test -z "$ac_c_werror_flag"
28453 || test ! -s conftest.err'
28454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28455 (eval $ac_try) 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); }; } &&
28459 { ac_try
='test -s conftest.$ac_objext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28466 wx_cv_struct_pw_gecos
=yes
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.
$ac_ext >&5
28473 wx_cv_struct_pw_gecos
=no
28477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28481 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28482 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28484 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28485 cat >>confdefs.h
<<\_ACEOF
28486 #define HAVE_PW_GECOS 1
28492 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28493 cat >>confdefs.h
<<\_ACEOF
28494 #define wxUSE_WCHAR_T 1
28501 for ac_func
in wcslen
28503 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28504 echo "$as_me:$LINENO: checking for $ac_func" >&5
28505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28506 if eval "test \"\${$as_ac_var+set}\" = set"; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28509 cat >conftest.
$ac_ext <<_ACEOF
28512 cat confdefs.h
>>conftest.
$ac_ext
28513 cat >>conftest.
$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28517 #define $ac_func innocuous_$ac_func
28519 /* System header to define __stub macros and hopefully few prototypes,
28520 which can conflict with char $ac_func (); below.
28521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28522 <limits.h> exists even on freestanding compilers. */
28525 # include <limits.h>
28527 # include <assert.h>
28532 /* Override any gcc2 internal prototype to avoid an error. */
28537 /* We use char because int might match the return type of a gcc2
28538 builtin and then its argument prototype would still apply. */
28540 /* The GNU C library defines this for functions which it implements
28541 to always fail with ENOSYS. Some functions are actually named
28542 something starting with __ and the normal name is an alias. */
28543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28546 char (*f) () = $ac_func;
28555 return f != $ac_func;
28560 rm -f conftest.
$ac_objext conftest
$ac_exeext
28561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28562 (eval $ac_link) 2>conftest.er1
28564 grep -v '^ *+' conftest.er1
>conftest.err
28566 cat conftest.err
>&5
28567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28568 (exit $ac_status); } &&
28569 { ac_try
='test -z "$ac_c_werror_flag"
28570 || test ! -s conftest.err'
28571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28572 (eval $ac_try) 2>&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); }; } &&
28576 { ac_try
='test -s conftest$ac_exeext'
28577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28578 (eval $ac_try) 2>&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); }; }; then
28582 eval "$as_ac_var=yes"
28584 echo "$as_me: failed program was:" >&5
28585 sed 's/^/| /' conftest.
$ac_ext >&5
28587 eval "$as_ac_var=no"
28589 rm -f conftest.err conftest.
$ac_objext \
28590 conftest
$ac_exeext conftest.
$ac_ext
28592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28594 if test `eval echo '${'$as_ac_var'}'` = yes; then
28595 cat >>confdefs.h
<<_ACEOF
28596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28603 if test "$WCSLEN_FOUND" = 0; then
28604 if test "$TOOLKIT" = "MSW"; then
28605 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28606 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28607 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28608 echo $ECHO_N "(cached) $ECHO_C" >&6
28610 ac_check_lib_save_LIBS
=$LIBS
28611 LIBS
="-lmsvcrt $LIBS"
28612 cat >conftest.
$ac_ext <<_ACEOF
28615 cat confdefs.h
>>conftest.
$ac_ext
28616 cat >>conftest.
$ac_ext <<_ACEOF
28617 /* end confdefs.h. */
28619 /* Override any gcc2 internal prototype to avoid an error. */
28623 /* We use char because int might match the return type of a gcc2
28624 builtin and then its argument prototype would still apply. */
28634 rm -f conftest.
$ac_objext conftest
$ac_exeext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28636 (eval $ac_link) 2>conftest.er1
28638 grep -v '^ *+' conftest.er1
>conftest.err
28640 cat conftest.err
>&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try
='test -z "$ac_c_werror_flag"
28644 || test ! -s conftest.err'
28645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28646 (eval $ac_try) 2>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); }; } &&
28650 { ac_try
='test -s conftest$ac_exeext'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; }; then
28656 ac_cv_lib_msvcrt_wcslen
=yes
28658 echo "$as_me: failed program was:" >&5
28659 sed 's/^/| /' conftest.
$ac_ext >&5
28661 ac_cv_lib_msvcrt_wcslen
=no
28663 rm -f conftest.err conftest.
$ac_objext \
28664 conftest
$ac_exeext conftest.
$ac_ext
28665 LIBS
=$ac_check_lib_save_LIBS
28667 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28668 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28669 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28674 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28675 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28676 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28677 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 ac_check_lib_save_LIBS
=$LIBS
28681 cat >conftest.
$ac_ext <<_ACEOF
28684 cat confdefs.h
>>conftest.
$ac_ext
28685 cat >>conftest.
$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28688 /* Override any gcc2 internal prototype to avoid an error. */
28692 /* We use char because int might match the return type of a gcc2
28693 builtin and then its argument prototype would still apply. */
28703 rm -f conftest.
$ac_objext conftest
$ac_exeext
28704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28705 (eval $ac_link) 2>conftest.er1
28707 grep -v '^ *+' conftest.er1
>conftest.err
28709 cat conftest.err
>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try
='test -z "$ac_c_werror_flag"
28713 || test ! -s conftest.err'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; } &&
28719 { ac_try
='test -s conftest$ac_exeext'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; }; then
28725 ac_cv_lib_w_wcslen
=yes
28727 echo "$as_me: failed program was:" >&5
28728 sed 's/^/| /' conftest.
$ac_ext >&5
28730 ac_cv_lib_w_wcslen
=no
28732 rm -f conftest.err conftest.
$ac_objext \
28733 conftest
$ac_exeext conftest.
$ac_ext
28734 LIBS
=$ac_check_lib_save_LIBS
28736 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28737 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28738 if test $ac_cv_lib_w_wcslen = yes; then
28748 if test "$WCSLEN_FOUND" = 1; then
28749 cat >>confdefs.h
<<\_ACEOF
28750 #define HAVE_WCSLEN 1
28755 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28756 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28760 for ac_func
in wcsrtombs
28762 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28763 echo "$as_me:$LINENO: checking for $ac_func" >&5
28764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28765 if eval "test \"\${$as_ac_var+set}\" = set"; then
28766 echo $ECHO_N "(cached) $ECHO_C" >&6
28768 cat >conftest.
$ac_ext <<_ACEOF
28771 cat confdefs.h
>>conftest.
$ac_ext
28772 cat >>conftest.
$ac_ext <<_ACEOF
28773 /* end confdefs.h. */
28774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28776 #define $ac_func innocuous_$ac_func
28778 /* System header to define __stub macros and hopefully few prototypes,
28779 which can conflict with char $ac_func (); below.
28780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28781 <limits.h> exists even on freestanding compilers. */
28784 # include <limits.h>
28786 # include <assert.h>
28791 /* Override any gcc2 internal prototype to avoid an error. */
28796 /* We use char because int might match the return type of a gcc2
28797 builtin and then its argument prototype would still apply. */
28799 /* The GNU C library defines this for functions which it implements
28800 to always fail with ENOSYS. Some functions are actually named
28801 something starting with __ and the normal name is an alias. */
28802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28805 char (*f) () = $ac_func;
28814 return f != $ac_func;
28819 rm -f conftest.
$ac_objext conftest
$ac_exeext
28820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28821 (eval $ac_link) 2>conftest.er1
28823 grep -v '^ *+' conftest.er1
>conftest.err
28825 cat conftest.err
>&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); } &&
28828 { ac_try
='test -z "$ac_c_werror_flag"
28829 || test ! -s conftest.err'
28830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28831 (eval $ac_try) 2>&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); }; } &&
28835 { ac_try
='test -s conftest$ac_exeext'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; }; then
28841 eval "$as_ac_var=yes"
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.
$ac_ext >&5
28846 eval "$as_ac_var=no"
28848 rm -f conftest.err conftest.
$ac_objext \
28849 conftest
$ac_exeext conftest.
$ac_ext
28851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28853 if test `eval echo '${'$as_ac_var'}'` = yes; then
28854 cat >>confdefs.h
<<_ACEOF
28855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28862 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28863 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28869 ac_cpp
='$CXXCPP $CPPFLAGS'
28870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28876 for ac_func
in vsnprintf
28878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28879 echo "$as_me:$LINENO: checking for $ac_func" >&5
28880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28881 if eval "test \"\${$as_ac_var+set}\" = set"; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28884 cat >conftest.
$ac_ext <<_ACEOF
28887 cat confdefs.h
>>conftest.
$ac_ext
28888 cat >>conftest.
$ac_ext <<_ACEOF
28889 /* end confdefs.h. */
28890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28892 #define $ac_func innocuous_$ac_func
28894 /* System header to define __stub macros and hopefully few prototypes,
28895 which can conflict with char $ac_func (); below.
28896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28897 <limits.h> exists even on freestanding compilers. */
28900 # include <limits.h>
28902 # include <assert.h>
28907 /* Override any gcc2 internal prototype to avoid an error. */
28912 /* We use char because int might match the return type of a gcc2
28913 builtin and then its argument prototype would still apply. */
28915 /* The GNU C library defines this for functions which it implements
28916 to always fail with ENOSYS. Some functions are actually named
28917 something starting with __ and the normal name is an alias. */
28918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28921 char (*f) () = $ac_func;
28930 return f != $ac_func;
28935 rm -f conftest.
$ac_objext conftest
$ac_exeext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28937 (eval $ac_link) 2>conftest.er1
28939 grep -v '^ *+' conftest.er1
>conftest.err
28941 cat conftest.err
>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try
='test -z "$ac_cxx_werror_flag"
28945 || test ! -s conftest.err'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; } &&
28951 { ac_try
='test -s conftest$ac_exeext'
28952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28953 (eval $ac_try) 2>&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); }; }; then
28957 eval "$as_ac_var=yes"
28959 echo "$as_me: failed program was:" >&5
28960 sed 's/^/| /' conftest.
$ac_ext >&5
28962 eval "$as_ac_var=no"
28964 rm -f conftest.err conftest.
$ac_objext \
28965 conftest
$ac_exeext conftest.
$ac_ext
28967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28969 if test `eval echo '${'$as_ac_var'}'` = yes; then
28970 cat >>confdefs.h
<<_ACEOF
28971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28978 if test "$ac_cv_func_vsnprintf" = "yes"; then
28979 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28980 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28981 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28982 echo $ECHO_N "(cached) $ECHO_C" >&6
28985 cat >conftest.
$ac_ext <<_ACEOF
28988 cat confdefs.h
>>conftest.
$ac_ext
28989 cat >>conftest.
$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28993 #include <stdarg.h>
29001 vsnprintf(buf, 10u, "%s", ap);
29007 rm -f conftest.
$ac_objext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29009 (eval $ac_compile) 2>conftest.er1
29011 grep -v '^ *+' conftest.er1
>conftest.err
29013 cat conftest.err
>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } &&
29016 { ac_try
='test -z "$ac_cxx_werror_flag"
29017 || test ! -s conftest.err'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; } &&
29023 { ac_try
='test -s conftest.$ac_objext'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; }; then
29029 wx_cv_func_vsnprintf_decl
=yes
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.
$ac_ext >&5
29034 wx_cv_func_vsnprintf_decl
=no
29037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29041 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29042 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29044 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29045 cat >>confdefs.h
<<\_ACEOF
29046 #define HAVE_VSNPRINTF_DECL 1
29052 if test "$wxUSE_UNICODE" = yes; then
29059 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29062 echo "$as_me:$LINENO: checking for $ac_func" >&5
29063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29064 if eval "test \"\${$as_ac_var+set}\" = set"; then
29065 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 cat >conftest.
$ac_ext <<_ACEOF
29070 cat confdefs.h
>>conftest.
$ac_ext
29071 cat >>conftest.
$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29075 #define $ac_func innocuous_$ac_func
29077 /* System header to define __stub macros and hopefully few prototypes,
29078 which can conflict with char $ac_func (); below.
29079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29080 <limits.h> exists even on freestanding compilers. */
29083 # include <limits.h>
29085 # include <assert.h>
29090 /* Override any gcc2 internal prototype to avoid an error. */
29095 /* We use char because int might match the return type of a gcc2
29096 builtin and then its argument prototype would still apply. */
29098 /* The GNU C library defines this for functions which it implements
29099 to always fail with ENOSYS. Some functions are actually named
29100 something starting with __ and the normal name is an alias. */
29101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29104 char (*f) () = $ac_func;
29113 return f != $ac_func;
29118 rm -f conftest.
$ac_objext conftest
$ac_exeext
29119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29120 (eval $ac_link) 2>conftest.er1
29122 grep -v '^ *+' conftest.er1
>conftest.err
29124 cat conftest.err
>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } &&
29127 { ac_try
='test -z "$ac_cxx_werror_flag"
29128 || test ! -s conftest.err'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; } &&
29134 { ac_try
='test -s conftest$ac_exeext'
29135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29136 (eval $ac_try) 2>&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); }; }; then
29140 eval "$as_ac_var=yes"
29142 echo "$as_me: failed program was:" >&5
29143 sed 's/^/| /' conftest.
$ac_ext >&5
29145 eval "$as_ac_var=no"
29147 rm -f conftest.err conftest.
$ac_objext \
29148 conftest
$ac_exeext conftest.
$ac_ext
29150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29152 if test `eval echo '${'$as_ac_var'}'` = yes; then
29153 cat >>confdefs.h
<<_ACEOF
29154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29161 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29162 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29163 cat >conftest.
$ac_ext <<_ACEOF
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29178 rm -f conftest.
$ac_objext
29179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29180 (eval $ac_compile) 2>conftest.er1
29182 grep -v '^ *+' conftest.er1
>conftest.err
29184 cat conftest.err
>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } &&
29187 { ac_try
='test -z "$ac_cxx_werror_flag"
29188 || test ! -s conftest.err'
29189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29190 (eval $ac_try) 2>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); }; } &&
29194 { ac_try
='test -s conftest.$ac_objext'
29195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29196 (eval $ac_try) 2>&5
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); }; }; then
29200 echo "$as_me:$LINENO: result: yes" >&5
29201 echo "${ECHO_T}yes" >&6
29202 cat >>confdefs.h
<<\_ACEOF
29203 #define HAVE__VSNWPRINTF 1
29207 echo "$as_me: failed program was:" >&5
29208 sed 's/^/| /' conftest.
$ac_ext >&5
29210 echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6
29213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29217 ac_cpp
='$CPP $CPPFLAGS'
29218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29225 if test "$TOOLKIT" != "MSW"; then
29231 ac_cpp
='$CXXCPP $CPPFLAGS'
29232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29239 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29240 if test "${with_libiconv_prefix+set}" = set; then
29241 withval
="$with_libiconv_prefix"
29243 for dir
in `echo "$withval" | tr : ' '`; do
29244 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29245 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29250 echo "$as_me:$LINENO: checking for iconv" >&5
29251 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29252 if test "${am_cv_func_iconv+set}" = set; then
29253 echo $ECHO_N "(cached) $ECHO_C" >&6
29256 am_cv_func_iconv
="no, consider installing GNU libiconv"
29258 cat >conftest.
$ac_ext <<_ACEOF
29261 cat confdefs.h
>>conftest.
$ac_ext
29262 cat >>conftest.
$ac_ext <<_ACEOF
29263 /* end confdefs.h. */
29264 #include <stdlib.h>
29269 iconv_t cd = iconv_open("","");
29270 iconv(cd,NULL,NULL,NULL,NULL);
29276 rm -f conftest.
$ac_objext conftest
$ac_exeext
29277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29278 (eval $ac_link) 2>conftest.er1
29280 grep -v '^ *+' conftest.er1
>conftest.err
29282 cat conftest.err
>&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } &&
29285 { ac_try
='test -z "$ac_cxx_werror_flag"
29286 || test ! -s conftest.err'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; } &&
29292 { ac_try
='test -s conftest$ac_exeext'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; }; then
29298 am_cv_func_iconv
=yes
29300 echo "$as_me: failed program was:" >&5
29301 sed 's/^/| /' conftest.
$ac_ext >&5
29304 rm -f conftest.err conftest.
$ac_objext \
29305 conftest
$ac_exeext conftest.
$ac_ext
29306 if test "$am_cv_func_iconv" != yes; then
29307 am_save_LIBS
="$LIBS"
29308 LIBS
="$LIBS -liconv"
29309 cat >conftest.
$ac_ext <<_ACEOF
29312 cat confdefs.h
>>conftest.
$ac_ext
29313 cat >>conftest.
$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315 #include <stdlib.h>
29320 iconv_t cd = iconv_open("","");
29321 iconv(cd,NULL,NULL,NULL,NULL);
29327 rm -f conftest.
$ac_objext conftest
$ac_exeext
29328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29329 (eval $ac_link) 2>conftest.er1
29331 grep -v '^ *+' conftest.er1
>conftest.err
29333 cat conftest.err
>&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } &&
29336 { ac_try
='test -z "$ac_cxx_werror_flag"
29337 || test ! -s conftest.err'
29338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29339 (eval $ac_try) 2>&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); }; } &&
29343 { ac_try
='test -s conftest$ac_exeext'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; }; then
29349 am_cv_lib_iconv
=yes
29350 am_cv_func_iconv
=yes
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.
$ac_ext >&5
29356 rm -f conftest.err conftest.
$ac_objext \
29357 conftest
$ac_exeext conftest.
$ac_ext
29358 LIBS
="$am_save_LIBS"
29362 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29363 echo "${ECHO_T}$am_cv_func_iconv" >&6
29364 if test "$am_cv_func_iconv" = yes; then
29366 cat >>confdefs.h
<<\_ACEOF
29367 #define HAVE_ICONV 1
29370 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29371 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29372 if test "${wx_cv_func_iconv_const+set}" = set; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 cat >conftest.
$ac_ext <<_ACEOF
29378 cat confdefs.h
>>conftest.
$ac_ext
29379 cat >>conftest.
$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29382 #include <stdlib.h>
29388 #if defined(__STDC__) || defined(__cplusplus)
29389 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29402 rm -f conftest.
$ac_objext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29404 (eval $ac_compile) 2>conftest.er1
29406 grep -v '^ *+' conftest.er1
>conftest.err
29408 cat conftest.err
>&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try
='test -z "$ac_cxx_werror_flag"
29412 || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try
='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 wx_cv_func_iconv_const
="no"
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.
$ac_ext >&5
29429 wx_cv_func_iconv_const
="yes"
29432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29435 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29436 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29439 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29440 iconv_const
="const"
29444 cat >>confdefs.h
<<_ACEOF
29445 #define ICONV_CONST $iconv_const
29450 if test "$am_cv_lib_iconv" = yes; then
29455 LIBS
="$LIBICONV $LIBS"
29457 ac_cpp
='$CPP $CPPFLAGS'
29458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29463 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29465 for ac_func
in sigaction
29467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29468 echo "$as_me:$LINENO: checking for $ac_func" >&5
29469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29470 if eval "test \"\${$as_ac_var+set}\" = set"; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29473 cat >conftest.
$ac_ext <<_ACEOF
29476 cat confdefs.h
>>conftest.
$ac_ext
29477 cat >>conftest.
$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29481 #define $ac_func innocuous_$ac_func
29483 /* System header to define __stub macros and hopefully few prototypes,
29484 which can conflict with char $ac_func (); below.
29485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29486 <limits.h> exists even on freestanding compilers. */
29489 # include <limits.h>
29491 # include <assert.h>
29496 /* Override any gcc2 internal prototype to avoid an error. */
29501 /* We use char because int might match the return type of a gcc2
29502 builtin and then its argument prototype would still apply. */
29504 /* The GNU C library defines this for functions which it implements
29505 to always fail with ENOSYS. Some functions are actually named
29506 something starting with __ and the normal name is an alias. */
29507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29510 char (*f) () = $ac_func;
29519 return f != $ac_func;
29524 rm -f conftest.
$ac_objext conftest
$ac_exeext
29525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29526 (eval $ac_link) 2>conftest.er1
29528 grep -v '^ *+' conftest.er1
>conftest.err
29530 cat conftest.err
>&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } &&
29533 { ac_try
='test -z "$ac_c_werror_flag"
29534 || test ! -s conftest.err'
29535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29536 (eval $ac_try) 2>&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; } &&
29540 { ac_try
='test -s conftest$ac_exeext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29546 eval "$as_ac_var=yes"
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.
$ac_ext >&5
29551 eval "$as_ac_var=no"
29553 rm -f conftest.err conftest.
$ac_objext \
29554 conftest
$ac_exeext conftest.
$ac_ext
29556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29558 if test `eval echo '${'$as_ac_var'}'` = yes; then
29559 cat >>confdefs.h
<<_ACEOF
29560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29567 if test "$ac_cv_func_sigaction" = "no"; then
29568 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29569 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29570 wxUSE_ON_FATAL_EXCEPTION
=no
29573 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29577 ac_cpp
='$CXXCPP $CPPFLAGS'
29578 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29583 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29584 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29585 if test "${wx_cv_type_sa_handler+set}" = set; then
29586 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 cat >conftest.
$ac_ext <<_ACEOF
29592 cat confdefs.h
>>conftest.
$ac_ext
29593 cat >>conftest.
$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 #include <signal.h>
29600 extern void testSigHandler(int);
29602 struct sigaction sa;
29603 sa.sa_handler = testSigHandler;
29609 rm -f conftest.
$ac_objext
29610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29611 (eval $ac_compile) 2>conftest.er1
29613 grep -v '^ *+' conftest.er1
>conftest.err
29615 cat conftest.err
>&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } &&
29618 { ac_try
='test -z "$ac_cxx_werror_flag"
29619 || test ! -s conftest.err'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; } &&
29625 { ac_try
='test -s conftest.$ac_objext'
29626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29627 (eval $ac_try) 2>&5
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); }; }; then
29632 wx_cv_type_sa_handler
=int
29635 echo "$as_me: failed program was:" >&5
29636 sed 's/^/| /' conftest.
$ac_ext >&5
29639 wx_cv_type_sa_handler
=void
29642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29645 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29646 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29649 ac_cpp
='$CPP $CPPFLAGS'
29650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29655 cat >>confdefs.h
<<_ACEOF
29656 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29664 for ac_func
in mkstemp mktemp
29666 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29667 echo "$as_me:$LINENO: checking for $ac_func" >&5
29668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29669 if eval "test \"\${$as_ac_var+set}\" = set"; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 cat >conftest.
$ac_ext <<_ACEOF
29675 cat confdefs.h
>>conftest.
$ac_ext
29676 cat >>conftest.
$ac_ext <<_ACEOF
29677 /* end confdefs.h. */
29678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29680 #define $ac_func innocuous_$ac_func
29682 /* System header to define __stub macros and hopefully few prototypes,
29683 which can conflict with char $ac_func (); below.
29684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29685 <limits.h> exists even on freestanding compilers. */
29688 # include <limits.h>
29690 # include <assert.h>
29695 /* Override any gcc2 internal prototype to avoid an error. */
29700 /* We use char because int might match the return type of a gcc2
29701 builtin and then its argument prototype would still apply. */
29703 /* The GNU C library defines this for functions which it implements
29704 to always fail with ENOSYS. Some functions are actually named
29705 something starting with __ and the normal name is an alias. */
29706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29709 char (*f) () = $ac_func;
29718 return f != $ac_func;
29723 rm -f conftest.
$ac_objext conftest
$ac_exeext
29724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29725 (eval $ac_link) 2>conftest.er1
29727 grep -v '^ *+' conftest.er1
>conftest.err
29729 cat conftest.err
>&5
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); } &&
29732 { ac_try
='test -z "$ac_c_werror_flag"
29733 || test ! -s conftest.err'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; } &&
29739 { ac_try
='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 eval "$as_ac_var=yes"
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.
$ac_ext >&5
29750 eval "$as_ac_var=no"
29752 rm -f conftest.err conftest.
$ac_objext \
29753 conftest
$ac_exeext conftest.
$ac_ext
29755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29757 if test `eval echo '${'$as_ac_var'}'` = yes; then
29758 cat >>confdefs.h
<<_ACEOF
29759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29766 echo "$as_me:$LINENO: checking for statfs" >&5
29767 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29768 if test "${wx_cv_func_statfs+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29771 cat >conftest.
$ac_ext <<_ACEOF
29774 cat confdefs.h
>>conftest.
$ac_ext
29775 cat >>conftest.
$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29778 #if defined(__BSD__)
29779 #include <sys/param.h>
29780 #include <sys/mount.h>
29782 #include <sys/vfs.h>
29800 rm -f conftest.
$ac_objext
29801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29802 (eval $ac_compile) 2>conftest.er1
29804 grep -v '^ *+' conftest.er1
>conftest.err
29806 cat conftest.err
>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } &&
29809 { ac_try
='test -z "$ac_c_werror_flag"
29810 || test ! -s conftest.err'
29811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29812 (eval $ac_try) 2>&5
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; } &&
29816 { ac_try
='test -s conftest.$ac_objext'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; }; then
29823 wx_cv_func_statfs
=yes
29826 echo "$as_me: failed program was:" >&5
29827 sed 's/^/| /' conftest.
$ac_ext >&5
29830 wx_cv_func_statfs
=no
29834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29837 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29838 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29840 if test "$wx_cv_func_statfs" = "yes"; then
29841 wx_cv_type_statvfs_t
="struct statfs"
29842 cat >>confdefs.h
<<\_ACEOF
29843 #define HAVE_STATFS 1
29847 echo "$as_me:$LINENO: checking for statvfs" >&5
29848 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29849 if test "${wx_cv_func_statvfs+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29852 cat >conftest.
$ac_ext <<_ACEOF
29855 cat confdefs.h
>>conftest.
$ac_ext
29856 cat >>conftest.
$ac_ext <<_ACEOF
29857 /* end confdefs.h. */
29859 #include <stddef.h>
29860 #include <sys/statvfs.h>
29866 statvfs("/", NULL);
29872 rm -f conftest.
$ac_objext
29873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29874 (eval $ac_compile) 2>conftest.er1
29876 grep -v '^ *+' conftest.er1
>conftest.err
29878 cat conftest.err
>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try
='test -z "$ac_c_werror_flag"
29882 || test ! -s conftest.err'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; } &&
29888 { ac_try
='test -s conftest.$ac_objext'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; }; then
29894 wx_cv_func_statvfs
=yes
29896 echo "$as_me: failed program was:" >&5
29897 sed 's/^/| /' conftest.
$ac_ext >&5
29899 wx_cv_func_statvfs
=no
29902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29905 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29906 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29908 if test "$wx_cv_func_statvfs" = "yes"; then
29912 ac_cpp
='$CXXCPP $CPPFLAGS'
29913 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29918 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29919 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29920 if test "${wx_cv_type_statvfs_t+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29923 cat >conftest.
$ac_ext <<_ACEOF
29926 cat confdefs.h
>>conftest.
$ac_ext
29927 cat >>conftest.
$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29930 #include <sys/statvfs.h>
29947 rm -f conftest.
$ac_objext
29948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29949 (eval $ac_compile) 2>conftest.er1
29951 grep -v '^ *+' conftest.er1
>conftest.err
29953 cat conftest.err
>&5
29954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29955 (exit $ac_status); } &&
29956 { ac_try
='test -z "$ac_cxx_werror_flag"
29957 || test ! -s conftest.err'
29958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29959 (eval $ac_try) 2>&5
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); }; } &&
29963 { ac_try
='test -s conftest.$ac_objext'
29964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29965 (eval $ac_try) 2>&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); }; }; then
29969 wx_cv_type_statvfs_t
=statvfs_t
29971 echo "$as_me: failed program was:" >&5
29972 sed 's/^/| /' conftest.
$ac_ext >&5
29975 cat >conftest.
$ac_ext <<_ACEOF
29978 cat confdefs.h
>>conftest.
$ac_ext
29979 cat >>conftest.
$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29982 #include <sys/statvfs.h>
29999 rm -f conftest.
$ac_objext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30001 (eval $ac_compile) 2>conftest.er1
30003 grep -v '^ *+' conftest.er1
>conftest.err
30005 cat conftest.err
>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); } &&
30008 { ac_try
='test -z "$ac_cxx_werror_flag"
30009 || test ! -s conftest.err'
30010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 (eval $ac_try) 2>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; } &&
30015 { ac_try
='test -s conftest.$ac_objext'
30016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30017 (eval $ac_try) 2>&5
30019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30020 (exit $ac_status); }; }; then
30021 wx_cv_type_statvfs_t
="struct statvfs"
30023 echo "$as_me: failed program was:" >&5
30024 sed 's/^/| /' conftest.
$ac_ext >&5
30026 wx_cv_type_statvfs_t
="unknown"
30029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30036 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30037 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30040 ac_cpp
='$CPP $CPPFLAGS'
30041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30046 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30047 cat >>confdefs.h
<<\_ACEOF
30048 #define HAVE_STATVFS 1
30053 wx_cv_type_statvfs_t
="unknown"
30057 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30058 cat >>confdefs.h
<<_ACEOF
30059 #define WX_STATFS_T $wx_cv_type_statvfs_t
30063 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30064 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30067 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30070 for ac_func
in fcntl flock
30072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30073 echo "$as_me:$LINENO: checking for $ac_func" >&5
30074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30075 if eval "test \"\${$as_ac_var+set}\" = set"; then
30076 echo $ECHO_N "(cached) $ECHO_C" >&6
30078 cat >conftest.
$ac_ext <<_ACEOF
30081 cat confdefs.h
>>conftest.
$ac_ext
30082 cat >>conftest.
$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30086 #define $ac_func innocuous_$ac_func
30088 /* System header to define __stub macros and hopefully few prototypes,
30089 which can conflict with char $ac_func (); below.
30090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30091 <limits.h> exists even on freestanding compilers. */
30094 # include <limits.h>
30096 # include <assert.h>
30101 /* Override any gcc2 internal prototype to avoid an error. */
30106 /* We use char because int might match the return type of a gcc2
30107 builtin and then its argument prototype would still apply. */
30109 /* The GNU C library defines this for functions which it implements
30110 to always fail with ENOSYS. Some functions are actually named
30111 something starting with __ and the normal name is an alias. */
30112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30115 char (*f) () = $ac_func;
30124 return f != $ac_func;
30129 rm -f conftest.
$ac_objext conftest
$ac_exeext
30130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30131 (eval $ac_link) 2>conftest.er1
30133 grep -v '^ *+' conftest.er1
>conftest.err
30135 cat conftest.err
>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } &&
30138 { ac_try
='test -z "$ac_c_werror_flag"
30139 || test ! -s conftest.err'
30140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30141 (eval $ac_try) 2>&5
30143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144 (exit $ac_status); }; } &&
30145 { ac_try
='test -s conftest$ac_exeext'
30146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30147 (eval $ac_try) 2>&5
30149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30150 (exit $ac_status); }; }; then
30151 eval "$as_ac_var=yes"
30153 echo "$as_me: failed program was:" >&5
30154 sed 's/^/| /' conftest.
$ac_ext >&5
30156 eval "$as_ac_var=no"
30158 rm -f conftest.err conftest.
$ac_objext \
30159 conftest
$ac_exeext conftest.
$ac_ext
30161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30163 if test `eval echo '${'$as_ac_var'}'` = yes; then
30164 cat >>confdefs.h
<<_ACEOF
30165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30172 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30173 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30174 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30175 wxUSE_SNGLINST_CHECKER
=no
30180 for ac_func
in timegm
30182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30183 echo "$as_me:$LINENO: checking for $ac_func" >&5
30184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30185 if eval "test \"\${$as_ac_var+set}\" = set"; then
30186 echo $ECHO_N "(cached) $ECHO_C" >&6
30188 cat >conftest.
$ac_ext <<_ACEOF
30191 cat confdefs.h
>>conftest.
$ac_ext
30192 cat >>conftest.
$ac_ext <<_ACEOF
30193 /* end confdefs.h. */
30194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30196 #define $ac_func innocuous_$ac_func
30198 /* System header to define __stub macros and hopefully few prototypes,
30199 which can conflict with char $ac_func (); below.
30200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30201 <limits.h> exists even on freestanding compilers. */
30204 # include <limits.h>
30206 # include <assert.h>
30211 /* Override any gcc2 internal prototype to avoid an error. */
30216 /* We use char because int might match the return type of a gcc2
30217 builtin and then its argument prototype would still apply. */
30219 /* The GNU C library defines this for functions which it implements
30220 to always fail with ENOSYS. Some functions are actually named
30221 something starting with __ and the normal name is an alias. */
30222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30225 char (*f) () = $ac_func;
30234 return f != $ac_func;
30239 rm -f conftest.
$ac_objext conftest
$ac_exeext
30240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30241 (eval $ac_link) 2>conftest.er1
30243 grep -v '^ *+' conftest.er1
>conftest.err
30245 cat conftest.err
>&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); } &&
30248 { ac_try
='test -z "$ac_c_werror_flag"
30249 || test ! -s conftest.err'
30250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251 (eval $ac_try) 2>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; } &&
30255 { ac_try
='test -s conftest$ac_exeext'
30256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30257 (eval $ac_try) 2>&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); }; }; then
30261 eval "$as_ac_var=yes"
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.
$ac_ext >&5
30266 eval "$as_ac_var=no"
30268 rm -f conftest.err conftest.
$ac_objext \
30269 conftest
$ac_exeext conftest.
$ac_ext
30271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30273 if test `eval echo '${'$as_ac_var'}'` = yes; then
30274 cat >>confdefs.h
<<_ACEOF
30275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30284 for ac_func
in putenv setenv
30286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30287 echo "$as_me:$LINENO: checking for $ac_func" >&5
30288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30289 if eval "test \"\${$as_ac_var+set}\" = set"; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 cat >conftest.
$ac_ext <<_ACEOF
30295 cat confdefs.h
>>conftest.
$ac_ext
30296 cat >>conftest.
$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30300 #define $ac_func innocuous_$ac_func
30302 /* System header to define __stub macros and hopefully few prototypes,
30303 which can conflict with char $ac_func (); below.
30304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30305 <limits.h> exists even on freestanding compilers. */
30308 # include <limits.h>
30310 # include <assert.h>
30315 /* Override any gcc2 internal prototype to avoid an error. */
30320 /* We use char because int might match the return type of a gcc2
30321 builtin and then its argument prototype would still apply. */
30323 /* The GNU C library defines this for functions which it implements
30324 to always fail with ENOSYS. Some functions are actually named
30325 something starting with __ and the normal name is an alias. */
30326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30329 char (*f) () = $ac_func;
30338 return f != $ac_func;
30343 rm -f conftest.
$ac_objext conftest
$ac_exeext
30344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30345 (eval $ac_link) 2>conftest.er1
30347 grep -v '^ *+' conftest.er1
>conftest.err
30349 cat conftest.err
>&5
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); } &&
30352 { ac_try
='test -z "$ac_c_werror_flag"
30353 || test ! -s conftest.err'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; } &&
30359 { ac_try
='test -s conftest$ac_exeext'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; }; then
30365 eval "$as_ac_var=yes"
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.
$ac_ext >&5
30370 eval "$as_ac_var=no"
30372 rm -f conftest.err conftest.
$ac_objext \
30373 conftest
$ac_exeext conftest.
$ac_ext
30375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30377 if test `eval echo '${'$as_ac_var'}'` = yes; then
30378 cat >>confdefs.h
<<_ACEOF
30379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30386 HAVE_SOME_SLEEP_FUNC
=0
30387 if test "$USE_BEOS" = 1; then
30388 cat >>confdefs.h
<<\_ACEOF
30389 #define HAVE_SLEEP 1
30392 HAVE_SOME_SLEEP_FUNC
=1
30395 if test "$USE_DARWIN" = 1; then
30396 cat >>confdefs.h
<<\_ACEOF
30397 #define HAVE_USLEEP 1
30400 HAVE_SOME_SLEEP_FUNC
=1
30403 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30406 for ac_func
in nanosleep
30408 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30409 echo "$as_me:$LINENO: checking for $ac_func" >&5
30410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30411 if eval "test \"\${$as_ac_var+set}\" = set"; then
30412 echo $ECHO_N "(cached) $ECHO_C" >&6
30414 cat >conftest.
$ac_ext <<_ACEOF
30417 cat confdefs.h
>>conftest.
$ac_ext
30418 cat >>conftest.
$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30422 #define $ac_func innocuous_$ac_func
30424 /* System header to define __stub macros and hopefully few prototypes,
30425 which can conflict with char $ac_func (); below.
30426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30427 <limits.h> exists even on freestanding compilers. */
30430 # include <limits.h>
30432 # include <assert.h>
30437 /* Override any gcc2 internal prototype to avoid an error. */
30442 /* We use char because int might match the return type of a gcc2
30443 builtin and then its argument prototype would still apply. */
30445 /* The GNU C library defines this for functions which it implements
30446 to always fail with ENOSYS. Some functions are actually named
30447 something starting with __ and the normal name is an alias. */
30448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30451 char (*f) () = $ac_func;
30460 return f != $ac_func;
30465 rm -f conftest.
$ac_objext conftest
$ac_exeext
30466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30467 (eval $ac_link) 2>conftest.er1
30469 grep -v '^ *+' conftest.er1
>conftest.err
30471 cat conftest.err
>&5
30472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30473 (exit $ac_status); } &&
30474 { ac_try
='test -z "$ac_c_werror_flag"
30475 || test ! -s conftest.err'
30476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30477 (eval $ac_try) 2>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; } &&
30481 { ac_try
='test -s conftest$ac_exeext'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; }; then
30487 eval "$as_ac_var=yes"
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.
$ac_ext >&5
30492 eval "$as_ac_var=no"
30494 rm -f conftest.err conftest.
$ac_objext \
30495 conftest
$ac_exeext conftest.
$ac_ext
30497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30499 if test `eval echo '${'$as_ac_var'}'` = yes; then
30500 cat >>confdefs.h
<<_ACEOF
30501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30503 cat >>confdefs.h
<<\_ACEOF
30504 #define HAVE_NANOSLEEP 1
30509 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30510 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30511 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30512 echo $ECHO_N "(cached) $ECHO_C" >&6
30514 ac_check_lib_save_LIBS
=$LIBS
30515 LIBS
="-lposix4 $LIBS"
30516 cat >conftest.
$ac_ext <<_ACEOF
30519 cat confdefs.h
>>conftest.
$ac_ext
30520 cat >>conftest.
$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30523 /* Override any gcc2 internal prototype to avoid an error. */
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30538 rm -f conftest.
$ac_objext conftest
$ac_exeext
30539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30540 (eval $ac_link) 2>conftest.er1
30542 grep -v '^ *+' conftest.er1
>conftest.err
30544 cat conftest.err
>&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } &&
30547 { ac_try
='test -z "$ac_c_werror_flag"
30548 || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try
='test -s conftest$ac_exeext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 ac_cv_lib_posix4_nanosleep
=yes
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.
$ac_ext >&5
30565 ac_cv_lib_posix4_nanosleep
=no
30567 rm -f conftest.err conftest.
$ac_objext \
30568 conftest
$ac_exeext conftest.
$ac_ext
30569 LIBS
=$ac_check_lib_save_LIBS
30571 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30572 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30573 if test $ac_cv_lib_posix4_nanosleep = yes; then
30575 cat >>confdefs.h
<<\_ACEOF
30576 #define HAVE_NANOSLEEP 1
30579 POSIX4_LINK
=" -lposix4"
30584 for ac_func
in usleep
30586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30587 echo "$as_me:$LINENO: checking for $ac_func" >&5
30588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30589 if eval "test \"\${$as_ac_var+set}\" = set"; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 cat >conftest.
$ac_ext <<_ACEOF
30595 cat confdefs.h
>>conftest.
$ac_ext
30596 cat >>conftest.
$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30600 #define $ac_func innocuous_$ac_func
30602 /* System header to define __stub macros and hopefully few prototypes,
30603 which can conflict with char $ac_func (); below.
30604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30605 <limits.h> exists even on freestanding compilers. */
30608 # include <limits.h>
30610 # include <assert.h>
30615 /* Override any gcc2 internal prototype to avoid an error. */
30620 /* We use char because int might match the return type of a gcc2
30621 builtin and then its argument prototype would still apply. */
30623 /* The GNU C library defines this for functions which it implements
30624 to always fail with ENOSYS. Some functions are actually named
30625 something starting with __ and the normal name is an alias. */
30626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30629 char (*f) () = $ac_func;
30638 return f != $ac_func;
30643 rm -f conftest.
$ac_objext conftest
$ac_exeext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30645 (eval $ac_link) 2>conftest.er1
30647 grep -v '^ *+' conftest.er1
>conftest.err
30649 cat conftest.err
>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try
='test -z "$ac_c_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try
='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 eval "$as_ac_var=yes"
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.
$ac_ext >&5
30670 eval "$as_ac_var=no"
30672 rm -f conftest.err conftest.
$ac_objext \
30673 conftest
$ac_exeext conftest.
$ac_ext
30675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30677 if test `eval echo '${'$as_ac_var'}'` = yes; then
30678 cat >>confdefs.h
<<_ACEOF
30679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30681 cat >>confdefs.h
<<\_ACEOF
30682 #define HAVE_USLEEP 1
30686 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30687 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30705 for ac_func
in uname gethostname
30707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30708 echo "$as_me:$LINENO: checking for $ac_func" >&5
30709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30710 if eval "test \"\${$as_ac_var+set}\" = set"; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 cat >conftest.
$ac_ext <<_ACEOF
30716 cat confdefs.h
>>conftest.
$ac_ext
30717 cat >>conftest.
$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30721 #define $ac_func innocuous_$ac_func
30723 /* System header to define __stub macros and hopefully few prototypes,
30724 which can conflict with char $ac_func (); below.
30725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726 <limits.h> exists even on freestanding compilers. */
30729 # include <limits.h>
30731 # include <assert.h>
30736 /* Override any gcc2 internal prototype to avoid an error. */
30741 /* We use char because int might match the return type of a gcc2
30742 builtin and then its argument prototype would still apply. */
30744 /* The GNU C library defines this for functions which it implements
30745 to always fail with ENOSYS. Some functions are actually named
30746 something starting with __ and the normal name is an alias. */
30747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30750 char (*f) () = $ac_func;
30759 return f != $ac_func;
30764 rm -f conftest.
$ac_objext conftest
$ac_exeext
30765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30766 (eval $ac_link) 2>conftest.er1
30768 grep -v '^ *+' conftest.er1
>conftest.err
30770 cat conftest.err
>&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } &&
30773 { ac_try
='test -z "$ac_c_werror_flag"
30774 || test ! -s conftest.err'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; } &&
30780 { ac_try
='test -s conftest$ac_exeext'
30781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30782 (eval $ac_try) 2>&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; }; then
30786 eval "$as_ac_var=yes"
30788 echo "$as_me: failed program was:" >&5
30789 sed 's/^/| /' conftest.
$ac_ext >&5
30791 eval "$as_ac_var=no"
30793 rm -f conftest.err conftest.
$ac_objext \
30794 conftest
$ac_exeext conftest.
$ac_ext
30796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30798 if test `eval echo '${'$as_ac_var'}'` = yes; then
30799 cat >>confdefs.h
<<_ACEOF
30800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30810 ac_cpp
='$CXXCPP $CPPFLAGS'
30811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30817 for ac_func
in strtok_r
30819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30820 echo "$as_me:$LINENO: checking for $ac_func" >&5
30821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30822 if eval "test \"\${$as_ac_var+set}\" = set"; then
30823 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 cat >conftest.
$ac_ext <<_ACEOF
30828 cat confdefs.h
>>conftest.
$ac_ext
30829 cat >>conftest.
$ac_ext <<_ACEOF
30830 /* end confdefs.h. */
30831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30833 #define $ac_func innocuous_$ac_func
30835 /* System header to define __stub macros and hopefully few prototypes,
30836 which can conflict with char $ac_func (); below.
30837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30838 <limits.h> exists even on freestanding compilers. */
30841 # include <limits.h>
30843 # include <assert.h>
30848 /* Override any gcc2 internal prototype to avoid an error. */
30853 /* We use char because int might match the return type of a gcc2
30854 builtin and then its argument prototype would still apply. */
30856 /* The GNU C library defines this for functions which it implements
30857 to always fail with ENOSYS. Some functions are actually named
30858 something starting with __ and the normal name is an alias. */
30859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30862 char (*f) () = $ac_func;
30871 return f != $ac_func;
30876 rm -f conftest.
$ac_objext conftest
$ac_exeext
30877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30878 (eval $ac_link) 2>conftest.er1
30880 grep -v '^ *+' conftest.er1
>conftest.err
30882 cat conftest.err
>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try
='test -z "$ac_cxx_werror_flag"
30886 || test ! -s conftest.err'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; } &&
30892 { ac_try
='test -s conftest$ac_exeext'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; }; then
30898 eval "$as_ac_var=yes"
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.
$ac_ext >&5
30903 eval "$as_ac_var=no"
30905 rm -f conftest.err conftest.
$ac_objext \
30906 conftest
$ac_exeext conftest.
$ac_ext
30908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30910 if test `eval echo '${'$as_ac_var'}'` = yes; then
30911 cat >>confdefs.h
<<_ACEOF
30912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30920 ac_cpp
='$CPP $CPPFLAGS'
30921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30928 for ac_func
in inet_addr
30930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30931 echo "$as_me:$LINENO: checking for $ac_func" >&5
30932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30933 if eval "test \"\${$as_ac_var+set}\" = set"; then
30934 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 cat >conftest.
$ac_ext <<_ACEOF
30939 cat confdefs.h
>>conftest.
$ac_ext
30940 cat >>conftest.
$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define $ac_func innocuous_$ac_func
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char $ac_func (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30952 # include <limits.h>
30954 # include <assert.h>
30959 /* Override any gcc2 internal prototype to avoid an error. */
30964 /* We use char because int might match the return type of a gcc2
30965 builtin and then its argument prototype would still apply. */
30967 /* The GNU C library defines this for functions which it implements
30968 to always fail with ENOSYS. Some functions are actually named
30969 something starting with __ and the normal name is an alias. */
30970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30973 char (*f) () = $ac_func;
30982 return f != $ac_func;
30987 rm -f conftest.
$ac_objext conftest
$ac_exeext
30988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30989 (eval $ac_link) 2>conftest.er1
30991 grep -v '^ *+' conftest.er1
>conftest.err
30993 cat conftest.err
>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try
='test -z "$ac_c_werror_flag"
30997 || test ! -s conftest.err'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; } &&
31003 { ac_try
='test -s conftest$ac_exeext'
31004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31005 (eval $ac_try) 2>&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); }; }; then
31009 eval "$as_ac_var=yes"
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.
$ac_ext >&5
31014 eval "$as_ac_var=no"
31016 rm -f conftest.err conftest.
$ac_objext \
31017 conftest
$ac_exeext conftest.
$ac_ext
31019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31021 if test `eval echo '${'$as_ac_var'}'` = yes; then
31022 cat >>confdefs.h
<<_ACEOF
31023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31025 cat >>confdefs.h
<<\_ACEOF
31026 #define HAVE_INET_ADDR 1
31031 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31032 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31033 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31034 echo $ECHO_N "(cached) $ECHO_C" >&6
31036 ac_check_lib_save_LIBS
=$LIBS
31038 cat >conftest.
$ac_ext <<_ACEOF
31041 cat confdefs.h
>>conftest.
$ac_ext
31042 cat >>conftest.
$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31045 /* Override any gcc2 internal prototype to avoid an error. */
31049 /* We use char because int might match the return type of a gcc2
31050 builtin and then its argument prototype would still apply. */
31060 rm -f conftest.
$ac_objext conftest
$ac_exeext
31061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31062 (eval $ac_link) 2>conftest.er1
31064 grep -v '^ *+' conftest.er1
>conftest.err
31066 cat conftest.err
>&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try
='test -z "$ac_c_werror_flag"
31070 || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try
='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_lib_nsl_inet_addr
=yes
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.
$ac_ext >&5
31087 ac_cv_lib_nsl_inet_addr
=no
31089 rm -f conftest.err conftest.
$ac_objext \
31090 conftest
$ac_exeext conftest.
$ac_ext
31091 LIBS
=$ac_check_lib_save_LIBS
31093 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31094 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31095 if test $ac_cv_lib_nsl_inet_addr = yes; then
31099 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31100 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31101 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 ac_check_lib_save_LIBS
=$LIBS
31105 LIBS
="-lresolv $LIBS"
31106 cat >conftest.
$ac_ext <<_ACEOF
31109 cat confdefs.h
>>conftest.
$ac_ext
31110 cat >>conftest.
$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31113 /* Override any gcc2 internal prototype to avoid an error. */
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31128 rm -f conftest.
$ac_objext conftest
$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31132 grep -v '^ *+' conftest.er1
>conftest.err
31134 cat conftest.err
>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try
='test -z "$ac_c_werror_flag"
31138 || test ! -s conftest.err'
31139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31140 (eval $ac_try) 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); }; } &&
31144 { ac_try
='test -s conftest$ac_exeext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 ac_cv_lib_resolv_inet_addr
=yes
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.
$ac_ext >&5
31155 ac_cv_lib_resolv_inet_addr
=no
31157 rm -f conftest.err conftest.
$ac_objext \
31158 conftest
$ac_exeext conftest.
$ac_ext
31159 LIBS
=$ac_check_lib_save_LIBS
31161 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31162 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31163 if test $ac_cv_lib_resolv_inet_addr = yes; then
31167 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31168 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31169 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31170 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 ac_check_lib_save_LIBS
=$LIBS
31173 LIBS
="-lsocket $LIBS"
31174 cat >conftest.
$ac_ext <<_ACEOF
31177 cat confdefs.h
>>conftest.
$ac_ext
31178 cat >>conftest.
$ac_ext <<_ACEOF
31179 /* end confdefs.h. */
31181 /* Override any gcc2 internal prototype to avoid an error. */
31185 /* We use char because int might match the return type of a gcc2
31186 builtin and then its argument prototype would still apply. */
31196 rm -f conftest.
$ac_objext conftest
$ac_exeext
31197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31198 (eval $ac_link) 2>conftest.er1
31200 grep -v '^ *+' conftest.er1
>conftest.err
31202 cat conftest.err
>&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } &&
31205 { ac_try
='test -z "$ac_c_werror_flag"
31206 || test ! -s conftest.err'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; } &&
31212 { ac_try
='test -s conftest$ac_exeext'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 ac_cv_lib_socket_inet_addr
=yes
31220 echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.
$ac_ext >&5
31223 ac_cv_lib_socket_inet_addr
=no
31225 rm -f conftest.err conftest.
$ac_objext \
31226 conftest
$ac_exeext conftest.
$ac_ext
31227 LIBS
=$ac_check_lib_save_LIBS
31229 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31230 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31231 if test $ac_cv_lib_socket_inet_addr = yes; then
31251 for ac_func
in inet_aton
31253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31254 echo "$as_me:$LINENO: checking for $ac_func" >&5
31255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31256 if eval "test \"\${$as_ac_var+set}\" = set"; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31259 cat >conftest.
$ac_ext <<_ACEOF
31262 cat confdefs.h
>>conftest.
$ac_ext
31263 cat >>conftest.
$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31267 #define $ac_func innocuous_$ac_func
31269 /* System header to define __stub macros and hopefully few prototypes,
31270 which can conflict with char $ac_func (); below.
31271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31272 <limits.h> exists even on freestanding compilers. */
31275 # include <limits.h>
31277 # include <assert.h>
31282 /* Override any gcc2 internal prototype to avoid an error. */
31287 /* We use char because int might match the return type of a gcc2
31288 builtin and then its argument prototype would still apply. */
31290 /* The GNU C library defines this for functions which it implements
31291 to always fail with ENOSYS. Some functions are actually named
31292 something starting with __ and the normal name is an alias. */
31293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31296 char (*f) () = $ac_func;
31305 return f != $ac_func;
31310 rm -f conftest.
$ac_objext conftest
$ac_exeext
31311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31312 (eval $ac_link) 2>conftest.er1
31314 grep -v '^ *+' conftest.er1
>conftest.err
31316 cat conftest.err
>&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); } &&
31319 { ac_try
='test -z "$ac_c_werror_flag"
31320 || test ! -s conftest.err'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; } &&
31326 { ac_try
='test -s conftest$ac_exeext'
31327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31328 (eval $ac_try) 2>&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; }; then
31332 eval "$as_ac_var=yes"
31334 echo "$as_me: failed program was:" >&5
31335 sed 's/^/| /' conftest.
$ac_ext >&5
31337 eval "$as_ac_var=no"
31339 rm -f conftest.err conftest.
$ac_objext \
31340 conftest
$ac_exeext conftest.
$ac_ext
31342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31344 if test `eval echo '${'$as_ac_var'}'` = yes; then
31345 cat >>confdefs.h
<<_ACEOF
31346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31348 cat >>confdefs.h
<<\_ACEOF
31349 #define HAVE_INET_ATON 1
31354 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31355 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31356 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31357 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31360 ac_check_lib_save_LIBS
=$LIBS
31361 LIBS
="-l$INET_LINK $LIBS"
31362 cat >conftest.
$ac_ext <<_ACEOF
31365 cat confdefs.h
>>conftest.
$ac_ext
31366 cat >>conftest.
$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31369 /* Override any gcc2 internal prototype to avoid an error. */
31373 /* We use char because int might match the return type of a gcc2
31374 builtin and then its argument prototype would still apply. */
31384 rm -f conftest.
$ac_objext conftest
$ac_exeext
31385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31386 (eval $ac_link) 2>conftest.er1
31388 grep -v '^ *+' conftest.er1
>conftest.err
31390 cat conftest.err
>&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); } &&
31393 { ac_try
='test -z "$ac_c_werror_flag"
31394 || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try
='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 eval "$as_ac_Lib=yes"
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.
$ac_ext >&5
31411 eval "$as_ac_Lib=no"
31413 rm -f conftest.err conftest.
$ac_objext \
31414 conftest
$ac_exeext conftest.
$ac_ext
31415 LIBS
=$ac_check_lib_save_LIBS
31417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31418 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31419 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31420 cat >>confdefs.h
<<\_ACEOF
31421 #define HAVE_INET_ATON 1
31431 if test "x$INET_LINK" != "x"; then
31432 cat >>confdefs.h
<<\_ACEOF
31433 #define HAVE_INET_ADDR 1
31436 INET_LINK
=" -l$INET_LINK"
31444 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31445 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31446 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31447 echo $ECHO_N "(cached) $ECHO_C" >&6
31449 ac_check_lib_save_LIBS
=$LIBS
31451 cat >conftest.
$ac_ext <<_ACEOF
31454 cat confdefs.h
>>conftest.
$ac_ext
31455 cat >>conftest.
$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31458 /* Override any gcc2 internal prototype to avoid an error. */
31462 /* We use char because int might match the return type of a gcc2
31463 builtin and then its argument prototype would still apply. */
31473 rm -f conftest.
$ac_objext conftest
$ac_exeext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31475 (eval $ac_link) 2>conftest.er1
31477 grep -v '^ *+' conftest.er1
>conftest.err
31479 cat conftest.err
>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try
='test -z "$ac_c_werror_flag"
31483 || test ! -s conftest.err'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; } &&
31489 { ac_try
='test -s conftest$ac_exeext'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; }; then
31495 ac_cv_lib_esd_esd_close
=yes
31497 echo "$as_me: failed program was:" >&5
31498 sed 's/^/| /' conftest.
$ac_ext >&5
31500 ac_cv_lib_esd_esd_close
=no
31502 rm -f conftest.err conftest.
$ac_objext \
31503 conftest
$ac_exeext conftest.
$ac_ext
31504 LIBS
=$ac_check_lib_save_LIBS
31506 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31507 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31508 if test $ac_cv_lib_esd_esd_close = yes; then
31511 for ac_header
in esd.h
31513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31515 echo "$as_me:$LINENO: checking for $ac_header" >&5
31516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31518 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31523 # Is the header compilable?
31524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31526 cat >conftest.
$ac_ext <<_ACEOF
31529 cat confdefs.h
>>conftest.
$ac_ext
31530 cat >>conftest.
$ac_ext <<_ACEOF
31531 /* end confdefs.h. */
31532 $ac_includes_default
31533 #include <$ac_header>
31535 rm -f conftest.
$ac_objext
31536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31537 (eval $ac_compile) 2>conftest.er1
31539 grep -v '^ *+' conftest.er1
>conftest.err
31541 cat conftest.err
>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); } &&
31544 { ac_try
='test -z "$ac_c_werror_flag"
31545 || test ! -s conftest.err'
31546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31547 (eval $ac_try) 2>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; } &&
31551 { ac_try
='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 ac_header_compiler
=yes
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.
$ac_ext >&5
31562 ac_header_compiler
=no
31564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31566 echo "${ECHO_T}$ac_header_compiler" >&6
31568 # Is the header present?
31569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31571 cat >conftest.
$ac_ext <<_ACEOF
31574 cat confdefs.h
>>conftest.
$ac_ext
31575 cat >>conftest.
$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577 #include <$ac_header>
31579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31582 grep -v '^ *+' conftest.er1
>conftest.err
31584 cat conftest.err
>&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } >/dev
/null
; then
31587 if test -s conftest.err
; then
31588 ac_cpp_err
=$ac_c_preproc_warn_flag
31589 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31596 if test -z "$ac_cpp_err"; then
31597 ac_header_preproc
=yes
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.
$ac_ext >&5
31602 ac_header_preproc
=no
31604 rm -f conftest.err conftest.
$ac_ext
31605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31606 echo "${ECHO_T}$ac_header_preproc" >&6
31608 # So? What about this header?
31609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31615 ac_header_preproc
=yes
31618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31632 ## ----------------------------------------- ##
31633 ## Report this to wx-dev@lists.wxwidgets.org ##
31634 ## ----------------------------------------- ##
31637 sed "s/^/$as_me: WARNING: /" >&2
31640 echo "$as_me:$LINENO: checking for $ac_header" >&5
31641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 eval "$as_ac_Header=\$ac_header_preproc"
31647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31652 cat >>confdefs.h
<<_ACEOF
31653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31656 EXTRALIBS_ESD
="-lesd"
31667 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31668 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31669 cat >conftest.
$ac_ext <<_ACEOF
31672 cat confdefs.h
>>conftest.
$ac_ext
31673 cat >>conftest.
$ac_ext <<_ACEOF
31674 /* end confdefs.h. */
31676 #include <linux/cdrom.h>
31679 #include <sys/cdio.h>
31685 struct cdrom_tocentry entry, old_entry;
31690 rm -f conftest.
$ac_objext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31692 (eval $ac_compile) 2>conftest.er1
31694 grep -v '^ *+' conftest.er1
>conftest.err
31696 cat conftest.err
>&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } &&
31699 { ac_try
='test -z "$ac_c_werror_flag"
31700 || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try
='test -s conftest.$ac_objext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 echo "$as_me:$LINENO: result: yes" >&5
31713 echo "${ECHO_T}yes" >&6
31714 cat >>confdefs.h
<<\_ACEOF
31715 #define HAVE_KNOWN_CDROM_INTERFACE 1
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.
$ac_ext >&5
31722 echo "$as_me:$LINENO: result: no" >&5
31723 echo "${ECHO_T}no" >&6
31725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31728 cat >confcache
<<\_ACEOF
31729 # This file is a shell script that caches the results of configure
31730 # tests run on this system so they can be shared between configure
31731 # scripts and configure runs, see configure's option --config-cache.
31732 # It is not useful on other systems. If it contains results you don't
31733 # want to keep, you may remove or edit it.
31735 # config.status only pays attention to the cache file if you give it
31736 # the --recheck option to rerun configure.
31738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31740 # following values.
31744 # The following way of writing the cache mishandles newlines in values,
31745 # but we know of no workaround that is simple, portable, and efficient.
31746 # So, don't put newlines in cache variables' values.
31747 # Ultrix sh set writes to stderr and can't be redirected directly,
31748 # and sets the high bit in the cache file unless we assign to the vars.
31751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31753 # `set' does not quote correctly, so add quotes (double-quote
31754 # substitution turns \\\\ into \\, and sed turns \\ into \).
31757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31760 # `set' quotes correctly as required by POSIX, so do not add quotes.
31762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31773 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31774 if test -w $cache_file; then
31775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31776 cat confcache
>$cache_file
31778 echo "not updating unwritable cache $cache_file"
31785 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31791 if test "$wxUSE_THREADS" = "yes" ; then
31792 if test "$USE_BEOS" = 1; then
31793 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31794 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31799 if test "$wxUSE_THREADS" = "yes" ; then
31802 THREAD_OPTS
="-pthread"
31804 *-*-solaris2* | *-*-sunos4* )
31805 if test "x$GCC" = "xyes"; then
31806 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31808 THREAD_OPTS
="-mt $THREAD_OPTS"
31812 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31814 *-*-darwin* | *-*-cygwin* )
31818 THREAD_OPTS
="pthreads"
31821 if test "x$GCC" != "xyes"; then
31827 if test "x$GCC" = "xyes"; then
31833 if test "x$GCC" != "xyes"; then
31834 THREAD_OPTS
="-Ethread"
31839 THREAD_OPTS
="$THREAD_OPTS pthread none"
31842 for flag
in $THREAD_OPTS; do
31845 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31846 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31850 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31851 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31852 THREADS_CFLAGS
="$flag"
31856 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31857 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31858 THREADS_LINK
="-l$flag"
31863 save_CFLAGS
="$CFLAGS"
31864 LIBS
="$THREADS_LINK $LIBS"
31865 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31867 cat >conftest.
$ac_ext <<_ACEOF
31870 cat confdefs.h
>>conftest.
$ac_ext
31871 cat >>conftest.
$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31873 #include <pthread.h>
31877 pthread_create(0,0,0,0);
31882 rm -f conftest.
$ac_objext conftest
$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>conftest.er1
31886 grep -v '^ *+' conftest.er1
>conftest.err
31888 cat conftest.err
>&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } &&
31891 { ac_try
='test -z "$ac_c_werror_flag"
31892 || test ! -s conftest.err'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; } &&
31898 { ac_try
='test -s conftest$ac_exeext'
31899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31900 (eval $ac_try) 2>&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); }; }; then
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.
$ac_ext >&5
31910 rm -f conftest.err conftest.
$ac_objext \
31911 conftest
$ac_exeext conftest.
$ac_ext
31914 CFLAGS
="$save_CFLAGS"
31916 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31917 echo "${ECHO_T}$THREADS_OK" >&6
31918 if test "x$THREADS_OK" = "xyes"; then
31926 if test "x$THREADS_OK" != "xyes"; then
31928 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31929 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31931 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31932 LIBS
="$THREADS_LINK $LIBS"
31934 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31935 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31939 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31940 flag
="-D_THREAD_SAFE"
31943 flag
="-D_THREAD_SAFE"
31946 flag
="-D_REENTRANT"
31947 if test "x$GCC" != "xyes"; then
31948 flag
="$flag -D_RWSTD_MULTI_THREAD"
31953 *solaris
* | alpha
*-osf*)
31954 flag
="-D_REENTRANT"
31957 echo "$as_me:$LINENO: result: ${flag}" >&5
31958 echo "${ECHO_T}${flag}" >&6
31959 if test "x$flag" != xno
; then
31960 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31963 if test "x$THREADS_CFLAGS" != "x"; then
31964 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31965 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31970 if test "$wxUSE_THREADS" = "yes" ; then
31972 for ac_func
in thr_setconcurrency
31974 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31975 echo "$as_me:$LINENO: checking for $ac_func" >&5
31976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31977 if eval "test \"\${$as_ac_var+set}\" = set"; then
31978 echo $ECHO_N "(cached) $ECHO_C" >&6
31980 cat >conftest.
$ac_ext <<_ACEOF
31983 cat confdefs.h
>>conftest.
$ac_ext
31984 cat >>conftest.
$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31988 #define $ac_func innocuous_$ac_func
31990 /* System header to define __stub macros and hopefully few prototypes,
31991 which can conflict with char $ac_func (); below.
31992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31993 <limits.h> exists even on freestanding compilers. */
31996 # include <limits.h>
31998 # include <assert.h>
32003 /* Override any gcc2 internal prototype to avoid an error. */
32008 /* We use char because int might match the return type of a gcc2
32009 builtin and then its argument prototype would still apply. */
32011 /* The GNU C library defines this for functions which it implements
32012 to always fail with ENOSYS. Some functions are actually named
32013 something starting with __ and the normal name is an alias. */
32014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32017 char (*f) () = $ac_func;
32026 return f != $ac_func;
32031 rm -f conftest.
$ac_objext conftest
$ac_exeext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32033 (eval $ac_link) 2>conftest.er1
32035 grep -v '^ *+' conftest.er1
>conftest.err
32037 cat conftest.err
>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try
='test -z "$ac_c_werror_flag"
32041 || test ! -s conftest.err'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; } &&
32047 { ac_try
='test -s conftest$ac_exeext'
32048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32049 (eval $ac_try) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); }; }; then
32053 eval "$as_ac_var=yes"
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.
$ac_ext >&5
32058 eval "$as_ac_var=no"
32060 rm -f conftest.err conftest.
$ac_objext \
32061 conftest
$ac_exeext conftest.
$ac_ext
32063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32065 if test `eval echo '${'$as_ac_var'}'` = yes; then
32066 cat >>confdefs.h
<<_ACEOF
32067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32075 for ac_header
in sched.h
32077 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32079 echo "$as_me:$LINENO: checking for $ac_header" >&5
32080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32082 echo $ECHO_N "(cached) $ECHO_C" >&6
32084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32087 # Is the header compilable?
32088 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32089 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32090 cat >conftest.
$ac_ext <<_ACEOF
32093 cat confdefs.h
>>conftest.
$ac_ext
32094 cat >>conftest.
$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 $ac_includes_default
32097 #include <$ac_header>
32099 rm -f conftest.
$ac_objext
32100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32101 (eval $ac_compile) 2>conftest.er1
32103 grep -v '^ *+' conftest.er1
>conftest.err
32105 cat conftest.err
>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); } &&
32108 { ac_try
='test -z "$ac_c_werror_flag"
32109 || test ! -s conftest.err'
32110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32111 (eval $ac_try) 2>&5
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); }; } &&
32115 { ac_try
='test -s conftest.$ac_objext'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; }; then
32121 ac_header_compiler
=yes
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.
$ac_ext >&5
32126 ac_header_compiler
=no
32128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32130 echo "${ECHO_T}$ac_header_compiler" >&6
32132 # Is the header present?
32133 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32135 cat >conftest.
$ac_ext <<_ACEOF
32138 cat confdefs.h
>>conftest.
$ac_ext
32139 cat >>conftest.
$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 #include <$ac_header>
32143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32146 grep -v '^ *+' conftest.er1
>conftest.err
32148 cat conftest.err
>&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); } >/dev
/null
; then
32151 if test -s conftest.err
; then
32152 ac_cpp_err
=$ac_c_preproc_warn_flag
32153 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32160 if test -z "$ac_cpp_err"; then
32161 ac_header_preproc
=yes
32163 echo "$as_me: failed program was:" >&5
32164 sed 's/^/| /' conftest.
$ac_ext >&5
32166 ac_header_preproc
=no
32168 rm -f conftest.err conftest.
$ac_ext
32169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32170 echo "${ECHO_T}$ac_header_preproc" >&6
32172 # So? What about this header?
32173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32179 ac_header_preproc
=yes
32182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32196 ## ----------------------------------------- ##
32197 ## Report this to wx-dev@lists.wxwidgets.org ##
32198 ## ----------------------------------------- ##
32201 sed "s/^/$as_me: WARNING: /" >&2
32204 echo "$as_me:$LINENO: checking for $ac_header" >&5
32205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32209 eval "$as_ac_Header=\$ac_header_preproc"
32211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32216 cat >>confdefs.h
<<_ACEOF
32217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32224 if test "$ac_cv_header_sched_h" = "yes"; then
32225 echo "$as_me:$LINENO: checking for sched_yield" >&5
32226 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32227 if test "${ac_cv_func_sched_yield+set}" = set; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 cat >conftest.
$ac_ext <<_ACEOF
32233 cat confdefs.h
>>conftest.
$ac_ext
32234 cat >>conftest.
$ac_ext <<_ACEOF
32235 /* end confdefs.h. */
32236 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32238 #define sched_yield innocuous_sched_yield
32240 /* System header to define __stub macros and hopefully few prototypes,
32241 which can conflict with char sched_yield (); below.
32242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32243 <limits.h> exists even on freestanding compilers. */
32246 # include <limits.h>
32248 # include <assert.h>
32253 /* Override any gcc2 internal prototype to avoid an error. */
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32260 char sched_yield ();
32261 /* The GNU C library defines this for functions which it implements
32262 to always fail with ENOSYS. Some functions are actually named
32263 something starting with __ and the normal name is an alias. */
32264 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32267 char (*f) () = sched_yield;
32276 return f != sched_yield;
32281 rm -f conftest.
$ac_objext conftest
$ac_exeext
32282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32283 (eval $ac_link) 2>conftest.er1
32285 grep -v '^ *+' conftest.er1
>conftest.err
32287 cat conftest.err
>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } &&
32290 { ac_try
='test -z "$ac_c_werror_flag"
32291 || test ! -s conftest.err'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; } &&
32297 { ac_try
='test -s conftest$ac_exeext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32303 ac_cv_func_sched_yield
=yes
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.
$ac_ext >&5
32308 ac_cv_func_sched_yield
=no
32310 rm -f conftest.err conftest.
$ac_objext \
32311 conftest
$ac_exeext conftest.
$ac_ext
32313 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32314 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32315 if test $ac_cv_func_sched_yield = yes; then
32316 cat >>confdefs.h
<<\_ACEOF
32317 #define HAVE_SCHED_YIELD 1
32322 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32323 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32324 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 ac_check_lib_save_LIBS
=$LIBS
32328 LIBS
="-lposix4 $LIBS"
32329 cat >conftest.
$ac_ext <<_ACEOF
32332 cat confdefs.h
>>conftest.
$ac_ext
32333 cat >>conftest.
$ac_ext <<_ACEOF
32334 /* end confdefs.h. */
32336 /* Override any gcc2 internal prototype to avoid an error. */
32340 /* We use char because int might match the return type of a gcc2
32341 builtin and then its argument prototype would still apply. */
32342 char sched_yield ();
32351 rm -f conftest.
$ac_objext conftest
$ac_exeext
32352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32353 (eval $ac_link) 2>conftest.er1
32355 grep -v '^ *+' conftest.er1
>conftest.err
32357 cat conftest.err
>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); } &&
32360 { ac_try
='test -z "$ac_c_werror_flag"
32361 || test ! -s conftest.err'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; } &&
32367 { ac_try
='test -s conftest$ac_exeext'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; }; then
32373 ac_cv_lib_posix4_sched_yield
=yes
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.
$ac_ext >&5
32378 ac_cv_lib_posix4_sched_yield
=no
32380 rm -f conftest.err conftest.
$ac_objext \
32381 conftest
$ac_exeext conftest.
$ac_ext
32382 LIBS
=$ac_check_lib_save_LIBS
32384 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32385 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32386 if test $ac_cv_lib_posix4_sched_yield = yes; then
32387 cat >>confdefs.h
<<\_ACEOF
32388 #define HAVE_SCHED_YIELD 1
32390 POSIX4_LINK
=" -lposix4"
32392 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32393 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32404 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32405 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32406 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32407 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 cat >conftest.
$ac_ext <<_ACEOF
32412 cat confdefs.h
>>conftest.
$ac_ext
32413 cat >>conftest.
$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32415 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32417 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32419 /* System header to define __stub macros and hopefully few prototypes,
32420 which can conflict with char pthread_attr_getschedpolicy (); below.
32421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32422 <limits.h> exists even on freestanding compilers. */
32425 # include <limits.h>
32427 # include <assert.h>
32430 #undef pthread_attr_getschedpolicy
32432 /* Override any gcc2 internal prototype to avoid an error. */
32437 /* We use char because int might match the return type of a gcc2
32438 builtin and then its argument prototype would still apply. */
32439 char pthread_attr_getschedpolicy ();
32440 /* The GNU C library defines this for functions which it implements
32441 to always fail with ENOSYS. Some functions are actually named
32442 something starting with __ and the normal name is an alias. */
32443 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32446 char (*f) () = pthread_attr_getschedpolicy;
32455 return f != pthread_attr_getschedpolicy;
32460 rm -f conftest.
$ac_objext conftest
$ac_exeext
32461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32462 (eval $ac_link) 2>conftest.er1
32464 grep -v '^ *+' conftest.er1
>conftest.err
32466 cat conftest.err
>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } &&
32469 { ac_try
='test -z "$ac_c_werror_flag"
32470 || test ! -s conftest.err'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try
='test -s conftest$ac_exeext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 ac_cv_func_pthread_attr_getschedpolicy
=yes
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.
$ac_ext >&5
32487 ac_cv_func_pthread_attr_getschedpolicy
=no
32489 rm -f conftest.err conftest.
$ac_objext \
32490 conftest
$ac_exeext conftest.
$ac_ext
32492 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32493 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32494 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32495 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32496 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32497 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32500 cat >conftest.
$ac_ext <<_ACEOF
32503 cat confdefs.h
>>conftest.
$ac_ext
32504 cat >>conftest.
$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32506 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32508 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32510 /* System header to define __stub macros and hopefully few prototypes,
32511 which can conflict with char pthread_attr_setschedparam (); below.
32512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32513 <limits.h> exists even on freestanding compilers. */
32516 # include <limits.h>
32518 # include <assert.h>
32521 #undef pthread_attr_setschedparam
32523 /* Override any gcc2 internal prototype to avoid an error. */
32528 /* We use char because int might match the return type of a gcc2
32529 builtin and then its argument prototype would still apply. */
32530 char pthread_attr_setschedparam ();
32531 /* The GNU C library defines this for functions which it implements
32532 to always fail with ENOSYS. Some functions are actually named
32533 something starting with __ and the normal name is an alias. */
32534 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32537 char (*f) () = pthread_attr_setschedparam;
32546 return f != pthread_attr_setschedparam;
32551 rm -f conftest.
$ac_objext conftest
$ac_exeext
32552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32553 (eval $ac_link) 2>conftest.er1
32555 grep -v '^ *+' conftest.er1
>conftest.err
32557 cat conftest.err
>&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } &&
32560 { ac_try
='test -z "$ac_c_werror_flag"
32561 || test ! -s conftest.err'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; } &&
32567 { ac_try
='test -s conftest$ac_exeext'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; }; then
32573 ac_cv_func_pthread_attr_setschedparam
=yes
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.
$ac_ext >&5
32578 ac_cv_func_pthread_attr_setschedparam
=no
32580 rm -f conftest.err conftest.
$ac_objext \
32581 conftest
$ac_exeext conftest.
$ac_ext
32583 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32584 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32585 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32586 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32587 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32588 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32591 cat >conftest.
$ac_ext <<_ACEOF
32594 cat confdefs.h
>>conftest.
$ac_ext
32595 cat >>conftest.
$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32599 #define sched_get_priority_max innocuous_sched_get_priority_max
32601 /* System header to define __stub macros and hopefully few prototypes,
32602 which can conflict with char sched_get_priority_max (); below.
32603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32604 <limits.h> exists even on freestanding compilers. */
32607 # include <limits.h>
32609 # include <assert.h>
32612 #undef sched_get_priority_max
32614 /* Override any gcc2 internal prototype to avoid an error. */
32619 /* We use char because int might match the return type of a gcc2
32620 builtin and then its argument prototype would still apply. */
32621 char sched_get_priority_max ();
32622 /* The GNU C library defines this for functions which it implements
32623 to always fail with ENOSYS. Some functions are actually named
32624 something starting with __ and the normal name is an alias. */
32625 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32628 char (*f) () = sched_get_priority_max;
32637 return f != sched_get_priority_max;
32642 rm -f conftest.
$ac_objext conftest
$ac_exeext
32643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32644 (eval $ac_link) 2>conftest.er1
32646 grep -v '^ *+' conftest.er1
>conftest.err
32648 cat conftest.err
>&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); } &&
32651 { ac_try
='test -z "$ac_c_werror_flag"
32652 || test ! -s conftest.err'
32653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 (eval $ac_try) 2>&5
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); }; } &&
32658 { ac_try
='test -s conftest$ac_exeext'
32659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 (eval $ac_try) 2>&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); }; }; then
32664 ac_cv_func_sched_get_priority_max
=yes
32666 echo "$as_me: failed program was:" >&5
32667 sed 's/^/| /' conftest.
$ac_ext >&5
32669 ac_cv_func_sched_get_priority_max
=no
32671 rm -f conftest.err conftest.
$ac_objext \
32672 conftest
$ac_exeext conftest.
$ac_ext
32674 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32675 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32676 if test $ac_cv_func_sched_get_priority_max = yes; then
32679 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32680 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32681 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32684 ac_check_lib_save_LIBS
=$LIBS
32685 LIBS
="-lposix4 $LIBS"
32686 cat >conftest.
$ac_ext <<_ACEOF
32689 cat confdefs.h
>>conftest.
$ac_ext
32690 cat >>conftest.
$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32693 /* Override any gcc2 internal prototype to avoid an error. */
32697 /* We use char because int might match the return type of a gcc2
32698 builtin and then its argument prototype would still apply. */
32699 char sched_get_priority_max ();
32703 sched_get_priority_max ();
32708 rm -f conftest.
$ac_objext conftest
$ac_exeext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32710 (eval $ac_link) 2>conftest.er1
32712 grep -v '^ *+' conftest.er1
>conftest.err
32714 cat conftest.err
>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try
='test -z "$ac_c_werror_flag"
32718 || test ! -s conftest.err'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; } &&
32724 { ac_try
='test -s conftest$ac_exeext'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; }; then
32730 ac_cv_lib_posix4_sched_get_priority_max
=yes
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.
$ac_ext >&5
32735 ac_cv_lib_posix4_sched_get_priority_max
=no
32737 rm -f conftest.err conftest.
$ac_objext \
32738 conftest
$ac_exeext conftest.
$ac_ext
32739 LIBS
=$ac_check_lib_save_LIBS
32741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32742 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32743 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32746 POSIX4_LINK
=" -lposix4"
32760 if test "$HAVE_PRIOR_FUNCS" = 1; then
32761 cat >>confdefs.h
<<\_ACEOF
32762 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32766 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32767 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32770 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32771 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32772 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 cat >conftest.
$ac_ext <<_ACEOF
32778 cat confdefs.h
>>conftest.
$ac_ext
32779 cat >>conftest.
$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32783 #define pthread_cancel innocuous_pthread_cancel
32785 /* System header to define __stub macros and hopefully few prototypes,
32786 which can conflict with char pthread_cancel (); below.
32787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32788 <limits.h> exists even on freestanding compilers. */
32791 # include <limits.h>
32793 # include <assert.h>
32796 #undef pthread_cancel
32798 /* Override any gcc2 internal prototype to avoid an error. */
32803 /* We use char because int might match the return type of a gcc2
32804 builtin and then its argument prototype would still apply. */
32805 char pthread_cancel ();
32806 /* The GNU C library defines this for functions which it implements
32807 to always fail with ENOSYS. Some functions are actually named
32808 something starting with __ and the normal name is an alias. */
32809 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32812 char (*f) () = pthread_cancel;
32821 return f != pthread_cancel;
32826 rm -f conftest.
$ac_objext conftest
$ac_exeext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32828 (eval $ac_link) 2>conftest.er1
32830 grep -v '^ *+' conftest.er1
>conftest.err
32832 cat conftest.err
>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } &&
32835 { ac_try
='test -z "$ac_c_werror_flag"
32836 || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try
='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 ac_cv_func_pthread_cancel
=yes
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.
$ac_ext >&5
32853 ac_cv_func_pthread_cancel
=no
32855 rm -f conftest.err conftest.
$ac_objext \
32856 conftest
$ac_exeext conftest.
$ac_ext
32858 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32859 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32860 if test $ac_cv_func_pthread_cancel = yes; then
32861 cat >>confdefs.h
<<\_ACEOF
32862 #define HAVE_PTHREAD_CANCEL 1
32866 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32867 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32873 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32874 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32875 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32876 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 cat >conftest.
$ac_ext <<_ACEOF
32882 cat confdefs.h
>>conftest.
$ac_ext
32883 cat >>conftest.
$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 #include <pthread.h>
32890 pthread_mutexattr_t attr;
32891 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32897 rm -f conftest.
$ac_objext
32898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32899 (eval $ac_compile) 2>conftest.er1
32901 grep -v '^ *+' conftest.er1
>conftest.err
32903 cat conftest.err
>&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); } &&
32906 { ac_try
='test -z "$ac_c_werror_flag"
32907 || test ! -s conftest.err'
32908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32909 (eval $ac_try) 2>&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; } &&
32913 { ac_try
='test -s conftest.$ac_objext'
32914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915 (eval $ac_try) 2>&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); }; }; then
32920 wx_cv_type_pthread_mutexattr_t
=yes
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.
$ac_ext >&5
32927 wx_cv_type_pthread_mutexattr_t
=no
32931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32934 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32935 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32937 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32938 cat >>confdefs.h
<<\_ACEOF
32939 #define HAVE_PTHREAD_MUTEXATTR_T 1
32943 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32944 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32945 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32949 cat >conftest.
$ac_ext <<_ACEOF
32952 cat confdefs.h
>>conftest.
$ac_ext
32953 cat >>conftest.
$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32955 #include <pthread.h>
32960 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32966 rm -f conftest.
$ac_objext
32967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32968 (eval $ac_compile) 2>conftest.er1
32970 grep -v '^ *+' conftest.er1
>conftest.err
32972 cat conftest.err
>&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } &&
32975 { ac_try
='test -z "$ac_c_werror_flag"
32976 || test ! -s conftest.err'
32977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32978 (eval $ac_try) 2>&5
32980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32981 (exit $ac_status); }; } &&
32982 { ac_try
='test -s conftest.$ac_objext'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; }; then
32989 wx_cv_type_pthread_rec_mutex_init
=yes
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.
$ac_ext >&5
32996 wx_cv_type_pthread_rec_mutex_init
=no
33000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33003 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33004 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33005 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33011 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33012 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33018 if test "$wxUSE_THREADS" = "yes" ; then
33021 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33022 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33023 if test "${wx_cv_cflags_mthread+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 CFLAGS_OLD
="$CFLAGS"
33028 CFLAGS
="$CFLAGS -mthreads"
33029 cat >conftest.
$ac_ext <<_ACEOF
33032 cat confdefs.h
>>conftest.
$ac_ext
33033 cat >>conftest.
$ac_ext <<_ACEOF
33034 /* end confdefs.h. */
33044 rm -f conftest.
$ac_objext
33045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33046 (eval $ac_compile) 2>conftest.er1
33048 grep -v '^ *+' conftest.er1
>conftest.err
33050 cat conftest.err
>&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } &&
33053 { ac_try
='test -z "$ac_c_werror_flag"
33054 || test ! -s conftest.err'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try
='test -s conftest.$ac_objext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 wx_cv_cflags_mthread
=yes
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.
$ac_ext >&5
33071 wx_cv_cflags_mthread
=no
33074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33078 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33079 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33081 if test "$wx_cv_cflags_mthread" = "yes"; then
33082 CXXFLAGS
="$CXXFLAGS -mthreads"
33083 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33084 LDFLAGS
="$LDFLAGS -mthreads"
33086 CFLAGS
="$CFLAGS_OLD"
33090 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33091 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33092 LDFLAGS
="$LDFLAGS -Zmt"
33098 if test "$wxUSE_THREADS" = "yes"; then
33099 cat >>confdefs.h
<<\_ACEOF
33100 #define wxUSE_THREADS 1
33104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33106 if test "$ac_cv_func_strtok_r" = "yes"; then
33107 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33108 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33109 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33110 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33111 echo "$as_me:$LINENO: result: yes" >&5
33112 echo "${ECHO_T}yes" >&6
33114 echo "$as_me:$LINENO: result: no" >&5
33115 echo "${ECHO_T}no" >&6
33120 if test "$WXGTK20" = 1 ; then
33121 cat >>confdefs.h
<<_ACEOF
33122 #define __WXGTK20__ $WXGTK20
33128 if test "$WXGTK12" = 1 ; then
33129 cat >>confdefs.h
<<_ACEOF
33130 #define __WXGTK12__ $WXGTK12
33135 if test "$WXGTK127" = 1 ; then
33136 cat >>confdefs.h
<<_ACEOF
33137 #define __WXGTK127__ $WXGTK127
33142 if test "$WXGPE" = 1 ; then
33143 cat >>confdefs.h
<<_ACEOF
33144 #define __WXGPE__ $WXGPE
33151 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33156 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33157 wxUSE_DEBUG_INFO
=yes
33161 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33162 cat >>confdefs.h
<<\_ACEOF
33166 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33168 if test "$wxUSE_GTK" = 1 ; then
33169 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33173 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33174 cat >>confdefs.h
<<\_ACEOF
33175 #define wxUSE_MEMORY_TRACING 1
33178 cat >>confdefs.h
<<\_ACEOF
33179 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33182 cat >>confdefs.h
<<\_ACEOF
33183 #define wxUSE_DEBUG_NEW_ALWAYS 1
33186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33189 if test "$wxUSE_DMALLOC" = "yes" ; then
33190 DMALLOC_LIBS
="-ldmalloc"
33194 if test "$wxUSE_PROFILE" = "yes" ; then
33199 CODE_GEN_FLAGS_CXX
=
33200 if test "$GCC" = "yes" ; then
33201 if test "$wxUSE_NO_RTTI" = "yes" ; then
33202 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33204 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33205 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33207 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33208 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33213 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33216 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33222 if test "$wxUSE_OPTIMISE" = "no" ; then
33223 if test "$GCC" = yes ; then
33227 if test "$GCC" = yes ; then
33231 i586
-*-*|i686
-*-* )
33232 OPTIMISE
="${OPTIMISE} "
33241 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33242 cat >>confdefs.h
<<\_ACEOF
33243 #define WXWIN_COMPATIBILITY_2_2 1
33247 WXWIN_COMPATIBILITY_2_4
="yes"
33250 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33251 cat >>confdefs.h
<<\_ACEOF
33252 #define WXWIN_COMPATIBILITY_2_4 1
33258 if test "$wxUSE_GUI" = "yes"; then
33259 cat >>confdefs.h
<<\_ACEOF
33260 #define wxUSE_GUI 1
33265 cat >>confdefs.h
<<\_ACEOF
33266 #define wxUSE_NOGUI 1
33272 if test "$wxUSE_UNIX" = "yes"; then
33273 cat >>confdefs.h
<<\_ACEOF
33274 #define wxUSE_UNIX 1
33280 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33284 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33285 if test "$USE_DARWIN" = 1; then
33289 for ac_func
in dlopen
33291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33292 echo "$as_me:$LINENO: checking for $ac_func" >&5
33293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33294 if eval "test \"\${$as_ac_var+set}\" = set"; then
33295 echo $ECHO_N "(cached) $ECHO_C" >&6
33297 cat >conftest.
$ac_ext <<_ACEOF
33300 cat confdefs.h
>>conftest.
$ac_ext
33301 cat >>conftest.
$ac_ext <<_ACEOF
33302 /* end confdefs.h. */
33303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33305 #define $ac_func innocuous_$ac_func
33307 /* System header to define __stub macros and hopefully few prototypes,
33308 which can conflict with char $ac_func (); below.
33309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33310 <limits.h> exists even on freestanding compilers. */
33313 # include <limits.h>
33315 # include <assert.h>
33320 /* Override any gcc2 internal prototype to avoid an error. */
33325 /* We use char because int might match the return type of a gcc2
33326 builtin and then its argument prototype would still apply. */
33328 /* The GNU C library defines this for functions which it implements
33329 to always fail with ENOSYS. Some functions are actually named
33330 something starting with __ and the normal name is an alias. */
33331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33334 char (*f) () = $ac_func;
33343 return f != $ac_func;
33348 rm -f conftest.
$ac_objext conftest
$ac_exeext
33349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33350 (eval $ac_link) 2>conftest.er1
33352 grep -v '^ *+' conftest.er1
>conftest.err
33354 cat conftest.err
>&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try
='test -z "$ac_c_werror_flag"
33358 || test ! -s conftest.err'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; } &&
33364 { ac_try
='test -s conftest$ac_exeext'
33365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33366 (eval $ac_try) 2>&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); }; }; then
33370 eval "$as_ac_var=yes"
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.
$ac_ext >&5
33375 eval "$as_ac_var=no"
33377 rm -f conftest.err conftest.
$ac_objext \
33378 conftest
$ac_exeext conftest.
$ac_ext
33380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33382 if test `eval echo '${'$as_ac_var'}'` = yes; then
33383 cat >>confdefs.h
<<_ACEOF
33384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33387 cat >>confdefs.h
<<\_ACEOF
33388 #define HAVE_DLOPEN 1
33395 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33396 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33397 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33398 echo $ECHO_N "(cached) $ECHO_C" >&6
33400 ac_check_lib_save_LIBS
=$LIBS
33402 cat >conftest.
$ac_ext <<_ACEOF
33405 cat confdefs.h
>>conftest.
$ac_ext
33406 cat >>conftest.
$ac_ext <<_ACEOF
33407 /* end confdefs.h. */
33409 /* Override any gcc2 internal prototype to avoid an error. */
33413 /* We use char because int might match the return type of a gcc2
33414 builtin and then its argument prototype would still apply. */
33424 rm -f conftest.
$ac_objext conftest
$ac_exeext
33425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33426 (eval $ac_link) 2>conftest.er1
33428 grep -v '^ *+' conftest.er1
>conftest.err
33430 cat conftest.err
>&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); } &&
33433 { ac_try
='test -z "$ac_c_werror_flag"
33434 || test ! -s conftest.err'
33435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436 (eval $ac_try) 2>&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; } &&
33440 { ac_try
='test -s conftest$ac_exeext'
33441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33442 (eval $ac_try) 2>&5
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); }; }; then
33446 ac_cv_lib_dl_dlopen
=yes
33448 echo "$as_me: failed program was:" >&5
33449 sed 's/^/| /' conftest.
$ac_ext >&5
33451 ac_cv_lib_dl_dlopen
=no
33453 rm -f conftest.err conftest.
$ac_objext \
33454 conftest
$ac_exeext conftest.
$ac_ext
33455 LIBS
=$ac_check_lib_save_LIBS
33457 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33458 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33459 if test $ac_cv_lib_dl_dlopen = yes; then
33461 cat >>confdefs.h
<<\_ACEOF
33462 #define HAVE_DLOPEN 1
33466 DL_LINK
=" -ldl$DL_LINK"
33471 for ac_func
in shl_load
33473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33474 echo "$as_me:$LINENO: checking for $ac_func" >&5
33475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33476 if eval "test \"\${$as_ac_var+set}\" = set"; then
33477 echo $ECHO_N "(cached) $ECHO_C" >&6
33479 cat >conftest.
$ac_ext <<_ACEOF
33482 cat confdefs.h
>>conftest.
$ac_ext
33483 cat >>conftest.
$ac_ext <<_ACEOF
33484 /* end confdefs.h. */
33485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33487 #define $ac_func innocuous_$ac_func
33489 /* System header to define __stub macros and hopefully few prototypes,
33490 which can conflict with char $ac_func (); below.
33491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33492 <limits.h> exists even on freestanding compilers. */
33495 # include <limits.h>
33497 # include <assert.h>
33502 /* Override any gcc2 internal prototype to avoid an error. */
33507 /* We use char because int might match the return type of a gcc2
33508 builtin and then its argument prototype would still apply. */
33510 /* The GNU C library defines this for functions which it implements
33511 to always fail with ENOSYS. Some functions are actually named
33512 something starting with __ and the normal name is an alias. */
33513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33516 char (*f) () = $ac_func;
33525 return f != $ac_func;
33530 rm -f conftest.
$ac_objext conftest
$ac_exeext
33531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33532 (eval $ac_link) 2>conftest.er1
33534 grep -v '^ *+' conftest.er1
>conftest.err
33536 cat conftest.err
>&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } &&
33539 { ac_try
='test -z "$ac_c_werror_flag"
33540 || test ! -s conftest.err'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; } &&
33546 { ac_try
='test -s conftest$ac_exeext'
33547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33548 (eval $ac_try) 2>&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); }; }; then
33552 eval "$as_ac_var=yes"
33554 echo "$as_me: failed program was:" >&5
33555 sed 's/^/| /' conftest.
$ac_ext >&5
33557 eval "$as_ac_var=no"
33559 rm -f conftest.err conftest.
$ac_objext \
33560 conftest
$ac_exeext conftest.
$ac_ext
33562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33564 if test `eval echo '${'$as_ac_var'}'` = yes; then
33565 cat >>confdefs.h
<<_ACEOF
33566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33569 cat >>confdefs.h
<<\_ACEOF
33570 #define HAVE_SHL_LOAD 1
33577 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33578 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33579 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 ac_check_lib_save_LIBS
=$LIBS
33583 LIBS
="-lshl_load $LIBS"
33584 cat >conftest.
$ac_ext <<_ACEOF
33587 cat confdefs.h
>>conftest.
$ac_ext
33588 cat >>conftest.
$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33591 /* Override any gcc2 internal prototype to avoid an error. */
33595 /* We use char because int might match the return type of a gcc2
33596 builtin and then its argument prototype would still apply. */
33606 rm -f conftest.
$ac_objext conftest
$ac_exeext
33607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33608 (eval $ac_link) 2>conftest.er1
33610 grep -v '^ *+' conftest.er1
>conftest.err
33612 cat conftest.err
>&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } &&
33615 { ac_try
='test -z "$ac_c_werror_flag"
33616 || test ! -s conftest.err'
33617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33618 (eval $ac_try) 2>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; } &&
33622 { ac_try
='test -s conftest$ac_exeext'
33623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33624 (eval $ac_try) 2>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; }; then
33628 ac_cv_lib_shl_load_dld
=yes
33630 echo "$as_me: failed program was:" >&5
33631 sed 's/^/| /' conftest.
$ac_ext >&5
33633 ac_cv_lib_shl_load_dld
=no
33635 rm -f conftest.err conftest.
$ac_objext \
33636 conftest
$ac_exeext conftest.
$ac_ext
33637 LIBS
=$ac_check_lib_save_LIBS
33639 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33640 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33641 if test $ac_cv_lib_shl_load_dld = yes; then
33644 DL_LINK
=" -ldld$DL_LINK"
33660 if test "$HAVE_DL_FUNCS" = 1; then
33662 for ac_func
in dlerror
33664 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33665 echo "$as_me:$LINENO: checking for $ac_func" >&5
33666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33667 if eval "test \"\${$as_ac_var+set}\" = set"; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 cat >conftest.
$ac_ext <<_ACEOF
33673 cat confdefs.h
>>conftest.
$ac_ext
33674 cat >>conftest.
$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33678 #define $ac_func innocuous_$ac_func
33680 /* System header to define __stub macros and hopefully few prototypes,
33681 which can conflict with char $ac_func (); below.
33682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33683 <limits.h> exists even on freestanding compilers. */
33686 # include <limits.h>
33688 # include <assert.h>
33693 /* Override any gcc2 internal prototype to avoid an error. */
33698 /* We use char because int might match the return type of a gcc2
33699 builtin and then its argument prototype would still apply. */
33701 /* The GNU C library defines this for functions which it implements
33702 to always fail with ENOSYS. Some functions are actually named
33703 something starting with __ and the normal name is an alias. */
33704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33707 char (*f) () = $ac_func;
33716 return f != $ac_func;
33721 rm -f conftest.
$ac_objext conftest
$ac_exeext
33722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33723 (eval $ac_link) 2>conftest.er1
33725 grep -v '^ *+' conftest.er1
>conftest.err
33727 cat conftest.err
>&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } &&
33730 { ac_try
='test -z "$ac_c_werror_flag"
33731 || test ! -s conftest.err'
33732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33733 (eval $ac_try) 2>&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); }; } &&
33737 { ac_try
='test -s conftest$ac_exeext'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; }; then
33743 eval "$as_ac_var=yes"
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.
$ac_ext >&5
33748 eval "$as_ac_var=no"
33750 rm -f conftest.err conftest.
$ac_objext \
33751 conftest
$ac_exeext conftest.
$ac_ext
33753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33755 if test `eval echo '${'$as_ac_var'}'` = yes; then
33756 cat >>confdefs.h
<<_ACEOF
33757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33759 cat >>confdefs.h
<<\_ACEOF
33760 #define HAVE_DLERROR 1
33765 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33766 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33767 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33768 echo $ECHO_N "(cached) $ECHO_C" >&6
33770 ac_check_lib_save_LIBS
=$LIBS
33772 cat >conftest.
$ac_ext <<_ACEOF
33775 cat confdefs.h
>>conftest.
$ac_ext
33776 cat >>conftest.
$ac_ext <<_ACEOF
33777 /* end confdefs.h. */
33779 /* Override any gcc2 internal prototype to avoid an error. */
33783 /* We use char because int might match the return type of a gcc2
33784 builtin and then its argument prototype would still apply. */
33794 rm -f conftest.
$ac_objext conftest
$ac_exeext
33795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33796 (eval $ac_link) 2>conftest.er1
33798 grep -v '^ *+' conftest.er1
>conftest.err
33800 cat conftest.err
>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } &&
33803 { ac_try
='test -z "$ac_c_werror_flag"
33804 || test ! -s conftest.err'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; } &&
33810 { ac_try
='test -s conftest$ac_exeext'
33811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33812 (eval $ac_try) 2>&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); }; }; then
33816 ac_cv_lib_dl_dlerror
=yes
33818 echo "$as_me: failed program was:" >&5
33819 sed 's/^/| /' conftest.
$ac_ext >&5
33821 ac_cv_lib_dl_dlerror
=no
33823 rm -f conftest.err conftest.
$ac_objext \
33824 conftest
$ac_exeext conftest.
$ac_ext
33825 LIBS
=$ac_check_lib_save_LIBS
33827 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33828 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33829 if test $ac_cv_lib_dl_dlerror = yes; then
33830 cat >>confdefs.h
<<\_ACEOF
33831 #define HAVE_DLERROR 1
33844 if test "$HAVE_DL_FUNCS" = 0; then
33845 if test "$HAVE_SHL_FUNCS" = 0; then
33846 if test "$USE_UNIX" = 1; then
33847 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33848 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33849 wxUSE_DYNAMIC_LOADER
=no
33850 wxUSE_DYNLIB_CLASS
=no
33852 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33853 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33860 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33861 cat >>confdefs.h
<<\_ACEOF
33862 #define wxUSE_DYNAMIC_LOADER 1
33866 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33867 cat >>confdefs.h
<<\_ACEOF
33868 #define wxUSE_DYNLIB_CLASS 1
33875 if test "$wxUSE_PLUGINS" = "yes" ; then
33876 if test "$wxUSE_SHARED" = "no" ; then
33877 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33878 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33881 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33882 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33883 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33886 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33887 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33888 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33891 if test "$wxUSE_PLUGINS" = "yes" ; then
33892 cat >>confdefs.h
<<\_ACEOF
33893 #define wxUSE_PLUGINS 1
33900 if test "$wxUSE_STL" = "yes"; then
33901 cat >>confdefs.h
<<\_ACEOF
33902 #define wxUSE_STL 1
33907 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33908 cat >>confdefs.h
<<\_ACEOF
33909 #define wxUSE_APPLE_IEEE 1
33914 if test "$wxUSE_TIMER" = "yes"; then
33915 cat >>confdefs.h
<<\_ACEOF
33916 #define wxUSE_TIMER 1
33922 if test "$wxUSE_SOUND" = "yes"; then
33923 if test "$USE_UNIX" = "1" ; then
33925 for ac_header
in sys
/soundcard.h
33927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33929 echo "$as_me:$LINENO: checking for $ac_header" >&5
33930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33932 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33937 # Is the header compilable?
33938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33940 cat >conftest.
$ac_ext <<_ACEOF
33943 cat confdefs.h
>>conftest.
$ac_ext
33944 cat >>conftest.
$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33946 $ac_includes_default
33947 #include <$ac_header>
33949 rm -f conftest.
$ac_objext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33951 (eval $ac_compile) 2>conftest.er1
33953 grep -v '^ *+' conftest.er1
>conftest.err
33955 cat conftest.err
>&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } &&
33958 { ac_try
='test -z "$ac_c_werror_flag"
33959 || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try
='test -s conftest.$ac_objext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971 ac_header_compiler
=yes
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.
$ac_ext >&5
33976 ac_header_compiler
=no
33978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33980 echo "${ECHO_T}$ac_header_compiler" >&6
33982 # Is the header present?
33983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33985 cat >conftest.
$ac_ext <<_ACEOF
33988 cat confdefs.h
>>conftest.
$ac_ext
33989 cat >>conftest.
$ac_ext <<_ACEOF
33990 /* end confdefs.h. */
33991 #include <$ac_header>
33993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33994 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33996 grep -v '^ *+' conftest.er1
>conftest.err
33998 cat conftest.err
>&5
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); } >/dev
/null
; then
34001 if test -s conftest.err
; then
34002 ac_cpp_err
=$ac_c_preproc_warn_flag
34003 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34010 if test -z "$ac_cpp_err"; then
34011 ac_header_preproc
=yes
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.
$ac_ext >&5
34016 ac_header_preproc
=no
34018 rm -f conftest.err conftest.
$ac_ext
34019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34020 echo "${ECHO_T}$ac_header_preproc" >&6
34022 # So? What about this header?
34023 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34029 ac_header_preproc
=yes
34032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34046 ## ----------------------------------------- ##
34047 ## Report this to wx-dev@lists.wxwidgets.org ##
34048 ## ----------------------------------------- ##
34051 sed "s/^/$as_me: WARNING: /" >&2
34054 echo "$as_me:$LINENO: checking for $ac_header" >&5
34055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 eval "$as_ac_Header=\$ac_header_preproc"
34061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34066 cat >>confdefs.h
<<_ACEOF
34067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34075 if test "$wxUSE_LIBSDL" != "no"; then
34077 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34078 if test "${with_sdl_prefix+set}" = set; then
34079 withval
="$with_sdl_prefix"
34080 sdl_prefix
="$withval"
34085 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34086 if test "${with_sdl_exec_prefix+set}" = set; then
34087 withval
="$with_sdl_exec_prefix"
34088 sdl_exec_prefix
="$withval"
34092 # Check whether --enable-sdltest or --disable-sdltest was given.
34093 if test "${enable_sdltest+set}" = set; then
34094 enableval
="$enable_sdltest"
34100 if test x
$sdl_exec_prefix != x
; then
34101 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34102 if test x
${SDL_CONFIG+set} != xset
; then
34103 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34106 if test x
$sdl_prefix != x
; then
34107 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34108 if test x
${SDL_CONFIG+set} != xset
; then
34109 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34114 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34115 # Extract the first word of "sdl-config", so it can be a program name with args.
34116 set dummy sdl
-config; ac_word
=$2
34117 echo "$as_me:$LINENO: checking for $ac_word" >&5
34118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34119 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34122 case $SDL_CONFIG in
34124 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34128 for as_dir
in $PATH
34131 test -z "$as_dir" && as_dir
=.
34132 for ac_exec_ext
in '' $ac_executable_extensions; do
34133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34134 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34141 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34145 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34147 if test -n "$SDL_CONFIG"; then
34148 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34149 echo "${ECHO_T}$SDL_CONFIG" >&6
34151 echo "$as_me:$LINENO: result: no" >&5
34152 echo "${ECHO_T}no" >&6
34155 min_sdl_version
=1.2.0
34156 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34157 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34159 if test "$SDL_CONFIG" = "no" ; then
34162 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34163 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34165 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34167 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34168 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34169 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34170 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34171 if test "x$enable_sdltest" = "xyes" ; then
34172 ac_save_CFLAGS
="$CFLAGS"
34173 ac_save_LIBS
="$LIBS"
34174 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34175 LIBS
="$LIBS $SDL_LIBS"
34177 if test "$cross_compiling" = yes; then
34178 echo $ac_n "cross compiling; assumed OK... $ac_c"
34180 cat >conftest.
$ac_ext <<_ACEOF
34183 cat confdefs.h
>>conftest.
$ac_ext
34184 cat >>conftest.
$ac_ext <<_ACEOF
34185 /* end confdefs.h. */
34188 #include <stdlib.h>
34189 #include <string.h>
34193 my_strdup (char *str)
34199 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34200 strcpy (new_str, str);
34208 int main (int argc, char *argv[])
34210 int major, minor, micro;
34213 /* This hangs on some systems (?)
34214 system ("touch conf.sdltest");
34216 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34218 /* HP/UX 9 (%@#!) writes to sscanf strings */
34219 tmp_version = my_strdup("$min_sdl_version");
34220 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34221 printf("%s, bad version string\n", "$min_sdl_version");
34225 if (($sdl_major_version > major) ||
34226 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34227 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34233 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34234 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34235 printf("*** best to upgrade to the required version.\n");
34236 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34237 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34238 printf("*** config.cache before re-running configure\n");
34245 rm -f conftest
$ac_exeext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34247 (eval $ac_link) 2>&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34252 (eval $ac_try) 2>&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); }; }; then
34258 echo "$as_me: program exited with status $ac_status" >&5
34259 echo "$as_me: failed program was:" >&5
34260 sed 's/^/| /' conftest.
$ac_ext >&5
34262 ( exit $ac_status )
34265 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34267 CFLAGS
="$ac_save_CFLAGS"
34268 LIBS
="$ac_save_LIBS"
34271 if test "x$no_sdl" = x
; then
34272 echo "$as_me:$LINENO: result: yes" >&5
34273 echo "${ECHO_T}yes" >&6
34275 EXTRALIBS_SDL
="$SDL_LIBS"
34276 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34277 cat >>confdefs.h
<<\_ACEOF
34278 #define wxUSE_LIBSDL 1
34283 echo "$as_me:$LINENO: result: no" >&5
34284 echo "${ECHO_T}no" >&6
34285 if test "$SDL_CONFIG" = "no" ; then
34286 echo "*** The sdl-config script installed by SDL could not be found"
34287 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34288 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34289 echo "*** full path to sdl-config."
34291 if test -f conf.sdltest
; then
34294 echo "*** Could not run SDL test program, checking why..."
34295 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34296 LIBS
="$LIBS $SDL_LIBS"
34297 cat >conftest.
$ac_ext <<_ACEOF
34300 cat confdefs.h
>>conftest.
$ac_ext
34301 cat >>conftest.
$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34307 int main(int argc, char *argv[])
34310 #define main K_and_R_C_main
34320 rm -f conftest.
$ac_objext conftest
$ac_exeext
34321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34322 (eval $ac_link) 2>conftest.er1
34324 grep -v '^ *+' conftest.er1
>conftest.err
34326 cat conftest.err
>&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); } &&
34329 { ac_try
='test -z "$ac_c_werror_flag"
34330 || test ! -s conftest.err'
34331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34332 (eval $ac_try) 2>&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); }; } &&
34336 { ac_try
='test -s conftest$ac_exeext'
34337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34338 (eval $ac_try) 2>&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); }; }; then
34342 echo "*** The test program compiled, but did not run. This usually means"
34343 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34344 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34345 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34346 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34347 echo "*** is required on your system"
34349 echo "*** If you have an old version installed, it is best to remove it, although"
34350 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.
$ac_ext >&5
34355 echo "*** The test program failed to compile or link. See the file config.log for the"
34356 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34357 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34358 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34360 rm -f conftest.err conftest.
$ac_objext \
34361 conftest
$ac_exeext conftest.
$ac_ext
34362 CFLAGS
="$ac_save_CFLAGS"
34363 LIBS
="$ac_save_LIBS"
34374 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34380 cat >>confdefs.h
<<\_ACEOF
34381 #define wxUSE_SOUND 1
34384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34387 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34388 cat >>confdefs.h
<<\_ACEOF
34389 #define wxUSE_CMDLINE_PARSER 1
34394 if test "$wxUSE_STOPWATCH" = "yes"; then
34395 cat >>confdefs.h
<<\_ACEOF
34396 #define wxUSE_STOPWATCH 1
34401 if test "$wxUSE_DATETIME" = "yes"; then
34402 cat >>confdefs.h
<<\_ACEOF
34403 #define wxUSE_DATETIME 1
34408 if test "$wxUSE_FILE" = "yes"; then
34409 cat >>confdefs.h
<<\_ACEOF
34410 #define wxUSE_FILE 1
34415 if test "$wxUSE_FFILE" = "yes"; then
34416 cat >>confdefs.h
<<\_ACEOF
34417 #define wxUSE_FFILE 1
34422 if test "$wxUSE_FILESYSTEM" = "yes"; then
34423 cat >>confdefs.h
<<\_ACEOF
34424 #define wxUSE_FILESYSTEM 1
34429 if test "$wxUSE_FS_ZIP" = "yes"; then
34430 cat >>confdefs.h
<<\_ACEOF
34431 #define wxUSE_FS_ZIP 1
34436 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34437 cat >>confdefs.h
<<\_ACEOF
34438 #define wxUSE_ZIPSTREAM 1
34443 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34444 cat >>confdefs.h
<<\_ACEOF
34445 #define wxUSE_ON_FATAL_EXCEPTION 1
34450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34451 cat >>confdefs.h
<<\_ACEOF
34452 #define wxUSE_SNGLINST_CHECKER 1
34457 if test "$wxUSE_BUSYINFO" = "yes"; then
34458 cat >>confdefs.h
<<\_ACEOF
34459 #define wxUSE_BUSYINFO 1
34464 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34465 cat >>confdefs.h
<<\_ACEOF
34466 #define wxUSE_STD_IOSTREAM 1
34471 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34472 cat >>confdefs.h
<<\_ACEOF
34473 #define wxUSE_TEXTBUFFER 1
34478 if test "$wxUSE_TEXTFILE" = "yes"; then
34479 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34480 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34481 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34483 cat >>confdefs.h
<<\_ACEOF
34484 #define wxUSE_TEXTFILE 1
34490 if test "$wxUSE_CONFIG" = "yes" ; then
34491 if test "$wxUSE_TEXTFILE" != "yes"; then
34492 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34493 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34495 cat >>confdefs.h
<<\_ACEOF
34496 #define wxUSE_CONFIG 1
34499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34503 if test "$wxUSE_INTL" = "yes" ; then
34504 if test "$wxUSE_FILE" != "yes"; then
34505 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34506 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34508 cat >>confdefs.h
<<\_ACEOF
34509 #define wxUSE_INTL 1
34512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34513 GUIDIST
="$GUIDIST INTL_DIST"
34517 if test "$wxUSE_LOG" = "yes"; then
34518 cat >>confdefs.h
<<\_ACEOF
34519 #define wxUSE_LOG 1
34523 if test "$wxUSE_LOGGUI" = "yes"; then
34524 cat >>confdefs.h
<<\_ACEOF
34525 #define wxUSE_LOGGUI 1
34530 if test "$wxUSE_LOGWINDOW" = "yes"; then
34531 cat >>confdefs.h
<<\_ACEOF
34532 #define wxUSE_LOGWINDOW 1
34537 if test "$wxUSE_LOGDIALOG" = "yes"; then
34538 cat >>confdefs.h
<<\_ACEOF
34539 #define wxUSE_LOG_DIALOG 1
34545 if test "$wxUSE_LONGLONG" = "yes"; then
34546 cat >>confdefs.h
<<\_ACEOF
34547 #define wxUSE_LONGLONG 1
34552 if test "$wxUSE_GEOMETRY" = "yes"; then
34553 cat >>confdefs.h
<<\_ACEOF
34554 #define wxUSE_GEOMETRY 1
34559 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34560 cat >>confdefs.h
<<\_ACEOF
34561 #define wxUSE_DIALUP_MANAGER 1
34564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34567 if test "$wxUSE_STREAMS" = "yes" ; then
34568 cat >>confdefs.h
<<\_ACEOF
34569 #define wxUSE_STREAMS 1
34575 if test "$wxUSE_DATETIME" = "yes"; then
34577 for ac_func
in strptime
34579 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34580 echo "$as_me:$LINENO: checking for $ac_func" >&5
34581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34582 if eval "test \"\${$as_ac_var+set}\" = set"; then
34583 echo $ECHO_N "(cached) $ECHO_C" >&6
34585 cat >conftest.
$ac_ext <<_ACEOF
34588 cat confdefs.h
>>conftest.
$ac_ext
34589 cat >>conftest.
$ac_ext <<_ACEOF
34590 /* end confdefs.h. */
34591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34593 #define $ac_func innocuous_$ac_func
34595 /* System header to define __stub macros and hopefully few prototypes,
34596 which can conflict with char $ac_func (); below.
34597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34598 <limits.h> exists even on freestanding compilers. */
34601 # include <limits.h>
34603 # include <assert.h>
34608 /* Override any gcc2 internal prototype to avoid an error. */
34613 /* We use char because int might match the return type of a gcc2
34614 builtin and then its argument prototype would still apply. */
34616 /* The GNU C library defines this for functions which it implements
34617 to always fail with ENOSYS. Some functions are actually named
34618 something starting with __ and the normal name is an alias. */
34619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34622 char (*f) () = $ac_func;
34631 return f != $ac_func;
34636 rm -f conftest.
$ac_objext conftest
$ac_exeext
34637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34638 (eval $ac_link) 2>conftest.er1
34640 grep -v '^ *+' conftest.er1
>conftest.err
34642 cat conftest.err
>&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } &&
34645 { ac_try
='test -z "$ac_c_werror_flag"
34646 || test ! -s conftest.err'
34647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34648 (eval $ac_try) 2>&5
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); }; } &&
34652 { ac_try
='test -s conftest$ac_exeext'
34653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34654 (eval $ac_try) 2>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); }; }; then
34658 eval "$as_ac_var=yes"
34660 echo "$as_me: failed program was:" >&5
34661 sed 's/^/| /' conftest.
$ac_ext >&5
34663 eval "$as_ac_var=no"
34665 rm -f conftest.err conftest.
$ac_objext \
34666 conftest
$ac_exeext conftest.
$ac_ext
34668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34670 if test `eval echo '${'$as_ac_var'}'` = yes; then
34671 cat >>confdefs.h
<<_ACEOF
34672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34679 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34680 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34681 if test "${wx_cv_var_timezone+set}" = set; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 cat >conftest.
$ac_ext <<_ACEOF
34688 cat confdefs.h
>>conftest.
$ac_ext
34689 cat >>conftest.
$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34705 rm -f conftest.
$ac_objext
34706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34707 (eval $ac_compile) 2>conftest.er1
34709 grep -v '^ *+' conftest.er1
>conftest.err
34711 cat conftest.err
>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); } &&
34714 { ac_try
='test -z "$ac_c_werror_flag"
34715 || test ! -s conftest.err'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; } &&
34721 { ac_try
='test -s conftest.$ac_objext'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; }; then
34728 wx_cv_var_timezone
=timezone
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.
$ac_ext >&5
34735 cat >conftest.
$ac_ext <<_ACEOF
34738 cat confdefs.h
>>conftest.
$ac_ext
34739 cat >>conftest.
$ac_ext <<_ACEOF
34740 /* end confdefs.h. */
34755 rm -f conftest.
$ac_objext
34756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34757 (eval $ac_compile) 2>conftest.er1
34759 grep -v '^ *+' conftest.er1
>conftest.err
34761 cat conftest.err
>&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); } &&
34764 { ac_try
='test -z "$ac_c_werror_flag"
34765 || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try
='test -s conftest.$ac_objext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34778 wx_cv_var_timezone
=_timezone
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.
$ac_ext >&5
34785 cat >conftest.
$ac_ext <<_ACEOF
34788 cat confdefs.h
>>conftest.
$ac_ext
34789 cat >>conftest.
$ac_ext <<_ACEOF
34790 /* end confdefs.h. */
34805 rm -f conftest.
$ac_objext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34807 (eval $ac_compile) 2>conftest.er1
34809 grep -v '^ *+' conftest.er1
>conftest.err
34811 cat conftest.err
>&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } &&
34814 { ac_try
='test -z "$ac_c_werror_flag"
34815 || test ! -s conftest.err'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; } &&
34821 { ac_try
='test -s conftest.$ac_objext'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; }; then
34828 wx_cv_var_timezone
=__timezone
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.
$ac_ext >&5
34835 if test "$USE_DOS" = 0 ; then
34836 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34837 echo "$as_me: WARNING: no timezone variable" >&2;}
34842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34854 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34855 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34857 if test "x$wx_cv_var_timezone" != x
; then
34858 cat >>confdefs.h
<<_ACEOF
34859 #define WX_TIMEZONE $wx_cv_var_timezone
34865 for ac_func
in localtime
34867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34870 if eval "test \"\${$as_ac_var+set}\" = set"; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 cat >conftest.
$ac_ext <<_ACEOF
34876 cat confdefs.h
>>conftest.
$ac_ext
34877 cat >>conftest.
$ac_ext <<_ACEOF
34878 /* end confdefs.h. */
34879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34881 #define $ac_func innocuous_$ac_func
34883 /* System header to define __stub macros and hopefully few prototypes,
34884 which can conflict with char $ac_func (); below.
34885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34886 <limits.h> exists even on freestanding compilers. */
34889 # include <limits.h>
34891 # include <assert.h>
34896 /* Override any gcc2 internal prototype to avoid an error. */
34901 /* We use char because int might match the return type of a gcc2
34902 builtin and then its argument prototype would still apply. */
34904 /* The GNU C library defines this for functions which it implements
34905 to always fail with ENOSYS. Some functions are actually named
34906 something starting with __ and the normal name is an alias. */
34907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34910 char (*f) () = $ac_func;
34919 return f != $ac_func;
34924 rm -f conftest.
$ac_objext conftest
$ac_exeext
34925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34926 (eval $ac_link) 2>conftest.er1
34928 grep -v '^ *+' conftest.er1
>conftest.err
34930 cat conftest.err
>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); } &&
34933 { ac_try
='test -z "$ac_c_werror_flag"
34934 || test ! -s conftest.err'
34935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34936 (eval $ac_try) 2>&5
34938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34939 (exit $ac_status); }; } &&
34940 { ac_try
='test -s conftest$ac_exeext'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; }; then
34946 eval "$as_ac_var=yes"
34948 echo "$as_me: failed program was:" >&5
34949 sed 's/^/| /' conftest.
$ac_ext >&5
34951 eval "$as_ac_var=no"
34953 rm -f conftest.err conftest.
$ac_objext \
34954 conftest
$ac_exeext conftest.
$ac_ext
34956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34958 if test `eval echo '${'$as_ac_var'}'` = yes; then
34959 cat >>confdefs.h
<<_ACEOF
34960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34967 if test "$ac_cv_func_localtime" = "yes"; then
34968 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34969 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34970 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34971 echo $ECHO_N "(cached) $ECHO_C" >&6
34974 cat >conftest.
$ac_ext <<_ACEOF
34977 cat confdefs.h
>>conftest.
$ac_ext
34978 cat >>conftest.
$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34994 rm -f conftest.
$ac_objext
34995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34996 (eval $ac_compile) 2>conftest.er1
34998 grep -v '^ *+' conftest.er1
>conftest.err
35000 cat conftest.err
>&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } &&
35003 { ac_try
='test -z "$ac_c_werror_flag"
35004 || test ! -s conftest.err'
35005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35006 (eval $ac_try) 2>&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); }; } &&
35010 { ac_try
='test -s conftest.$ac_objext'
35011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35012 (eval $ac_try) 2>&5
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); }; }; then
35017 wx_cv_struct_tm_has_gmtoff
=yes
35020 echo "$as_me: failed program was:" >&5
35021 sed 's/^/| /' conftest.
$ac_ext >&5
35023 wx_cv_struct_tm_has_gmtoff
=no
35026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35029 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35030 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35033 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35034 cat >>confdefs.h
<<\_ACEOF
35035 #define WX_GMTOFF_IN_TM 1
35042 for ac_func
in gettimeofday ftime
35044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35045 echo "$as_me:$LINENO: checking for $ac_func" >&5
35046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35047 if eval "test \"\${$as_ac_var+set}\" = set"; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35050 cat >conftest.
$ac_ext <<_ACEOF
35053 cat confdefs.h
>>conftest.
$ac_ext
35054 cat >>conftest.
$ac_ext <<_ACEOF
35055 /* end confdefs.h. */
35056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35058 #define $ac_func innocuous_$ac_func
35060 /* System header to define __stub macros and hopefully few prototypes,
35061 which can conflict with char $ac_func (); below.
35062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35063 <limits.h> exists even on freestanding compilers. */
35066 # include <limits.h>
35068 # include <assert.h>
35073 /* Override any gcc2 internal prototype to avoid an error. */
35078 /* We use char because int might match the return type of a gcc2
35079 builtin and then its argument prototype would still apply. */
35081 /* The GNU C library defines this for functions which it implements
35082 to always fail with ENOSYS. Some functions are actually named
35083 something starting with __ and the normal name is an alias. */
35084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35087 char (*f) () = $ac_func;
35096 return f != $ac_func;
35101 rm -f conftest.
$ac_objext conftest
$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>conftest.er1
35105 grep -v '^ *+' conftest.er1
>conftest.err
35107 cat conftest.err
>&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try
='test -z "$ac_c_werror_flag"
35111 || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try
='test -s conftest$ac_exeext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123 eval "$as_ac_var=yes"
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.
$ac_ext >&5
35128 eval "$as_ac_var=no"
35130 rm -f conftest.err conftest.
$ac_objext \
35131 conftest
$ac_exeext conftest.
$ac_ext
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h
<<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35144 if test "$ac_cv_func_gettimeofday" = "yes"; then
35145 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35146 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35147 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35148 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 ac_cpp
='$CXXCPP $CPPFLAGS'
35155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35160 cat >conftest.
$ac_ext <<_ACEOF
35163 cat confdefs.h
>>conftest.
$ac_ext
35164 cat >>conftest.
$ac_ext <<_ACEOF
35165 /* end confdefs.h. */
35167 #include <sys/time.h>
35168 #include <unistd.h>
35175 gettimeofday(&tv, NULL);
35181 rm -f conftest.
$ac_objext
35182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35183 (eval $ac_compile) 2>conftest.er1
35185 grep -v '^ *+' conftest.er1
>conftest.err
35187 cat conftest.err
>&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } &&
35190 { ac_try
='test -z "$ac_cxx_werror_flag"
35191 || test ! -s conftest.err'
35192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35193 (eval $ac_try) 2>&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); }; } &&
35197 { ac_try
='test -s conftest.$ac_objext'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; }; then
35203 wx_cv_func_gettimeofday_has_2_args
=yes
35205 echo "$as_me: failed program was:" >&5
35206 sed 's/^/| /' conftest.
$ac_ext >&5
35208 cat >conftest.
$ac_ext <<_ACEOF
35211 cat confdefs.h
>>conftest.
$ac_ext
35212 cat >>conftest.
$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35215 #include <sys/time.h>
35216 #include <unistd.h>
35229 rm -f conftest.
$ac_objext
35230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35231 (eval $ac_compile) 2>conftest.er1
35233 grep -v '^ *+' conftest.er1
>conftest.err
35235 cat conftest.err
>&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } &&
35238 { ac_try
='test -z "$ac_cxx_werror_flag"
35239 || test ! -s conftest.err'
35240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35241 (eval $ac_try) 2>&5
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); }; } &&
35245 { ac_try
='test -s conftest.$ac_objext'
35246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35247 (eval $ac_try) 2>&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); }; }; then
35251 wx_cv_func_gettimeofday_has_2_args
=no
35253 echo "$as_me: failed program was:" >&5
35254 sed 's/^/| /' conftest.
$ac_ext >&5
35257 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35258 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35259 wx_cv_func_gettimeofday_has_2_args
=unknown
35263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35268 ac_cpp
='$CPP $CPPFLAGS'
35269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35275 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35276 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35278 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35279 cat >>confdefs.h
<<\_ACEOF
35280 #define WX_GETTIMEOFDAY_NO_TZ 1
35286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35290 if test "$wxUSE_SOCKETS" = "yes"; then
35291 if test "$wxUSE_MGL" = "1"; then
35292 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35293 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35298 if test "$wxUSE_SOCKETS" = "yes"; then
35299 if test "$TOOLKIT" != "MSW"; then
35300 echo "$as_me:$LINENO: checking for socket" >&5
35301 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35302 if test "${ac_cv_func_socket+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35305 cat >conftest.
$ac_ext <<_ACEOF
35308 cat confdefs.h
>>conftest.
$ac_ext
35309 cat >>conftest.
$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35311 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35313 #define socket innocuous_socket
35315 /* System header to define __stub macros and hopefully few prototypes,
35316 which can conflict with char socket (); below.
35317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35318 <limits.h> exists even on freestanding compilers. */
35321 # include <limits.h>
35323 # include <assert.h>
35328 /* Override any gcc2 internal prototype to avoid an error. */
35333 /* We use char because int might match the return type of a gcc2
35334 builtin and then its argument prototype would still apply. */
35336 /* The GNU C library defines this for functions which it implements
35337 to always fail with ENOSYS. Some functions are actually named
35338 something starting with __ and the normal name is an alias. */
35339 #if defined (__stub_socket) || defined (__stub___socket)
35342 char (*f) () = socket;
35351 return f != socket;
35356 rm -f conftest.
$ac_objext conftest
$ac_exeext
35357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35358 (eval $ac_link) 2>conftest.er1
35360 grep -v '^ *+' conftest.er1
>conftest.err
35362 cat conftest.err
>&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } &&
35365 { ac_try
='test -z "$ac_c_werror_flag"
35366 || test ! -s conftest.err'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; } &&
35372 { ac_try
='test -s conftest$ac_exeext'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; }; then
35378 ac_cv_func_socket
=yes
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.
$ac_ext >&5
35383 ac_cv_func_socket
=no
35385 rm -f conftest.err conftest.
$ac_objext \
35386 conftest
$ac_exeext conftest.
$ac_ext
35388 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35389 echo "${ECHO_T}$ac_cv_func_socket" >&6
35390 if test $ac_cv_func_socket = yes; then
35394 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35395 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35396 if test "${ac_cv_lib_socket_socket+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 ac_check_lib_save_LIBS
=$LIBS
35400 LIBS
="-lsocket $LIBS"
35401 cat >conftest.
$ac_ext <<_ACEOF
35404 cat confdefs.h
>>conftest.
$ac_ext
35405 cat >>conftest.
$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35408 /* Override any gcc2 internal prototype to avoid an error. */
35412 /* We use char because int might match the return type of a gcc2
35413 builtin and then its argument prototype would still apply. */
35423 rm -f conftest.
$ac_objext conftest
$ac_exeext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35425 (eval $ac_link) 2>conftest.er1
35427 grep -v '^ *+' conftest.er1
>conftest.err
35429 cat conftest.err
>&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } &&
35432 { ac_try
='test -z "$ac_c_werror_flag"
35433 || test ! -s conftest.err'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; } &&
35439 { ac_try
='test -s conftest$ac_exeext'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 ac_cv_lib_socket_socket
=yes
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.
$ac_ext >&5
35450 ac_cv_lib_socket_socket
=no
35452 rm -f conftest.err conftest.
$ac_objext \
35453 conftest
$ac_exeext conftest.
$ac_ext
35454 LIBS
=$ac_check_lib_save_LIBS
35456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35457 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35458 if test $ac_cv_lib_socket_socket = yes; then
35459 if test "$INET_LINK" != " -lsocket"; then
35460 INET_LINK
="$INET_LINK -lsocket"
35464 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35465 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35478 if test "$wxUSE_SOCKETS" = "yes" ; then
35479 if test "$TOOLKIT" != "MSW"; then
35480 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35481 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35482 if test "${wx_cv_type_getsockname3+set}" = set; then
35483 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 cat >conftest.
$ac_ext <<_ACEOF
35489 cat confdefs.h
>>conftest.
$ac_ext
35490 cat >>conftest.
$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35493 #include <sys/types.h>
35494 #include <sys/socket.h>
35501 getsockname(0, 0, &len);
35507 rm -f conftest.
$ac_objext
35508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35509 (eval $ac_compile) 2>conftest.er1
35511 grep -v '^ *+' conftest.er1
>conftest.err
35513 cat conftest.err
>&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } &&
35516 { ac_try
='test -z "$ac_c_werror_flag"
35517 || test ! -s conftest.err'
35518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519 (eval $ac_try) 2>&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); }; } &&
35523 { ac_try
='test -s conftest.$ac_objext'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; }; then
35529 wx_cv_type_getsockname3
=socklen_t
35531 echo "$as_me: failed program was:" >&5
35532 sed 's/^/| /' conftest.
$ac_ext >&5
35535 CFLAGS_OLD
="$CFLAGS"
35536 if test "$GCC" = yes ; then
35537 CFLAGS
="$CFLAGS -Werror"
35540 cat >conftest.
$ac_ext <<_ACEOF
35543 cat confdefs.h
>>conftest.
$ac_ext
35544 cat >>conftest.
$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35547 #include <sys/types.h>
35548 #include <sys/socket.h>
35555 getsockname(0, 0, &len);
35561 rm -f conftest.
$ac_objext
35562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35563 (eval $ac_compile) 2>conftest.er1
35565 grep -v '^ *+' conftest.er1
>conftest.err
35567 cat conftest.err
>&5
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); } &&
35570 { ac_try
='test -z "$ac_c_werror_flag"
35571 || test ! -s conftest.err'
35572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35573 (eval $ac_try) 2>&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); }; } &&
35577 { ac_try
='test -s conftest.$ac_objext'
35578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35579 (eval $ac_try) 2>&5
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); }; }; then
35583 wx_cv_type_getsockname3
=size_t
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.
$ac_ext >&5
35588 cat >conftest.
$ac_ext <<_ACEOF
35591 cat confdefs.h
>>conftest.
$ac_ext
35592 cat >>conftest.
$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35595 #include <sys/types.h>
35596 #include <sys/socket.h>
35603 getsockname(0, 0, &len);
35609 rm -f conftest.
$ac_objext
35610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35611 (eval $ac_compile) 2>conftest.er1
35613 grep -v '^ *+' conftest.er1
>conftest.err
35615 cat conftest.err
>&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } &&
35618 { ac_try
='test -z "$ac_c_werror_flag"
35619 || test ! -s conftest.err'
35620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35621 (eval $ac_try) 2>&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); }; } &&
35625 { ac_try
='test -s conftest.$ac_objext'
35626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35627 (eval $ac_try) 2>&5
35629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630 (exit $ac_status); }; }; then
35631 wx_cv_type_getsockname3
=int
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.
$ac_ext >&5
35636 wx_cv_type_getsockname3
=unknown
35639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35644 CFLAGS
="$CFLAGS_OLD"
35648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35651 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35652 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35654 if test "$wx_cv_type_getsockname3" = "unknown"; then
35656 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35657 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35659 cat >>confdefs.h
<<_ACEOF
35660 #define SOCKLEN_T $wx_cv_type_getsockname3
35667 if test "$wxUSE_SOCKETS" = "yes" ; then
35668 cat >>confdefs.h
<<\_ACEOF
35669 #define wxUSE_SOCKETS 1
35672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35675 if test "$wxUSE_PROTOCOL" = "yes"; then
35676 if test "$wxUSE_SOCKETS" != "yes"; then
35677 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35678 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35683 if test "$wxUSE_PROTOCOL" = "yes"; then
35684 cat >>confdefs.h
<<\_ACEOF
35685 #define wxUSE_PROTOCOL 1
35689 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35690 cat >>confdefs.h
<<\_ACEOF
35691 #define wxUSE_PROTOCOL_HTTP 1
35695 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35696 cat >>confdefs.h
<<\_ACEOF
35697 #define wxUSE_PROTOCOL_FTP 1
35701 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35702 cat >>confdefs.h
<<\_ACEOF
35703 #define wxUSE_PROTOCOL_FILE 1
35708 if test "$wxUSE_FS_INET" = "yes"; then
35709 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35710 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35715 if test "$wxUSE_URL" = "yes"; then
35716 if test "$wxUSE_PROTOCOL" != "yes"; then
35717 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35718 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35721 if test "$wxUSE_URL" = "yes"; then
35722 cat >>confdefs.h
<<\_ACEOF
35723 #define wxUSE_URL 1
35729 if test "$wxUSE_FS_INET" = "yes"; then
35730 cat >>confdefs.h
<<\_ACEOF
35731 #define wxUSE_FS_INET 1
35737 if test "$wxUSE_GUI" = "yes"; then
35739 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35740 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35741 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35745 if test "$TOOLKIT" != "MSW"; then
35746 if test "$wxUSE_JOYSTICK" = "yes"; then
35748 for ac_header
in linux
/joystick.h
35750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35752 echo "$as_me:$LINENO: checking for $ac_header" >&5
35753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35760 # Is the header compilable?
35761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35763 cat >conftest.
$ac_ext <<_ACEOF
35766 cat confdefs.h
>>conftest.
$ac_ext
35767 cat >>conftest.
$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35769 $ac_includes_default
35770 #include <$ac_header>
35772 rm -f conftest.
$ac_objext
35773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35774 (eval $ac_compile) 2>conftest.er1
35776 grep -v '^ *+' conftest.er1
>conftest.err
35778 cat conftest.err
>&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } &&
35781 { ac_try
='test -z "$ac_c_werror_flag"
35782 || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try
='test -s conftest.$ac_objext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794 ac_header_compiler
=yes
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.
$ac_ext >&5
35799 ac_header_compiler
=no
35801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35803 echo "${ECHO_T}$ac_header_compiler" >&6
35805 # Is the header present?
35806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35808 cat >conftest.
$ac_ext <<_ACEOF
35811 cat confdefs.h
>>conftest.
$ac_ext
35812 cat >>conftest.
$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 #include <$ac_header>
35816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35819 grep -v '^ *+' conftest.er1
>conftest.err
35821 cat conftest.err
>&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } >/dev
/null
; then
35824 if test -s conftest.err
; then
35825 ac_cpp_err
=$ac_c_preproc_warn_flag
35826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35833 if test -z "$ac_cpp_err"; then
35834 ac_header_preproc
=yes
35836 echo "$as_me: failed program was:" >&5
35837 sed 's/^/| /' conftest.
$ac_ext >&5
35839 ac_header_preproc
=no
35841 rm -f conftest.err conftest.
$ac_ext
35842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35843 echo "${ECHO_T}$ac_header_preproc" >&6
35845 # So? What about this header?
35846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35852 ac_header_preproc
=yes
35855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35869 ## ----------------------------------------- ##
35870 ## Report this to wx-dev@lists.wxwidgets.org ##
35871 ## ----------------------------------------- ##
35874 sed "s/^/$as_me: WARNING: /" >&2
35877 echo "$as_me:$LINENO: checking for $ac_header" >&5
35878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35880 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 eval "$as_ac_Header=\$ac_header_preproc"
35884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35889 cat >>confdefs.h
<<_ACEOF
35890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35897 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35899 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35900 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35905 if test "$wxUSE_JOYSTICK" = "yes"; then
35906 cat >>confdefs.h
<<\_ACEOF
35907 #define wxUSE_JOYSTICK 1
35910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35916 if test "$wxUSE_FONTMAP" = "yes" ; then
35917 cat >>confdefs.h
<<\_ACEOF
35918 #define wxUSE_FONTMAP 1
35923 if test "$wxUSE_UNICODE" = "yes" ; then
35924 cat >>confdefs.h
<<\_ACEOF
35925 #define wxUSE_UNICODE 1
35929 if test "$USE_WIN32" != 1; then
35930 wxUSE_UNICODE_MSLU
=no
35933 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35934 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35935 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35936 if test "${ac_cv_lib_unicows_main+set}" = set; then
35937 echo $ECHO_N "(cached) $ECHO_C" >&6
35939 ac_check_lib_save_LIBS
=$LIBS
35940 LIBS
="-lunicows $LIBS"
35941 cat >conftest.
$ac_ext <<_ACEOF
35944 cat confdefs.h
>>conftest.
$ac_ext
35945 cat >>conftest.
$ac_ext <<_ACEOF
35946 /* end confdefs.h. */
35957 rm -f conftest.
$ac_objext conftest
$ac_exeext
35958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35959 (eval $ac_link) 2>conftest.er1
35961 grep -v '^ *+' conftest.er1
>conftest.err
35963 cat conftest.err
>&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); } &&
35966 { ac_try
='test -z "$ac_c_werror_flag"
35967 || test ! -s conftest.err'
35968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969 (eval $ac_try) 2>&5
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); }; } &&
35973 { ac_try
='test -s conftest$ac_exeext'
35974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35975 (eval $ac_try) 2>&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); }; }; then
35979 ac_cv_lib_unicows_main
=yes
35981 echo "$as_me: failed program was:" >&5
35982 sed 's/^/| /' conftest.
$ac_ext >&5
35984 ac_cv_lib_unicows_main
=no
35986 rm -f conftest.err conftest.
$ac_objext \
35987 conftest
$ac_exeext conftest.
$ac_ext
35988 LIBS
=$ac_check_lib_save_LIBS
35990 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35991 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35992 if test $ac_cv_lib_unicows_main = yes; then
35994 cat >>confdefs.h
<<\_ACEOF
35995 #define wxUSE_UNICODE_MSLU 1
36001 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36002 Applications will only run on Windows NT/2000/XP!" >&5
36003 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36004 Applications will only run on Windows NT/2000/XP!" >&2;}
36005 wxUSE_UNICODE_MSLU
=no
36012 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36013 cat >>confdefs.h
<<\_ACEOF
36014 #define wxUSE_EXPERIMENTAL_PRINTF 1
36020 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36021 cat >>confdefs.h
<<\_ACEOF
36022 #define wxUSE_POSTSCRIPT 1
36027 cat >>confdefs.h
<<\_ACEOF
36028 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36032 cat >>confdefs.h
<<\_ACEOF
36033 #define wxUSE_NORMALIZED_PS_FONTS 1
36038 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36039 cat >>confdefs.h
<<\_ACEOF
36040 #define wxUSE_CONSTRAINTS 1
36043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36046 if test "$wxUSE_MDI" = "yes"; then
36047 cat >>confdefs.h
<<\_ACEOF
36048 #define wxUSE_MDI 1
36052 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36053 cat >>confdefs.h
<<\_ACEOF
36054 #define wxUSE_MDI_ARCHITECTURE 1
36057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36061 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36062 cat >>confdefs.h
<<\_ACEOF
36063 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36067 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36072 if test "$wxUSE_HELP" = "yes"; then
36073 cat >>confdefs.h
<<\_ACEOF
36074 #define wxUSE_HELP 1
36077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36079 if test "$wxUSE_MSW" = 1; then
36080 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36081 cat >>confdefs.h
<<\_ACEOF
36082 #define wxUSE_MS_HTML_HELP 1
36088 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36089 if test "$wxUSE_HTML" = "yes"; then
36090 cat >>confdefs.h
<<\_ACEOF
36091 #define wxUSE_WXHTML_HELP 1
36095 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36096 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36097 wxUSE_WXHTML_HELP
=no
36102 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36103 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36104 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36105 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36107 cat >>confdefs.h
<<\_ACEOF
36108 #define wxUSE_PRINTING_ARCHITECTURE 1
36112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36115 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36116 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36117 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36118 { (exit 1); exit 1; }; }
36122 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36123 -o "$wxUSE_CLIPBOARD" = "yes" \
36124 -o "$wxUSE_OLE" = "yes" \
36125 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36127 for ac_header
in ole2.h
36129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36131 echo "$as_me:$LINENO: checking for $ac_header" >&5
36132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36139 # Is the header compilable?
36140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36142 cat >conftest.
$ac_ext <<_ACEOF
36145 cat confdefs.h
>>conftest.
$ac_ext
36146 cat >>conftest.
$ac_ext <<_ACEOF
36147 /* end confdefs.h. */
36148 $ac_includes_default
36149 #include <$ac_header>
36151 rm -f conftest.
$ac_objext
36152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36153 (eval $ac_compile) 2>conftest.er1
36155 grep -v '^ *+' conftest.er1
>conftest.err
36157 cat conftest.err
>&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); } &&
36160 { ac_try
='test -z "$ac_c_werror_flag"
36161 || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try
='test -s conftest.$ac_objext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 ac_header_compiler
=yes
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.
$ac_ext >&5
36178 ac_header_compiler
=no
36180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36182 echo "${ECHO_T}$ac_header_compiler" >&6
36184 # Is the header present?
36185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36187 cat >conftest.
$ac_ext <<_ACEOF
36190 cat confdefs.h
>>conftest.
$ac_ext
36191 cat >>conftest.
$ac_ext <<_ACEOF
36192 /* end confdefs.h. */
36193 #include <$ac_header>
36195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36196 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
36203 if test -s conftest.err
; then
36204 ac_cpp_err
=$ac_c_preproc_warn_flag
36205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36212 if test -z "$ac_cpp_err"; then
36213 ac_header_preproc
=yes
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.
$ac_ext >&5
36218 ac_header_preproc
=no
36220 rm -f conftest.err conftest.
$ac_ext
36221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36222 echo "${ECHO_T}$ac_header_preproc" >&6
36224 # So? What about this header?
36225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36231 ac_header_preproc
=yes
36234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36248 ## ----------------------------------------- ##
36249 ## Report this to wx-dev@lists.wxwidgets.org ##
36250 ## ----------------------------------------- ##
36253 sed "s/^/$as_me: WARNING: /" >&2
36256 echo "$as_me:$LINENO: checking for $ac_header" >&5
36257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36261 eval "$as_ac_Header=\$ac_header_preproc"
36263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36268 cat >>confdefs.h
<<_ACEOF
36269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36277 if test "$ac_cv_header_ole2_h" = "yes" ; then
36278 if test "$GCC" = yes ; then
36282 ac_cpp
='$CXXCPP $CPPFLAGS'
36283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36288 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36289 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36290 cat >conftest.
$ac_ext <<_ACEOF
36293 cat confdefs.h
>>conftest.
$ac_ext
36294 cat >>conftest.
$ac_ext <<_ACEOF
36295 /* end confdefs.h. */
36296 #include <windows.h>
36306 rm -f conftest.
$ac_objext
36307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36308 (eval $ac_compile) 2>conftest.er1
36310 grep -v '^ *+' conftest.er1
>conftest.err
36312 cat conftest.err
>&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } &&
36315 { ac_try
='test -z "$ac_cxx_werror_flag"
36316 || test ! -s conftest.err'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; } &&
36322 { ac_try
='test -s conftest.$ac_objext'
36323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36324 (eval $ac_try) 2>&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); }; }; then
36328 echo "$as_me:$LINENO: result: no" >&5
36329 echo "${ECHO_T}no" >&6
36331 echo "$as_me: failed program was:" >&5
36332 sed 's/^/| /' conftest.
$ac_ext >&5
36334 echo "$as_me:$LINENO: result: yes" >&5
36335 echo "${ECHO_T}yes" >&6
36336 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36340 ac_cpp
='$CPP $CPPFLAGS'
36341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36345 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36346 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36347 if test "$wxUSE_OLE" = "yes" ; then
36348 cat >>confdefs.h
<<\_ACEOF
36349 #define wxUSE_OLE 1
36355 if test "$wxUSE_DATAOBJ" = "yes" ; then
36356 cat >>confdefs.h
<<\_ACEOF
36357 #define wxUSE_DATAOBJ 1
36362 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36363 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36366 wxUSE_DRAG_AND_DROP
=no
36371 if test "$wxUSE_METAFILE" = "yes"; then
36372 cat >>confdefs.h
<<\_ACEOF
36373 #define wxUSE_METAFILE 1
36377 cat >>confdefs.h
<<\_ACEOF
36378 #define wxUSE_ENH_METAFILE 1
36384 if test "$wxUSE_IPC" = "yes"; then
36385 if test "$wxUSE_SOCKETS" != "yes"; then
36386 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36387 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36390 cat >>confdefs.h
<<\_ACEOF
36391 #define wxUSE_IPC 1
36396 if test "$wxUSE_CLIPBOARD" = "yes"; then
36397 if test "$wxUSE_MGL" = 1; then
36398 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36399 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36403 if test "$wxUSE_CLIPBOARD" = "yes"; then
36404 cat >>confdefs.h
<<\_ACEOF
36405 #define wxUSE_CLIPBOARD 1
36409 cat >>confdefs.h
<<\_ACEOF
36410 #define wxUSE_DATAOBJ 1
36416 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36417 if test "$wxUSE_GTK" = 1; then
36418 if test "$WXGTK12" != 1; then
36419 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36420 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36421 wxUSE_DRAG_AND_DROP
=no
36425 if test "$wxUSE_MOTIF" = 1; then
36426 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36427 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36428 wxUSE_DRAG_AND_DROP
=no
36431 if test "$wxUSE_X11" = 1; then
36432 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36433 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36434 wxUSE_DRAG_AND_DROP
=no
36437 if test "$wxUSE_MGL" = 1; then
36438 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36439 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36440 wxUSE_DRAG_AND_DROP
=no
36443 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36444 cat >>confdefs.h
<<\_ACEOF
36445 #define wxUSE_DRAG_AND_DROP 1
36452 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36456 if test "$wxUSE_SPLINES" = "yes" ; then
36457 cat >>confdefs.h
<<\_ACEOF
36458 #define wxUSE_SPLINES 1
36465 if test "$wxUSE_CONTROLS" = "yes"; then
36469 if test "$wxUSE_ACCEL" = "yes"; then
36470 cat >>confdefs.h
<<\_ACEOF
36471 #define wxUSE_ACCEL 1
36477 if test "$wxUSE_BUTTON" = "yes"; then
36478 cat >>confdefs.h
<<\_ACEOF
36479 #define wxUSE_BUTTON 1
36485 if test "$wxUSE_BMPBUTTON" = "yes"; then
36486 cat >>confdefs.h
<<\_ACEOF
36487 #define wxUSE_BMPBUTTON 1
36493 if test "$wxUSE_CALCTRL" = "yes"; then
36494 cat >>confdefs.h
<<\_ACEOF
36495 #define wxUSE_CALENDARCTRL 1
36499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36502 if test "$wxUSE_CARET" = "yes"; then
36503 cat >>confdefs.h
<<\_ACEOF
36504 #define wxUSE_CARET 1
36508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36511 if test "$wxUSE_COMBOBOX" = "yes"; then
36512 cat >>confdefs.h
<<\_ACEOF
36513 #define wxUSE_COMBOBOX 1
36519 if test "$wxUSE_CHOICE" = "yes"; then
36520 cat >>confdefs.h
<<\_ACEOF
36521 #define wxUSE_CHOICE 1
36527 if test "$wxUSE_CHECKBOX" = "yes"; then
36528 cat >>confdefs.h
<<\_ACEOF
36529 #define wxUSE_CHECKBOX 1
36535 if test "$wxUSE_CHECKLST" = "yes"; then
36536 cat >>confdefs.h
<<\_ACEOF
36537 #define wxUSE_CHECKLISTBOX 1
36541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36544 if test "$wxUSE_DISPLAY" = "yes"; then
36545 cat >>confdefs.h
<<\_ACEOF
36546 #define wxUSE_DISPLAY 1
36549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36552 if test "$wxUSE_GAUGE" = "yes"; then
36553 cat >>confdefs.h
<<\_ACEOF
36554 #define wxUSE_GAUGE 1
36560 if test "$wxUSE_GRID" = "yes"; then
36561 cat >>confdefs.h
<<\_ACEOF
36562 #define wxUSE_GRID 1
36566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36569 if test "$wxUSE_IMAGLIST" = "yes"; then
36570 cat >>confdefs.h
<<\_ACEOF
36571 #define wxUSE_IMAGLIST 1
36576 if test "$wxUSE_LISTBOOK" = "yes"; then
36577 cat >>confdefs.h
<<\_ACEOF
36578 #define wxUSE_LISTBOOK 1
36584 if test "$wxUSE_LISTBOX" = "yes"; then
36585 cat >>confdefs.h
<<\_ACEOF
36586 #define wxUSE_LISTBOX 1
36592 if test "$wxUSE_LISTCTRL" = "yes"; then
36593 if test "$wxUSE_IMAGLIST" = "yes"; then
36594 cat >>confdefs.h
<<\_ACEOF
36595 #define wxUSE_LISTCTRL 1
36599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36601 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36602 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36606 if test "$wxUSE_NOTEBOOK" = "yes"; then
36607 cat >>confdefs.h
<<\_ACEOF
36608 #define wxUSE_NOTEBOOK 1
36612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36616 if test "$wxUSE_RADIOBOX" = "yes"; then
36617 cat >>confdefs.h
<<\_ACEOF
36618 #define wxUSE_RADIOBOX 1
36624 if test "$wxUSE_RADIOBTN" = "yes"; then
36625 cat >>confdefs.h
<<\_ACEOF
36626 #define wxUSE_RADIOBTN 1
36632 if test "$wxUSE_SASH" = "yes"; then
36633 cat >>confdefs.h
<<\_ACEOF
36634 #define wxUSE_SASH 1
36637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36640 if test "$wxUSE_SCROLLBAR" = "yes"; then
36641 cat >>confdefs.h
<<\_ACEOF
36642 #define wxUSE_SCROLLBAR 1
36646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36649 if test "$wxUSE_SLIDER" = "yes"; then
36650 cat >>confdefs.h
<<\_ACEOF
36651 #define wxUSE_SLIDER 1
36657 if test "$wxUSE_SPINBTN" = "yes"; then
36658 cat >>confdefs.h
<<\_ACEOF
36659 #define wxUSE_SPINBTN 1
36665 if test "$wxUSE_SPINCTRL" = "yes"; then
36666 cat >>confdefs.h
<<\_ACEOF
36667 #define wxUSE_SPINCTRL 1
36673 if test "$wxUSE_SPLITTER" = "yes"; then
36674 cat >>confdefs.h
<<\_ACEOF
36675 #define wxUSE_SPLITTER 1
36678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36681 if test "$wxUSE_STATBMP" = "yes"; then
36682 cat >>confdefs.h
<<\_ACEOF
36683 #define wxUSE_STATBMP 1
36689 if test "$wxUSE_STATBOX" = "yes"; then
36690 cat >>confdefs.h
<<\_ACEOF
36691 #define wxUSE_STATBOX 1
36697 if test "$wxUSE_STATTEXT" = "yes"; then
36698 cat >>confdefs.h
<<\_ACEOF
36699 #define wxUSE_STATTEXT 1
36705 if test "$wxUSE_STATLINE" = "yes"; then
36706 cat >>confdefs.h
<<\_ACEOF
36707 #define wxUSE_STATLINE 1
36713 if test "$wxUSE_STATUSBAR" = "yes"; then
36714 cat >>confdefs.h
<<\_ACEOF
36715 #define wxUSE_STATUSBAR 1
36720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36723 if test "$wxUSE_TABDIALOG" = "yes"; then
36724 cat >>confdefs.h
<<\_ACEOF
36725 #define wxUSE_TAB_DIALOG 1
36728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36731 if test "$wxUSE_TEXTCTRL" = "yes"; then
36732 cat >>confdefs.h
<<\_ACEOF
36733 #define wxUSE_TEXTCTRL 1
36737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36740 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36741 if test "$wxUSE_COCOA" = 1 ; then
36742 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36743 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36746 if test "$wxUSE_PM" = 1; then
36747 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36748 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36752 if test "$wxUSE_UNIVERSAL" = "yes"; then
36753 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36754 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36758 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36759 cat >>confdefs.h
<<\_ACEOF
36760 #define wxUSE_TOGGLEBTN 1
36767 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36768 cat >>confdefs.h
<<\_ACEOF
36769 #define wxUSE_TOOLBAR_SIMPLE 1
36772 wxUSE_TOOLBAR
="yes"
36776 if test "$wxUSE_TOOLBAR" = "yes"; then
36777 cat >>confdefs.h
<<\_ACEOF
36778 #define wxUSE_TOOLBAR 1
36783 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36784 wxUSE_TOOLBAR_NATIVE
="yes"
36787 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36788 cat >>confdefs.h
<<\_ACEOF
36789 #define wxUSE_TOOLBAR_NATIVE 1
36795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36798 if test "$wxUSE_TOOLTIPS" = "yes"; then
36799 if test "$wxUSE_MOTIF" = 1; then
36800 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36801 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36803 if test "$wxUSE_UNIVERSAL" = "yes"; then
36804 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36805 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36807 cat >>confdefs.h
<<\_ACEOF
36808 #define wxUSE_TOOLTIPS 1
36815 if test "$wxUSE_TREECTRL" = "yes"; then
36816 if test "$wxUSE_IMAGLIST" = "yes"; then
36817 cat >>confdefs.h
<<\_ACEOF
36818 #define wxUSE_TREECTRL 1
36822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36824 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36825 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36829 if test "$wxUSE_POPUPWIN" = "yes"; then
36830 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36831 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36832 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36834 if test "$wxUSE_PM" = 1; then
36835 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36836 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36838 cat >>confdefs.h
<<\_ACEOF
36839 #define wxUSE_POPUPWIN 1
36848 if test "$wxUSE_TIPWINDOW" = "yes"; then
36849 if test "$wxUSE_PM" = 1; then
36850 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36851 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36853 cat >>confdefs.h
<<\_ACEOF
36854 #define wxUSE_TIPWINDOW 1
36860 if test "$USES_CONTROLS" = 1; then
36861 cat >>confdefs.h
<<\_ACEOF
36862 #define wxUSE_CONTROLS 1
36868 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36869 cat >>confdefs.h
<<\_ACEOF
36870 #define wxUSE_ACCESSIBILITY 1
36873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36876 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36877 cat >>confdefs.h
<<\_ACEOF
36878 #define wxUSE_DRAGIMAGE 1
36881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36884 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36885 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36886 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36887 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36889 cat >>confdefs.h
<<\_ACEOF
36890 #define wxUSE_EXCEPTIONS 1
36893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36898 if test "$wxUSE_HTML" = "yes"; then
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define wxUSE_HTML 1
36904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36905 if test "$wxUSE_MAC" = 1; then
36906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36909 if test "$wxUSE_WEBKIT" = "yes"; then
36910 if test "$wxUSE_MAC" = 1; then
36911 old_CPPFLAGS
="$CPPFLAGS"
36912 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36913 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36914 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36915 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 cat >conftest.
$ac_ext <<_ACEOF
36921 cat confdefs.h
>>conftest.
$ac_ext
36922 cat >>conftest.
$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36924 #include <Carbon/Carbon.h>
36926 #include <WebKit/HIWebView.h>
36928 rm -f conftest.
$ac_objext
36929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36930 (eval $ac_compile) 2>conftest.er1
36932 grep -v '^ *+' conftest.er1
>conftest.err
36934 cat conftest.err
>&5
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); } &&
36937 { ac_try
='test -z "$ac_c_werror_flag"
36938 || test ! -s conftest.err'
36939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36940 (eval $ac_try) 2>&5
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); }; } &&
36944 { ac_try
='test -s conftest.$ac_objext'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; }; then
36950 ac_cv_header_WebKit_HIWebView_h
=yes
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.
$ac_ext >&5
36955 ac_cv_header_WebKit_HIWebView_h
=no
36957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36959 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36960 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36961 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36963 cat >>confdefs.h
<<\_ACEOF
36964 #define wxUSE_WEBKIT 1
36967 WEBKIT_LINK
="-framework WebKit"
36971 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36972 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36978 CPPFLAGS
="$old_CPPFLAGS"
36979 elif test "$wxUSE_COCOA" = 1; then
36980 cat >>confdefs.h
<<\_ACEOF
36981 #define wxUSE_WEBKIT 1
36990 if test "$wxUSE_MENUS" = "yes"; then
36991 cat >>confdefs.h
<<\_ACEOF
36992 #define wxUSE_MENUS 1
36995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36998 if test "$wxUSE_METAFILE" = "yes"; then
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_METAFILE 1
37005 if test "$wxUSE_MIMETYPE" = "yes"; then
37006 cat >>confdefs.h
<<\_ACEOF
37007 #define wxUSE_MIMETYPE 1
37012 if test "$wxUSE_MINIFRAME" = "yes"; then
37013 cat >>confdefs.h
<<\_ACEOF
37014 #define wxUSE_MINIFRAME 1
37017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37020 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37021 cat >>confdefs.h
<<\_ACEOF
37022 #define wxUSE_SYSTEM_OPTIONS 1
37025 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37026 "$TOOLKIT" = "MOTIF"; then
37027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37032 if test "$wxUSE_VALIDATORS" = "yes"; then
37033 cat >>confdefs.h
<<\_ACEOF
37034 #define wxUSE_VALIDATORS 1
37037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37040 if test "$wxUSE_PALETTE" = "yes" ; then
37041 cat >>confdefs.h
<<\_ACEOF
37042 #define wxUSE_PALETTE 1
37047 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37048 LIBS
=" -lunicows $LIBS"
37052 if test "$wxUSE_IMAGE" = "yes" ; then
37053 cat >>confdefs.h
<<\_ACEOF
37054 #define wxUSE_IMAGE 1
37058 if test "$wxUSE_GIF" = "yes" ; then
37059 cat >>confdefs.h
<<\_ACEOF
37060 #define wxUSE_GIF 1
37065 if test "$wxUSE_PCX" = "yes" ; then
37066 cat >>confdefs.h
<<\_ACEOF
37067 #define wxUSE_PCX 1
37072 if test "$wxUSE_IFF" = "yes" ; then
37073 cat >>confdefs.h
<<\_ACEOF
37074 #define wxUSE_IFF 1
37079 if test "$wxUSE_PNM" = "yes" ; then
37080 cat >>confdefs.h
<<\_ACEOF
37081 #define wxUSE_PNM 1
37086 if test "$wxUSE_XPM" = "yes" ; then
37087 cat >>confdefs.h
<<\_ACEOF
37088 #define wxUSE_XPM 1
37093 if test "$wxUSE_ICO_CUR" = "yes" ; then
37094 cat >>confdefs.h
<<\_ACEOF
37095 #define wxUSE_ICO_CUR 1
37102 if test "$wxUSE_CHOICEDLG" = "yes"; then
37103 cat >>confdefs.h
<<\_ACEOF
37104 #define wxUSE_CHOICEDLG 1
37109 if test "$wxUSE_COLOURDLG" = "yes"; then
37110 cat >>confdefs.h
<<\_ACEOF
37111 #define wxUSE_COLOURDLG 1
37116 if test "$wxUSE_FILEDLG" = "yes"; then
37117 cat >>confdefs.h
<<\_ACEOF
37118 #define wxUSE_FILEDLG 1
37123 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37124 cat >>confdefs.h
<<\_ACEOF
37125 #define wxUSE_FINDREPLDLG 1
37130 if test "$wxUSE_FONTDLG" = "yes"; then
37131 cat >>confdefs.h
<<\_ACEOF
37132 #define wxUSE_FONTDLG 1
37137 if test "$wxUSE_DIRDLG" = "yes"; then
37138 if test "$wxUSE_TREECTRL" != "yes"; then
37139 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37140 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37142 cat >>confdefs.h
<<\_ACEOF
37143 #define wxUSE_DIRDLG 1
37149 if test "$wxUSE_MSGDLG" = "yes"; then
37150 cat >>confdefs.h
<<\_ACEOF
37151 #define wxUSE_MSGDLG 1
37156 if test "$wxUSE_NUMBERDLG" = "yes"; then
37157 cat >>confdefs.h
<<\_ACEOF
37158 #define wxUSE_NUMBERDLG 1
37163 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37164 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37165 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37166 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37168 cat >>confdefs.h
<<\_ACEOF
37169 #define wxUSE_PROGRESSDLG 1
37175 if test "$wxUSE_SPLASH" = "yes"; then
37176 cat >>confdefs.h
<<\_ACEOF
37177 #define wxUSE_SPLASH 1
37182 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37183 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37184 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37185 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37187 cat >>confdefs.h
<<\_ACEOF
37188 #define wxUSE_STARTUP_TIPS 1
37194 if test "$wxUSE_TEXTDLG" = "yes"; then
37195 cat >>confdefs.h
<<\_ACEOF
37196 #define wxUSE_TEXTDLG 1
37201 if test "$wxUSE_WIZARDDLG" = "yes"; then
37202 cat >>confdefs.h
<<\_ACEOF
37203 #define wxUSE_WIZARDDLG 1
37206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37210 if test "$cross_compiling" = "yes"; then
37213 OSINFO
=`uname -s -r -m`
37214 OSINFO
="\"$OSINFO\""
37217 cat >>confdefs.h
<<_ACEOF
37218 #define WXWIN_OS_DESCRIPTION $OSINFO
37223 if test "x$prefix" != "xNONE"; then
37226 wxPREFIX
=$ac_default_prefix
37229 cat >>confdefs.h
<<_ACEOF
37230 #define wxINSTALL_PREFIX "$wxPREFIX"
37234 top_builddir_wxconfig
=`pwd`
37238 CORE_BASE_LIBS
="net base"
37239 CORE_GUI_LIBS
="adv core"
37241 if test "$wxUSE_XML" = "yes" ; then
37242 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37244 if test "$wxUSE_ODBC" != "no" ; then
37245 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37246 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37248 if test "$wxUSE_HTML" = "yes" ; then
37249 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37252 if test "$wxUSE_GUI" != "yes"; then
37263 if test "$wxUSE_MAC" = 1 ; then
37264 if test "$wxUSE_SOUND" = "yes"; then
37265 LDFLAGS
="$LDFLAGS -framework QuickTime"
37267 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37269 if test "$wxUSE_COCOA" = 1 ; then
37270 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37274 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37282 echo "$as_me:$LINENO: checking for $ac_func" >&5
37283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37284 if eval "test \"\${$as_ac_var+set}\" = set"; then
37285 echo $ECHO_N "(cached) $ECHO_C" >&6
37287 cat >conftest.
$ac_ext <<_ACEOF
37290 cat confdefs.h
>>conftest.
$ac_ext
37291 cat >>conftest.
$ac_ext <<_ACEOF
37292 /* end confdefs.h. */
37293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37295 #define $ac_func innocuous_$ac_func
37297 /* System header to define __stub macros and hopefully few prototypes,
37298 which can conflict with char $ac_func (); below.
37299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37300 <limits.h> exists even on freestanding compilers. */
37303 # include <limits.h>
37305 # include <assert.h>
37310 /* Override any gcc2 internal prototype to avoid an error. */
37315 /* We use char because int might match the return type of a gcc2
37316 builtin and then its argument prototype would still apply. */
37318 /* The GNU C library defines this for functions which it implements
37319 to always fail with ENOSYS. Some functions are actually named
37320 something starting with __ and the normal name is an alias. */
37321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37324 char (*f) () = $ac_func;
37333 return f != $ac_func;
37338 rm -f conftest.
$ac_objext conftest
$ac_exeext
37339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37340 (eval $ac_link) 2>conftest.er1
37342 grep -v '^ *+' conftest.er1
>conftest.err
37344 cat conftest.err
>&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } &&
37347 { ac_try
='test -z "$ac_c_werror_flag"
37348 || test ! -s conftest.err'
37349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37350 (eval $ac_try) 2>&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); }; } &&
37354 { ac_try
='test -s conftest$ac_exeext'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }; then
37360 eval "$as_ac_var=yes"
37362 echo "$as_me: failed program was:" >&5
37363 sed 's/^/| /' conftest.
$ac_ext >&5
37365 eval "$as_ac_var=no"
37367 rm -f conftest.err conftest.
$ac_objext \
37368 conftest
$ac_exeext conftest.
$ac_ext
37370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37372 if test `eval echo '${'$as_ac_var'}'` = yes; then
37373 cat >>confdefs.h
<<_ACEOF
37374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37381 for ac_func
in floor
37383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37384 echo "$as_me:$LINENO: checking for $ac_func" >&5
37385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37386 if eval "test \"\${$as_ac_var+set}\" = set"; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 cat >conftest.
$ac_ext <<_ACEOF
37392 cat confdefs.h
>>conftest.
$ac_ext
37393 cat >>conftest.
$ac_ext <<_ACEOF
37394 /* end confdefs.h. */
37395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37397 #define $ac_func innocuous_$ac_func
37399 /* System header to define __stub macros and hopefully few prototypes,
37400 which can conflict with char $ac_func (); below.
37401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37402 <limits.h> exists even on freestanding compilers. */
37405 # include <limits.h>
37407 # include <assert.h>
37412 /* Override any gcc2 internal prototype to avoid an error. */
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37420 /* The GNU C library defines this for functions which it implements
37421 to always fail with ENOSYS. Some functions are actually named
37422 something starting with __ and the normal name is an alias. */
37423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37426 char (*f) () = $ac_func;
37435 return f != $ac_func;
37440 rm -f conftest.
$ac_objext conftest
$ac_exeext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37442 (eval $ac_link) 2>conftest.er1
37444 grep -v '^ *+' conftest.er1
>conftest.err
37446 cat conftest.err
>&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try
='test -z "$ac_c_werror_flag"
37450 || test ! -s conftest.err'
37451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37452 (eval $ac_try) 2>&5
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); }; } &&
37456 { ac_try
='test -s conftest$ac_exeext'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; }; then
37462 eval "$as_ac_var=yes"
37464 echo "$as_me: failed program was:" >&5
37465 sed 's/^/| /' conftest.
$ac_ext >&5
37467 eval "$as_ac_var=no"
37469 rm -f conftest.err conftest.
$ac_objext \
37470 conftest
$ac_exeext conftest.
$ac_ext
37472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37474 if test `eval echo '${'$as_ac_var'}'` = yes; then
37475 cat >>confdefs.h
<<_ACEOF
37476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37482 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37483 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37484 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37485 echo "$as_me:$LINENO: result: yes" >&5
37486 echo "${ECHO_T}yes" >&6
37488 echo "$as_me:$LINENO: result: no" >&5
37489 echo "${ECHO_T}no" >&6
37491 # use different functions to avoid configure caching
37497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37498 echo "$as_me:$LINENO: checking for $ac_func" >&5
37499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37500 if eval "test \"\${$as_ac_var+set}\" = set"; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 cat >conftest.
$ac_ext <<_ACEOF
37506 cat confdefs.h
>>conftest.
$ac_ext
37507 cat >>conftest.
$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37519 # include <limits.h>
37521 # include <assert.h>
37526 /* Override any gcc2 internal prototype to avoid an error. */
37531 /* We use char because int might match the return type of a gcc2
37532 builtin and then its argument prototype would still apply. */
37534 /* The GNU C library defines this for functions which it implements
37535 to always fail with ENOSYS. Some functions are actually named
37536 something starting with __ and the normal name is an alias. */
37537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37540 char (*f) () = $ac_func;
37549 return f != $ac_func;
37554 rm -f conftest.
$ac_objext conftest
$ac_exeext
37555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37556 (eval $ac_link) 2>conftest.er1
37558 grep -v '^ *+' conftest.er1
>conftest.err
37560 cat conftest.err
>&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } &&
37563 { ac_try
='test -z "$ac_c_werror_flag"
37564 || test ! -s conftest.err'
37565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37566 (eval $ac_try) 2>&5
37568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569 (exit $ac_status); }; } &&
37570 { ac_try
='test -s conftest$ac_exeext'
37571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37572 (eval $ac_try) 2>&5
37574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37575 (exit $ac_status); }; }; then
37576 eval "$as_ac_var=yes"
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.
$ac_ext >&5
37581 eval "$as_ac_var=no"
37583 rm -f conftest.err conftest.
$ac_objext \
37584 conftest
$ac_exeext conftest.
$ac_ext
37586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37588 if test `eval echo '${'$as_ac_var'}'` = yes; then
37589 cat >>confdefs.h
<<_ACEOF
37590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37597 for ac_func
in ceil
37599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37600 echo "$as_me:$LINENO: checking for $ac_func" >&5
37601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37602 if eval "test \"\${$as_ac_var+set}\" = set"; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 cat >conftest.
$ac_ext <<_ACEOF
37608 cat confdefs.h
>>conftest.
$ac_ext
37609 cat >>conftest.
$ac_ext <<_ACEOF
37610 /* end confdefs.h. */
37611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37613 #define $ac_func innocuous_$ac_func
37615 /* System header to define __stub macros and hopefully few prototypes,
37616 which can conflict with char $ac_func (); below.
37617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37618 <limits.h> exists even on freestanding compilers. */
37621 # include <limits.h>
37623 # include <assert.h>
37628 /* Override any gcc2 internal prototype to avoid an error. */
37633 /* We use char because int might match the return type of a gcc2
37634 builtin and then its argument prototype would still apply. */
37636 /* The GNU C library defines this for functions which it implements
37637 to always fail with ENOSYS. Some functions are actually named
37638 something starting with __ and the normal name is an alias. */
37639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37642 char (*f) () = $ac_func;
37651 return f != $ac_func;
37656 rm -f conftest.
$ac_objext conftest
$ac_exeext
37657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37658 (eval $ac_link) 2>conftest.er1
37660 grep -v '^ *+' conftest.er1
>conftest.err
37662 cat conftest.err
>&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } &&
37665 { ac_try
='test -z "$ac_c_werror_flag"
37666 || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try
='test -s conftest$ac_exeext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 eval "$as_ac_var=yes"
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.
$ac_ext >&5
37683 eval "$as_ac_var=no"
37685 rm -f conftest.err conftest.
$ac_objext \
37686 conftest
$ac_exeext conftest.
$ac_ext
37688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37690 if test `eval echo '${'$as_ac_var'}'` = yes; then
37691 cat >>confdefs.h
<<_ACEOF
37692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37698 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37699 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37700 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37701 echo "$as_me:$LINENO: result: yes" >&5
37702 echo "${ECHO_T}yes" >&6
37704 echo "$as_me:$LINENO: result: no" >&5
37705 echo "${ECHO_T}no" >&6
37706 # not sure we should warn the user, crash, etc.
37710 if test "$wxUSE_GUI" = "yes"; then
37713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37714 drawing dynamic erase event exec font image \
37715 minimal propsize rotate shaped widgets render"
37717 if test "$wxUSE_MONOLITHIC" != "yes"; then
37718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37721 SAMPLES_SUBDIRS
="console"
37725 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37726 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37728 if test "$GXX" = yes ; then
37729 CXXWARNINGS
="-Wall"
37732 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37734 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37735 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37736 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37739 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37740 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37741 EXTRALIBS_XML
="$EXPAT_LINK"
37742 EXTRALIBS_HTML
="$MSPACK_LINK"
37743 EXTRALIBS_ODBC
="$ODBC_LINK"
37744 if test "$wxUSE_GUI" = "yes"; then
37745 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK | sed 's/ \+/ /g'`
37747 if test "$wxUSE_OPENGL" = "yes"; then
37748 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37751 LDFLAGS
="$LDFLAGS $PROFILE"
37753 if test "$wxUSE_GTK" = 1; then
37756 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37759 WXCONFIG_EXTRALIBS
="$LIBS"
37761 if test "$wxUSE_REGEX" = "builtin" ; then
37762 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37764 if test "$wxUSE_EXPAT" = "builtin" ; then
37765 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37767 if test "$wxUSE_ODBC" = "builtin" ; then
37768 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37770 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37771 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37773 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37774 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37776 if test "$wxUSE_LIBPNG" = "builtin" ; then
37777 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37779 if test "$wxUSE_ZLIB" = "builtin" ; then
37780 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37782 if test "$wxUSE_ODBC" = "builtin" ; then
37783 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37786 for i
in $wxconfig_3rdparty ; do
37787 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37791 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37805 if test $wxUSE_MONOLITHIC = "yes" ; then
37811 if test $wxUSE_PLUGINS = "yes" ; then
37817 if test $wxUSE_ODBC != "no" ; then
37823 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37849 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37859 if test "x$BAKEFILE_HOST" = "x"; then
37860 BAKEFILE_HOST
="${host}"
37863 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37865 if test -n "$ac_tool_prefix"; then
37866 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37867 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37868 echo "$as_me:$LINENO: checking for $ac_word" >&5
37869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37870 if test "${ac_cv_prog_RANLIB+set}" = set; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37873 if test -n "$RANLIB"; then
37874 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37877 for as_dir
in $PATH
37880 test -z "$as_dir" && as_dir
=.
37881 for ac_exec_ext
in '' $ac_executable_extensions; do
37882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37883 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37892 RANLIB
=$ac_cv_prog_RANLIB
37893 if test -n "$RANLIB"; then
37894 echo "$as_me:$LINENO: result: $RANLIB" >&5
37895 echo "${ECHO_T}$RANLIB" >&6
37897 echo "$as_me:$LINENO: result: no" >&5
37898 echo "${ECHO_T}no" >&6
37902 if test -z "$ac_cv_prog_RANLIB"; then
37903 ac_ct_RANLIB
=$RANLIB
37904 # Extract the first word of "ranlib", so it can be a program name with args.
37905 set dummy ranlib
; ac_word
=$2
37906 echo "$as_me:$LINENO: checking for $ac_word" >&5
37907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37909 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 if test -n "$ac_ct_RANLIB"; then
37912 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37915 for as_dir
in $PATH
37918 test -z "$as_dir" && as_dir
=.
37919 for ac_exec_ext
in '' $ac_executable_extensions; do
37920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37921 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37928 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37931 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37932 if test -n "$ac_ct_RANLIB"; then
37933 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37934 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37936 echo "$as_me:$LINENO: result: no" >&5
37937 echo "${ECHO_T}no" >&6
37940 RANLIB
=$ac_ct_RANLIB
37942 RANLIB
="$ac_cv_prog_RANLIB"
37945 # Find a good install program. We prefer a C program (faster),
37946 # so one script is as good as another. But avoid the broken or
37947 # incompatible versions:
37948 # SysV /etc/install, /usr/sbin/install
37949 # SunOS /usr/etc/install
37950 # IRIX /sbin/install
37952 # AmigaOS /C/install, which installs bootblocks on floppy discs
37953 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37954 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37955 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37956 # OS/2's system install, which has a completely different semantic
37957 # ./install, which can be erroneously created by make from ./install.sh.
37958 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37959 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37960 if test -z "$INSTALL"; then
37961 if test "${ac_cv_path_install+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37965 for as_dir
in $PATH
37968 test -z "$as_dir" && as_dir
=.
37969 # Account for people who put trailing slashes in PATH elements.
37971 .
/ | .
// | /cC
/* | \
37972 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37973 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37976 # OSF1 and SCO ODT 3.0 have their own names for install.
37977 # Don't use installbsd from OSF since it installs stuff as root
37979 for ac_prog
in ginstall scoinst
install; do
37980 for ac_exec_ext
in '' $ac_executable_extensions; do
37981 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37982 if test $ac_prog = install &&
37983 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37984 # AIX install. It has an incompatible calling convention.
37986 elif test $ac_prog = install &&
37987 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37988 # program-specific install script used by HP pwplus--don't use.
37991 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38003 if test "${ac_cv_path_install+set}" = set; then
38004 INSTALL
=$ac_cv_path_install
38006 # As a last resort, use the slow shell script. We don't cache a
38007 # path for INSTALL within a source directory, because that will
38008 # break other packages using the cache if that directory is
38009 # removed, or if the path is relative.
38010 INSTALL
=$ac_install_sh
38013 echo "$as_me:$LINENO: result: $INSTALL" >&5
38014 echo "${ECHO_T}$INSTALL" >&6
38016 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38017 # It thinks the first close brace ends the variable substitution.
38018 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38020 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38022 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38024 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38025 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38027 if test "$LN_S" = "ln -s"; then
38028 echo "$as_me:$LINENO: result: yes" >&5
38029 echo "${ECHO_T}yes" >&6
38031 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38032 echo "${ECHO_T}no, using $LN_S" >&6
38036 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38037 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38038 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38039 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38040 echo $ECHO_N "(cached) $ECHO_C" >&6
38042 cat >conftest.
make <<\_ACEOF
38044 @
echo 'ac_maketemp="$(MAKE)"'
38046 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38047 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38048 if test -n "$ac_maketemp"; then
38049 eval ac_cv_prog_make_
${ac_make}_set
=yes
38051 eval ac_cv_prog_make_
${ac_make}_set
=no
38053 rm -f conftest.
make
38055 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38056 echo "$as_me:$LINENO: result: yes" >&5
38057 echo "${ECHO_T}yes" >&6
38060 echo "$as_me:$LINENO: result: no" >&5
38061 echo "${ECHO_T}no" >&6
38062 SET_MAKE
="MAKE=${MAKE-make}"
38067 if test -n "$ac_tool_prefix"; then
38068 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38069 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38070 echo "$as_me:$LINENO: checking for $ac_word" >&5
38071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38072 if test "${ac_cv_prog_AR+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 if test -n "$AR"; then
38076 ac_cv_prog_AR
="$AR" # Let the user override the test.
38078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38079 for as_dir
in $PATH
38082 test -z "$as_dir" && as_dir
=.
38083 for ac_exec_ext
in '' $ac_executable_extensions; do
38084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38085 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38095 if test -n "$AR"; then
38096 echo "$as_me:$LINENO: result: $AR" >&5
38097 echo "${ECHO_T}$AR" >&6
38099 echo "$as_me:$LINENO: result: no" >&5
38100 echo "${ECHO_T}no" >&6
38104 if test -z "$ac_cv_prog_AR"; then
38106 # Extract the first word of "ar", so it can be a program name with args.
38107 set dummy
ar; ac_word
=$2
38108 echo "$as_me:$LINENO: checking for $ac_word" >&5
38109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38110 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38113 if test -n "$ac_ct_AR"; then
38114 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38117 for as_dir
in $PATH
38120 test -z "$as_dir" && as_dir
=.
38121 for ac_exec_ext
in '' $ac_executable_extensions; do
38122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38123 ac_cv_prog_ac_ct_AR
="ar"
38124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38130 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38133 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38134 if test -n "$ac_ct_AR"; then
38135 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38136 echo "${ECHO_T}$ac_ct_AR" >&6
38138 echo "$as_me:$LINENO: result: no" >&5
38139 echo "${ECHO_T}no" >&6
38144 AR
="$ac_cv_prog_AR"
38147 if test -n "$ac_tool_prefix"; then
38148 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38149 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38150 echo "$as_me:$LINENO: checking for $ac_word" >&5
38151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38152 if test "${ac_cv_prog_STRIP+set}" = set; then
38153 echo $ECHO_N "(cached) $ECHO_C" >&6
38155 if test -n "$STRIP"; then
38156 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38159 for as_dir
in $PATH
38162 test -z "$as_dir" && as_dir
=.
38163 for ac_exec_ext
in '' $ac_executable_extensions; do
38164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38165 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38174 STRIP
=$ac_cv_prog_STRIP
38175 if test -n "$STRIP"; then
38176 echo "$as_me:$LINENO: result: $STRIP" >&5
38177 echo "${ECHO_T}$STRIP" >&6
38179 echo "$as_me:$LINENO: result: no" >&5
38180 echo "${ECHO_T}no" >&6
38184 if test -z "$ac_cv_prog_STRIP"; then
38186 # Extract the first word of "strip", so it can be a program name with args.
38187 set dummy strip
; ac_word
=$2
38188 echo "$as_me:$LINENO: checking for $ac_word" >&5
38189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38190 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38191 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 if test -n "$ac_ct_STRIP"; then
38194 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38197 for as_dir
in $PATH
38200 test -z "$as_dir" && as_dir
=.
38201 for ac_exec_ext
in '' $ac_executable_extensions; do
38202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38203 ac_cv_prog_ac_ct_STRIP
="strip"
38204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38210 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38213 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38214 if test -n "$ac_ct_STRIP"; then
38215 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38216 echo "${ECHO_T}$ac_ct_STRIP" >&6
38218 echo "$as_me:$LINENO: result: no" >&5
38219 echo "${ECHO_T}no" >&6
38224 STRIP
="$ac_cv_prog_STRIP"
38227 if test -n "$ac_tool_prefix"; then
38228 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38229 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38230 echo "$as_me:$LINENO: checking for $ac_word" >&5
38231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38232 if test "${ac_cv_prog_NM+set}" = set; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 if test -n "$NM"; then
38236 ac_cv_prog_NM
="$NM" # Let the user override the test.
38238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38239 for as_dir
in $PATH
38242 test -z "$as_dir" && as_dir
=.
38243 for ac_exec_ext
in '' $ac_executable_extensions; do
38244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38245 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38255 if test -n "$NM"; then
38256 echo "$as_me:$LINENO: result: $NM" >&5
38257 echo "${ECHO_T}$NM" >&6
38259 echo "$as_me:$LINENO: result: no" >&5
38260 echo "${ECHO_T}no" >&6
38264 if test -z "$ac_cv_prog_NM"; then
38266 # Extract the first word of "nm", so it can be a program name with args.
38267 set dummy nm
; ac_word
=$2
38268 echo "$as_me:$LINENO: checking for $ac_word" >&5
38269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38270 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38271 echo $ECHO_N "(cached) $ECHO_C" >&6
38273 if test -n "$ac_ct_NM"; then
38274 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38277 for as_dir
in $PATH
38280 test -z "$as_dir" && as_dir
=.
38281 for ac_exec_ext
in '' $ac_executable_extensions; do
38282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38283 ac_cv_prog_ac_ct_NM
="nm"
38284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38290 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38293 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38294 if test -n "$ac_ct_NM"; then
38295 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38296 echo "${ECHO_T}$ac_ct_NM" >&6
38298 echo "$as_me:$LINENO: result: no" >&5
38299 echo "${ECHO_T}no" >&6
38304 NM
="$ac_cv_prog_NM"
38308 case ${BAKEFILE_HOST} in
38310 INSTALL_DIR
="mkdir"
38312 *) INSTALL_DIR
="$INSTALL -d"
38318 case ${BAKEFILE_HOST} in
38319 *-*-cygwin* | *-*-mingw32* )
38320 LDFLAGS_GUI
="-mwindows"
38326 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38327 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38328 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38333 egrep -s GNU
> /dev
/null
); then
38334 bakefile_cv_prog_makeisgnu
="yes"
38336 bakefile_cv_prog_makeisgnu
="no"
38340 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38341 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38343 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38358 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38359 case "${BAKEFILE_HOST}" in
38360 *-*-cygwin* | *-*-mingw32* )
38366 *-pc-os2_emx | *-pc-os2-emx )
38369 powerpc
-*-darwin* )
38378 case "$BAKEFILE_FORCE_PLATFORM" in
38396 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38397 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38398 { (exit 1); exit 1; }; }
38411 # Check whether --enable-omf or --disable-omf was given.
38412 if test "${enable_omf+set}" = set; then
38413 enableval
="$enable_omf"
38414 bk_os2_use_omf
="$enableval"
38417 case "${BAKEFILE_HOST}" in
38419 CFLAGS
="$CFLAGS -fno-common"
38420 CXXFLAGS
="$CXXFLAGS -fno-common"
38423 *-pc-os2_emx | *-pc-os2-emx )
38424 if test "x$bk_os2_use_omf" = "xyes" ; then
38427 LDFLAGS
="-Zomf $LDFLAGS"
38428 CFLAGS
="-Zomf $CFLAGS"
38429 CXXFLAGS
="-Zomf $CXXFLAGS"
38439 SO_SUFFIX_MODULE
="so"
38444 DLLPREFIX_MODULE
=""
38447 case "${BAKEFILE_HOST}" in
38450 SO_SUFFIX_MODULE
="sl"
38454 SO_SUFFIX_MODULE
="a"
38456 *-*-cygwin* | *-*-mingw32* )
38458 SO_SUFFIX_MODULE
="dll"
38459 DLLIMP_SUFFIX
="dll.a"
38467 *-pc-os2_emx | *-pc-os2-emx )
38469 SO_SUFFIX_MODULE
="dll"
38470 DLLIMP_SUFFIX
=$OS2_LIBEXT
38474 LIBEXT
=".$OS2_LIBEXT"
38476 powerpc
-*-darwin* )
38478 SO_SUFFIX_MODULE
="bundle"
38482 if test "x$DLLIMP_SUFFIX" = "x" ; then
38483 DLLIMP_SUFFIX
="$SO_SUFFIX"
38496 SHARED_LD_CC
="\$(CC) -shared -o"
38497 SHARED_LD_CXX
="\$(CXX) -shared -o"
38499 if test "x$GCC" = "xyes"; then
38503 case "${BAKEFILE_HOST}" in
38505 if test "x$GCC" = "xyes"; then
38506 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38507 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38509 LDFLAGS
="$LDFLAGS -L/usr/lib"
38511 SHARED_LD_CC
="${CC} -b -o"
38512 SHARED_LD_CXX
="${CXX} -b -o"
38518 if test "x$GCC" != "xyes"; then
38519 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38520 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38521 if test "${bakefile_cv_prog_icc+set}" = set; then
38522 echo $ECHO_N "(cached) $ECHO_C" >&6
38525 cat >conftest.
$ac_ext <<_ACEOF
38528 cat confdefs.h
>>conftest.
$ac_ext
38529 cat >>conftest.
$ac_ext <<_ACEOF
38530 /* end confdefs.h. */
38536 #ifndef __INTEL_COMPILER
38544 rm -f conftest.
$ac_objext
38545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38546 (eval $ac_compile) 2>conftest.er1
38548 grep -v '^ *+' conftest.er1
>conftest.err
38550 cat conftest.err
>&5
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); } &&
38553 { ac_try
='test -z "$ac_c_werror_flag"
38554 || test ! -s conftest.err'
38555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38556 (eval $ac_try) 2>&5
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); }; } &&
38560 { ac_try
='test -s conftest.$ac_objext'
38561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38562 (eval $ac_try) 2>&5
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); }; }; then
38566 bakefile_cv_prog_icc
=yes
38568 echo "$as_me: failed program was:" >&5
38569 sed 's/^/| /' conftest.
$ac_ext >&5
38571 bakefile_cv_prog_icc
=no
38574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38577 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38578 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38579 if test "$bakefile_cv_prog_icc" = "yes"; then
38586 if test "x$GCC" != xyes
; then
38587 SHARED_LD_CC
="${CC} -G -o"
38588 SHARED_LD_CXX
="${CXX} -G -o"
38595 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38596 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38597 if test "${wx_cv_gcc31+set}" = set; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38601 cat >conftest.
$ac_ext <<_ACEOF
38604 cat confdefs.h
>>conftest.
$ac_ext
38605 cat >>conftest.
$ac_ext <<_ACEOF
38606 /* end confdefs.h. */
38612 #if (__GNUC__ < 3) || \
38613 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38621 rm -f conftest.
$ac_objext
38622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38623 (eval $ac_compile) 2>conftest.er1
38625 grep -v '^ *+' conftest.er1
>conftest.err
38627 cat conftest.err
>&5
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); } &&
38630 { ac_try
='test -z "$ac_c_werror_flag"
38631 || test ! -s conftest.err'
38632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38633 (eval $ac_try) 2>&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); }; } &&
38637 { ac_try
='test -s conftest.$ac_objext'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; }; then
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.
$ac_ext >&5
38655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38658 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38659 echo "${ECHO_T}$wx_cv_gcc31" >&6
38660 if test "$wx_cv_gcc31" = "no"; then
38663 cat <<EOF >shared-ld-sh
38665 #-----------------------------------------------------------------------------
38666 #-- Name: distrib/mac/shared-ld-sh
38667 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38668 #-- Author: Gilles Depeyrot
38669 #-- Copyright: (c) 2002 Gilles Depeyrot
38670 #-- Licence: any use permitted
38671 #-----------------------------------------------------------------------------
38676 linking_flag="-dynamiclib"
38678 while test ${D}# -gt 0; do
38685 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38686 # collect these options and values
38687 args="${D}{args} ${D}1 ${D}2"
38691 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38692 # collect these options
38693 args="${D}{args} ${D}1"
38696 -dynamiclib|-bundle)
38697 linking_flag="${D}1"
38701 echo "shared-ld: unhandled option '${D}1'"
38705 *.o | *.a | *.dylib)
38706 # collect object files
38707 objects="${D}{objects} ${D}1"
38711 echo "shared-ld: unhandled argument '${D}1'"
38720 # Link one module containing all the others
38722 if test ${D}{verbose} = 1; then
38723 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38725 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38727 if test ${D}{status} != 0; then
38732 # Link the shared library from the single module created
38734 if test ${D}{verbose} = 1; then
38735 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38737 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38739 if test ${D}{status} != 0; then
38744 # Remove intermediate module
38746 rm -f master.${D}${D}.o
38751 chmod +x shared
-ld-sh
38753 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38754 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38755 SHARED_LD_CXX
="$SHARED_LD_CC"
38756 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38758 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38759 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38760 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38761 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38764 PIC_FLAG
="-dynamic -fPIC"
38768 if test "x$GCC" != "xyes"; then
38769 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38770 set dummy makeC
++SharedLib
; ac_word
=$2
38771 echo "$as_me:$LINENO: checking for $ac_word" >&5
38772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38773 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38774 echo $ECHO_N "(cached) $ECHO_C" >&6
38776 if test -n "$AIX_CXX_LD"; then
38777 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38780 for as_dir
in $PATH
38783 test -z "$as_dir" && as_dir
=.
38784 for ac_exec_ext
in '' $ac_executable_extensions; do
38785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38786 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38793 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38796 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38797 if test -n "$AIX_CXX_LD"; then
38798 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38799 echo "${ECHO_T}$AIX_CXX_LD" >&6
38801 echo "$as_me:$LINENO: result: no" >&5
38802 echo "${ECHO_T}no" >&6
38805 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38806 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38811 SHARED_LD_CC
="${LD} -shared -o"
38812 SHARED_LD_CXX
="${LD} -shared -o"
38816 if test "x$GCC" != "xyes"; then
38821 *-*-cygwin* | *-*-mingw32* )
38825 *-pc-os2_emx | *-pc-os2-emx )
38826 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38827 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38831 cat <<EOF >dllar.sh
38834 # dllar - a tool to build both a .dll and an .a file
38835 # from a set of object (.o) files for EMX/OS2.
38837 # Written by Andrew Zabolotny, bit@freya.etu.ru
38838 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38840 # This script will accept a set of files on the command line.
38841 # All the public symbols from the .o files will be exported into
38842 # a .DEF file, then linker will be run (through gcc) against them to
38843 # build a shared library consisting of all given .o files. All libraries
38844 # (.a) will be first decompressed into component .o files then act as
38845 # described above. You can optionally give a description (-d "description")
38846 # which will be put into .DLL. To see the list of accepted options (as well
38847 # as command-line format) simply run this program without options. The .DLL
38848 # is built to be imported by name (there is no guarantee that new versions
38849 # of the library you build will have same ordinals for same symbols).
38851 # dllar is free software; you can redistribute it and/or modify
38852 # it under the terms of the GNU General Public License as published by
38853 # the Free Software Foundation; either version 2, or (at your option)
38854 # any later version.
38856 # dllar is distributed in the hope that it will be useful,
38857 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38858 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38859 # GNU General Public License for more details.
38861 # You should have received a copy of the GNU General Public License
38862 # along with dllar; see the file COPYING. If not, write to the Free
38863 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38866 # To successfuly run this program you will need:
38867 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38868 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38870 # (used to build the .dll)
38872 # (used to create .def file from .o files)
38874 # (used to create .a file from .def file)
38875 # - GNU text utilites (cat, sort, uniq)
38876 # used to process emxexp output
38877 # - GNU file utilities (mv, rm)
38879 # - lxlite (optional, see flag below)
38880 # (used for general .dll cleanup)
38887 # basnam, variant of basename, which does _not_ remove the path, _iff_
38888 # second argument (suffix to remove) is given
38892 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38895 echo ${D}1 | sed 's/'${D}2'${D}//'
38898 echo "error in basnam ${D}*"
38904 # Cleanup temporary files and output
38907 for i in ${D}inputFiles ; do
38910 rm -rf \`basnam ${D}i !\`
38917 # Kill result in case of failure as there is just to many stupid make/nmake
38918 # things out there which doesn't do this.
38919 if [] ${D}# -eq 0 []; then
38920 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38924 # Print usage and exit script with rc=1.
38926 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38927 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38928 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38929 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38930 echo ' []*.o[] []*.a[]'
38931 echo '*> "output_file" should have no extension.'
38932 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38933 echo ' The import library name is derived from this and is set to "name".a,'
38934 echo ' unless overridden by -import'
38935 echo '*> "importlib_name" should have no extension.'
38936 echo ' If it has the .o, or .a extension, it is automatically removed.'
38937 echo ' This name is used as the import library name and may be longer and'
38938 echo ' more descriptive than the DLL name which has to follow the old '
38939 echo ' 8.3 convention of FAT.'
38940 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38941 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38942 echo ' These flags will be put at the start of GCC command line.'
38943 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38944 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38945 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38946 echo ' If the last character of a symbol is "*", all symbols beginning'
38947 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38948 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38949 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38950 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38951 echo ' C runtime DLLs.'
38952 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38953 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38954 echo ' unchanged to GCC at the end of command line.'
38955 echo '*> If you create a DLL from a library and you do not specify -o,'
38956 echo ' the basename for DLL and import library will be set to library name,'
38957 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38958 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38959 echo ' library will be renamed into gcc_s.a.'
38962 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38963 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38968 # Execute a command.
38969 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38970 # @Uses Whatever CleanUp() uses.
38976 if [] ${D}rcCmd -ne 0 []; then
38977 echo "command failed, exit code="${D}rcCmd
38991 CFLAGS="-s -Zcrtdll"
38993 EXPORT_BY_ORDINALS=0
38998 case ${D}curDirS in
39002 curDirS=${D}{curDirS}"/"
39005 # Parse commandline
39007 while [] ${D}1 []; do
39010 EXPORT_BY_ORDINALS=1;
39037 exclude_symbols=${D}{exclude_symbols}${D}1" "
39041 library_flags=${D}{library_flags}${D}1" "
39057 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39061 if [] ${D}libsToLink -ne 0 []; then
39062 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39064 for file in ${D}1 ; do
39065 if [] -f ${D}file []; then
39066 inputFiles="${D}{inputFiles} ${D}file"
39070 if [] ${D}found -eq 0 []; then
39071 echo "ERROR: No file(s) found: "${D}1
39078 done # iterate cmdline words
39081 if [] -z "${D}inputFiles" []; then
39082 echo "dllar: no input files"
39086 # Now extract all .o files from .a files
39088 for file in ${D}inputFiles ; do
39099 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39104 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39106 if [] ${D}? -ne 0 []; then
39107 echo "Failed to create subdirectory ./${D}dirname"
39111 # Append '!' to indicate archive
39112 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39113 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39116 for subfile in ${D}dirname/*.o* ; do
39117 if [] -f ${D}subfile []; then
39119 if [] -s ${D}subfile []; then
39120 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39121 newInputFiles="${D}newInputFiles ${D}subfile"
39125 if [] ${D}found -eq 0 []; then
39126 echo "WARNING: there are no files in archive \'${D}file\'"
39130 newInputFiles="${D}{newInputFiles} ${D}file"
39134 inputFiles="${D}newInputFiles"
39136 # Output filename(s).
39138 if [] -z ${D}outFile []; then
39140 set outFile ${D}inputFiles; outFile=${D}2
39143 # If it is an archive, remove the '!' and the '_%' suffixes
39144 case ${D}outFile in
39146 outFile=\`basnam ${D}outFile _%!\`
39151 case ${D}outFile in
39153 outFile=\`basnam ${D}outFile .dll\`
39156 outFile=\`basnam ${D}outFile .DLL\`
39159 outFile=\`basnam ${D}outFile .o\`
39162 outFile=\`basnam ${D}outFile .obj\`
39165 outFile=\`basnam ${D}outFile .a\`
39168 outFile=\`basnam ${D}outFile .lib\`
39173 case ${D}outimpFile in
39175 outimpFile=\`basnam ${D}outimpFile .a\`
39178 outimpFile=\`basnam ${D}outimpFile .lib\`
39183 if [] -z ${D}outimpFile []; then
39184 outimpFile=${D}outFile
39186 defFile="${D}{outFile}.def"
39187 arcFile="${D}{outimpFile}.a"
39188 arcFile2="${D}{outimpFile}.lib"
39189 dllFile="${D}outFile"
39190 # Add suffix to dllFile later, first we need a version to use as
39191 # name in .def file.
39193 if [] ${D}do_backup -ne 0 [] ; then
39194 if [] -f ${D}arcFile [] ; then
39195 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39197 if [] -f ${D}arcFile2 [] ; then
39198 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39202 # Extract public symbols from all the object files.
39203 tmpdefFile=${D}{defFile}_%
39204 rm -f ${D}tmpdefFile
39205 for file in ${D}inputFiles ; do
39210 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39215 # Create the def file.
39217 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39218 dllFile="${D}dllFile.dll"
39219 if [] -n ${D}description []; then
39220 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39222 echo "EXPORTS" >> ${D}defFile
39224 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39225 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39227 # Checks if the export is ok or not.
39228 for word in ${D}exclude_symbols; do
39229 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39230 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39234 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39235 sed "=" < ${D}tmpdefFile | \
39239 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39241 ' > ${D}{tmpdefFile}%
39242 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39244 rm -f ${D}{tmpdefFile}%
39246 cat ${D}tmpdefFile >> ${D}defFile
39247 rm -f ${D}tmpdefFile
39249 # Do linking, create implib, and apply lxlite.
39251 for file in ${D}inputFiles ; do
39256 gccCmdl="${D}gccCmdl ${D}file"
39260 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39261 touch "${D}{outFile}.dll"
39263 doCommand "emximp -o ${D}arcFile ${D}defFile"
39264 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39266 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39269 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39271 doCommand "emxomf -s -l ${D}arcFile"
39281 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39289 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39290 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39291 { (exit 1); exit 1; }; }
39294 if test "x$PIC_FLAG" != "x" ; then
39295 PIC_FLAG
="$PIC_FLAG -DPIC"
39298 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39299 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39301 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39302 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39319 case "${BAKEFILE_HOST}" in
39321 SONAME_FLAG
="-Wl,-soname,"
39349 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39350 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39353 if test "x$GCC" = "xyes"; then
39356 case "${BAKEFILE_HOST}" in
39357 powerpc
-*-darwin* )
39358 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39361 DEPSFLAG_GCC
="-MMD"
39364 echo "$as_me:$LINENO: result: gcc" >&5
39365 echo "${ECHO_T}gcc" >&6
39367 echo "$as_me:$LINENO: result: none" >&5
39368 echo "${ECHO_T}none" >&6
39371 if test $DEPS_TRACKING = 1 ; then
39377 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39378 # script. It is used to track C/C++ files dependencies in portable way.
39380 # Permission is given to use this file in any way.
39382 DEPSMODE=${DEPSMODE}
39384 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39386 mkdir -p ${D}DEPSDIR
39388 if test ${D}DEPSMODE = gcc ; then
39389 ${D}* ${D}{DEPSFLAG_GCC}
39391 if test ${D}{status} != 0 ; then
39394 # move created file to the location we want it in:
39395 while test ${D}# -gt 0; do
39409 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39410 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39411 if test -f ${D}depfile ; then
39412 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39415 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39416 if test -f ${D}depfile ; then
39417 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39437 case ${BAKEFILE_HOST} in
39438 *-*-cygwin* | *-*-mingw32* )
39439 if test "$build" != "$host" ; then
39440 RESCOMP
=$host_alias-windres
39442 # Extract the first word of "windres", so it can be a program name with args.
39443 set dummy windres
; ac_word
=$2
39444 echo "$as_me:$LINENO: checking for $ac_word" >&5
39445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39446 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 if test -n "$RESCOMP"; then
39450 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39453 for as_dir
in $PATH
39456 test -z "$as_dir" && as_dir
=.
39457 for ac_exec_ext
in '' $ac_executable_extensions; do
39458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39459 ac_cv_prog_RESCOMP
="windres"
39460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39466 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39469 RESCOMP
=$ac_cv_prog_RESCOMP
39470 if test -n "$RESCOMP"; then
39471 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39472 echo "${ECHO_T}$RESCOMP" >&6
39474 echo "$as_me:$LINENO: result: no" >&5
39475 echo "${ECHO_T}no" >&6
39482 # Extract the first word of "Rez", so it can be a program name with args.
39483 set dummy Rez
; ac_word
=$2
39484 echo "$as_me:$LINENO: checking for $ac_word" >&5
39485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39486 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39487 echo $ECHO_N "(cached) $ECHO_C" >&6
39489 if test -n "$RESCOMP"; then
39490 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39493 for as_dir
in $PATH
39496 test -z "$as_dir" && as_dir
=.
39497 for ac_exec_ext
in '' $ac_executable_extensions; do
39498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39499 ac_cv_prog_RESCOMP
="Rez"
39500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39506 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39509 RESCOMP
=$ac_cv_prog_RESCOMP
39510 if test -n "$RESCOMP"; then
39511 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39512 echo "${ECHO_T}$RESCOMP" >&6
39514 echo "$as_me:$LINENO: result: no" >&5
39515 echo "${ECHO_T}no" >&6
39518 # Extract the first word of "SetFile", so it can be a program name with args.
39519 set dummy SetFile
; ac_word
=$2
39520 echo "$as_me:$LINENO: checking for $ac_word" >&5
39521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39522 if test "${ac_cv_prog_SETFILE+set}" = set; then
39523 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 if test -n "$SETFILE"; then
39526 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39529 for as_dir
in $PATH
39532 test -z "$as_dir" && as_dir
=.
39533 for ac_exec_ext
in '' $ac_executable_extensions; do
39534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39535 ac_cv_prog_SETFILE
="SetFile"
39536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39542 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39545 SETFILE
=$ac_cv_prog_SETFILE
39546 if test -n "$SETFILE"; then
39547 echo "$as_me:$LINENO: result: $SETFILE" >&5
39548 echo "${ECHO_T}$SETFILE" >&6
39550 echo "$as_me:$LINENO: result: no" >&5
39551 echo "${ECHO_T}no" >&6
39561 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39564 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39568 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39569 if test "${enable_precomp_headers+set}" = set; then
39570 enableval
="$enable_precomp_headers"
39571 bk_use_pch
="$enableval"
39576 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39577 if test "x$GCC" = "xyes"; then
39578 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39579 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39580 cat >conftest.
$ac_ext <<_ACEOF
39583 cat confdefs.h
>>conftest.
$ac_ext
39584 cat >>conftest.
$ac_ext <<_ACEOF
39585 /* end confdefs.h. */
39591 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39592 #error "no pch support"
39595 #error "no pch support"
39597 #if (__GNUC__ == 3) && \
39598 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39599 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39600 #error "no pch support"
39607 rm -f conftest.
$ac_objext
39608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39609 (eval $ac_compile) 2>conftest.er1
39611 grep -v '^ *+' conftest.er1
>conftest.err
39613 cat conftest.err
>&5
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); } &&
39616 { ac_try
='test -z "$ac_c_werror_flag"
39617 || test ! -s conftest.err'
39618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39619 (eval $ac_try) 2>&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); }; } &&
39623 { ac_try
='test -s conftest.$ac_objext'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; }; then
39630 echo "$as_me:$LINENO: result: yes" >&5
39631 echo "${ECHO_T}yes" >&6
39632 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.
$ac_ext >&5
39640 echo "$as_me:$LINENO: result: no" >&5
39641 echo "${ECHO_T}no" >&6
39644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39645 if test $GCC_PCH = 1 ; then
39646 cat <<EOF >bk-make-pch
39649 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39650 # script. It is used to generated precompiled headers.
39652 # Permission is given to use this file in any way.
39661 while test \${#} -gt 0; do
39664 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39665 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39666 headerfile="\${incdir}/\${header}"
39670 compiler="\${compiler} \${1}"
39674 if test "x\${headerfile}" = "x" ; then
39675 echo "error: can't find header \${header} in include paths" >2
39677 if test -f \${outfile} ; then
39680 mkdir -p \`dirname \${outfile}\`
39682 depsfile=".deps/\`basename \${outfile}\`.d"
39684 # can do this because gcc is >= 3.4:
39685 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39689 chmod +x bk
-make-pch
39700 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39701 if test "${enable_precomp_headers+set}" = set; then
39702 enableval
="$enable_precomp_headers"
39703 bk_use_pch
="$enableval"
39708 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39709 if test "x$GCC" = "xyes"; then
39710 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39711 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39712 cat >conftest.
$ac_ext <<_ACEOF
39715 cat confdefs.h
>>conftest.
$ac_ext
39716 cat >>conftest.
$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39723 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39724 #error "no pch support"
39727 #error "no pch support"
39729 #if (__GNUC__ == 3) && \
39730 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39731 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39732 #error "no pch support"
39739 rm -f conftest.
$ac_objext
39740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39741 (eval $ac_compile) 2>conftest.er1
39743 grep -v '^ *+' conftest.er1
>conftest.err
39745 cat conftest.err
>&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } &&
39748 { ac_try
='test -z "$ac_c_werror_flag"
39749 || test ! -s conftest.err'
39750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39751 (eval $ac_try) 2>&5
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); }; } &&
39755 { ac_try
='test -s conftest.$ac_objext'
39756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39757 (eval $ac_try) 2>&5
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); }; }; then
39762 echo "$as_me:$LINENO: result: yes" >&5
39763 echo "${ECHO_T}yes" >&6
39764 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39768 echo "$as_me: failed program was:" >&5
39769 sed 's/^/| /' conftest.
$ac_ext >&5
39772 echo "$as_me:$LINENO: result: no" >&5
39773 echo "${ECHO_T}no" >&6
39776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39777 if test $GCC_PCH = 1 ; then
39778 cat <<EOF >bk-make-pch
39781 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39782 # script. It is used to generated precompiled headers.
39784 # Permission is given to use this file in any way.
39793 while test \${#} -gt 0; do
39796 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39797 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39798 headerfile="\${incdir}/\${header}"
39802 compiler="\${compiler} \${1}"
39806 if test "x\${headerfile}" = "x" ; then
39807 echo "error: can't find header \${header} in include paths" >2
39809 if test -f \${outfile} ; then
39812 mkdir -p \`dirname \${outfile}\`
39814 depsfile=".deps/\`basename \${outfile}\`.d"
39816 # can do this because gcc is >= 3.4:
39817 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39821 chmod +x bk
-make-pch
39829 COND_BUILD_DEBUG
="#"
39830 if test "x$BUILD" = "xdebug" ; then
39831 COND_BUILD_DEBUG
=""
39834 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39835 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39836 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39839 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39840 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39841 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39844 COND_BUILD_DEBUG_UNICODE_0
="#"
39845 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39846 COND_BUILD_DEBUG_UNICODE_0
=""
39849 COND_BUILD_DEBUG_UNICODE_1
="#"
39850 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39851 COND_BUILD_DEBUG_UNICODE_1
=""
39854 COND_BUILD_RELEASE
="#"
39855 if test "x$BUILD" = "xrelease" ; then
39856 COND_BUILD_RELEASE
=""
39859 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39860 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39861 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39864 COND_BUILD_RELEASE_UNICODE_0
="#"
39865 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39866 COND_BUILD_RELEASE_UNICODE_0
=""
39869 COND_BUILD_RELEASE_UNICODE_1
="#"
39870 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39871 COND_BUILD_RELEASE_UNICODE_1
=""
39874 COND_DEBUG_FLAG_1
="#"
39875 if test "x$DEBUG_FLAG" = "x1" ; then
39876 COND_DEBUG_FLAG_1
=""
39879 COND_DEBUG_INFO_0
="#"
39880 if test "x$DEBUG_INFO" = "x0" ; then
39881 COND_DEBUG_INFO_0
=""
39884 COND_DEBUG_INFO_1
="#"
39885 if test "x$DEBUG_INFO" = "x1" ; then
39886 COND_DEBUG_INFO_1
=""
39889 COND_DEPS_TRACKING_0
="#"
39890 if test "x$DEPS_TRACKING" = "x0" ; then
39891 COND_DEPS_TRACKING_0
=""
39894 COND_DEPS_TRACKING_1
="#"
39895 if test "x$DEPS_TRACKING" = "x1" ; then
39896 COND_DEPS_TRACKING_1
=""
39900 if test "x$GCC_PCH" = "x1" ; then
39904 COND_MONOLITHIC_0
="#"
39905 if test "x$MONOLITHIC" = "x0" ; then
39906 COND_MONOLITHIC_0
=""
39909 COND_MONOLITHIC_0_SHARED_0
="#"
39910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39911 COND_MONOLITHIC_0_SHARED_0
=""
39914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39924 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39926 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39929 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39931 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39934 COND_MONOLITHIC_0_SHARED_1
="#"
39935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39936 COND_MONOLITHIC_0_SHARED_1
=""
39939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39944 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39949 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39951 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39954 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39956 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39959 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39960 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39961 COND_MONOLITHIC_0_USE_ODBC_1
=""
39964 COND_MONOLITHIC_1
="#"
39965 if test "x$MONOLITHIC" = "x1" ; then
39966 COND_MONOLITHIC_1
=""
39969 COND_MONOLITHIC_1_SHARED_0
="#"
39970 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39971 COND_MONOLITHIC_1_SHARED_0
=""
39974 COND_MONOLITHIC_1_SHARED_1
="#"
39975 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39976 COND_MONOLITHIC_1_SHARED_1
=""
39979 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39980 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39981 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39984 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39985 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39986 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39989 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39990 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39991 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39994 COND_PLATFORM_MACOSX_1
="#"
39995 if test "x$PLATFORM_MACOSX" = "x1" ; then
39996 COND_PLATFORM_MACOSX_1
=""
39999 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40001 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40004 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40006 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40009 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40011 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40014 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40016 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40019 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40021 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40024 COND_PLATFORM_MAC_1
="#"
40025 if test "x$PLATFORM_MAC" = "x1" ; then
40026 COND_PLATFORM_MAC_1
=""
40029 COND_PLATFORM_OS2_1
="#"
40030 if test "x$PLATFORM_OS2" = "x1" ; then
40031 COND_PLATFORM_OS2_1
=""
40034 COND_PLATFORM_UNIX_0
="#"
40035 if test "x$PLATFORM_UNIX" = "x0" ; then
40036 COND_PLATFORM_UNIX_0
=""
40039 COND_PLATFORM_UNIX_1
="#"
40040 if test "x$PLATFORM_UNIX" = "x1" ; then
40041 COND_PLATFORM_UNIX_1
=""
40044 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40045 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40046 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40049 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40050 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40051 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40054 COND_PLATFORM_WIN32_0
="#"
40055 if test "x$PLATFORM_WIN32" = "x0" ; then
40056 COND_PLATFORM_WIN32_0
=""
40059 COND_PLATFORM_WIN32_1
="#"
40060 if test "x$PLATFORM_WIN32" = "x1" ; then
40061 COND_PLATFORM_WIN32_1
=""
40065 if test "x$SHARED" = "x0" ; then
40069 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40070 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40071 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40076 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40089 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40090 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40091 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40094 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40095 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40096 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40099 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40100 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40101 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40104 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40105 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40106 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40110 if test "x$SHARED" = "x1" ; then
40114 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40115 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40119 COND_TOOLKIT_COCOA
="#"
40120 if test "x$TOOLKIT" = "xCOCOA" ; then
40121 COND_TOOLKIT_COCOA
=""
40124 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40125 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40126 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40129 COND_TOOLKIT_GTK
="#"
40130 if test "x$TOOLKIT" = "xGTK" ; then
40131 COND_TOOLKIT_GTK
=""
40134 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40135 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40136 COND_TOOLKIT_GTK_USE_GUI_1
=""
40139 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40140 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40141 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40144 COND_TOOLKIT_MAC
="#"
40145 if test "x$TOOLKIT" = "xMAC" ; then
40146 COND_TOOLKIT_MAC
=""
40149 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40150 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40151 COND_TOOLKIT_MAC_USE_GUI_1
=""
40154 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40155 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40156 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40159 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40160 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40161 COND_TOOLKIT_MAC_WXUNIV_0
=""
40164 COND_TOOLKIT_MGL
="#"
40165 if test "x$TOOLKIT" = "xMGL" ; then
40166 COND_TOOLKIT_MGL
=""
40169 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40170 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40171 COND_TOOLKIT_MGL_USE_GUI_1
=""
40174 COND_TOOLKIT_MOTIF
="#"
40175 if test "x$TOOLKIT" = "xMOTIF" ; then
40176 COND_TOOLKIT_MOTIF
=""
40179 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40180 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40181 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40184 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40186 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40189 COND_TOOLKIT_MSW
="#"
40190 if test "x$TOOLKIT" = "xMSW" ; then
40191 COND_TOOLKIT_MSW
=""
40194 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40195 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40196 COND_TOOLKIT_MSW_USE_GUI_1
=""
40199 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40201 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40204 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40205 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40206 COND_TOOLKIT_MSW_WXUNIV_0
=""
40209 COND_TOOLKIT_PM
="#"
40210 if test "x$TOOLKIT" = "xPM" ; then
40214 COND_TOOLKIT_PM_USE_GUI_1
="#"
40215 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40216 COND_TOOLKIT_PM_USE_GUI_1
=""
40219 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40224 COND_TOOLKIT_PM_WXUNIV_0
="#"
40225 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40226 COND_TOOLKIT_PM_WXUNIV_0
=""
40229 COND_TOOLKIT_WINCE
="#"
40230 if test "x$TOOLKIT" = "xWINCE" ; then
40231 COND_TOOLKIT_WINCE
=""
40234 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40236 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40239 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40240 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40241 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40244 COND_TOOLKIT_X11
="#"
40245 if test "x$TOOLKIT" = "xX11" ; then
40246 COND_TOOLKIT_X11
=""
40249 COND_TOOLKIT_X11_USE_GUI_1
="#"
40250 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40251 COND_TOOLKIT_X11_USE_GUI_1
=""
40255 if test "x$UNICODE" = "x1" ; then
40259 COND_USE_EXCEPTIONS_0
="#"
40260 if test "x$USE_EXCEPTIONS" = "x0" ; then
40261 COND_USE_EXCEPTIONS_0
=""
40264 COND_USE_EXCEPTIONS_1
="#"
40265 if test "x$USE_EXCEPTIONS" = "x1" ; then
40266 COND_USE_EXCEPTIONS_1
=""
40270 if test "x$USE_GUI" = "x0" ; then
40275 if test "x$USE_GUI" = "x1" ; then
40279 COND_USE_GUI_1_WXUNIV_0
="#"
40280 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40281 COND_USE_GUI_1_WXUNIV_0
=""
40284 COND_USE_GUI_1_WXUNIV_1
="#"
40285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40286 COND_USE_GUI_1_WXUNIV_1
=""
40289 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40290 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40291 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40294 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40296 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40299 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40301 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40304 COND_USE_ODBC_1
="#"
40305 if test "x$USE_ODBC" = "x1" ; then
40309 COND_USE_PLUGINS_0
="#"
40310 if test "x$USE_PLUGINS" = "x0" ; then
40311 COND_USE_PLUGINS_0
=""
40314 COND_USE_SOSYMLINKS_1
="#"
40315 if test "x$USE_SOSYMLINKS" = "x1" ; then
40316 COND_USE_SOSYMLINKS_1
=""
40319 COND_USE_SOVERLINUX_1
="#"
40320 if test "x$USE_SOVERLINUX" = "x1" ; then
40321 COND_USE_SOVERLINUX_1
=""
40324 COND_USE_SOVERSION_0
="#"
40325 if test "x$USE_SOVERSION" = "x0" ; then
40326 COND_USE_SOVERSION_0
=""
40329 COND_USE_SOVERSOLARIS_1
="#"
40330 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40331 COND_USE_SOVERSOLARIS_1
=""
40334 COND_WITH_PLUGIN_SDL_1
="#"
40335 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40336 COND_WITH_PLUGIN_SDL_1
=""
40339 COND_WITH_SDL_1
="#"
40340 if test "x$WITH_SDL" = "x1" ; then
40345 if test "x$WXUNIV" = "x1" ; then
40349 COND_WXUSE_EXPAT_BUILTIN
="#"
40350 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40351 COND_WXUSE_EXPAT_BUILTIN
=""
40354 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40355 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40356 COND_WXUSE_LIBJPEG_BUILTIN
=""
40359 COND_WXUSE_LIBPNG_BUILTIN
="#"
40360 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40361 COND_WXUSE_LIBPNG_BUILTIN
=""
40364 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40365 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40366 COND_WXUSE_LIBTIFF_BUILTIN
=""
40369 COND_WXUSE_ODBC_BUILTIN
="#"
40370 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40371 COND_WXUSE_ODBC_BUILTIN
=""
40374 COND_WXUSE_REGEX_BUILTIN
="#"
40375 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40376 COND_WXUSE_REGEX_BUILTIN
=""
40379 COND_WXUSE_ZLIB_BUILTIN
="#"
40380 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40381 COND_WXUSE_ZLIB_BUILTIN
=""
40384 COND_BUILD_DEBUG
="#"
40385 if test "x$BUILD" = "xdebug" ; then
40386 COND_BUILD_DEBUG
=""
40389 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40390 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40391 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40394 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40395 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40396 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40399 COND_BUILD_DEBUG_UNICODE_0
="#"
40400 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40401 COND_BUILD_DEBUG_UNICODE_0
=""
40404 COND_BUILD_DEBUG_UNICODE_1
="#"
40405 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40406 COND_BUILD_DEBUG_UNICODE_1
=""
40409 COND_BUILD_RELEASE
="#"
40410 if test "x$BUILD" = "xrelease" ; then
40411 COND_BUILD_RELEASE
=""
40414 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40415 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40416 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40419 COND_BUILD_RELEASE_UNICODE_0
="#"
40420 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40421 COND_BUILD_RELEASE_UNICODE_0
=""
40424 COND_BUILD_RELEASE_UNICODE_1
="#"
40425 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40426 COND_BUILD_RELEASE_UNICODE_1
=""
40429 COND_DEBUG_FLAG_1
="#"
40430 if test "x$DEBUG_FLAG" = "x1" ; then
40431 COND_DEBUG_FLAG_1
=""
40434 COND_DEBUG_INFO_0
="#"
40435 if test "x$DEBUG_INFO" = "x0" ; then
40436 COND_DEBUG_INFO_0
=""
40439 COND_DEBUG_INFO_1
="#"
40440 if test "x$DEBUG_INFO" = "x1" ; then
40441 COND_DEBUG_INFO_1
=""
40444 COND_DEPS_TRACKING_0
="#"
40445 if test "x$DEPS_TRACKING" = "x0" ; then
40446 COND_DEPS_TRACKING_0
=""
40449 COND_DEPS_TRACKING_1
="#"
40450 if test "x$DEPS_TRACKING" = "x1" ; then
40451 COND_DEPS_TRACKING_1
=""
40455 if test "x$GCC_PCH" = "x1" ; then
40459 COND_MONOLITHIC_0
="#"
40460 if test "x$MONOLITHIC" = "x0" ; then
40461 COND_MONOLITHIC_0
=""
40464 COND_MONOLITHIC_0_SHARED_0
="#"
40465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40466 COND_MONOLITHIC_0_SHARED_0
=""
40469 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40471 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40474 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40476 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40479 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40481 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40484 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40486 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40489 COND_MONOLITHIC_0_SHARED_1
="#"
40490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40491 COND_MONOLITHIC_0_SHARED_1
=""
40494 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40496 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40499 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40501 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40504 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40506 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40509 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40511 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40514 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40515 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40516 COND_MONOLITHIC_0_USE_ODBC_1
=""
40519 COND_MONOLITHIC_1
="#"
40520 if test "x$MONOLITHIC" = "x1" ; then
40521 COND_MONOLITHIC_1
=""
40524 COND_MONOLITHIC_1_SHARED_0
="#"
40525 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40526 COND_MONOLITHIC_1_SHARED_0
=""
40529 COND_MONOLITHIC_1_SHARED_1
="#"
40530 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40531 COND_MONOLITHIC_1_SHARED_1
=""
40534 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40535 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40536 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40539 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40540 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40541 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40544 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40545 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40546 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40549 COND_PLATFORM_MACOSX_1
="#"
40550 if test "x$PLATFORM_MACOSX" = "x1" ; then
40551 COND_PLATFORM_MACOSX_1
=""
40554 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40556 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40559 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40561 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40564 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40566 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40569 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40571 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40574 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40576 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40579 COND_PLATFORM_MAC_1
="#"
40580 if test "x$PLATFORM_MAC" = "x1" ; then
40581 COND_PLATFORM_MAC_1
=""
40584 COND_PLATFORM_OS2_1
="#"
40585 if test "x$PLATFORM_OS2" = "x1" ; then
40586 COND_PLATFORM_OS2_1
=""
40589 COND_PLATFORM_UNIX_0
="#"
40590 if test "x$PLATFORM_UNIX" = "x0" ; then
40591 COND_PLATFORM_UNIX_0
=""
40594 COND_PLATFORM_UNIX_1
="#"
40595 if test "x$PLATFORM_UNIX" = "x1" ; then
40596 COND_PLATFORM_UNIX_1
=""
40599 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40600 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40601 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40604 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40606 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40609 COND_PLATFORM_WIN32_0
="#"
40610 if test "x$PLATFORM_WIN32" = "x0" ; then
40611 COND_PLATFORM_WIN32_0
=""
40614 COND_PLATFORM_WIN32_1
="#"
40615 if test "x$PLATFORM_WIN32" = "x1" ; then
40616 COND_PLATFORM_WIN32_1
=""
40620 if test "x$SHARED" = "x0" ; then
40624 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40625 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40626 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40629 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40630 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40631 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40634 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40635 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40636 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40639 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40640 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40641 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40644 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40645 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40646 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40649 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40650 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40651 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40654 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40655 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40656 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40659 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40660 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40661 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40665 if test "x$SHARED" = "x1" ; then
40669 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40670 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40671 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40674 COND_TOOLKIT_COCOA
="#"
40675 if test "x$TOOLKIT" = "xCOCOA" ; then
40676 COND_TOOLKIT_COCOA
=""
40679 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40680 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40681 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40684 COND_TOOLKIT_GTK
="#"
40685 if test "x$TOOLKIT" = "xGTK" ; then
40686 COND_TOOLKIT_GTK
=""
40689 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40690 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40691 COND_TOOLKIT_GTK_USE_GUI_1
=""
40694 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40695 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40696 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40699 COND_TOOLKIT_MAC
="#"
40700 if test "x$TOOLKIT" = "xMAC" ; then
40701 COND_TOOLKIT_MAC
=""
40704 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40705 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40706 COND_TOOLKIT_MAC_USE_GUI_1
=""
40709 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40710 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40711 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40714 COND_TOOLKIT_MGL
="#"
40715 if test "x$TOOLKIT" = "xMGL" ; then
40716 COND_TOOLKIT_MGL
=""
40719 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40720 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40721 COND_TOOLKIT_MGL_USE_GUI_1
=""
40724 COND_TOOLKIT_MOTIF
="#"
40725 if test "x$TOOLKIT" = "xMOTIF" ; then
40726 COND_TOOLKIT_MOTIF
=""
40729 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40730 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40731 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40734 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40735 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40736 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40739 COND_TOOLKIT_MSW
="#"
40740 if test "x$TOOLKIT" = "xMSW" ; then
40741 COND_TOOLKIT_MSW
=""
40744 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40745 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40746 COND_TOOLKIT_MSW_USE_GUI_1
=""
40749 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40750 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40751 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40754 COND_TOOLKIT_PM
="#"
40755 if test "x$TOOLKIT" = "xPM" ; then
40759 COND_TOOLKIT_PM_USE_GUI_1
="#"
40760 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40761 COND_TOOLKIT_PM_USE_GUI_1
=""
40764 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40765 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40766 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40769 COND_TOOLKIT_WINCE
="#"
40770 if test "x$TOOLKIT" = "xWINCE" ; then
40771 COND_TOOLKIT_WINCE
=""
40774 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40775 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40776 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40779 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40780 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40781 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40784 COND_TOOLKIT_X11
="#"
40785 if test "x$TOOLKIT" = "xX11" ; then
40786 COND_TOOLKIT_X11
=""
40789 COND_TOOLKIT_X11_USE_GUI_1
="#"
40790 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40791 COND_TOOLKIT_X11_USE_GUI_1
=""
40795 if test "x$UNICODE" = "x1" ; then
40799 COND_USE_EXCEPTIONS_0
="#"
40800 if test "x$USE_EXCEPTIONS" = "x0" ; then
40801 COND_USE_EXCEPTIONS_0
=""
40804 COND_USE_EXCEPTIONS_1
="#"
40805 if test "x$USE_EXCEPTIONS" = "x1" ; then
40806 COND_USE_EXCEPTIONS_1
=""
40810 if test "x$USE_GUI" = "x0" ; then
40815 if test "x$USE_GUI" = "x1" ; then
40819 COND_USE_GUI_1_WXUNIV_0
="#"
40820 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40821 COND_USE_GUI_1_WXUNIV_0
=""
40824 COND_USE_GUI_1_WXUNIV_1
="#"
40825 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40826 COND_USE_GUI_1_WXUNIV_1
=""
40829 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40830 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40831 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40834 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40835 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40836 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40839 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40840 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40841 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40844 COND_USE_ODBC_1
="#"
40845 if test "x$USE_ODBC" = "x1" ; then
40849 COND_USE_PLUGINS_0
="#"
40850 if test "x$USE_PLUGINS" = "x0" ; then
40851 COND_USE_PLUGINS_0
=""
40854 COND_USE_SOSYMLINKS_1
="#"
40855 if test "x$USE_SOSYMLINKS" = "x1" ; then
40856 COND_USE_SOSYMLINKS_1
=""
40859 COND_USE_SOVERLINUX_1
="#"
40860 if test "x$USE_SOVERLINUX" = "x1" ; then
40861 COND_USE_SOVERLINUX_1
=""
40864 COND_USE_SOVERSION_0
="#"
40865 if test "x$USE_SOVERSION" = "x0" ; then
40866 COND_USE_SOVERSION_0
=""
40869 COND_USE_SOVERSOLARIS_1
="#"
40870 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40871 COND_USE_SOVERSOLARIS_1
=""
40874 COND_WITH_PLUGIN_SDL_1
="#"
40875 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40876 COND_WITH_PLUGIN_SDL_1
=""
40880 if test "x$WXUNIV" = "x1" ; then
40884 COND_WXUSE_EXPAT_BUILTIN
="#"
40885 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40886 COND_WXUSE_EXPAT_BUILTIN
=""
40889 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40890 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40891 COND_WXUSE_LIBJPEG_BUILTIN
=""
40894 COND_WXUSE_LIBPNG_BUILTIN
="#"
40895 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40896 COND_WXUSE_LIBPNG_BUILTIN
=""
40899 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40900 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40901 COND_WXUSE_LIBTIFF_BUILTIN
=""
40904 COND_WXUSE_ODBC_BUILTIN
="#"
40905 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40906 COND_WXUSE_ODBC_BUILTIN
=""
40909 COND_WXUSE_REGEX_BUILTIN
="#"
40910 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40911 COND_WXUSE_REGEX_BUILTIN
=""
40914 COND_WXUSE_ZLIB_BUILTIN
="#"
40915 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40916 COND_WXUSE_ZLIB_BUILTIN
=""
40921 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40922 { { 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
40923 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;}
40924 { (exit 1); exit 1; }; }
40929 GCC_PRAGMA_FLAGS
=""
40930 if test $GCC_PCH = 1 ; then
40931 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
40934 powerpc
-*-darwin* )
40935 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40938 if test "$wxUSE_STL" = "yes" -o \
40939 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
40940 "$wxUSE_NO_RTTI" != "yes"; then
40941 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
40942 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
40943 cat >conftest.
$ac_ext <<_ACEOF
40946 cat confdefs.h
>>conftest.
$ac_ext
40947 cat >>conftest.
$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40953 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
40954 #error "Not GCC 3.2 or greater"
40961 rm -f conftest.
$ac_objext
40962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40963 (eval $ac_compile) 2>conftest.er1
40965 grep -v '^ *+' conftest.er1
>conftest.err
40967 cat conftest.err
>&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } &&
40970 { ac_try
='test -z "$ac_c_werror_flag"
40971 || test ! -s conftest.err'
40972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40973 (eval $ac_try) 2>&5
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); }; } &&
40977 { ac_try
='test -s conftest.$ac_objext'
40978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979 (eval $ac_try) 2>&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); }; }; then
40983 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
40984 echo "$as_me:$LINENO: result: yes" >&5
40985 echo "${ECHO_T}yes" >&6
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.
$ac_ext >&5
40990 echo "$as_me:$LINENO: result: no" >&5
40991 echo "${ECHO_T}no" >&6
40993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40998 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41001 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41103 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41104 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41105 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41106 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41107 echo $ECHO_N "(cached) $ECHO_C" >&6
41109 cat >conftest.
make <<\_ACEOF
41111 @
echo 'ac_maketemp="$(MAKE)"'
41113 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41114 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41115 if test -n "$ac_maketemp"; then
41116 eval ac_cv_prog_make_
${ac_make}_set
=yes
41118 eval ac_cv_prog_make_
${ac_make}_set
=no
41120 rm -f conftest.
make
41122 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41123 echo "$as_me:$LINENO: result: yes" >&5
41124 echo "${ECHO_T}yes" >&6
41127 echo "$as_me:$LINENO: result: no" >&5
41128 echo "${ECHO_T}no" >&6
41129 SET_MAKE
="MAKE=${MAKE-make}"
41133 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
41134 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
41137 ac_config_headers
="$ac_config_headers setup.h"
41140 ac_config_files
="$ac_config_files wx-config wx-config-wrapper version-script Makefile"
41143 ac_config_commands
="$ac_config_commands default"
41147 if test "$wxUSE_GUI" = "yes"; then
41148 SUBDIRS
="samples demos utils contrib"
41149 else SUBDIRS
="samples utils"
41154 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41155 if test "${with_cppunit_prefix+set}" = set; then
41156 withval
="$with_cppunit_prefix"
41157 cppunit_config_prefix
="$withval"
41159 cppunit_config_prefix
=""
41162 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41163 if test "${with_cppunit_exec_prefix+set}" = set; then
41164 withval
="$with_cppunit_exec_prefix"
41165 cppunit_config_exec_prefix
="$withval"
41167 cppunit_config_exec_prefix
=""
41170 if test x
$cppunit_config_exec_prefix != x
; then
41171 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41172 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41173 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41176 if test x
$cppunit_config_prefix != x
; then
41177 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41178 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41179 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41183 # Extract the first word of "cppunit-config", so it can be a program name with args.
41184 set dummy cppunit
-config; ac_word
=$2
41185 echo "$as_me:$LINENO: checking for $ac_word" >&5
41186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41187 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41188 echo $ECHO_N "(cached) $ECHO_C" >&6
41190 case $CPPUNIT_CONFIG in
41192 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41196 for as_dir
in $PATH
41199 test -z "$as_dir" && as_dir
=.
41200 for ac_exec_ext
in '' $ac_executable_extensions; do
41201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41202 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41209 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41213 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41215 if test -n "$CPPUNIT_CONFIG"; then
41216 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41217 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41219 echo "$as_me:$LINENO: result: no" >&5
41220 echo "${ECHO_T}no" >&6
41223 cppunit_version_min
=1.8.0
41225 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41226 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41228 if test "$CPPUNIT_CONFIG" = "no" ; then
41231 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41232 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41233 cppunit_version
=`$CPPUNIT_CONFIG --version`
41235 cppunit_major_version
=`echo $cppunit_version | \
41236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41237 cppunit_minor_version
=`echo $cppunit_version | \
41238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41239 cppunit_micro_version
=`echo $cppunit_version | \
41240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41242 cppunit_major_min
=`echo $cppunit_version_min | \
41243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41244 cppunit_minor_min
=`echo $cppunit_version_min | \
41245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41246 cppunit_micro_min
=`echo $cppunit_version_min | \
41247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41249 cppunit_version_proper
=`expr \
41250 $cppunit_major_version \> $cppunit_major_min \| \
41251 $cppunit_major_version \= $cppunit_major_min \& \
41252 $cppunit_minor_version \> $cppunit_minor_min \| \
41253 $cppunit_major_version \= $cppunit_major_min \& \
41254 $cppunit_minor_version \= $cppunit_minor_min \& \
41255 $cppunit_micro_version \>= $cppunit_micro_min `
41257 if test "$cppunit_version_proper" = "1" ; then
41258 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41259 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41261 echo "$as_me:$LINENO: result: no" >&5
41262 echo "${ECHO_T}no" >&6
41267 if test "x$no_cppunit" = x
; then
41268 SUBDIRS
="$SUBDIRS tests"
41279 for subdir
in `echo $SUBDIRS`; do
41280 if test -d ${srcdir}/${subdir} ; then
41281 if test "$wxUSE_GUI" = "yes"; then
41282 if test ${subdir} = "samples"; then
41283 makefiles
="samples/Makefile.in $makefiles"
41284 for sample
in `echo $SAMPLES_SUBDIRS`; do
41285 if test -d $srcdir/samples
/$sample; then
41286 makefiles
="samples/$sample/Makefile.in $makefiles"
41289 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41291 else if test ${subdir} = "samples"; then
41292 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41293 elif test ${subdir} = "utils"; then
41294 makefiles
="utils/HelpGen/Makefile.in \
41295 utils/HelpGen/src/Makefile.in \
41296 utils/tex2rtf/Makefile.in \
41297 utils/tex2rtf/src/Makefile.in"
41298 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41302 for mkin
in $makefiles ; do
41303 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41304 ac_config_files
="$ac_config_files $mk"
41311 cat >confcache
<<\_ACEOF
41312 # This file is a shell script that caches the results of configure
41313 # tests run on this system so they can be shared between configure
41314 # scripts and configure runs, see configure's option --config-cache.
41315 # It is not useful on other systems. If it contains results you don't
41316 # want to keep, you may remove or edit it.
41318 # config.status only pays attention to the cache file if you give it
41319 # the --recheck option to rerun configure.
41321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41323 # following values.
41327 # The following way of writing the cache mishandles newlines in values,
41328 # but we know of no workaround that is simple, portable, and efficient.
41329 # So, don't put newlines in cache variables' values.
41330 # Ultrix sh set writes to stderr and can't be redirected directly,
41331 # and sets the high bit in the cache file unless we assign to the vars.
41334 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41336 # `set' does not quote correctly, so add quotes (double-quote
41337 # substitution turns \\\\ into \\, and sed turns \\ into \).
41340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41343 # `set' quotes correctly as required by POSIX, so do not add quotes.
41345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41354 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41356 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41357 if test -w $cache_file; then
41358 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41359 cat confcache
>$cache_file
41361 echo "not updating unwritable cache $cache_file"
41366 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41367 # Let make expand exec_prefix.
41368 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41370 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41371 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41372 # trailing colons and then remove the whole line if VPATH becomes empty
41373 # (actually we leave an empty line to preserve line numbers).
41374 if test "x$srcdir" = x.
; then
41375 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41376 s/:*\$(srcdir):*/:/;
41377 s/:*\${srcdir}:*/:/;
41379 s/^\([^=]*=[ ]*\):*/\1/;
41385 DEFS
=-DHAVE_CONFIG_H
41389 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41390 # 1. Remove the extension, and $U if already installed.
41391 ac_i
=`echo "$ac_i" |
41392 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41394 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41395 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41397 LIBOBJS
=$ac_libobjs
41399 LTLIBOBJS
=$ac_ltlibobjs
41403 : ${CONFIG_STATUS=./config.status}
41404 ac_clean_files_save
=$ac_clean_files
41405 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41406 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41407 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41408 cat >$CONFIG_STATUS <<_ACEOF
41410 # Generated by $as_me.
41411 # Run this file to recreate the current configuration.
41412 # Compiler output produced by configure, useful for debugging
41413 # configure, is in config.log if it exists.
41416 ac_cs_recheck=false
41418 SHELL=\${CONFIG_SHELL-$SHELL}
41421 cat >>$CONFIG_STATUS <<\_ACEOF
41422 ## --------------------- ##
41423 ## M4sh Initialization. ##
41424 ## --------------------- ##
41426 # Be Bourne compatible
41427 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41430 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41431 # is contrary to our usage. Disable this feature.
41432 alias -g '${1+"$@"}'='"$@"'
41433 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41436 DUALCASE
=1; export DUALCASE
# for MKS sh
41438 # Support unset when possible.
41439 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41446 # Work around bugs in pre-3.0 UWIN ksh.
41447 $as_unset ENV MAIL MAILPATH
41454 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41455 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41456 LC_TELEPHONE LC_TIME
41458 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41459 eval $as_var=C
; export $as_var
41465 # Required to use basename.
41466 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41472 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41473 as_basename
=basename
41479 # Name of the executable.
41480 as_me
=`$as_basename "$0" ||
41481 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41482 X"$0" : 'X\(//\)$' \| \
41483 X"$0" : 'X\(/\)$' \| \
41484 . : '\(.\)' 2>/dev/null ||
41486 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41487 /^X\/\(\/\/\)$/{ s//\1/; q; }
41488 /^X\/\(\/\).*/{ s//\1/; q; }
41492 # PATH needs CR, and LINENO needs CR and PATH.
41493 # Avoid depending upon Character Ranges.
41494 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41495 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41496 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41497 as_cr_digits
='0123456789'
41498 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41500 # The user is always right.
41501 if test "${PATH_SEPARATOR+set}" != set; then
41502 echo "#! /bin/sh" >conf$$.sh
41503 echo "exit 0" >>conf$$.sh
41505 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41514 as_lineno_1
=$LINENO
41515 as_lineno_2
=$LINENO
41516 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41517 test "x$as_lineno_1" != "x$as_lineno_2" &&
41518 test "x$as_lineno_3" = "x$as_lineno_2" || {
41519 # Find who we are. Look in the path if we contain no path at all
41522 *[\\/]* ) as_myself
=$0 ;;
41523 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41524 for as_dir
in $PATH
41527 test -z "$as_dir" && as_dir
=.
41528 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41533 # We did not find ourselves, most probably we were run as `sh COMMAND'
41534 # in which case we are not to be found in the path.
41535 if test "x$as_myself" = x
; then
41538 if test ! -f "$as_myself"; then
41539 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41540 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41541 { (exit 1); exit 1; }; }
41543 case $CONFIG_SHELL in
41545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41546 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41549 test -z "$as_dir" && as_dir
=.
41550 for as_base
in sh bash ksh sh5
; do
41553 if ("$as_dir/$as_base" -c '
41554 as_lineno_1=$LINENO
41555 as_lineno_2=$LINENO
41556 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41557 test "x$as_lineno_1" != "x$as_lineno_2" &&
41558 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41559 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41560 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41561 CONFIG_SHELL
=$as_dir/$as_base
41562 export CONFIG_SHELL
41563 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41571 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41572 # uniformly replaced by the line number. The first 'sed' inserts a
41573 # line-number line before each line; the second 'sed' does the real
41574 # work. The second script uses 'N' to pair each line-number line
41575 # with the numbered line, and appends trailing '-' during
41576 # substitution so that $LINENO is not a special case at line end.
41577 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41578 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41579 sed '=' <$as_myself |
41584 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41587 s,^['$as_cr_digits']*\n,,
41588 ' >$as_me.lineno
&&
41589 chmod +x
$as_me.lineno
||
41590 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41591 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41592 { (exit 1); exit 1; }; }
41594 # Don't try to exec as it changes $[0], causing all sort of problems
41595 # (the dirname of $[0] is not the place where we might find the
41596 # original and so on. Autoconf is especially sensible to this).
41598 # Exit status is that of the last command.
41603 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41604 *c
*,-n*) ECHO_N
= ECHO_C
='
41606 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41607 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41610 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41616 rm -f conf$$ conf$$.exe conf$$.
file
41618 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41619 # We could just check for DJGPP; but this test a) works b) is more generic
41620 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41621 if test -f conf$$.exe
; then
41622 # Don't use ln at all; we don't have any links
41627 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41632 rm -f conf$$ conf$$.exe conf$$.
file
41634 if mkdir -p .
2>/dev
/null
; then
41637 test -d .
/-p && rmdir .
/-p
41641 as_executable_p
="test -f"
41643 # Sed expression to map a string onto a valid CPP name.
41644 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41646 # Sed expression to map a string onto a valid variable name.
41647 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41651 # We need space, tab and new line, in precisely that order.
41661 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41662 # report actual input values of CONFIG_FILES etc. instead of their
41663 # values after options handling. Logging --version etc. is OK.
41667 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41668 ## Running $as_me. ##
41673 This file was extended by wxWidgets $as_me 2.5.2, which was
41674 generated by GNU Autoconf 2.59. Invocation command line was
41676 CONFIG_FILES = $CONFIG_FILES
41677 CONFIG_HEADERS = $CONFIG_HEADERS
41678 CONFIG_LINKS = $CONFIG_LINKS
41679 CONFIG_COMMANDS = $CONFIG_COMMANDS
41683 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41687 # Files that config.status was made for.
41688 if test -n "$ac_config_files"; then
41689 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41692 if test -n "$ac_config_headers"; then
41693 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41696 if test -n "$ac_config_links"; then
41697 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41700 if test -n "$ac_config_commands"; then
41701 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41704 cat >>$CONFIG_STATUS <<\_ACEOF
41707 \`$as_me' instantiates files from templates according to the
41708 current configuration.
41710 Usage: $0 [OPTIONS] [FILE]...
41712 -h, --help print this help, then exit
41713 -V, --version print version number, then exit
41714 -q, --quiet do not print progress messages
41715 -d, --debug don't remove temporary files
41716 --recheck update $as_me by reconfiguring in the same conditions
41717 --file=FILE[:TEMPLATE]
41718 instantiate the configuration file FILE
41719 --header=FILE[:TEMPLATE]
41720 instantiate the configuration header FILE
41722 Configuration files:
41725 Configuration headers:
41728 Configuration commands:
41731 Report bugs to <bug-autoconf@gnu.org>."
41734 cat >>$CONFIG_STATUS <<_ACEOF
41736 wxWidgets config.status 2.5.2
41737 configured by $0, generated by GNU Autoconf 2.59,
41738 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41740 Copyright (C) 2003 Free Software Foundation, Inc.
41741 This config.status script is free software; the Free Software Foundation
41742 gives unlimited permission to copy, distribute and modify it."
41747 cat >>$CONFIG_STATUS <<\_ACEOF
41748 # If no file are specified by the user, then we need to provide default
41749 # value. By we need to know if files were specified by the user.
41755 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41756 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41764 *) # This is not an option, so the user has probably given explicit
41767 ac_need_defaults
=false
;;
41771 # Handling of the options.
41773 cat >>$CONFIG_STATUS <<\_ACEOF
41774 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41776 --version | --vers* | -V )
41777 echo "$ac_cs_version"; exit 0 ;;
41779 # Conflict between --help and --header
41780 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41781 Try \`$0 --help' for more information." >&5
41782 echo "$as_me: error: ambiguous option: $1
41783 Try \`$0 --help' for more information." >&2;}
41784 { (exit 1); exit 1; }; };;
41785 --help | --hel | -h )
41786 echo "$ac_cs_usage"; exit 0 ;;
41787 --debug | --d* | -d )
41789 --file | --fil | --fi | --f )
41791 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41792 ac_need_defaults
=false
;;
41793 --header | --heade | --head | --hea )
41795 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41796 ac_need_defaults
=false
;;
41797 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41798 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41801 # This is an error.
41802 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41803 Try \`$0 --help' for more information." >&5
41804 echo "$as_me: error: unrecognized option: $1
41805 Try \`$0 --help' for more information." >&2;}
41806 { (exit 1); exit 1; }; } ;;
41808 *) ac_config_targets
="$ac_config_targets $1" ;;
41814 ac_configure_extra_args
=
41816 if $ac_cs_silent; then
41818 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41822 cat >>$CONFIG_STATUS <<_ACEOF
41823 if \$ac_cs_recheck; then
41824 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41825 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41830 cat >>$CONFIG_STATUS <<_ACEOF
41832 # INIT-COMMANDS section.
41836 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41837 WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
41846 cat >>$CONFIG_STATUS <<\_ACEOF
41847 for ac_config_target
in $ac_config_targets
41849 case "$ac_config_target" in
41850 # Handling of arguments.
41851 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
41852 "wx-config-wrapper" ) CONFIG_FILES
="$CONFIG_FILES wx-config-wrapper" ;;
41853 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41854 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41855 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41856 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
41857 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
41858 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41859 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41860 { (exit 1); exit 1; }; };;
41864 # If the user did not use the arguments to specify the items to instantiate,
41865 # then the envvar interface is used. Set only those that are not.
41866 # We use the long form for the default assignment because of an extremely
41867 # bizarre bug on SunOS 4.1.3.
41868 if $ac_need_defaults; then
41869 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41870 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41871 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41874 # Have a temporary directory for convenience. Make it in the build tree
41875 # simply because there is no reason to put it here, and in addition,
41876 # creating and moving files from /tmp can sometimes cause problems.
41877 # Create a temporary directory, and hook for its removal unless debugging.
41880 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41881 trap '{ (exit 1); exit 1; }' 1 2 13 15
41884 # Create a (secure) tmp directory for tmp files.
41887 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41888 test -n "$tmp" && test -d "$tmp"
41891 tmp
=.
/confstat$$
-$RANDOM
41892 (umask 077 && mkdir $tmp)
41895 echo "$me: cannot create a temporary directory in ." >&2
41896 { (exit 1); exit 1; }
41901 cat >>$CONFIG_STATUS <<_ACEOF
41904 # CONFIG_FILES section.
41907 # No need to generate the scripts if there are no CONFIG_FILES.
41908 # This happens for instance when ./config.status config.h
41909 if test -n "\$CONFIG_FILES"; then
41910 # Protect against being on the right side of a sed subst in config.status.
41911 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41912 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41913 s,@SHELL@,$SHELL,;t t
41914 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41915 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41916 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41917 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41918 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41919 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41920 s,@exec_prefix@,$exec_prefix,;t t
41921 s,@prefix@,$prefix,;t t
41922 s,@program_transform_name@,$program_transform_name,;t t
41923 s,@bindir@,$bindir,;t t
41924 s,@sbindir@,$sbindir,;t t
41925 s,@libexecdir@,$libexecdir,;t t
41926 s,@datadir@,$datadir,;t t
41927 s,@sysconfdir@,$sysconfdir,;t t
41928 s,@sharedstatedir@,$sharedstatedir,;t t
41929 s,@localstatedir@,$localstatedir,;t t
41930 s,@libdir@,$libdir,;t t
41931 s,@includedir@,$includedir,;t t
41932 s,@oldincludedir@,$oldincludedir,;t t
41933 s,@infodir@,$infodir,;t t
41934 s,@mandir@,$mandir,;t t
41935 s,@build_alias@,$build_alias,;t t
41936 s,@host_alias@,$host_alias,;t t
41937 s,@target_alias@,$target_alias,;t t
41938 s,@DEFS@,$DEFS,;t t
41939 s,@ECHO_C@,$ECHO_C,;t t
41940 s,@ECHO_N@,$ECHO_N,;t t
41941 s,@ECHO_T@,$ECHO_T,;t t
41942 s,@LIBS@,$LIBS,;t t
41943 s,@build@,$build,;t t
41944 s,@build_cpu@,$build_cpu,;t t
41945 s,@build_vendor@,$build_vendor,;t t
41946 s,@build_os@,$build_os,;t t
41947 s,@host@,$host,;t t
41948 s,@host_cpu@,$host_cpu,;t t
41949 s,@host_vendor@,$host_vendor,;t t
41950 s,@host_os@,$host_os,;t t
41951 s,@target@,$target,;t t
41952 s,@target_cpu@,$target_cpu,;t t
41953 s,@target_vendor@,$target_vendor,;t t
41954 s,@target_os@,$target_os,;t t
41956 s,@CFLAGS@,$CFLAGS,;t t
41957 s,@LDFLAGS@,$LDFLAGS,;t t
41958 s,@CPPFLAGS@,$CPPFLAGS,;t t
41959 s,@ac_ct_CC@,$ac_ct_CC,;t t
41960 s,@EXEEXT@,$EXEEXT,;t t
41961 s,@OBJEXT@,$OBJEXT,;t t
41963 s,@EGREP@,$EGREP,;t t
41965 s,@CXXFLAGS@,$CXXFLAGS,;t t
41966 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41967 s,@RANLIB@,$RANLIB,;t t
41968 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41970 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41971 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41972 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41973 s,@STRIP@,$STRIP,;t t
41974 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41975 s,@LN_S@,$LN_S,;t t
41976 s,@CXXCPP@,$CXXCPP,;t t
41977 s,@subdirs@,$subdirs,;t t
41978 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41979 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41980 s,@GTK_LIBS@,$GTK_LIBS,;t t
41981 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41982 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41983 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41984 s,@X_CFLAGS@,$X_CFLAGS,;t t
41985 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41986 s,@X_LIBS@,$X_LIBS,;t t
41987 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41988 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41989 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41990 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41991 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41992 s,@RESCOMP@,$RESCOMP,;t t
41993 s,@DEREZ@,$DEREZ,;t t
41994 s,@SETFILE@,$SETFILE,;t t
41995 s,@LIBICONV@,$LIBICONV,;t t
41996 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41997 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41998 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41999 s,@SDL_LIBS@,$SDL_LIBS,;t t
42000 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42001 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42002 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42003 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42004 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42005 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42006 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42007 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42008 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42009 s,@VENDOR@,$VENDOR,;t t
42010 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42011 s,@WXUNIV@,$WXUNIV,;t t
42012 s,@MONOLITHIC@,$MONOLITHIC,;t t
42013 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42014 s,@EXTRALIBS@,$EXTRALIBS,;t t
42015 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42016 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42017 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42018 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42019 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42020 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42021 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42022 s,@UNICODE@,$UNICODE,;t t
42023 s,@BUILD@,$BUILD,;t t
42024 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42025 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42026 s,@SHARED@,$SHARED,;t t
42027 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42028 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42029 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42030 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42031 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42032 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42033 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42034 s,@SET_MAKE@,$SET_MAKE,;t t
42035 s,@MAKE_SET@,$MAKE_SET,;t t
42036 s,@ac_ct_AR@,$ac_ct_AR,;t t
42037 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42039 s,@ac_ct_NM@,$ac_ct_NM,;t t
42040 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42041 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42042 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42043 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42044 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42045 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42046 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42047 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42048 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42049 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42050 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42051 s,@LIBPREFIX@,$LIBPREFIX,;t t
42052 s,@LIBEXT@,$LIBEXT,;t t
42053 s,@DLLPREFIX@,$DLLPREFIX,;t t
42054 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42055 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42056 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42057 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42058 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42059 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42060 s,@PIC_FLAG@,$PIC_FLAG,;t t
42061 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42062 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42063 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42064 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42065 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42066 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42067 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42068 s,@GCC_PCH@,$GCC_PCH,;t t
42069 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42070 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42071 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42072 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42073 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42074 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42075 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42076 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42077 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42078 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42079 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42080 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42081 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42082 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42083 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42084 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42085 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42086 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42087 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
42088 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42089 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42090 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42091 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42092 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
42093 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42094 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42095 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42096 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42097 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42098 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42099 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42100 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42101 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42102 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42103 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42104 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42105 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42106 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42107 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42108 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42109 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42110 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42111 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42112 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42113 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42114 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42115 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42116 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42117 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42118 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42119 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42120 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42121 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42122 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42123 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42124 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42125 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42126 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42127 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42128 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42129 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42130 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42131 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42132 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42133 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42134 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42135 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42136 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42137 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42138 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42139 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42140 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42141 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42142 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42143 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42144 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42145 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42146 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42147 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42148 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42149 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42150 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42151 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42152 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42153 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42154 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42155 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42156 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42157 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42158 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42159 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42160 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42161 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42162 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42163 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42164 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42165 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42166 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42167 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42168 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42169 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42170 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42171 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
42172 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42173 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42174 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42175 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42176 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42177 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42178 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42179 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42180 s,@PATH_IFS@,$PATH_IFS,;t t
42181 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
42182 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
42183 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
42184 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
42185 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
42186 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42187 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42188 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
42189 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
42190 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
42191 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
42192 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
42193 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
42194 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
42195 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
42196 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
42197 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
42198 s,@WX_ALL@,$WX_ALL,;t t
42199 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
42200 s,@SHARED_LD@,$SHARED_LD,;t t
42201 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
42202 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
42203 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42204 s,@USE_GUI@,$USE_GUI,;t t
42205 s,@AFMINSTALL@,$AFMINSTALL,;t t
42206 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42207 s,@TOOLKIT@,$TOOLKIT,;t t
42208 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42209 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
42210 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42211 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42212 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42213 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
42214 s,@cross_compiling@,$cross_compiling,;t t
42215 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42216 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
42217 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
42218 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
42219 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
42220 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42221 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42222 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42223 s,@WXCONFIG_DATA_FILE@,$WXCONFIG_DATA_FILE,;t t
42224 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42225 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42226 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42227 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42228 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
42229 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
42230 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
42231 s,@GUIDIST@,$GUIDIST,;t t
42232 s,@PORT_FILES@,$PORT_FILES,;t t
42233 s,@DISTDIR@,$DISTDIR,;t t
42234 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42235 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42236 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
42237 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
42238 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42239 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42240 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42241 s,@RESFLAGS@,$RESFLAGS,;t t
42242 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42243 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42244 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42245 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42246 s,@MACRESCOMP@,$MACRESCOMP,;t t
42247 s,@MACSETFILE@,$MACSETFILE,;t t
42248 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42250 s,@DLLTOOL@,$DLLTOOL,;t t
42253 s,@MAKEINFO@,$MAKEINFO,;t t
42254 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
42255 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42256 s,@LIBOBJS@,$LIBOBJS,;t t
42257 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42262 cat >>$CONFIG_STATUS <<\_ACEOF
42263 # Split the substitutions into bite-sized pieces for seds with
42264 # small command number limits, like on Digital OSF/1 and HP-UX.
42265 ac_max_sed_lines
=48
42266 ac_sed_frag
=1 # Number of current file.
42267 ac_beg
=1 # First line for current file.
42268 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42271 while $ac_more_lines; do
42272 if test $ac_beg -gt 1; then
42273 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42275 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42277 if test ! -s $tmp/subs.frag
; then
42278 ac_more_lines
=false
42280 # The purpose of the label and of the branching condition is to
42281 # speed up the sed processing (if there are no `@' at all, there
42282 # is no need to browse any of the substitutions).
42283 # These are the two extra sed commands mentioned above.
42285 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42286 if test -z "$ac_sed_cmds"; then
42287 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42289 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42291 ac_sed_frag
=`expr $ac_sed_frag + 1`
42293 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42296 if test -z "$ac_sed_cmds"; then
42299 fi # test -n "$CONFIG_FILES"
42302 cat >>$CONFIG_STATUS <<\_ACEOF
42303 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42306 - | *:- | *:-:* ) # input from stdin
42308 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42309 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42310 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42311 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42312 * ) ac_file_in
=$ac_file.
in ;;
42315 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42316 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42317 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42318 X"$ac_file" : 'X\(//\)[^/]' \| \
42319 X"$ac_file" : 'X\(//\)$' \| \
42320 X"$ac_file" : 'X\(/\)' \| \
42321 . : '\(.\)' 2>/dev/null ||
42323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42325 /^X\(\/\/\)$/{ s//\1/; q; }
42326 /^X\(\/\).*/{ s//\1/; q; }
42328 { if $as_mkdir_p; then
42333 while test ! -d "$as_dir"; do
42334 as_dirs
="$as_dir $as_dirs"
42335 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42337 X"$as_dir" : 'X\(//\)[^/]' \| \
42338 X"$as_dir" : 'X\(//\)$' \| \
42339 X"$as_dir" : 'X\(/\)' \| \
42340 . : '\(.\)' 2>/dev/null ||
42342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42343 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42344 /^X\(\/\/\)$/{ s//\1/; q; }
42345 /^X\(\/\).*/{ s//\1/; q; }
42348 test ! -n "$as_dirs" || mkdir $as_dirs
42349 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42350 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42351 { (exit 1); exit 1; }; }; }
42355 if test "$ac_dir" != .
; then
42356 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42357 # A "../" for each directory in $ac_dir_suffix.
42358 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42360 ac_dir_suffix
= ac_top_builddir
=
42364 .
) # No --srcdir option. We are building in place.
42366 if test -z "$ac_top_builddir"; then
42369 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42371 [\\/]* | ?
:[\\/]* ) # Absolute path.
42372 ac_srcdir
=$srcdir$ac_dir_suffix;
42373 ac_top_srcdir
=$srcdir ;;
42374 *) # Relative path.
42375 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42376 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42379 # Do not use `cd foo && pwd` to compute absolute paths, because
42380 # the directories may not exist.
42382 .
) ac_abs_builddir
="$ac_dir";;
42385 .
) ac_abs_builddir
=`pwd`;;
42386 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42387 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42390 case $ac_abs_builddir in
42391 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42393 case ${ac_top_builddir}.
in
42394 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42395 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42396 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42399 case $ac_abs_builddir in
42400 .
) ac_abs_srcdir
=$ac_srcdir;;
42403 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42404 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42405 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42408 case $ac_abs_builddir in
42409 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42411 case $ac_top_srcdir in
42412 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42413 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42414 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42420 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42421 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42424 if test x
"$ac_file" != x
-; then
42425 { echo "$as_me:$LINENO: creating $ac_file" >&5
42426 echo "$as_me: creating $ac_file" >&6;}
42429 # Let's still pretend it is `configure' which instantiates (i.e., don't
42430 # use $as_me), people would be surprised to read:
42431 # /* config.h. Generated by config.status. */
42432 if test x
"$ac_file" = x
-; then
42435 configure_input
="$ac_file. "
42437 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42438 sed 's,.*/,,'` by configure."
42440 # First look for the input files in the build tree, otherwise in the
42442 ac_file_inputs
=`IFS=:
42443 for f in $ac_file_in; do
42445 -) echo $tmp/stdin ;;
42447 # Absolute (can't be DOS-style, as IFS=:)
42448 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42449 echo "$as_me: error: cannot find input file: $f" >&2;}
42450 { (exit 1); exit 1; }; }
42453 if test -f "$f"; then
42456 elif test -f "$srcdir/$f"; then
42461 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42462 echo "$as_me: error: cannot find input file: $f" >&2;}
42463 { (exit 1); exit 1; }; }
42466 done` || { (exit 1); exit 1; }
42468 cat >>$CONFIG_STATUS <<_ACEOF
42472 cat >>$CONFIG_STATUS <<\_ACEOF
42474 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42475 s
,@configure_input@
,$configure_input,;t t
42476 s
,@srcdir@
,$ac_srcdir,;t t
42477 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42478 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42479 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42480 s
,@builddir@
,$ac_builddir,;t t
42481 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42482 s
,@top_builddir@
,$ac_top_builddir,;t t
42483 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42484 s
,@INSTALL@
,$ac_INSTALL,;t t
42485 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42487 if test x"$ac_file" != x-; then
42488 mv $tmp/out $ac_file
42496 cat >>$CONFIG_STATUS <<\_ACEOF
42499 # CONFIG_HEADER section.
42502 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42503 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42505 # ac_d sets the value in "#define NAME VALUE" lines.
42506 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42507 ac_dB
='[ ].*$,\1#\2'
42510 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42511 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42512 ac_uB
='$,\1#\2define\3'
42516 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42517 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42519 - | *:- | *:-:* ) # input from stdin
42521 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42522 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42523 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42524 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42525 * ) ac_file_in
=$ac_file.
in ;;
42528 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42529 echo "$as_me: creating $ac_file" >&6;}
42531 # First look for the input files in the build tree, otherwise in the
42533 ac_file_inputs
=`IFS=:
42534 for f in $ac_file_in; do
42536 -) echo $tmp/stdin ;;
42538 # Absolute (can't be DOS-style, as IFS=:)
42539 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42540 echo "$as_me: error: cannot find input file: $f" >&2;}
42541 { (exit 1); exit 1; }; }
42542 # Do quote $f, to prevent DOS paths from being IFS'd.
42545 if test -f "$f"; then
42548 elif test -f "$srcdir/$f"; then
42553 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42554 echo "$as_me: error: cannot find input file: $f" >&2;}
42555 { (exit 1); exit 1; }; }
42558 done` || { (exit 1); exit 1; }
42559 # Remove the trailing spaces.
42560 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42564 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42565 # `conftest.undefs', that substitutes the proper values into
42566 # config.h.in to produce config.h. The first handles `#define'
42567 # templates, and the second `#undef' templates.
42568 # And first: Protect against being on the right side of a sed subst in
42569 # config.status. Protect against being in an unquoted here document
42570 # in config.status.
42571 rm -f conftest.defines conftest.undefs
42572 # Using a here document instead of a string reduces the quoting nightmare.
42573 # Putting comments in sed scripts is not portable.
42575 # `end' is used to avoid that the second main sed command (meant for
42576 # 0-ary CPP macros) applies to n-ary macro definitions.
42577 # See the Autoconf documentation for `clear'.
42578 cat >confdef2sed.
sed <<\_ACEOF
42583 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42585 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42588 # If some macros were called several times there might be several times
42589 # the same #defines, which is useless. Nevertheless, we may not want to
42590 # sort them, since we want the *last* AC-DEFINE to be honored.
42591 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42592 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42593 rm -f confdef2sed.sed
42595 # This sed command replaces #undef with comments. This is necessary, for
42596 # example, in the case of _POSIX_SOURCE, which is predefined and required
42597 # on some systems where configure will not decide to define it.
42598 cat >>conftest.undefs <<\_ACEOF
42599 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42602 # Break up conftest.defines because some shells have a limit on the size
42603 # of here documents, and old seds have small limits too (100 cmds).
42604 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42605 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42606 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42607 echo ' :' >>$CONFIG_STATUS
42608 rm -f conftest.tail
42609 while grep . conftest.defines >/dev/null
42611 # Write a limited-size here document to $tmp/defines.sed.
42612 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42613 # Speed up: don't consider the non `#define' lines.
42614 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42615 # Work around the forget-to-reset-the-flag bug.
42616 echo 't clr' >>$CONFIG_STATUS
42617 echo ': clr' >>$CONFIG_STATUS
42618 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42620 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42622 mv $tmp/out $tmp/in
42624 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42625 rm -f conftest.defines
42626 mv conftest.
tail conftest.defines
42628 rm -f conftest.defines
42629 echo ' fi # grep' >>$CONFIG_STATUS
42630 echo >>$CONFIG_STATUS
42632 # Break up conftest.undefs because some shells have a limit on the size
42633 # of here documents, and old seds have small limits too (100 cmds).
42634 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42635 rm -f conftest.
tail
42636 while grep . conftest.undefs
>/dev
/null
42638 # Write a limited-size here document to $tmp/undefs.sed.
42639 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42640 # Speed up: don't consider the non
`#undef'
42641 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42642 # Work around the forget-to-reset-the-flag bug.
42643 echo 't clr' >>$CONFIG_STATUS
42644 echo ': clr' >>$CONFIG_STATUS
42645 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42647 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42649 mv $tmp/out $tmp/in
42651 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42652 rm -f conftest.undefs
42653 mv conftest.tail conftest.undefs
42655 rm -f conftest.undefs
42657 cat >>$CONFIG_STATUS <<\_ACEOF
42658 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42659 # use $as_me), people would be surprised to read:
42660 # /* config.h. Generated by config.status. */
42661 if test x
"$ac_file" = x
-; then
42662 echo "/* Generated by configure. */" >$tmp/config.h
42664 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42666 cat $tmp/in >>$tmp/config.h
42668 if test x
"$ac_file" != x
-; then
42669 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42670 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42671 echo "$as_me: $ac_file is unchanged" >&6;}
42673 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42675 X"$ac_file" : 'X\(//\)[^/]' \| \
42676 X"$ac_file" : 'X\(//\)$' \| \
42677 X"$ac_file" : 'X\(/\)' \| \
42678 . : '\(.\)' 2>/dev/null ||
42680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42682 /^X\(\/\/\)$/{ s//\1/; q; }
42683 /^X\(\/\).*/{ s//\1/; q; }
42685 { if $as_mkdir_p; then
42690 while test ! -d "$as_dir"; do
42691 as_dirs
="$as_dir $as_dirs"
42692 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42694 X"$as_dir" : 'X\(//\)[^/]' \| \
42695 X"$as_dir" : 'X\(//\)$' \| \
42696 X"$as_dir" : 'X\(/\)' \| \
42697 . : '\(.\)' 2>/dev/null ||
42699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42700 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42701 /^X\(\/\/\)$/{ s//\1/; q; }
42702 /^X\(\/\).*/{ s//\1/; q; }
42705 test ! -n "$as_dirs" || mkdir $as_dirs
42706 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42707 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42708 { (exit 1); exit 1; }; }; }
42711 mv $tmp/config.h
$ac_file
42715 rm -f $tmp/config.h
42719 cat >>$CONFIG_STATUS <<\_ACEOF
42722 # CONFIG_COMMANDS section.
42724 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42725 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42726 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42727 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42728 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42729 X"$ac_dest" : 'X\(//\)[^/]' \| \
42730 X"$ac_dest" : 'X\(//\)$' \| \
42731 X"$ac_dest" : 'X\(/\)' \| \
42732 . : '\(.\)' 2>/dev/null ||
42734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42736 /^X\(\/\/\)$/{ s//\1/; q; }
42737 /^X\(\/\).*/{ s//\1/; q; }
42739 { if $as_mkdir_p; then
42744 while test ! -d "$as_dir"; do
42745 as_dirs
="$as_dir $as_dirs"
42746 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42748 X"$as_dir" : 'X\(//\)[^/]' \| \
42749 X"$as_dir" : 'X\(//\)$' \| \
42750 X"$as_dir" : 'X\(/\)' \| \
42751 . : '\(.\)' 2>/dev/null ||
42753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42754 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42755 /^X\(\/\/\)$/{ s//\1/; q; }
42756 /^X\(\/\).*/{ s//\1/; q; }
42759 test ! -n "$as_dirs" || mkdir $as_dirs
42760 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42761 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42762 { (exit 1); exit 1; }; }; }
42766 if test "$ac_dir" != .
; then
42767 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42768 # A "../" for each directory in $ac_dir_suffix.
42769 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42771 ac_dir_suffix
= ac_top_builddir
=
42775 .
) # No --srcdir option. We are building in place.
42777 if test -z "$ac_top_builddir"; then
42780 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42782 [\\/]* | ?
:[\\/]* ) # Absolute path.
42783 ac_srcdir
=$srcdir$ac_dir_suffix;
42784 ac_top_srcdir
=$srcdir ;;
42785 *) # Relative path.
42786 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42787 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42790 # Do not use `cd foo && pwd` to compute absolute paths, because
42791 # the directories may not exist.
42793 .
) ac_abs_builddir
="$ac_dir";;
42796 .
) ac_abs_builddir
=`pwd`;;
42797 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42798 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42801 case $ac_abs_builddir in
42802 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42804 case ${ac_top_builddir}.
in
42805 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42806 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42807 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42810 case $ac_abs_builddir in
42811 .
) ac_abs_srcdir
=$ac_srcdir;;
42814 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42815 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42816 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42819 case $ac_abs_builddir in
42820 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42822 case $ac_top_srcdir in
42823 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42824 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42825 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42830 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42831 echo "$as_me: executing $ac_dest commands" >&6;}
42834 if test ! -d lib
; then
42837 if test ! -d lib
/wx
; then
42840 if test ! -d lib
/wx
/config
; then
42841 mkdir lib
/wx
/config
42843 if test ! -d lib
/wx
/include
; then
42844 mkdir lib
/wx
/include
42846 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
42847 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
42849 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
42850 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
42852 if test -f setup.h
; then
42853 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
42856 if test -f wx
-config; then
42858 mv -f wx
-config lib
/wx
/config
/${WXCONFIG_DATA_FILE}
42859 ( cd lib
/wx
/config
;
42860 rm -f ${TOOLCHAIN_NAME}
42861 ${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
42863 if test -f wx
-config-wrapper; then
42864 chmod +x wx
-config-wrapper
42865 mv -f wx
-config-wrapper wx
-config
42866 rm -f wx
${TOOLCHAIN_NAME}-config
42867 ${LN_S} wx
-config wx
${TOOLCHAIN_NAME}-config
42874 cat >>$CONFIG_STATUS <<\_ACEOF
42876 { (exit 0); exit 0; }
42878 chmod +x
$CONFIG_STATUS
42879 ac_clean_files
=$ac_clean_files_save
42882 # configure is writing to config.log, and then calls config.status.
42883 # config.status does its own redirection, appending to config.log.
42884 # Unfortunately, on DOS this fails, as config.log is still kept open
42885 # by configure, so config.status won't be able to write to it; its
42886 # output is simply discarded. So we exec the FD to /dev/null,
42887 # effectively closing config.log, so it can be properly (re)opened and
42888 # appended to by config.status. When coming back to configure, we
42889 # need to make the FD available again.
42890 if test "$no_create" != yes; then
42892 ac_config_status_args
=
42893 test "$silent" = yes &&
42894 ac_config_status_args
="$ac_config_status_args --quiet"
42896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42899 # would make configure fail if this is the last instruction.
42900 $ac_cs_success || { (exit 1); exit 1; }
42904 # CONFIG_SUBDIRS section.
42906 if test "$no_recursion" != yes; then
42908 # Remove --cache-file and --srcdir arguments so they do not pile up.
42909 ac_sub_configure_args
=
42911 for ac_arg
in $ac_configure_args; do
42912 if test -n "$ac_prev"; then
42917 -cache-file | --cache-file | --cache-fil | --cache-fi \
42918 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42919 ac_prev
=cache_file
;;
42920 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42921 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42924 --config-cache | -C)
42926 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42928 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42930 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42932 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42934 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42938 # Always prepend --prefix to ensure using the same prefix
42939 # in subdir configurations.
42940 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42943 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42945 # Do not complain, so a configure script can configure whichever
42946 # parts of a large source tree are present.
42947 test -d $srcdir/$ac_dir || continue
42949 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42950 echo "$as_me: configuring in $ac_dir" >&6;}
42951 { if $as_mkdir_p; then
42956 while test ! -d "$as_dir"; do
42957 as_dirs
="$as_dir $as_dirs"
42958 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42960 X"$as_dir" : 'X\(//\)[^/]' \| \
42961 X"$as_dir" : 'X\(//\)$' \| \
42962 X"$as_dir" : 'X\(/\)' \| \
42963 . : '\(.\)' 2>/dev/null ||
42965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42967 /^X\(\/\/\)$/{ s//\1/; q; }
42968 /^X\(\/\).*/{ s//\1/; q; }
42971 test ! -n "$as_dirs" || mkdir $as_dirs
42972 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42973 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42974 { (exit 1); exit 1; }; }; }
42978 if test "$ac_dir" != .
; then
42979 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42980 # A "../" for each directory in $ac_dir_suffix.
42981 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42983 ac_dir_suffix
= ac_top_builddir
=
42987 .
) # No --srcdir option. We are building in place.
42989 if test -z "$ac_top_builddir"; then
42992 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42994 [\\/]* | ?
:[\\/]* ) # Absolute path.
42995 ac_srcdir
=$srcdir$ac_dir_suffix;
42996 ac_top_srcdir
=$srcdir ;;
42997 *) # Relative path.
42998 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42999 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43002 # Do not use `cd foo && pwd` to compute absolute paths, because
43003 # the directories may not exist.
43005 .
) ac_abs_builddir
="$ac_dir";;
43008 .
) ac_abs_builddir
=`pwd`;;
43009 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43010 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43013 case $ac_abs_builddir in
43014 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43016 case ${ac_top_builddir}.
in
43017 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43018 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43019 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43022 case $ac_abs_builddir in
43023 .
) ac_abs_srcdir
=$ac_srcdir;;
43026 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43027 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43028 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43031 case $ac_abs_builddir in
43032 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43034 case $ac_top_srcdir in
43035 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43036 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43037 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43044 # Check for guested configure; otherwise get Cygnus style configure.
43045 if test -f $ac_srcdir/configure.gnu
; then
43046 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43047 elif test -f $ac_srcdir/configure
; then
43048 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43049 elif test -f $ac_srcdir/configure.
in; then
43050 ac_sub_configure
=$ac_configure
43052 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43053 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43057 # The recursion is here.
43058 if test -n "$ac_sub_configure"; then
43059 # Make the cache file name correct relative to the subdirectory.
43060 case $cache_file in
43061 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43062 *) # Relative path.
43063 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43066 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43067 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43068 # The eval makes quoting arguments work.
43069 eval $ac_sub_configure $ac_sub_configure_args \
43070 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43071 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43072 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43073 { (exit 1); exit 1; }; }
43082 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43084 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
43085 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43087 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43088 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43089 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43091 echo " What level of wxWidgets compatibility should be enabled?"
43092 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43093 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43095 echo " Which libraries should wxWidgets use?"
43096 echo " jpeg ${wxUSE_LIBJPEG-none}"
43097 echo " png ${wxUSE_LIBPNG-none}"
43098 echo " regex ${wxUSE_REGEX}"
43099 echo " tiff ${wxUSE_LIBTIFF-none}"
43100 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43101 echo " xpm ${wxUSE_LIBXPM-none}"
43103 echo " zlib ${wxUSE_ZLIB}"
43104 echo " odbc ${wxUSE_ODBC}"
43105 echo " expat ${wxUSE_EXPAT}"
43106 echo " libmspack ${wxUSE_LIBMSPACK}"
43107 echo " sdl ${wxUSE_LIBSDL}"