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 wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.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
='wxWindows'
272 PACKAGE_TARNAME
='wxwindows'
273 PACKAGE_VERSION
='2.5.1'
274 PACKAGE_STRING
='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.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 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 LIBPREFIX 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_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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 WX_LARGEFILE_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 GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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 wxWindows 2.5.1 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 wxWindows 2.5.1:";;
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 wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
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-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C
++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWindows
2.2 compatibility
892 --disable-compat24 disable wxWindows
2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx
-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig
(and derived
) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP
(requires wxProtocol
898 --enable-http use wxHTTP
(requires wxProtocol
899 --enable-fileproto use wxFileProto class
(requires wxProtocol
900 --enable-sockets use socket
/network classes
901 --enable-ole use OLE classes
(Win32 only
)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication
(wxSocket etc.
)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class
for DLL loading
910 --enable-dynamicloader use
(new
) wxDynamicLibrary class
911 --enable-exceptions build exception
-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual
file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP
/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C
++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWindows implementation of vprintf
()
934 --enable-zipstream use wxZipInputStream
935 --enable-gzstream use wxGzipInputStream
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-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
954 --enable-prologio not available
; see contrib
955 --enable-resources not available
; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag
'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick
(Linux only
)
1020 --enable-metafiles use wxMetaFile
(Windows only
)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images
(GIF
file format
)
1026 --enable-pcx use pcx images
(PCX
file format
)
1027 --enable-iff use iff images
(IFF
file format
)
1028 --enable-pnm use pnm images
(PNM
file format
)
1029 --enable-xpm use xpm images
(XPM
file format
)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWindows
(win32 DLL only
)
1032 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1033 --disable-largefile omit support
for large files
1034 --disable-gtktest do not try to compile and run a
test GTK
+ program
1035 --disable-gtktest Do not try to compile and run a
test GTK program
1036 --disable-sdltest Do not try to compile and run a
test SDL program
1037 --disable-precomp-headers don
't use precompiled headers even if compiler can
1040 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1041 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-motif use Motif/Lesstif
1044 --with-mac use Mac OS X
1045 --with-cocoa use Cocoa
1046 --with-wine use Wine
1047 --with-msw use MS-Windows
1048 --with-pm use OS/2 Presentation Manager
1049 --with-mgl use SciTech MGL
1050 --with-microwin use MicroWindows
1052 --with-libpng use libpng (PNG image format)
1053 --with-libjpeg use libjpeg (JPEG file format)
1054 --with-libtiff use libtiff (TIFF file format)
1055 --with-libxpm use libxpm (XPM file format)
1056 --with-libmspack use libmspack (CHM help files loading)
1057 --with-sdl use SDL for audio on Unix
1058 --with-opengl use OpenGL (or Mesa)
1059 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1060 --with-regex enable support for wxRegEx class
1061 --with-zlib use zlib for LZW compression
1062 --with-odbc use the IODBC and wxODBC classes
1063 --with-expat enable XML support using expat parser
1064 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1065 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1066 --with-x use the X Window System
1067 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1068 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1069 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 Some influential environment variables:
1072 CC C compiler command
1073 CFLAGS C compiler flags
1074 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1075 nonstandard directory <lib dir>
1076 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1077 headers in a nonstandard directory <include dir>
1079 CXX C++ compiler command
1080 CXXFLAGS C++ compiler flags
1081 CXXCPP C++ preprocessor
1083 Use these variables to override the choices made by `configure' or to
help
1084 it to
find libraries and programs with nonstandard names
/locations.
1086 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1090 if test "$ac_init_help" = "recursive"; then
1091 # If there are subdirs, report their specific --help.
1093 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1094 test -d $ac_dir || continue
1097 if test "$ac_dir" != .
; then
1098 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1099 # A "../" for each directory in $ac_dir_suffix.
1100 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1102 ac_dir_suffix
= ac_top_builddir
=
1106 .
) # No --srcdir option. We are building in place.
1108 if test -z "$ac_top_builddir"; then
1111 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1113 [\\/]* | ?
:[\\/]* ) # Absolute path.
1114 ac_srcdir
=$srcdir$ac_dir_suffix;
1115 ac_top_srcdir
=$srcdir ;;
1117 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1118 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1121 # Do not use `cd foo && pwd` to compute absolute paths, because
1122 # the directories may not exist.
1124 .
) ac_abs_builddir
="$ac_dir";;
1127 .
) ac_abs_builddir
=`pwd`;;
1128 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1129 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1132 case $ac_abs_builddir in
1133 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1135 case ${ac_top_builddir}.
in
1136 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1137 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1138 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1141 case $ac_abs_builddir in
1142 .
) ac_abs_srcdir
=$ac_srcdir;;
1145 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1147 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1153 case $ac_top_srcdir in
1154 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1156 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1161 # Check for guested configure; otherwise get Cygnus style configure.
1162 if test -f $ac_srcdir/configure.gnu
; then
1164 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1165 elif test -f $ac_srcdir/configure
; then
1167 $SHELL $ac_srcdir/configure
--help=recursive
1168 elif test -f $ac_srcdir/configure.ac
||
1169 test -f $ac_srcdir/configure.
in; then
1171 $ac_configure --help
1173 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179 test -n "$ac_init_help" && exit 0
1180 if $ac_init_version; then
1182 wxWindows configure
2.5.1
1183 generated by GNU Autoconf
2.59
1185 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1186 This configure
script is free software
; the Free Software Foundation
1187 gives unlimited permission to copy
, distribute and modify it.
1193 This file contains any messages produced by compilers while
1194 running configure, to aid debugging if configure makes a mistake.
1196 It was created by wxWindows $as_me 2.5.1, which was
1197 generated by GNU Autoconf 2.59. Invocation command line was
1208 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1209 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1210 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1211 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1212 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1214 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1215 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1217 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1218 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1219 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1220 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1221 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1222 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1223 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1231 test -z "$as_dir" && as_dir
=.
1232 echo "PATH: $as_dir"
1247 # Keep a trace of the command line.
1248 # Strip out --no-create and --no-recursion so they do not pile up.
1249 # Strip out --silent because we don't want to record it for future runs.
1250 # Also quote any args containing shell meta-characters.
1251 # Make two passes to allow for proper duplicate-argument suppression.
1256 ac_must_keep_next
=false
1262 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1270 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1272 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1273 if test $ac_must_keep_next = true
; then
1274 ac_must_keep_next
=false
# Got value, back to normal.
1277 *=* | --config-cache | -C | -disable-* | --disable-* \
1278 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1279 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1280 | -with-* | --with-* | -without-* | --without-* | --x)
1281 case "$ac_configure_args0 " in
1282 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1285 -* ) ac_must_keep_next
=true
;;
1288 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1289 # Get rid of the leading space.
1295 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1296 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1298 # When interrupted or exit'd, cleanup temporary files, and complete
1299 # config.log. We remove comments because anyway the quotes in there
1300 # would cause problems or look ugly.
1301 # WARNING: Be sure not to use single quotes in there, as some shells,
1302 # such as our DU 5.0 friend, will then `close' the trap.
1303 trap 'exit_status=$?
1304 # Save into config.log some information that might help in debugging.
1309 ## ---------------- ##
1310 ## Cache variables. ##
1311 ## ---------------- ##
1314 # The following way of writing the cache mishandles newlines in values,
1317 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1320 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1325 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1332 ## ----------------- ##
1333 ## Output variables. ##
1334 ## ----------------- ##
1337 for ac_var in $ac_subst_vars
1339 eval ac_val=$`echo $ac_var`
1340 echo "$ac_var='"'"'$ac_val'"'"'"
1344 if test -n "$ac_subst_files"; then
1351 for ac_var in $ac_subst_files
1353 eval ac_val=$`echo $ac_var`
1354 echo "$ac_var='"'"'$ac_val'"'"'"
1359 if test -s confdefs.h; then
1366 sed "/^$/d" confdefs.h | sort
1369 test "$ac_signal" != 0 &&
1370 echo "$as_me: caught signal $ac_signal"
1371 echo "$as_me: exit $exit_status"
1373 rm -f core *.core &&
1374 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1377 for ac_signal
in 1 2 13 15; do
1378 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1382 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1383 rm -rf conftest
* confdefs.h
1384 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1387 # Predefined preprocessor variables.
1389 cat >>confdefs.h
<<_ACEOF
1390 #define PACKAGE_NAME "$PACKAGE_NAME"
1394 cat >>confdefs.h
<<_ACEOF
1395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1399 cat >>confdefs.h
<<_ACEOF
1400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_STRING "$PACKAGE_STRING"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1414 # Let the site file select an alternate cache file if it wants to.
1415 # Prefer explicitly selected file to automatically selected ones.
1416 if test -z "$CONFIG_SITE"; then
1417 if test "x$prefix" != xNONE
; then
1418 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1420 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1423 for ac_site_file
in $CONFIG_SITE; do
1424 if test -r "$ac_site_file"; then
1425 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1426 echo "$as_me: loading site script $ac_site_file" >&6;}
1427 sed 's/^/| /' "$ac_site_file" >&5
1432 if test -r "$cache_file"; then
1433 # Some versions of bash will fail to source /dev/null (special
1434 # files actually), so we avoid doing that.
1435 if test -f "$cache_file"; then
1436 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1437 echo "$as_me: loading cache $cache_file" >&6;}
1439 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1440 *) . .
/$cache_file;;
1444 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1445 echo "$as_me: creating cache $cache_file" >&6;}
1449 # Check that the precious variables saved in the cache have kept the same
1451 ac_cache_corrupted
=false
1452 for ac_var
in `(set) 2>&1 |
1453 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1454 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1455 eval ac_new_set
=\
$ac_env_${ac_var}_set
1456 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1457 eval ac_new_val
="\$ac_env_${ac_var}_value"
1458 case $ac_old_set,$ac_new_set in
1460 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1461 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1462 ac_cache_corrupted
=: ;;
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1466 ac_cache_corrupted
=: ;;
1469 if test "x$ac_old_val" != "x$ac_new_val"; then
1470 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1471 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1472 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1473 echo "$as_me: former value: $ac_old_val" >&2;}
1474 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1475 echo "$as_me: current value: $ac_new_val" >&2;}
1476 ac_cache_corrupted
=:
1479 # Pass precious variables to config.status.
1480 if test "$ac_new_set" = set; then
1482 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1483 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1484 *) ac_arg
=$ac_var=$ac_new_val ;;
1486 case " $ac_configure_args " in
1487 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1488 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1492 if $ac_cache_corrupted; then
1493 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1494 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1495 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1496 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1497 { (exit 1); exit 1; }; }
1501 ac_cpp
='$CPP $CPPFLAGS'
1502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1536 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1537 if test -f $ac_dir/install-sh; then
1539 ac_install_sh
="$ac_aux_dir/install-sh -c"
1541 elif test -f $ac_dir/install.sh
; then
1543 ac_install_sh
="$ac_aux_dir/install.sh -c"
1545 elif test -f $ac_dir/shtool
; then
1547 ac_install_sh
="$ac_aux_dir/shtool install -c"
1551 if test -z "$ac_aux_dir"; then
1552 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1553 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1554 { (exit 1); exit 1; }; }
1556 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1557 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1558 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1560 # Make sure we can run config.sub.
1561 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1562 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1563 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1564 { (exit 1); exit 1; }; }
1566 echo "$as_me:$LINENO: checking build system type" >&5
1567 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1568 if test "${ac_cv_build+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 ac_cv_build_alias
=$build_alias
1572 test -z "$ac_cv_build_alias" &&
1573 ac_cv_build_alias
=`$ac_config_guess`
1574 test -z "$ac_cv_build_alias" &&
1575 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1576 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1577 { (exit 1); exit 1; }; }
1578 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1579 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1580 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1581 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1585 echo "${ECHO_T}$ac_cv_build" >&6
1587 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1588 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1589 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592 echo "$as_me:$LINENO: checking host system type" >&5
1593 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1594 if test "${ac_cv_host+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 ac_cv_host_alias
=$host_alias
1598 test -z "$ac_cv_host_alias" &&
1599 ac_cv_host_alias
=$ac_cv_build_alias
1600 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1601 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1602 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1603 { (exit 1); exit 1; }; }
1606 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1607 echo "${ECHO_T}$ac_cv_host" >&6
1609 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1610 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1611 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1614 echo "$as_me:$LINENO: checking target system type" >&5
1615 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1616 if test "${ac_cv_target+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1619 ac_cv_target_alias
=$target_alias
1620 test "x$ac_cv_target_alias" = "x" &&
1621 ac_cv_target_alias
=$ac_cv_host_alias
1622 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1623 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1624 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1625 { (exit 1); exit 1; }; }
1628 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1629 echo "${ECHO_T}$ac_cv_target" >&6
1630 target
=$ac_cv_target
1631 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1632 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1633 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1636 # The aliases save the names the user supplied, while $host etc.
1637 # will get canonicalized.
1638 test -n "$target_alias" &&
1639 test "$program_prefix$program_suffix$program_transform_name" = \
1641 program_prefix
=${target_alias}-
1645 WX_MAJOR_VERSION_NUMBER
=2
1646 WX_MINOR_VERSION_NUMBER
=5
1649 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1650 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1652 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1668 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1674 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1680 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1682 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1684 DEFAULT_wxUSE_COCOA
=0
1688 DEFAULT_wxUSE_MICROWIN
=0
1689 DEFAULT_wxUSE_MOTIF
=0
1694 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1695 DEFAULT_DEFAULT_wxUSE_GTK
=0
1696 DEFAULT_DEFAULT_wxUSE_MAC
=0
1697 DEFAULT_DEFAULT_wxUSE_MGL
=0
1698 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1699 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1700 DEFAULT_DEFAULT_wxUSE_MSW
=0
1701 DEFAULT_DEFAULT_wxUSE_PM
=0
1702 DEFAULT_DEFAULT_wxUSE_X11
=0
1707 SAMPLES_RPATH_POSTLINK
=
1712 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1713 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1715 cat >>confdefs.h
<<\_ACEOF
1722 cat >>confdefs.h
<<\_ACEOF
1727 if test "x$TMP" = "xalpha"; then
1729 cat >>confdefs.h
<<\_ACEOF
1734 DEFAULT_DEFAULT_wxUSE_GTK
=1
1738 cat >>confdefs.h
<<\_ACEOF
1743 if test "x$TMP" = "xalpha"; then
1745 cat >>confdefs.h
<<\_ACEOF
1750 DEFAULT_DEFAULT_wxUSE_GTK
=1
1752 *-*-irix5* | *-*-irix6* )
1755 cat >>confdefs.h
<<\_ACEOF
1759 cat >>confdefs.h
<<\_ACEOF
1763 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1774 #define __SOLARIS__ 1
1777 cat >>confdefs.h
<<\_ACEOF
1781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1782 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1788 cat >>confdefs.h
<<\_ACEOF
1792 cat >>confdefs.h
<<\_ACEOF
1796 cat >>confdefs.h
<<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1805 cat >>confdefs.h
<<\_ACEOF
1806 #define __FREEBSD__ 1
1809 cat >>confdefs.h
<<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_GTK
=1
1818 cat >>confdefs.h
<<\_ACEOF
1819 #define __OPENBSD__ 1
1822 cat >>confdefs.h
<<\_ACEOF
1826 DEFAULT_DEFAULT_wxUSE_GTK
=1
1831 cat >>confdefs.h
<<\_ACEOF
1832 #define __NETBSD__ 1
1835 cat >>confdefs.h
<<\_ACEOF
1839 DEFAULT_DEFAULT_wxUSE_GTK
=1
1844 cat >>confdefs.h
<<\_ACEOF
1848 cat >>confdefs.h
<<\_ACEOF
1852 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 cat >>confdefs.h
<<\_ACEOF
1875 cat >>confdefs.h
<<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1886 cat >>confdefs.h
<<\_ACEOF
1890 cat >>confdefs.h
<<\_ACEOF
1894 cat >>confdefs.h
<<\_ACEOF
1898 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1905 cat >>confdefs.h
<<\_ACEOF
1906 #define __UNIXWARE__ 1
1911 *-*-cygwin* | *-*-mingw32* )
1915 DEFAULT_DEFAULT_wxUSE_MSW
=1
1921 cat >>confdefs.h
<<\_ACEOF
1926 DEFAULT_DEFAULT_wxUSE_MGL
=1
1927 LIBS
="$LIBS -lstdc++"
1930 *-pc-os2_emx | *-pc-os2-emx )
1931 cat >>confdefs.h
<<\_ACEOF
1936 cat >>confdefs.h
<<\_ACEOF
1941 DEFAULT_DEFAULT_wxUSE_PM
=1
1943 LDFLAGS
="$LDFLAGS -Zcrtdll"
1944 ac_executable_extensions
=".exe"
1945 export ac_executable_extensions
1949 for ac_dir
in $PATH; do
1951 if test -z "$ac_TEMP_PATH"; then
1952 ac_TEMP_PATH
="$ac_dir"
1954 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1957 export PATH
="$ac_TEMP_PATH"
1965 cat >>confdefs.h
<<\_ACEOF
1969 cat >>confdefs.h
<<\_ACEOF
1970 #define __DARWIN__ 1
1973 cat >>confdefs.h
<<\_ACEOF
1974 #define __POWERPC__ 1
1977 cat >>confdefs.h
<<\_ACEOF
1978 #define TARGET_CARBON 1
1981 DEFAULT_DEFAULT_wxUSE_MAC
=1
1986 cat >>confdefs.h
<<\_ACEOF
1993 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1994 echo "$as_me: error: unknown system type ${host}." >&2;}
1995 { (exit 1); exit 1; }; }
2001 wx_arg_cache_file
="configarg.cache"
2002 echo "loading argument cache $wx_arg_cache_file"
2003 rm -f ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}
2009 if test $DEBUG_CONFIGURE = 1; then
2010 DEFAULT_wxUSE_UNIVERSAL
=no
2011 DEFAULT_wxUSE_STL
=no
2013 DEFAULT_wxUSE_NANOX
=no
2015 DEFAULT_wxUSE_THREADS
=yes
2017 DEFAULT_wxUSE_SHARED
=yes
2018 DEFAULT_wxUSE_OPTIMISE
=no
2019 DEFAULT_wxUSE_PROFILE
=no
2020 DEFAULT_wxUSE_NO_DEPS
=no
2021 DEFAULT_wxUSE_NO_RTTI
=no
2022 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2023 DEFAULT_wxUSE_PERMISSIVE
=no
2024 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2025 DEFAULT_wxUSE_DEBUG_INFO
=yes
2026 DEFAULT_wxUSE_DEBUG_GDB
=yes
2027 DEFAULT_wxUSE_MEM_TRACING
=no
2028 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2029 DEFAULT_wxUSE_DMALLOC
=no
2030 DEFAULT_wxUSE_APPLE_IEEE
=no
2032 DEFAULT_wxUSE_EXCEPTIONS
=no
2033 DEFAULT_wxUSE_LOG
=yes
2034 DEFAULT_wxUSE_LOGWINDOW
=no
2035 DEFAULT_wxUSE_LOGGUI
=no
2036 DEFAULT_wxUSE_LOGDIALOG
=no
2038 DEFAULT_wxUSE_GUI
=yes
2039 DEFAULT_wxUSE_CONTROLS
=no
2041 DEFAULT_wxUSE_REGEX
=no
2042 DEFAULT_wxUSE_XML
=no
2043 DEFAULT_wxUSE_EXPAT
=no
2044 DEFAULT_wxUSE_ZLIB
=no
2045 DEFAULT_wxUSE_LIBPNG
=no
2046 DEFAULT_wxUSE_LIBJPEG
=no
2047 DEFAULT_wxUSE_LIBTIFF
=no
2048 DEFAULT_wxUSE_LIBXPM
=no
2049 DEFAULT_wxUSE_LIBMSPACK
=no
2050 DEFAULT_wxUSE_LIBSDL
=no
2051 DEFAULT_wxUSE_ODBC
=no
2052 DEFAULT_wxUSE_OPENGL
=no
2054 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2055 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2056 DEFAULT_wxUSE_STD_IOSTREAM
=no
2057 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2058 DEFAULT_wxUSE_DATETIME
=no
2059 DEFAULT_wxUSE_TIMER
=no
2060 DEFAULT_wxUSE_STOPWATCH
=no
2061 DEFAULT_wxUSE_FILE
=no
2062 DEFAULT_wxUSE_FFILE
=no
2063 DEFAULT_wxUSE_TEXTBUFFER
=no
2064 DEFAULT_wxUSE_TEXTFILE
=no
2065 DEFAULT_wxUSE_SOUND
=no
2066 DEFAULT_wxUSE_INTL
=no
2067 DEFAULT_wxUSE_CONFIG
=no
2068 DEFAULT_wxUSE_FONTMAP
=no
2069 DEFAULT_wxUSE_STREAMS
=no
2070 DEFAULT_wxUSE_SOCKETS
=no
2071 DEFAULT_wxUSE_OLE
=no
2072 DEFAULT_wxUSE_DATAOBJ
=no
2073 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2074 DEFAULT_wxUSE_JOYSTICK
=no
2075 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2076 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2077 DEFAULT_wxUSE_LONGLONG
=no
2078 DEFAULT_wxUSE_GEOMETRY
=no
2080 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2081 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2082 DEFAULT_wxUSE_POSTSCRIPT
=no
2084 DEFAULT_wxUSE_CLIPBOARD
=no
2085 DEFAULT_wxUSE_TOOLTIPS
=no
2086 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2087 DEFAULT_wxUSE_DRAGIMAGE
=no
2088 DEFAULT_wxUSE_SPLINES
=no
2090 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2091 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2092 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2094 DEFAULT_wxUSE_RESOURCES
=no
2095 DEFAULT_wxUSE_CONSTRAINTS
=no
2096 DEFAULT_wxUSE_IPC
=no
2097 DEFAULT_wxUSE_HELP
=no
2098 DEFAULT_wxUSE_MS_HTML_HELP
=no
2099 DEFAULT_wxUSE_WXHTML_HELP
=no
2100 DEFAULT_wxUSE_TREELAYOUT
=no
2101 DEFAULT_wxUSE_METAFILE
=no
2102 DEFAULT_wxUSE_MIMETYPE
=no
2103 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2104 DEFAULT_wxUSE_PROTOCOL
=no
2105 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2106 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2107 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2108 DEFAULT_wxUSE_URL
=no
2110 DEFAULT_wxUSE_COMMONDLGS
=no
2111 DEFAULT_wxUSE_CHOICEDLG
=no
2112 DEFAULT_wxUSE_COLOURDLG
=no
2113 DEFAULT_wxUSE_DIRDLG
=no
2114 DEFAULT_wxUSE_FILEDLG
=no
2115 DEFAULT_wxUSE_FINDREPLDLG
=no
2116 DEFAULT_wxUSE_FONTDLG
=no
2117 DEFAULT_wxUSE_MSGDLG
=no
2118 DEFAULT_wxUSE_NUMBERDLG
=no
2119 DEFAULT_wxUSE_TEXTDLG
=no
2120 DEFAULT_wxUSE_SPLASH
=no
2121 DEFAULT_wxUSE_STARTUP_TIPS
=no
2122 DEFAULT_wxUSE_PROGRESSDLG
=no
2123 DEFAULT_wxUSE_WIZARDDLG
=no
2125 DEFAULT_wxUSE_MENUS
=no
2126 DEFAULT_wxUSE_MINIFRAME
=no
2127 DEFAULT_wxUSE_HTML
=no
2128 DEFAULT_wxUSE_FILESYSTEM
=no
2129 DEFAULT_wxUSE_FS_INET
=no
2130 DEFAULT_wxUSE_FS_ZIP
=no
2131 DEFAULT_wxUSE_BUSYINFO
=no
2132 DEFAULT_wxUSE_ZIPSTREAM
=no
2133 DEFAULT_wxUSE_GZSTREAM
=no
2134 DEFAULT_wxUSE_VALIDATORS
=no
2136 DEFAULT_wxUSE_ACCEL
=no
2137 DEFAULT_wxUSE_BUTTON
=no
2138 DEFAULT_wxUSE_BMPBUTTON
=no
2139 DEFAULT_wxUSE_CALCTRL
=no
2140 DEFAULT_wxUSE_CARET
=no
2141 DEFAULT_wxUSE_CHECKBOX
=no
2142 DEFAULT_wxUSE_CHECKLST
=no
2143 DEFAULT_wxUSE_CHOICE
=no
2144 DEFAULT_wxUSE_COMBOBOX
=no
2145 DEFAULT_wxUSE_DISPLAY
=no
2146 DEFAULT_wxUSE_GAUGE
=no
2147 DEFAULT_wxUSE_GRID
=no
2148 DEFAULT_wxUSE_IMAGLIST
=no
2149 DEFAULT_wxUSE_LISTBOOK
=no
2150 DEFAULT_wxUSE_LISTBOX
=no
2151 DEFAULT_wxUSE_LISTCTRL
=no
2152 DEFAULT_wxUSE_NOTEBOOK
=no
2153 DEFAULT_wxUSE_RADIOBOX
=no
2154 DEFAULT_wxUSE_RADIOBTN
=no
2155 DEFAULT_wxUSE_SASH
=no
2156 DEFAULT_wxUSE_SCROLLBAR
=no
2157 DEFAULT_wxUSE_SLIDER
=no
2158 DEFAULT_wxUSE_SPINBTN
=no
2159 DEFAULT_wxUSE_SPINCTRL
=no
2160 DEFAULT_wxUSE_SPLITTER
=no
2161 DEFAULT_wxUSE_STATBMP
=no
2162 DEFAULT_wxUSE_STATBOX
=no
2163 DEFAULT_wxUSE_STATLINE
=no
2164 DEFAULT_wxUSE_STATTEXT
=no
2165 DEFAULT_wxUSE_STATUSBAR
=yes
2166 DEFAULT_wxUSE_TABDIALOG
=no
2167 DEFAULT_wxUSE_TEXTCTRL
=no
2168 DEFAULT_wxUSE_TOGGLEBTN
=no
2169 DEFAULT_wxUSE_TOOLBAR
=no
2170 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2171 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2172 DEFAULT_wxUSE_TREECTRL
=no
2173 DEFAULT_wxUSE_POPUPWIN
=no
2174 DEFAULT_wxUSE_TIPWINDOW
=no
2176 DEFAULT_wxUSE_UNICODE
=no
2177 DEFAULT_wxUSE_UNICODE_MSLU
=no
2178 DEFAULT_wxUSE_WCSRTOMBS
=no
2180 DEFAULT_wxUSE_PALETTE
=no
2181 DEFAULT_wxUSE_IMAGE
=no
2182 DEFAULT_wxUSE_GIF
=no
2183 DEFAULT_wxUSE_PCX
=no
2184 DEFAULT_wxUSE_PNM
=no
2185 DEFAULT_wxUSE_IFF
=no
2186 DEFAULT_wxUSE_XPM
=no
2187 DEFAULT_wxUSE_ICO_CUR
=no
2188 DEFAULT_wxUSE_ACCESSIBILITY
=no
2190 DEFAULT_wxUSE_MONOLITHIC
=no
2191 DEFAULT_wxUSE_PLUGINS
=no
2192 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2194 DEFAULT_wxUSE_UNIVERSAL
=no
2195 DEFAULT_wxUSE_STL
=no
2197 DEFAULT_wxUSE_NANOX
=no
2199 DEFAULT_wxUSE_THREADS
=yes
2201 DEFAULT_wxUSE_SHARED
=yes
2202 DEFAULT_wxUSE_OPTIMISE
=yes
2203 DEFAULT_wxUSE_PROFILE
=no
2204 DEFAULT_wxUSE_NO_DEPS
=no
2205 DEFAULT_wxUSE_NO_RTTI
=no
2206 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2207 DEFAULT_wxUSE_PERMISSIVE
=no
2208 DEFAULT_wxUSE_DEBUG_FLAG
=no
2209 DEFAULT_wxUSE_DEBUG_INFO
=no
2210 DEFAULT_wxUSE_DEBUG_GDB
=no
2211 DEFAULT_wxUSE_MEM_TRACING
=no
2212 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2213 DEFAULT_wxUSE_DMALLOC
=no
2214 DEFAULT_wxUSE_APPLE_IEEE
=yes
2216 DEFAULT_wxUSE_EXCEPTIONS
=yes
2217 DEFAULT_wxUSE_LOG
=yes
2218 DEFAULT_wxUSE_LOGWINDOW
=yes
2219 DEFAULT_wxUSE_LOGGUI
=yes
2220 DEFAULT_wxUSE_LOGDIALOG
=yes
2222 DEFAULT_wxUSE_GUI
=yes
2224 DEFAULT_wxUSE_REGEX
=yes
2225 DEFAULT_wxUSE_XML
=yes
2226 DEFAULT_wxUSE_EXPAT
=yes
2227 DEFAULT_wxUSE_ZLIB
=yes
2228 DEFAULT_wxUSE_LIBPNG
=yes
2229 DEFAULT_wxUSE_LIBJPEG
=yes
2230 DEFAULT_wxUSE_LIBTIFF
=yes
2231 DEFAULT_wxUSE_LIBXPM
=yes
2232 DEFAULT_wxUSE_LIBMSPACK
=yes
2233 DEFAULT_wxUSE_LIBSDL
=no
2234 DEFAULT_wxUSE_ODBC
=no
2235 DEFAULT_wxUSE_OPENGL
=no
2237 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2238 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2239 DEFAULT_wxUSE_STD_IOSTREAM
=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2241 DEFAULT_wxUSE_DATETIME
=yes
2242 DEFAULT_wxUSE_TIMER
=yes
2243 DEFAULT_wxUSE_STOPWATCH
=yes
2244 DEFAULT_wxUSE_FILE
=yes
2245 DEFAULT_wxUSE_FFILE
=yes
2246 DEFAULT_wxUSE_TEXTBUFFER
=yes
2247 DEFAULT_wxUSE_TEXTFILE
=yes
2248 DEFAULT_wxUSE_SOUND
=yes
2249 DEFAULT_wxUSE_INTL
=yes
2250 DEFAULT_wxUSE_CONFIG
=yes
2251 DEFAULT_wxUSE_FONTMAP
=yes
2252 DEFAULT_wxUSE_STREAMS
=yes
2253 DEFAULT_wxUSE_SOCKETS
=yes
2254 DEFAULT_wxUSE_OLE
=yes
2255 DEFAULT_wxUSE_DATAOBJ
=yes
2256 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2257 DEFAULT_wxUSE_JOYSTICK
=yes
2258 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2259 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2260 DEFAULT_wxUSE_LONGLONG
=yes
2261 DEFAULT_wxUSE_GEOMETRY
=yes
2263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2265 DEFAULT_wxUSE_POSTSCRIPT
=yes
2267 DEFAULT_wxUSE_CLIPBOARD
=yes
2268 DEFAULT_wxUSE_TOOLTIPS
=yes
2269 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2270 DEFAULT_wxUSE_DRAGIMAGE
=yes
2271 DEFAULT_wxUSE_SPLINES
=yes
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2277 DEFAULT_wxUSE_RESOURCES
=no
2278 DEFAULT_wxUSE_CONSTRAINTS
=yes
2279 DEFAULT_wxUSE_IPC
=yes
2280 DEFAULT_wxUSE_HELP
=yes
2281 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2282 DEFAULT_wxUSE_WXHTML_HELP
=yes
2283 DEFAULT_wxUSE_TREELAYOUT
=yes
2284 DEFAULT_wxUSE_METAFILE
=yes
2285 DEFAULT_wxUSE_MIMETYPE
=yes
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2287 DEFAULT_wxUSE_PROTOCOL
=yes
2288 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2289 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2290 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2291 DEFAULT_wxUSE_URL
=yes
2293 DEFAULT_wxUSE_COMMONDLGS
=yes
2294 DEFAULT_wxUSE_CHOICEDLG
=yes
2295 DEFAULT_wxUSE_COLOURDLG
=yes
2296 DEFAULT_wxUSE_DIRDLG
=yes
2297 DEFAULT_wxUSE_FILEDLG
=yes
2298 DEFAULT_wxUSE_FINDREPLDLG
=yes
2299 DEFAULT_wxUSE_FONTDLG
=yes
2300 DEFAULT_wxUSE_MSGDLG
=yes
2301 DEFAULT_wxUSE_NUMBERDLG
=yes
2302 DEFAULT_wxUSE_TEXTDLG
=yes
2303 DEFAULT_wxUSE_SPLASH
=yes
2304 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2305 DEFAULT_wxUSE_PROGRESSDLG
=yes
2306 DEFAULT_wxUSE_WIZARDDLG
=yes
2308 DEFAULT_wxUSE_MENUS
=yes
2309 DEFAULT_wxUSE_MINIFRAME
=yes
2310 DEFAULT_wxUSE_HTML
=yes
2311 DEFAULT_wxUSE_FILESYSTEM
=yes
2312 DEFAULT_wxUSE_FS_INET
=yes
2313 DEFAULT_wxUSE_FS_ZIP
=yes
2314 DEFAULT_wxUSE_BUSYINFO
=yes
2315 DEFAULT_wxUSE_ZIPSTREAM
=yes
2316 DEFAULT_wxUSE_GZSTREAM
=yes
2317 DEFAULT_wxUSE_VALIDATORS
=yes
2319 DEFAULT_wxUSE_ACCEL
=yes
2320 DEFAULT_wxUSE_BUTTON
=yes
2321 DEFAULT_wxUSE_BMPBUTTON
=yes
2322 DEFAULT_wxUSE_CALCTRL
=yes
2323 DEFAULT_wxUSE_CARET
=yes
2324 DEFAULT_wxUSE_CHECKBOX
=yes
2325 DEFAULT_wxUSE_CHECKLST
=yes
2326 DEFAULT_wxUSE_CHOICE
=yes
2327 DEFAULT_wxUSE_COMBOBOX
=yes
2328 DEFAULT_wxUSE_DISPLAY
=no
2329 DEFAULT_wxUSE_GAUGE
=yes
2330 DEFAULT_wxUSE_GRID
=yes
2331 DEFAULT_wxUSE_IMAGLIST
=yes
2332 DEFAULT_wxUSE_LISTBOOK
=yes
2333 DEFAULT_wxUSE_LISTBOX
=yes
2334 DEFAULT_wxUSE_LISTCTRL
=yes
2335 DEFAULT_wxUSE_NOTEBOOK
=yes
2336 DEFAULT_wxUSE_RADIOBOX
=yes
2337 DEFAULT_wxUSE_RADIOBTN
=yes
2338 DEFAULT_wxUSE_SASH
=yes
2339 DEFAULT_wxUSE_SCROLLBAR
=yes
2340 DEFAULT_wxUSE_SLIDER
=yes
2341 DEFAULT_wxUSE_SPINBTN
=yes
2342 DEFAULT_wxUSE_SPINCTRL
=yes
2343 DEFAULT_wxUSE_SPLITTER
=yes
2344 DEFAULT_wxUSE_STATBMP
=yes
2345 DEFAULT_wxUSE_STATBOX
=yes
2346 DEFAULT_wxUSE_STATLINE
=yes
2347 DEFAULT_wxUSE_STATTEXT
=yes
2348 DEFAULT_wxUSE_STATUSBAR
=yes
2349 DEFAULT_wxUSE_TABDIALOG
=no
2350 DEFAULT_wxUSE_TEXTCTRL
=yes
2351 DEFAULT_wxUSE_TOGGLEBTN
=yes
2352 DEFAULT_wxUSE_TOOLBAR
=yes
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2354 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2355 DEFAULT_wxUSE_TREECTRL
=yes
2356 DEFAULT_wxUSE_POPUPWIN
=yes
2357 DEFAULT_wxUSE_TIPWINDOW
=yes
2359 DEFAULT_wxUSE_UNICODE
=no
2360 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2361 DEFAULT_wxUSE_WCSRTOMBS
=no
2363 DEFAULT_wxUSE_PALETTE
=yes
2364 DEFAULT_wxUSE_IMAGE
=yes
2365 DEFAULT_wxUSE_GIF
=yes
2366 DEFAULT_wxUSE_PCX
=yes
2367 DEFAULT_wxUSE_IFF
=no
2368 DEFAULT_wxUSE_PNM
=yes
2369 DEFAULT_wxUSE_XPM
=yes
2370 DEFAULT_wxUSE_ICO_CUR
=yes
2371 DEFAULT_wxUSE_ACCESSIBILITY
=no
2373 DEFAULT_wxUSE_MONOLITHIC
=no
2374 DEFAULT_wxUSE_PLUGINS
=no
2375 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2380 for toolkit
in `echo $ALL_TOOLKITS`; do
2381 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2382 if test "x$LINE" != "x" ; then
2383 has_toolkit_in_cache
=1
2384 eval "DEFAULT_$LINE"
2385 eval "CACHE_$toolkit=1"
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2393 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2395 # Check whether --enable-gui or --disable-gui was given.
2396 if test "${enable_gui+set}" = set; then
2397 enableval
="$enable_gui"
2399 if test "$enableval" = yes; then
2400 ac_cv_use_gui
='wxUSE_GUI=yes'
2402 ac_cv_use_gui
='wxUSE_GUI=no'
2407 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x
; then
2409 eval "DEFAULT_$LINE"
2414 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2418 eval "$ac_cv_use_gui"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2423 if test "$wxUSE_GUI" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2436 # Check whether --enable-monolithic or --disable-monolithic was given.
2437 if test "${enable_monolithic+set}" = set; then
2438 enableval
="$enable_monolithic"
2440 if test "$enableval" = yes; then
2441 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2443 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2448 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x
; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2459 eval "$ac_cv_use_monolithic"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_MONOLITHIC" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2475 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2477 # Check whether --enable-plugins or --disable-plugins was given.
2478 if test "${enable_plugins+set}" = set; then
2479 enableval
="$enable_plugins"
2481 if test "$enableval" = yes; then
2482 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2484 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2489 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x
; then
2491 eval "DEFAULT_$LINE"
2496 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2500 eval "$ac_cv_use_plugins"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2505 if test "$wxUSE_PLUGINS" = yes; then
2506 echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2514 if test "$wxUSE_GUI" = "yes"; then
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2521 # Check whether --enable-universal or --disable-universal was given.
2522 if test "${enable_universal+set}" = set; then
2523 enableval
="$enable_universal"
2525 if test "$enableval" = yes; then
2526 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2528 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2533 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x
; then
2535 eval "DEFAULT_$LINE"
2540 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2544 eval "$ac_cv_use_universal"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2549 if test "$wxUSE_UNIVERSAL" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2558 # Check whether --with-gtk or --without-gtk was given.
2559 if test "${with_gtk+set}" = set; then
2561 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2564 # Check whether --with-motif or --without-motif was given.
2565 if test "${with_motif+set}" = set; then
2566 withval
="$with_motif"
2567 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2570 # Check whether --with-mac or --without-mac was given.
2571 if test "${with_mac+set}" = set; then
2573 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2576 # Check whether --with-cocoa or --without-cocoa was given.
2577 if test "${with_cocoa+set}" = set; then
2578 withval
="$with_cocoa"
2579 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2582 # Check whether --with-wine or --without-wine was given.
2583 if test "${with_wine+set}" = set; then
2584 withval
="$with_wine"
2585 wxUSE_WINE
="$withval" CACHE_WINE
=1
2588 # Check whether --with-msw or --without-msw was given.
2589 if test "${with_msw+set}" = set; then
2591 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2594 # Check whether --with-pm or --without-pm was given.
2595 if test "${with_pm+set}" = set; then
2597 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2600 # Check whether --with-mgl or --without-mgl was given.
2601 if test "${with_mgl+set}" = set; then
2603 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-microwin or --without-microwin was given.
2607 if test "${with_microwin+set}" = set; then
2608 withval
="$with_microwin"
2609 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-x11 or --without-x11 was given.
2613 if test "${with_x11+set}" = set; then
2615 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2622 # Check whether --enable-nanox or --disable-nanox was given.
2623 if test "${enable_nanox+set}" = set; then
2624 enableval
="$enable_nanox"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2629 ac_cv_use_nanox
='wxUSE_NANOX=no'
2634 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2645 eval "$ac_cv_use_nanox"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_NANOX" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2664 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2665 if test "${enable_gtk2+set}" = set; then
2666 enableval
="$enable_gtk2"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2671 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2676 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2687 eval "$ac_cv_use_gtk2"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_GTK2" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2705 # Check whether --enable-gpe or --disable-gpe was given.
2706 if test "${enable_gpe+set}" = set; then
2707 enableval
="$enable_gpe"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_gpe
='wxUSE_GPE=yes'
2712 ac_cv_use_gpe
='wxUSE_GPE=no'
2717 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x
; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2728 eval "$ac_cv_use_gpe"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_GPE" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2743 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2744 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2747 # Check whether --with-libpng or --without-libpng was given.
2748 if test "${with_libpng+set}" = set; then
2749 withval
="$with_libpng"
2751 if test "$withval" = yes; then
2752 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2753 elif test "$withval" = no
; then
2754 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2755 elif test "$withval" = sys
; then
2756 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2757 elif test "$withval" = builtin; then
2758 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2761 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2762 { (exit 1); exit 1; }; }
2767 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x
; then
2769 eval "DEFAULT_$LINE"
2774 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2778 eval "$ac_cv_use_libpng"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_LIBPNG" = yes; then
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2786 elif test "$wxUSE_LIBPNG" = no
; then
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2789 elif test "$wxUSE_LIBPNG" = sys
; then
2790 echo "$as_me:$LINENO: result: system version" >&5
2791 echo "${ECHO_T}system version" >&6
2792 elif test "$wxUSE_LIBPNG" = builtin; then
2793 echo "$as_me:$LINENO: result: builtin version" >&5
2794 echo "${ECHO_T}builtin version" >&6
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2802 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2803 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2806 # Check whether --with-libjpeg or --without-libjpeg was given.
2807 if test "${with_libjpeg+set}" = set; then
2808 withval
="$with_libjpeg"
2810 if test "$withval" = yes; then
2811 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2812 elif test "$withval" = no
; then
2813 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2814 elif test "$withval" = sys
; then
2815 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2816 elif test "$withval" = builtin; then
2817 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2826 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x
; then
2828 eval "DEFAULT_$LINE"
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2837 eval "$ac_cv_use_libjpeg"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_LIBJPEG" = yes; then
2843 echo "$as_me:$LINENO: result: yes" >&5
2844 echo "${ECHO_T}yes" >&6
2845 elif test "$wxUSE_LIBJPEG" = no
; then
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2848 elif test "$wxUSE_LIBJPEG" = sys
; then
2849 echo "$as_me:$LINENO: result: system version" >&5
2850 echo "${ECHO_T}system version" >&6
2851 elif test "$wxUSE_LIBJPEG" = builtin; then
2852 echo "$as_me:$LINENO: result: builtin version" >&5
2853 echo "${ECHO_T}builtin version" >&6
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2861 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2862 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2865 # Check whether --with-libtiff or --without-libtiff was given.
2866 if test "${with_libtiff+set}" = set; then
2867 withval
="$with_libtiff"
2869 if test "$withval" = yes; then
2870 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2871 elif test "$withval" = no
; then
2872 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2873 elif test "$withval" = sys
; then
2874 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2875 elif test "$withval" = builtin; then
2876 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2885 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x
; then
2887 eval "DEFAULT_$LINE"
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2896 eval "$ac_cv_use_libtiff"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2901 if test "$wxUSE_LIBTIFF" = yes; then
2902 echo "$as_me:$LINENO: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6
2904 elif test "$wxUSE_LIBTIFF" = no
; then
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2907 elif test "$wxUSE_LIBTIFF" = sys
; then
2908 echo "$as_me:$LINENO: result: system version" >&5
2909 echo "${ECHO_T}system version" >&6
2910 elif test "$wxUSE_LIBTIFF" = builtin; then
2911 echo "$as_me:$LINENO: result: builtin version" >&5
2912 echo "${ECHO_T}builtin version" >&6
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2920 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2921 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2924 # Check whether --with-libxpm or --without-libxpm was given.
2925 if test "${with_libxpm+set}" = set; then
2926 withval
="$with_libxpm"
2928 if test "$withval" = yes; then
2929 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2930 elif test "$withval" = no
; then
2931 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2932 elif test "$withval" = sys
; then
2933 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2934 elif test "$withval" = builtin; then
2935 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2944 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2955 eval "$ac_cv_use_libxpm"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2960 if test "$wxUSE_LIBXPM" = yes; then
2961 echo "$as_me:$LINENO: result: yes" >&5
2962 echo "${ECHO_T}yes" >&6
2963 elif test "$wxUSE_LIBXPM" = no
; then
2964 echo "$as_me:$LINENO: result: no" >&5
2965 echo "${ECHO_T}no" >&6
2966 elif test "$wxUSE_LIBXPM" = sys
; then
2967 echo "$as_me:$LINENO: result: system version" >&5
2968 echo "${ECHO_T}system version" >&6
2969 elif test "$wxUSE_LIBXPM" = builtin; then
2970 echo "$as_me:$LINENO: result: builtin version" >&5
2971 echo "${ECHO_T}builtin version" >&6
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2979 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2980 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2983 # Check whether --with-libmspack or --without-libmspack was given.
2984 if test "${with_libmspack+set}" = set; then
2985 withval
="$with_libmspack"
2987 if test "$withval" = yes; then
2988 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2990 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2995 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x
; then
2997 eval "DEFAULT_$LINE"
3002 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3006 eval "$ac_cv_use_libmspack"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3011 if test "$wxUSE_LIBMSPACK" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3020 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3021 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3024 # Check whether --with-sdl or --without-sdl was given.
3025 if test "${with_sdl+set}" = set; then
3028 if test "$withval" = yes; then
3029 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3031 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3036 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3047 eval "$ac_cv_use_sdl"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_LIBSDL" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3061 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3062 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3065 # Check whether --with-opengl or --without-opengl was given.
3066 if test "${with_opengl+set}" = set; then
3067 withval
="$with_opengl"
3069 if test "$withval" = yes; then
3070 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3072 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3077 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3088 eval "$ac_cv_use_opengl"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3093 if test "$wxUSE_OPENGL" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3105 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3106 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3109 # Check whether --with-dmalloc or --without-dmalloc was given.
3110 if test "${with_dmalloc+set}" = set; then
3111 withval
="$with_dmalloc"
3113 if test "$withval" = yes; then
3114 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3116 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3121 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x
; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3132 eval "$ac_cv_use_dmalloc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_DMALLOC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3146 echo "$as_me:$LINENO: checking for --with-regex" >&5
3147 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3150 # Check whether --with-regex or --without-regex was given.
3151 if test "${with_regex+set}" = set; then
3152 withval
="$with_regex"
3154 if test "$withval" = yes; then
3155 ac_cv_use_regex
='wxUSE_REGEX=yes'
3156 elif test "$withval" = no
; then
3157 ac_cv_use_regex
='wxUSE_REGEX=no'
3158 elif test "$withval" = sys
; then
3159 ac_cv_use_regex
='wxUSE_REGEX=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3170 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x
; then
3172 eval "DEFAULT_$LINE"
3177 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3181 eval "$ac_cv_use_regex"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_REGEX" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_REGEX" = no
; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_REGEX" = sys
; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_REGEX" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3205 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3206 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3209 # Check whether --with-zlib or --without-zlib was given.
3210 if test "${with_zlib+set}" = set; then
3211 withval
="$with_zlib"
3213 if test "$withval" = yes; then
3214 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3240 eval "$ac_cv_use_zlib"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_ZLIB" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_ZLIB" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_ZLIB" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_ZLIB" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3268 # Check whether --with-odbc or --without-odbc was given.
3269 if test "${with_odbc+set}" = set; then
3270 withval
="$with_odbc"
3272 if test "$withval" = yes; then
3273 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_odbc
='wxUSE_ODBC=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3299 eval "$ac_cv_use_odbc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ODBC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ODBC" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ODBC" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ODBC" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-expat" >&5
3324 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3327 # Check whether --with-expat or --without-expat was given.
3328 if test "${with_expat+set}" = set; then
3329 withval
="$with_expat"
3331 if test "$withval" = yes; then
3332 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_expat
='wxUSE_EXPAT=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3358 eval "$ac_cv_use_expat"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_EXPAT" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_EXPAT" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_EXPAT" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_EXPAT" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3388 # Check whether --enable-shared or --disable-shared was given.
3389 if test "${enable_shared+set}" = set; then
3390 enableval
="$enable_shared"
3392 if test "$enableval" = yes; then
3393 ac_cv_use_shared
='wxUSE_SHARED=yes'
3395 ac_cv_use_shared
='wxUSE_SHARED=no'
3400 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3411 eval "$ac_cv_use_shared"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_SHARED" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3429 # Check whether --enable-optimise or --disable-optimise was given.
3430 if test "${enable_optimise+set}" = set; then
3431 enableval
="$enable_optimise"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3436 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3441 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3452 eval "$ac_cv_use_optimise"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_OPTIMISE" = yes; then
3458 echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6
3461 echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6
3467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3470 # Check whether --enable-debug or --disable-debug was given.
3471 if test "${enable_debug+set}" = set; then
3472 enableval
="$enable_debug"
3474 if test "$enableval" = yes; then
3475 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3477 ac_cv_use_debug
='wxUSE_DEBUG=no'
3482 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3493 eval "$ac_cv_use_debug"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_DEBUG" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3509 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3511 # Check whether --enable-stl or --disable-stl was given.
3512 if test "${enable_stl+set}" = set; then
3513 enableval
="$enable_stl"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_stl
='wxUSE_STL=yes'
3518 ac_cv_use_stl
='wxUSE_STL=no'
3523 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3534 eval "$ac_cv_use_stl"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_STL" = yes; then
3540 echo "$as_me:$LINENO: result: yes" >&5
3541 echo "${ECHO_T}yes" >&6
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3548 if test "$wxUSE_DEBUG" = "yes"; then
3549 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3550 DEFAULT_wxUSE_DEBUG_INFO
=yes
3552 elif test "$wxUSE_DEBUG" = "no"; then
3553 DEFAULT_wxUSE_DEBUG_FLAG
=no
3554 DEFAULT_wxUSE_DEBUG_INFO
=no
3560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3561 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3563 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3564 if test "${enable_debug_flag+set}" = set; then
3565 enableval
="$enable_debug_flag"
3567 if test "$enableval" = yes; then
3568 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3570 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3575 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3586 eval "$ac_cv_use_debug_flag"
3587 if test "$no_cache" != 1; then
3588 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3591 if test "$wxUSE_DEBUG_FLAG" = yes; then
3592 echo "$as_me:$LINENO: result: yes" >&5
3593 echo "${ECHO_T}yes" >&6
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3602 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3604 # Check whether --enable-debug_info or --disable-debug_info was given.
3605 if test "${enable_debug_info+set}" = set; then
3606 enableval
="$enable_debug_info"
3608 if test "$enableval" = yes; then
3609 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3611 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3616 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3623 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3627 eval "$ac_cv_use_debug_info"
3628 if test "$no_cache" != 1; then
3629 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3632 if test "$wxUSE_DEBUG_INFO" = yes; then
3633 echo "$as_me:$LINENO: result: yes" >&5
3634 echo "${ECHO_T}yes" >&6
3636 echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6
3642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3643 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3645 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3646 if test "${enable_debug_gdb+set}" = set; then
3647 enableval
="$enable_debug_gdb"
3649 if test "$enableval" = yes; then
3650 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3652 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3657 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x
; then
3659 eval "DEFAULT_$LINE"
3664 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3668 eval "$ac_cv_use_debug_gdb"
3669 if test "$no_cache" != 1; then
3670 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3673 if test "$wxUSE_DEBUG_GDB" = yes; then
3674 echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3684 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3686 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3687 if test "${enable_debug_cntxt+set}" = set; then
3688 enableval
="$enable_debug_cntxt"
3690 if test "$enableval" = yes; then
3691 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3693 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3698 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3699 if test "x$LINE" != x
; then
3700 eval "DEFAULT_$LINE"
3705 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3709 eval "$ac_cv_use_debug_cntxt"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3715 echo "$as_me:$LINENO: result: yes" >&5
3716 echo "${ECHO_T}yes" >&6
3718 echo "$as_me:$LINENO: result: no" >&5
3719 echo "${ECHO_T}no" >&6
3724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3725 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3727 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3728 if test "${enable_mem_tracing+set}" = set; then
3729 enableval
="$enable_mem_tracing"
3731 if test "$enableval" = yes; then
3732 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3734 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3739 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x
; then
3741 eval "DEFAULT_$LINE"
3746 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3750 eval "$ac_cv_use_mem_tracing"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3755 if test "$wxUSE_MEM_TRACING" = yes; then
3756 echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3766 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3768 # Check whether --enable-profile or --disable-profile was given.
3769 if test "${enable_profile+set}" = set; then
3770 enableval
="$enable_profile"
3772 if test "$enableval" = yes; then
3773 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3775 ac_cv_use_profile
='wxUSE_PROFILE=no'
3780 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x
; then
3782 eval "DEFAULT_$LINE"
3787 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3791 eval "$ac_cv_use_profile"
3792 if test "$no_cache" != 1; then
3793 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3796 if test "$wxUSE_PROFILE" = yes; then
3797 echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3807 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3809 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3810 if test "${enable_no_rtti+set}" = set; then
3811 enableval
="$enable_no_rtti"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3816 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3821 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x
; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3832 eval "$ac_cv_use_no_rtti"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3837 if test "$wxUSE_NO_RTTI" = yes; then
3838 echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3848 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3850 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3851 if test "${enable_no_exceptions+set}" = set; then
3852 enableval
="$enable_no_exceptions"
3854 if test "$enableval" = yes; then
3855 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3857 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3862 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3863 if test "x$LINE" != x
; then
3864 eval "DEFAULT_$LINE"
3869 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3873 eval "$ac_cv_use_no_exceptions"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3878 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3879 echo "$as_me:$LINENO: result: yes" >&5
3880 echo "${ECHO_T}yes" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3889 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3891 # Check whether --enable-permissive or --disable-permissive was given.
3892 if test "${enable_permissive+set}" = set; then
3893 enableval
="$enable_permissive"
3895 if test "$enableval" = yes; then
3896 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3898 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3903 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x
; then
3905 eval "DEFAULT_$LINE"
3910 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3914 eval "$ac_cv_use_permissive"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3919 if test "$wxUSE_PERMISSIVE" = yes; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3932 # Check whether --enable-no_deps or --disable-no_deps was given.
3933 if test "${enable_no_deps+set}" = set; then
3934 enableval
="$enable_no_deps"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3939 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3944 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3955 eval "$ac_cv_use_no_deps"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_NO_DEPS" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3972 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3974 # Check whether --enable-compat22 or --disable-compat22 was given.
3975 if test "${enable_compat22+set}" = set; then
3976 enableval
="$enable_compat22"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3981 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3986 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x
; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3997 eval "$ac_cv_use_compat22"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4002 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4003 echo "$as_me:$LINENO: result: yes" >&5
4004 echo "${ECHO_T}yes" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4011 enablestring
=disable
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4015 # Check whether --enable-compat24 or --disable-compat24 was given.
4016 if test "${enable_compat24+set}" = set; then
4017 enableval
="$enable_compat24"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4022 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4027 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x
; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4038 eval "$ac_cv_use_compat24"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4043 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4052 # Check whether --enable-rpath or --disable-rpath was given.
4053 if test "${enable_rpath+set}" = set; then
4054 enableval
="$enable_rpath"
4055 wxRPATH_DIR
="$enableval"
4058 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4059 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4067 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4069 # Check whether --enable-intl or --disable-intl was given.
4070 if test "${enable_intl+set}" = set; then
4071 enableval
="$enable_intl"
4073 if test "$enableval" = yes; then
4074 ac_cv_use_intl
='wxUSE_INTL=yes'
4076 ac_cv_use_intl
='wxUSE_INTL=no'
4081 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4082 if test "x$LINE" != x
; then
4083 eval "DEFAULT_$LINE"
4088 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4092 eval "$ac_cv_use_intl"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4097 if test "$wxUSE_INTL" = yes; then
4098 echo "$as_me:$LINENO: result: yes" >&5
4099 echo "${ECHO_T}yes" >&6
4101 echo "$as_me:$LINENO: result: no" >&5
4102 echo "${ECHO_T}no" >&6
4107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4108 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4110 # Check whether --enable-config or --disable-config was given.
4111 if test "${enable_config+set}" = set; then
4112 enableval
="$enable_config"
4114 if test "$enableval" = yes; then
4115 ac_cv_use_config
='wxUSE_CONFIG=yes'
4117 ac_cv_use_config
='wxUSE_CONFIG=no'
4122 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x
; then
4124 eval "DEFAULT_$LINE"
4129 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4133 eval "$ac_cv_use_config"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4138 if test "$wxUSE_CONFIG" = yes; then
4139 echo "$as_me:$LINENO: result: yes" >&5
4140 echo "${ECHO_T}yes" >&6
4142 echo "$as_me:$LINENO: result: no" >&5
4143 echo "${ECHO_T}no" >&6
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4152 # Check whether --enable-protocols or --disable-protocols was given.
4153 if test "${enable_protocols+set}" = set; then
4154 enableval
="$enable_protocols"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4159 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4164 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4175 eval "$ac_cv_use_protocols"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_PROTOCOL" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4193 # Check whether --enable-ftp or --disable-ftp was given.
4194 if test "${enable_ftp+set}" = set; then
4195 enableval
="$enable_ftp"
4197 if test "$enableval" = yes; then
4198 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4200 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4205 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x
; then
4207 eval "DEFAULT_$LINE"
4212 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4216 eval "$ac_cv_use_ftp"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4234 # Check whether --enable-http or --disable-http was given.
4235 if test "${enable_http+set}" = set; then
4236 enableval
="$enable_http"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4241 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4246 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x
; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4257 eval "$ac_cv_use_http"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4262 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4275 # Check whether --enable-fileproto or --disable-fileproto was given.
4276 if test "${enable_fileproto+set}" = set; then
4277 enableval
="$enable_fileproto"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4282 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4287 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4298 eval "$ac_cv_use_fileproto"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4316 # Check whether --enable-sockets or --disable-sockets was given.
4317 if test "${enable_sockets+set}" = set; then
4318 enableval
="$enable_sockets"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4323 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4328 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x
; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4339 eval "$ac_cv_use_sockets"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_SOCKETS" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4357 # Check whether --enable-ole or --disable-ole was given.
4358 if test "${enable_ole+set}" = set; then
4359 enableval
="$enable_ole"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_ole
='wxUSE_OLE=yes'
4364 ac_cv_use_ole
='wxUSE_OLE=no'
4369 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4380 eval "$ac_cv_use_ole"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4385 if test "$wxUSE_OLE" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4398 # Check whether --enable-dataobj or --disable-dataobj was given.
4399 if test "${enable_dataobj+set}" = set; then
4400 enableval
="$enable_dataobj"
4402 if test "$enableval" = yes; then
4403 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4405 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4410 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x
; then
4412 eval "DEFAULT_$LINE"
4417 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4421 eval "$ac_cv_use_dataobj"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4426 if test "$wxUSE_DATAOBJ" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6
4430 echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6
4437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4440 # Check whether --enable-ipc or --disable-ipc was given.
4441 if test "${enable_ipc+set}" = set; then
4442 enableval
="$enable_ipc"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_ipc
='wxUSE_IPC=yes'
4447 ac_cv_use_ipc
='wxUSE_IPC=no'
4452 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4463 eval "$ac_cv_use_ipc"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_IPC" = yes; then
4469 echo "$as_me:$LINENO: result: yes" >&5
4470 echo "${ECHO_T}yes" >&6
4472 echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6
4479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4482 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4483 if test "${enable_apple_ieee+set}" = set; then
4484 enableval
="$enable_apple_ieee"
4486 if test "$enableval" = yes; then
4487 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4489 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4494 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x
; then
4496 eval "DEFAULT_$LINE"
4501 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4505 eval "$ac_cv_use_apple_ieee"
4506 if test "$no_cache" != 1; then
4507 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4510 if test "$wxUSE_APPLE_IEEE" = yes; then
4511 echo "$as_me:$LINENO: result: yes" >&5
4512 echo "${ECHO_T}yes" >&6
4514 echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6
4520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4521 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4523 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4524 if test "${enable_catch_segvs+set}" = set; then
4525 enableval
="$enable_catch_segvs"
4527 if test "$enableval" = yes; then
4528 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4530 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4535 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x
; then
4537 eval "DEFAULT_$LINE"
4542 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4546 eval "$ac_cv_use_catch_segvs"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4551 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4552 echo "$as_me:$LINENO: result: yes" >&5
4553 echo "${ECHO_T}yes" >&6
4555 echo "$as_me:$LINENO: result: no" >&5
4556 echo "${ECHO_T}no" >&6
4561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4562 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4564 # Check whether --enable-cmdline or --disable-cmdline was given.
4565 if test "${enable_cmdline+set}" = set; then
4566 enableval
="$enable_cmdline"
4568 if test "$enableval" = yes; then
4569 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4571 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4576 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4577 if test "x$LINE" != x
; then
4578 eval "DEFAULT_$LINE"
4583 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4587 eval "$ac_cv_use_cmdline"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4592 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4593 echo "$as_me:$LINENO: result: yes" >&5
4594 echo "${ECHO_T}yes" >&6
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4605 # Check whether --enable-datetime or --disable-datetime was given.
4606 if test "${enable_datetime+set}" = set; then
4607 enableval
="$enable_datetime"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4612 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4617 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x
; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4628 eval "$ac_cv_use_datetime"
4629 if test "$no_cache" != 1; then
4630 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4633 if test "$wxUSE_DATETIME" = yes; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4646 # Check whether --enable-dialupman or --disable-dialupman was given.
4647 if test "${enable_dialupman+set}" = set; then
4648 enableval
="$enable_dialupman"
4650 if test "$enableval" = yes; then
4651 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4653 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4658 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x
; then
4660 eval "DEFAULT_$LINE"
4665 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4669 eval "$ac_cv_use_dialupman"
4670 if test "$no_cache" != 1; then
4671 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4674 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4675 echo "$as_me:$LINENO: result: yes" >&5
4676 echo "${ECHO_T}yes" >&6
4678 echo "$as_me:$LINENO: result: no" >&5
4679 echo "${ECHO_T}no" >&6
4684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4685 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4687 # Check whether --enable-dynlib or --disable-dynlib was given.
4688 if test "${enable_dynlib+set}" = set; then
4689 enableval
="$enable_dynlib"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4694 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4699 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x
; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4710 eval "$ac_cv_use_dynlib"
4711 if test "$no_cache" != 1; then
4712 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4715 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4716 echo "$as_me:$LINENO: result: yes" >&5
4717 echo "${ECHO_T}yes" >&6
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4726 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4728 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4729 if test "${enable_dynamicloader+set}" = set; then
4730 enableval
="$enable_dynamicloader"
4732 if test "$enableval" = yes; then
4733 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4735 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4740 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4741 if test "x$LINE" != x
; then
4742 eval "DEFAULT_$LINE"
4747 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4751 eval "$ac_cv_use_dynamicloader"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4757 echo "$as_me:$LINENO: result: yes" >&5
4758 echo "${ECHO_T}yes" >&6
4760 echo "$as_me:$LINENO: result: no" >&5
4761 echo "${ECHO_T}no" >&6
4766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4767 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4769 # Check whether --enable-exceptions or --disable-exceptions was given.
4770 if test "${enable_exceptions+set}" = set; then
4771 enableval
="$enable_exceptions"
4773 if test "$enableval" = yes; then
4774 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4776 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4781 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x
; then
4783 eval "DEFAULT_$LINE"
4788 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4792 eval "$ac_cv_use_exceptions"
4793 if test "$no_cache" != 1; then
4794 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4797 if test "$wxUSE_EXCEPTIONS" = yes; then
4798 echo "$as_me:$LINENO: result: yes" >&5
4799 echo "${ECHO_T}yes" >&6
4801 echo "$as_me:$LINENO: result: no" >&5
4802 echo "${ECHO_T}no" >&6
4807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4808 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4810 # Check whether --enable-ffile or --disable-ffile was given.
4811 if test "${enable_ffile+set}" = set; then
4812 enableval
="$enable_ffile"
4814 if test "$enableval" = yes; then
4815 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4817 ac_cv_use_ffile
='wxUSE_FFILE=no'
4822 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x
; then
4824 eval "DEFAULT_$LINE"
4829 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4833 eval "$ac_cv_use_ffile"
4834 if test "$no_cache" != 1; then
4835 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4838 if test "$wxUSE_FFILE" = yes; then
4839 echo "$as_me:$LINENO: result: yes" >&5
4840 echo "${ECHO_T}yes" >&6
4842 echo "$as_me:$LINENO: result: no" >&5
4843 echo "${ECHO_T}no" >&6
4848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4849 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4851 # Check whether --enable-file or --disable-file was given.
4852 if test "${enable_file+set}" = set; then
4853 enableval
="$enable_file"
4855 if test "$enableval" = yes; then
4856 ac_cv_use_file
='wxUSE_FILE=yes'
4858 ac_cv_use_file
='wxUSE_FILE=no'
4863 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x
; then
4865 eval "DEFAULT_$LINE"
4870 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4874 eval "$ac_cv_use_file"
4875 if test "$no_cache" != 1; then
4876 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4879 if test "$wxUSE_FILE" = yes; then
4880 echo "$as_me:$LINENO: result: yes" >&5
4881 echo "${ECHO_T}yes" >&6
4883 echo "$as_me:$LINENO: result: no" >&5
4884 echo "${ECHO_T}no" >&6
4889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4892 # Check whether --enable-filesystem or --disable-filesystem was given.
4893 if test "${enable_filesystem+set}" = set; then
4894 enableval
="$enable_filesystem"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4899 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4904 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4915 eval "$ac_cv_use_filesystem"
4916 if test "$no_cache" != 1; then
4917 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4920 if test "$wxUSE_FILESYSTEM" = yes; then
4921 echo "$as_me:$LINENO: result: yes" >&5
4922 echo "${ECHO_T}yes" >&6
4924 echo "$as_me:$LINENO: result: no" >&5
4925 echo "${ECHO_T}no" >&6
4930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4931 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4933 # Check whether --enable-fontmap or --disable-fontmap was given.
4934 if test "${enable_fontmap+set}" = set; then
4935 enableval
="$enable_fontmap"
4937 if test "$enableval" = yes; then
4938 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4940 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4945 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x
; then
4947 eval "DEFAULT_$LINE"
4952 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4956 eval "$ac_cv_use_fontmap"
4957 if test "$no_cache" != 1; then
4958 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4961 if test "$wxUSE_FONTMAP" = yes; then
4962 echo "$as_me:$LINENO: result: yes" >&5
4963 echo "${ECHO_T}yes" >&6
4965 echo "$as_me:$LINENO: result: no" >&5
4966 echo "${ECHO_T}no" >&6
4971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4972 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4974 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4975 if test "${enable_fs_inet+set}" = set; then
4976 enableval
="$enable_fs_inet"
4978 if test "$enableval" = yes; then
4979 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4981 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4986 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x
; then
4988 eval "DEFAULT_$LINE"
4993 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4997 eval "$ac_cv_use_fs_inet"
4998 if test "$no_cache" != 1; then
4999 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5002 if test "$wxUSE_FS_INET" = yes; then
5003 echo "$as_me:$LINENO: result: yes" >&5
5004 echo "${ECHO_T}yes" >&6
5006 echo "$as_me:$LINENO: result: no" >&5
5007 echo "${ECHO_T}no" >&6
5012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5015 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5016 if test "${enable_fs_zip+set}" = set; then
5017 enableval
="$enable_fs_zip"
5019 if test "$enableval" = yes; then
5020 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5022 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5027 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5034 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5038 eval "$ac_cv_use_fs_zip"
5039 if test "$no_cache" != 1; then
5040 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5043 if test "$wxUSE_FS_ZIP" = yes; then
5044 echo "$as_me:$LINENO: result: yes" >&5
5045 echo "${ECHO_T}yes" >&6
5047 echo "$as_me:$LINENO: result: no" >&5
5048 echo "${ECHO_T}no" >&6
5053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5054 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5056 # Check whether --enable-geometry or --disable-geometry was given.
5057 if test "${enable_geometry+set}" = set; then
5058 enableval
="$enable_geometry"
5060 if test "$enableval" = yes; then
5061 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5063 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5068 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x
; then
5070 eval "DEFAULT_$LINE"
5075 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5079 eval "$ac_cv_use_geometry"
5080 if test "$no_cache" != 1; then
5081 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5084 if test "$wxUSE_GEOMETRY" = yes; then
5085 echo "$as_me:$LINENO: result: yes" >&5
5086 echo "${ECHO_T}yes" >&6
5088 echo "$as_me:$LINENO: result: no" >&5
5089 echo "${ECHO_T}no" >&6
5094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5095 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5097 # Check whether --enable-log or --disable-log was given.
5098 if test "${enable_log+set}" = set; then
5099 enableval
="$enable_log"
5101 if test "$enableval" = yes; then
5102 ac_cv_use_log
='wxUSE_LOG=yes'
5104 ac_cv_use_log
='wxUSE_LOG=no'
5109 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x
; then
5111 eval "DEFAULT_$LINE"
5116 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5120 eval "$ac_cv_use_log"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5125 if test "$wxUSE_LOG" = yes; then
5126 echo "$as_me:$LINENO: result: yes" >&5
5127 echo "${ECHO_T}yes" >&6
5129 echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6
5135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5136 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5138 # Check whether --enable-longlong or --disable-longlong was given.
5139 if test "${enable_longlong+set}" = set; then
5140 enableval
="$enable_longlong"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5145 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5150 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5161 eval "$ac_cv_use_longlong"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5166 if test "$wxUSE_LONGLONG" = yes; then
5167 echo "$as_me:$LINENO: result: yes" >&5
5168 echo "${ECHO_T}yes" >&6
5170 echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5179 # Check whether --enable-mimetype or --disable-mimetype was given.
5180 if test "${enable_mimetype+set}" = set; then
5181 enableval
="$enable_mimetype"
5183 if test "$enableval" = yes; then
5184 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5186 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5191 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x
; then
5193 eval "DEFAULT_$LINE"
5198 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5202 eval "$ac_cv_use_mimetype"
5203 if test "$no_cache" != 1; then
5204 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5207 if test "$wxUSE_MIMETYPE" = yes; then
5208 echo "$as_me:$LINENO: result: yes" >&5
5209 echo "${ECHO_T}yes" >&6
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5218 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5220 # Check whether --enable-mslu or --disable-mslu was given.
5221 if test "${enable_mslu+set}" = set; then
5222 enableval
="$enable_mslu"
5224 if test "$enableval" = yes; then
5225 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5227 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5232 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x
; then
5234 eval "DEFAULT_$LINE"
5239 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5243 eval "$ac_cv_use_mslu"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5248 if test "$wxUSE_UNICODE_MSLU" = yes; then
5249 echo "$as_me:$LINENO: result: yes" >&5
5250 echo "${ECHO_T}yes" >&6
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5261 # Check whether --enable-snglinst or --disable-snglinst was given.
5262 if test "${enable_snglinst+set}" = set; then
5263 enableval
="$enable_snglinst"
5265 if test "$enableval" = yes; then
5266 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5268 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5273 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x
; then
5275 eval "DEFAULT_$LINE"
5280 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5284 eval "$ac_cv_use_snglinst"
5285 if test "$no_cache" != 1; then
5286 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5289 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5290 echo "$as_me:$LINENO: result: yes" >&5
5291 echo "${ECHO_T}yes" >&6
5293 echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6
5299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5302 # Check whether --enable-streams or --disable-streams was given.
5303 if test "${enable_streams+set}" = set; then
5304 enableval
="$enable_streams"
5306 if test "$enableval" = yes; then
5307 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5309 ac_cv_use_streams
='wxUSE_STREAMS=no'
5314 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x
; then
5316 eval "DEFAULT_$LINE"
5321 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5325 eval "$ac_cv_use_streams"
5326 if test "$no_cache" != 1; then
5327 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5330 if test "$wxUSE_STREAMS" = yes; then
5331 echo "$as_me:$LINENO: result: yes" >&5
5332 echo "${ECHO_T}yes" >&6
5334 echo "$as_me:$LINENO: result: no" >&5
5335 echo "${ECHO_T}no" >&6
5340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5343 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5344 if test "${enable_std_iostreams+set}" = set; then
5345 enableval
="$enable_std_iostreams"
5347 if test "$enableval" = yes; then
5348 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5350 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5355 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x
; then
5357 eval "DEFAULT_$LINE"
5362 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5366 eval "$ac_cv_use_std_iostreams"
5367 if test "$no_cache" != 1; then
5368 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5371 if test "$wxUSE_STD_IOSTREAM" = yes; then
5372 echo "$as_me:$LINENO: result: yes" >&5
5373 echo "${ECHO_T}yes" >&6
5375 echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6
5381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5384 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5385 if test "${enable_stopwatch+set}" = set; then
5386 enableval
="$enable_stopwatch"
5388 if test "$enableval" = yes; then
5389 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5391 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5396 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x
; then
5398 eval "DEFAULT_$LINE"
5403 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5407 eval "$ac_cv_use_stopwatch"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5412 if test "$wxUSE_STOPWATCH" = yes; then
5413 echo "$as_me:$LINENO: result: yes" >&5
5414 echo "${ECHO_T}yes" >&6
5416 echo "$as_me:$LINENO: result: no" >&5
5417 echo "${ECHO_T}no" >&6
5422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5425 # Check whether --enable-system_options or --disable-system_options was given.
5426 if test "${enable_system_options+set}" = set; then
5427 enableval
="$enable_system_options"
5429 if test "$enableval" = yes; then
5430 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5432 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5437 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x
; then
5439 eval "DEFAULT_$LINE"
5444 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5448 eval "$ac_cv_use_system_options"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5453 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5454 echo "$as_me:$LINENO: result: yes" >&5
5455 echo "${ECHO_T}yes" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5464 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5466 # Check whether --enable-textbuf or --disable-textbuf was given.
5467 if test "${enable_textbuf+set}" = set; then
5468 enableval
="$enable_textbuf"
5470 if test "$enableval" = yes; then
5471 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5473 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5478 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5479 if test "x$LINE" != x
; then
5480 eval "DEFAULT_$LINE"
5485 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5489 eval "$ac_cv_use_textbuf"
5490 if test "$no_cache" != 1; then
5491 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5494 if test "$wxUSE_TEXTBUFFER" = yes; then
5495 echo "$as_me:$LINENO: result: yes" >&5
5496 echo "${ECHO_T}yes" >&6
5498 echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6
5504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5505 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5507 # Check whether --enable-textfile or --disable-textfile was given.
5508 if test "${enable_textfile+set}" = set; then
5509 enableval
="$enable_textfile"
5511 if test "$enableval" = yes; then
5512 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5514 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5519 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5520 if test "x$LINE" != x
; then
5521 eval "DEFAULT_$LINE"
5526 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5530 eval "$ac_cv_use_textfile"
5531 if test "$no_cache" != 1; then
5532 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5535 if test "$wxUSE_TEXTFILE" = yes; then
5536 echo "$as_me:$LINENO: result: yes" >&5
5537 echo "${ECHO_T}yes" >&6
5539 echo "$as_me:$LINENO: result: no" >&5
5540 echo "${ECHO_T}no" >&6
5545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5546 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5548 # Check whether --enable-timer or --disable-timer was given.
5549 if test "${enable_timer+set}" = set; then
5550 enableval
="$enable_timer"
5552 if test "$enableval" = yes; then
5553 ac_cv_use_timer
='wxUSE_TIMER=yes'
5555 ac_cv_use_timer
='wxUSE_TIMER=no'
5560 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x
; then
5562 eval "DEFAULT_$LINE"
5567 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5571 eval "$ac_cv_use_timer"
5572 if test "$no_cache" != 1; then
5573 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5576 if test "$wxUSE_TIMER" = yes; then
5577 echo "$as_me:$LINENO: result: yes" >&5
5578 echo "${ECHO_T}yes" >&6
5580 echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6
5586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5589 # Check whether --enable-unicode or --disable-unicode was given.
5590 if test "${enable_unicode+set}" = set; then
5591 enableval
="$enable_unicode"
5593 if test "$enableval" = yes; then
5594 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5596 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5601 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x
; then
5603 eval "DEFAULT_$LINE"
5608 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5612 eval "$ac_cv_use_unicode"
5613 if test "$no_cache" != 1; then
5614 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5617 if test "$wxUSE_UNICODE" = yes; then
5618 echo "$as_me:$LINENO: result: yes" >&5
5619 echo "${ECHO_T}yes" >&6
5621 echo "$as_me:$LINENO: result: no" >&5
5622 echo "${ECHO_T}no" >&6
5627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5628 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5630 # Check whether --enable-sound or --disable-sound was given.
5631 if test "${enable_sound+set}" = set; then
5632 enableval
="$enable_sound"
5634 if test "$enableval" = yes; then
5635 ac_cv_use_sound
='wxUSE_SOUND=yes'
5637 ac_cv_use_sound
='wxUSE_SOUND=no'
5642 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5643 if test "x$LINE" != x
; then
5644 eval "DEFAULT_$LINE"
5649 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5653 eval "$ac_cv_use_sound"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5658 if test "$wxUSE_SOUND" = yes; then
5659 echo "$as_me:$LINENO: result: yes" >&5
5660 echo "${ECHO_T}yes" >&6
5662 echo "$as_me:$LINENO: result: no" >&5
5663 echo "${ECHO_T}no" >&6
5668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5671 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5672 if test "${enable_wxprintfv+set}" = set; then
5673 enableval
="$enable_wxprintfv"
5675 if test "$enableval" = yes; then
5676 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5678 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5683 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5684 if test "x$LINE" != x
; then
5685 eval "DEFAULT_$LINE"
5690 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5694 eval "$ac_cv_use_wxprintfv"
5695 if test "$no_cache" != 1; then
5696 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5699 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5700 echo "$as_me:$LINENO: result: yes" >&5
5701 echo "${ECHO_T}yes" >&6
5703 echo "$as_me:$LINENO: result: no" >&5
5704 echo "${ECHO_T}no" >&6
5709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5712 # Check whether --enable-zipstream or --disable-zipstream was given.
5713 if test "${enable_zipstream+set}" = set; then
5714 enableval
="$enable_zipstream"
5716 if test "$enableval" = yes; then
5717 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5719 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5724 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5725 if test "x$LINE" != x
; then
5726 eval "DEFAULT_$LINE"
5731 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5735 eval "$ac_cv_use_zipstream"
5736 if test "$no_cache" != 1; then
5737 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5740 if test "$wxUSE_ZIPSTREAM" = yes; then
5741 echo "$as_me:$LINENO: result: yes" >&5
5742 echo "${ECHO_T}yes" >&6
5744 echo "$as_me:$LINENO: result: no" >&5
5745 echo "${ECHO_T}no" >&6
5750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5753 # Check whether --enable-gzstream or --disable-gzstream was given.
5754 if test "${enable_gzstream+set}" = set; then
5755 enableval
="$enable_gzstream"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5760 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5765 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5776 eval "$ac_cv_use_gzstream"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5781 if test "$wxUSE_GZSTREAM" = yes; then
5782 echo "$as_me:$LINENO: result: yes" >&5
5783 echo "${ECHO_T}yes" >&6
5785 echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6
5792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5795 # Check whether --enable-url or --disable-url was given.
5796 if test "${enable_url+set}" = set; then
5797 enableval
="$enable_url"
5799 if test "$enableval" = yes; then
5800 ac_cv_use_url
='wxUSE_URL=yes'
5802 ac_cv_use_url
='wxUSE_URL=no'
5807 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x
; then
5809 eval "DEFAULT_$LINE"
5814 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5818 eval "$ac_cv_use_url"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5823 if test "$wxUSE_URL" = yes; then
5824 echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5836 # Check whether --enable-protocol or --disable-protocol was given.
5837 if test "${enable_protocol+set}" = set; then
5838 enableval
="$enable_protocol"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5843 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5848 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x
; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5859 eval "$ac_cv_use_protocol"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5864 if test "$wxUSE_PROTOCOL" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5875 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5877 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5878 if test "${enable_protocol_http+set}" = set; then
5879 enableval
="$enable_protocol_http"
5881 if test "$enableval" = yes; then
5882 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5884 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5889 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x
; then
5891 eval "DEFAULT_$LINE"
5896 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5900 eval "$ac_cv_use_protocol_http"
5901 if test "$no_cache" != 1; then
5902 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5905 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5906 echo "$as_me:$LINENO: result: yes" >&5
5907 echo "${ECHO_T}yes" >&6
5909 echo "$as_me:$LINENO: result: no" >&5
5910 echo "${ECHO_T}no" >&6
5915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5916 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5918 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5919 if test "${enable_protocol_ftp+set}" = set; then
5920 enableval
="$enable_protocol_ftp"
5922 if test "$enableval" = yes; then
5923 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5925 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5930 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5931 if test "x$LINE" != x
; then
5932 eval "DEFAULT_$LINE"
5937 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5941 eval "$ac_cv_use_protocol_ftp"
5942 if test "$no_cache" != 1; then
5943 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5946 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5947 echo "$as_me:$LINENO: result: yes" >&5
5948 echo "${ECHO_T}yes" >&6
5950 echo "$as_me:$LINENO: result: no" >&5
5951 echo "${ECHO_T}no" >&6
5956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5959 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5960 if test "${enable_protocol_file+set}" = set; then
5961 enableval
="$enable_protocol_file"
5963 if test "$enableval" = yes; then
5964 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5966 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5971 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x
; then
5973 eval "DEFAULT_$LINE"
5978 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5982 eval "$ac_cv_use_protocol_file"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5987 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5988 echo "$as_me:$LINENO: result: yes" >&5
5989 echo "${ECHO_T}yes" >&6
5991 echo "$as_me:$LINENO: result: no" >&5
5992 echo "${ECHO_T}no" >&6
6000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6001 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6003 # Check whether --enable-threads or --disable-threads was given.
6004 if test "${enable_threads+set}" = set; then
6005 enableval
="$enable_threads"
6007 if test "$enableval" = yes; then
6008 ac_cv_use_threads
='wxUSE_THREADS=yes'
6010 ac_cv_use_threads
='wxUSE_THREADS=no'
6015 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x
; then
6017 eval "DEFAULT_$LINE"
6022 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6026 eval "$ac_cv_use_threads"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6031 if test "$wxUSE_THREADS" = yes; then
6032 echo "$as_me:$LINENO: result: yes" >&5
6033 echo "${ECHO_T}yes" >&6
6035 echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6
6040 if test "$wxUSE_GUI" = "yes"; then
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6048 # Check whether --enable-docview or --disable-docview was given.
6049 if test "${enable_docview+set}" = set; then
6050 enableval
="$enable_docview"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6055 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6060 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6071 eval "$ac_cv_use_docview"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6076 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6089 # Check whether --enable-help or --disable-help was given.
6090 if test "${enable_help+set}" = set; then
6091 enableval
="$enable_help"
6093 if test "$enableval" = yes; then
6094 ac_cv_use_help
='wxUSE_HELP=yes'
6096 ac_cv_use_help
='wxUSE_HELP=no'
6101 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x
; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6112 eval "$ac_cv_use_help"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_HELP" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6130 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6131 if test "${enable_mshtmlhelp+set}" = set; then
6132 enableval
="$enable_mshtmlhelp"
6134 if test "$enableval" = yes; then
6135 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6137 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6142 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x
; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6153 eval "$ac_cv_use_mshtmlhelp"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_MS_HTML_HELP" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6171 # Check whether --enable-html or --disable-html was given.
6172 if test "${enable_html+set}" = set; then
6173 enableval
="$enable_html"
6175 if test "$enableval" = yes; then
6176 ac_cv_use_html
='wxUSE_HTML=yes'
6178 ac_cv_use_html
='wxUSE_HTML=no'
6183 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x
; then
6185 eval "DEFAULT_$LINE"
6190 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6194 eval "$ac_cv_use_html"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_HTML" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6212 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6213 if test "${enable_htmlhelp+set}" = set; then
6214 enableval
="$enable_htmlhelp"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6219 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6224 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x
; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6235 eval "$ac_cv_use_htmlhelp"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6240 if test "$wxUSE_WXHTML_HELP" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6253 # Check whether --enable-constraints or --disable-constraints was given.
6254 if test "${enable_constraints+set}" = set; then
6255 enableval
="$enable_constraints"
6257 if test "$enableval" = yes; then
6258 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6260 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6265 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x
; then
6267 eval "DEFAULT_$LINE"
6272 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6276 eval "$ac_cv_use_constraints"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_CONSTRAINTS" = yes; then
6282 echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6294 # Check whether --enable-printarch or --disable-printarch was given.
6295 if test "${enable_printarch+set}" = set; then
6296 enableval
="$enable_printarch"
6298 if test "$enableval" = yes; then
6299 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6301 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6306 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x
; then
6308 eval "DEFAULT_$LINE"
6313 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6317 eval "$ac_cv_use_printarch"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6322 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6323 echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6335 # Check whether --enable-mdi or --disable-mdi was given.
6336 if test "${enable_mdi+set}" = set; then
6337 enableval
="$enable_mdi"
6339 if test "$enableval" = yes; then
6340 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6342 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6347 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x
; then
6349 eval "DEFAULT_$LINE"
6354 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6358 eval "$ac_cv_use_mdi"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6363 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6364 echo "$as_me:$LINENO: result: yes" >&5
6365 echo "${ECHO_T}yes" >&6
6367 echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6
6373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6376 # Check whether --enable-loggui or --disable-loggui was given.
6377 if test "${enable_loggui+set}" = set; then
6378 enableval
="$enable_loggui"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6383 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6388 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6399 eval "$ac_cv_use_loggui"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6404 if test "$wxUSE_LOGGUI" = yes; then
6405 echo "$as_me:$LINENO: result: yes" >&5
6406 echo "${ECHO_T}yes" >&6
6408 echo "$as_me:$LINENO: result: no" >&5
6409 echo "${ECHO_T}no" >&6
6414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6417 # Check whether --enable-logwin or --disable-logwin was given.
6418 if test "${enable_logwin+set}" = set; then
6419 enableval
="$enable_logwin"
6421 if test "$enableval" = yes; then
6422 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6424 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6429 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x
; then
6431 eval "DEFAULT_$LINE"
6436 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6440 eval "$ac_cv_use_logwin"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_LOGWINDOW" = yes; then
6446 echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6
6449 echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6458 # Check whether --enable-logdialog or --disable-logdialog was given.
6459 if test "${enable_logdialog+set}" = set; then
6460 enableval
="$enable_logdialog"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6465 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6470 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6481 eval "$ac_cv_use_logdialog"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6486 if test "$wxUSE_LOGDIALOG" = yes; then
6487 echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6
6490 echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6
6497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6500 # Check whether --enable-postscript or --disable-postscript was given.
6501 if test "${enable_postscript+set}" = set; then
6502 enableval
="$enable_postscript"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6507 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6512 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6523 eval "$ac_cv_use_postscript"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_POSTSCRIPT" = yes; then
6529 echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6
6532 echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6
6541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6542 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6544 # Check whether --enable-prologio or --disable-prologio was given.
6545 if test "${enable_prologio+set}" = set; then
6546 enableval
="$enable_prologio"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6551 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6556 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x
; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6567 eval "$ac_cv_use_prologio"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_PROLOGIO" = yes; then
6573 echo "$as_me:$LINENO: result: yes" >&5
6574 echo "${ECHO_T}yes" >&6
6576 echo "$as_me:$LINENO: result: no" >&5
6577 echo "${ECHO_T}no" >&6
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6585 # Check whether --enable-resources or --disable-resources was given.
6586 if test "${enable_resources+set}" = set; then
6587 enableval
="$enable_resources"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6592 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6597 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x
; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6608 eval "$ac_cv_use_resources"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6613 if test "$wxUSE_RESOURCES" = yes; then
6614 echo "$as_me:$LINENO: result: yes" >&5
6615 echo "${ECHO_T}yes" >&6
6617 echo "$as_me:$LINENO: result: no" >&5
6618 echo "${ECHO_T}no" >&6
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6628 # Check whether --enable-clipboard or --disable-clipboard was given.
6629 if test "${enable_clipboard+set}" = set; then
6630 enableval
="$enable_clipboard"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6635 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6640 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6651 eval "$ac_cv_use_clipboard"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_CLIPBOARD" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6669 # Check whether --enable-dnd or --disable-dnd was given.
6670 if test "${enable_dnd+set}" = set; then
6671 enableval
="$enable_dnd"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6676 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6681 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6692 eval "$ac_cv_use_dnd"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6710 # Check whether --enable-metafile or --disable-metafile was given.
6711 if test "${enable_metafile+set}" = set; then
6712 enableval
="$enable_metafile"
6714 if test "$enableval" = yes; then
6715 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6717 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6722 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x
; then
6724 eval "DEFAULT_$LINE"
6729 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6733 eval "$ac_cv_use_metafile"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6738 if test "$wxUSE_METAFILE" = yes; then
6739 echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6
6742 echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6
6751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6752 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6754 # Check whether --enable-controls or --disable-controls was given.
6755 if test "${enable_controls+set}" = set; then
6756 enableval
="$enable_controls"
6758 if test "$enableval" = yes; then
6759 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6761 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6766 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x
; then
6768 eval "DEFAULT_$LINE"
6773 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6777 eval "$ac_cv_use_controls"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6782 if test "$wxUSE_CONTROLS" = yes; then
6783 echo "$as_me:$LINENO: result: yes" >&5
6784 echo "${ECHO_T}yes" >&6
6786 echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6
6791 if test "$wxUSE_CONTROLS" = "yes"; then
6792 DEFAULT_wxUSE_ACCEL
=yes
6793 DEFAULT_wxUSE_BMPBUTTON
=yes
6794 DEFAULT_wxUSE_BUTTON
=yes
6795 DEFAULT_wxUSE_CALCTRL
=no
6796 DEFAULT_wxUSE_CARET
=yes
6797 DEFAULT_wxUSE_COMBOBOX
=yes
6798 DEFAULT_wxUSE_CHECKBOX
=yes
6799 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6800 DEFAULT_wxUSE_CHOICE
=yes
6801 DEFAULT_wxUSE_GAUGE
=yes
6802 DEFAULT_wxUSE_GRID
=yes
6803 DEFAULT_wxUSE_IMAGLIST
=yes
6804 DEFAULT_wxUSE_LISTBOOK
=yes
6805 DEFAULT_wxUSE_LISTBOX
=yes
6806 DEFAULT_wxUSE_LISTCTRL
=yes
6807 DEFAULT_wxUSE_NOTEBOOK
=yes
6808 DEFAULT_wxUSE_RADIOBOX
=yes
6809 DEFAULT_wxUSE_RADIOBTN
=yes
6810 DEFAULT_wxUSE_SASH
=yes
6811 DEFAULT_wxUSE_SCROLLBAR
=yes
6812 DEFAULT_wxUSE_SLIDER
=yes
6813 DEFAULT_wxUSE_SPINBTN
=yes
6814 DEFAULT_wxUSE_SPINCTRL
=yes
6815 DEFAULT_wxUSE_SPLITTER
=yes
6816 DEFAULT_wxUSE_STATBMP
=yes
6817 DEFAULT_wxUSE_STATBOX
=yes
6818 DEFAULT_wxUSE_STATLINE
=yes
6819 DEFAULT_wxUSE_STATUSBAR
=yes
6820 DEFAULT_wxUSE_TAB_DIALOG
=yes
6821 DEFAULT_wxUSE_TOGGLEBTN
=yes
6822 DEFAULT_wxUSE_TOOLBAR
=yes
6823 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6824 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6825 DEFAULT_wxUSE_TOOLTIPS
=yes
6826 DEFAULT_wxUSE_TREECTRL
=yes
6827 DEFAULT_wxUSE_POPUPWIN
=yes
6828 DEFAULT_wxUSE_TIPWINDOW
=yes
6829 elif test "$wxUSE_CONTROLS" = "no"; then
6830 DEFAULT_wxUSE_ACCEL
=no
6831 DEFAULT_wxUSE_BMPBUTTON
=no
6832 DEFAULT_wxUSE_BUTTON
=no
6833 DEFAULT_wxUSE_CALCTRL
=no
6834 DEFAULT_wxUSE_CARET
=no
6835 DEFAULT_wxUSE_COMBOBOX
=no
6836 DEFAULT_wxUSE_CHECKBOX
=no
6837 DEFAULT_wxUSE_CHECKLISTBOX
=no
6838 DEFAULT_wxUSE_CHOICE
=no
6839 DEFAULT_wxUSE_GAUGE
=no
6840 DEFAULT_wxUSE_GRID
=no
6841 DEFAULT_wxUSE_IMAGLIST
=no
6842 DEFAULT_wxUSE_LISTBOOK
=no
6843 DEFAULT_wxUSE_LISTBOX
=no
6844 DEFAULT_wxUSE_LISTCTRL
=no
6845 DEFAULT_wxUSE_NOTEBOOK
=no
6846 DEFAULT_wxUSE_RADIOBOX
=no
6847 DEFAULT_wxUSE_RADIOBTN
=no
6848 DEFAULT_wxUSE_SASH
=no
6849 DEFAULT_wxUSE_SCROLLBAR
=no
6850 DEFAULT_wxUSE_SLIDER
=no
6851 DEFAULT_wxUSE_SPINBTN
=no
6852 DEFAULT_wxUSE_SPINCTRL
=no
6853 DEFAULT_wxUSE_SPLITTER
=no
6854 DEFAULT_wxUSE_STATBMP
=no
6855 DEFAULT_wxUSE_STATBOX
=no
6856 DEFAULT_wxUSE_STATLINE
=no
6857 DEFAULT_wxUSE_STATUSBAR
=no
6858 DEFAULT_wxUSE_TAB_DIALOG
=no
6859 DEFAULT_wxUSE_TOGGLEBTN
=no
6860 DEFAULT_wxUSE_TOOLBAR
=no
6861 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6862 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6863 DEFAULT_wxUSE_TOOLTIPS
=no
6864 DEFAULT_wxUSE_TREECTRL
=no
6865 DEFAULT_wxUSE_POPUPWIN
=no
6866 DEFAULT_wxUSE_TIPWINDOW
=no
6869 ## FIXME: This is a blatant hack
6870 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6871 wxUSE_PRINTING_ARCHITECTURE
=no
6872 wxUSE_DRAG_AND_DROP
=no
6873 # Generic notebook requires tab dialog
6874 DEFAULT_wxUSE_TABDIALOG
=yes
6875 DEFAULT_wxUSE_SCROLLBAR
=no
6876 DEFAULT_wxUSE_TOOLTIPS
=no
6877 DEFAULT_wxUSE_DRAGIMAGE
=no
6882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6883 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6885 # Check whether --enable-accel or --disable-accel was given.
6886 if test "${enable_accel+set}" = set; then
6887 enableval
="$enable_accel"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6892 ac_cv_use_accel
='wxUSE_ACCEL=no'
6897 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6908 eval "$ac_cv_use_accel"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_ACCEL" = yes; then
6914 echo "$as_me:$LINENO: result: yes" >&5
6915 echo "${ECHO_T}yes" >&6
6917 echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6
6923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6924 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6926 # Check whether --enable-button or --disable-button was given.
6927 if test "${enable_button+set}" = set; then
6928 enableval
="$enable_button"
6930 if test "$enableval" = yes; then
6931 ac_cv_use_button
='wxUSE_BUTTON=yes'
6933 ac_cv_use_button
='wxUSE_BUTTON=no'
6938 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x
; then
6940 eval "DEFAULT_$LINE"
6945 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6949 eval "$ac_cv_use_button"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6954 if test "$wxUSE_BUTTON" = yes; then
6955 echo "$as_me:$LINENO: result: yes" >&5
6956 echo "${ECHO_T}yes" >&6
6958 echo "$as_me:$LINENO: result: no" >&5
6959 echo "${ECHO_T}no" >&6
6964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6965 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6967 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6968 if test "${enable_bmpbutton+set}" = set; then
6969 enableval
="$enable_bmpbutton"
6971 if test "$enableval" = yes; then
6972 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6974 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6979 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6980 if test "x$LINE" != x
; then
6981 eval "DEFAULT_$LINE"
6986 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6990 eval "$ac_cv_use_bmpbutton"
6991 if test "$no_cache" != 1; then
6992 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6995 if test "$wxUSE_BMPBUTTON" = yes; then
6996 echo "$as_me:$LINENO: result: yes" >&5
6997 echo "${ECHO_T}yes" >&6
6999 echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7008 # Check whether --enable-calendar or --disable-calendar was given.
7009 if test "${enable_calendar+set}" = set; then
7010 enableval
="$enable_calendar"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7015 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7020 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7031 eval "$ac_cv_use_calendar"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7036 if test "$wxUSE_CALCTRL" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7049 # Check whether --enable-caret or --disable-caret was given.
7050 if test "${enable_caret+set}" = set; then
7051 enableval
="$enable_caret"
7053 if test "$enableval" = yes; then
7054 ac_cv_use_caret
='wxUSE_CARET=yes'
7056 ac_cv_use_caret
='wxUSE_CARET=no'
7061 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x
; then
7063 eval "DEFAULT_$LINE"
7068 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7072 eval "$ac_cv_use_caret"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_CARET" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7090 # Check whether --enable-checkbox or --disable-checkbox was given.
7091 if test "${enable_checkbox+set}" = set; then
7092 enableval
="$enable_checkbox"
7094 if test "$enableval" = yes; then
7095 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7097 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7102 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x
; then
7104 eval "DEFAULT_$LINE"
7109 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7113 eval "$ac_cv_use_checkbox"
7114 if test "$no_cache" != 1; then
7115 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7118 if test "$wxUSE_CHECKBOX" = yes; then
7119 echo "$as_me:$LINENO: result: yes" >&5
7120 echo "${ECHO_T}yes" >&6
7122 echo "$as_me:$LINENO: result: no" >&5
7123 echo "${ECHO_T}no" >&6
7128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7129 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7131 # Check whether --enable-checklst or --disable-checklst was given.
7132 if test "${enable_checklst+set}" = set; then
7133 enableval
="$enable_checklst"
7135 if test "$enableval" = yes; then
7136 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7138 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7143 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7144 if test "x$LINE" != x
; then
7145 eval "DEFAULT_$LINE"
7150 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7154 eval "$ac_cv_use_checklst"
7155 if test "$no_cache" != 1; then
7156 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7159 if test "$wxUSE_CHECKLST" = yes; then
7160 echo "$as_me:$LINENO: result: yes" >&5
7161 echo "${ECHO_T}yes" >&6
7163 echo "$as_me:$LINENO: result: no" >&5
7164 echo "${ECHO_T}no" >&6
7169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7172 # Check whether --enable-choice or --disable-choice was given.
7173 if test "${enable_choice+set}" = set; then
7174 enableval
="$enable_choice"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7179 ac_cv_use_choice
='wxUSE_CHOICE=no'
7184 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7195 eval "$ac_cv_use_choice"
7196 if test "$no_cache" != 1; then
7197 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7200 if test "$wxUSE_CHOICE" = yes; then
7201 echo "$as_me:$LINENO: result: yes" >&5
7202 echo "${ECHO_T}yes" >&6
7204 echo "$as_me:$LINENO: result: no" >&5
7205 echo "${ECHO_T}no" >&6
7210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7211 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7213 # Check whether --enable-combobox or --disable-combobox was given.
7214 if test "${enable_combobox+set}" = set; then
7215 enableval
="$enable_combobox"
7217 if test "$enableval" = yes; then
7218 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7220 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7225 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7226 if test "x$LINE" != x
; then
7227 eval "DEFAULT_$LINE"
7232 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7236 eval "$ac_cv_use_combobox"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7241 if test "$wxUSE_COMBOBOX" = yes; then
7242 echo "$as_me:$LINENO: result: yes" >&5
7243 echo "${ECHO_T}yes" >&6
7245 echo "$as_me:$LINENO: result: no" >&5
7246 echo "${ECHO_T}no" >&6
7251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7252 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7254 # Check whether --enable-display or --disable-display was given.
7255 if test "${enable_display+set}" = set; then
7256 enableval
="$enable_display"
7258 if test "$enableval" = yes; then
7259 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7261 ac_cv_use_display
='wxUSE_DISPLAY=no'
7266 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7267 if test "x$LINE" != x
; then
7268 eval "DEFAULT_$LINE"
7273 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7277 eval "$ac_cv_use_display"
7278 if test "$no_cache" != 1; then
7279 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7282 if test "$wxUSE_DISPLAY" = yes; then
7283 echo "$as_me:$LINENO: result: yes" >&5
7284 echo "${ECHO_T}yes" >&6
7286 echo "$as_me:$LINENO: result: no" >&5
7287 echo "${ECHO_T}no" >&6
7292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7293 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7295 # Check whether --enable-gauge or --disable-gauge was given.
7296 if test "${enable_gauge+set}" = set; then
7297 enableval
="$enable_gauge"
7299 if test "$enableval" = yes; then
7300 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7302 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7307 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x
; then
7309 eval "DEFAULT_$LINE"
7314 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7318 eval "$ac_cv_use_gauge"
7319 if test "$no_cache" != 1; then
7320 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7323 if test "$wxUSE_GAUGE" = yes; then
7324 echo "$as_me:$LINENO: result: yes" >&5
7325 echo "${ECHO_T}yes" >&6
7327 echo "$as_me:$LINENO: result: no" >&5
7328 echo "${ECHO_T}no" >&6
7333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7334 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7336 # Check whether --enable-grid or --disable-grid was given.
7337 if test "${enable_grid+set}" = set; then
7338 enableval
="$enable_grid"
7340 if test "$enableval" = yes; then
7341 ac_cv_use_grid
='wxUSE_GRID=yes'
7343 ac_cv_use_grid
='wxUSE_GRID=no'
7348 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x
; then
7350 eval "DEFAULT_$LINE"
7355 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7359 eval "$ac_cv_use_grid"
7360 if test "$no_cache" != 1; then
7361 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7364 if test "$wxUSE_GRID" = yes; then
7365 echo "$as_me:$LINENO: result: yes" >&5
7366 echo "${ECHO_T}yes" >&6
7368 echo "$as_me:$LINENO: result: no" >&5
7369 echo "${ECHO_T}no" >&6
7374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7377 # Check whether --enable-imaglist or --disable-imaglist was given.
7378 if test "${enable_imaglist+set}" = set; then
7379 enableval
="$enable_imaglist"
7381 if test "$enableval" = yes; then
7382 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7384 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7389 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7390 if test "x$LINE" != x
; then
7391 eval "DEFAULT_$LINE"
7396 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7400 eval "$ac_cv_use_imaglist"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_IMAGLIST" = yes; then
7406 echo "$as_me:$LINENO: result: yes" >&5
7407 echo "${ECHO_T}yes" >&6
7409 echo "$as_me:$LINENO: result: no" >&5
7410 echo "${ECHO_T}no" >&6
7415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7418 # Check whether --enable-listbook or --disable-listbook was given.
7419 if test "${enable_listbook+set}" = set; then
7420 enableval
="$enable_listbook"
7422 if test "$enableval" = yes; then
7423 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7425 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7430 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x
; then
7432 eval "DEFAULT_$LINE"
7437 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7441 eval "$ac_cv_use_listbook"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7446 if test "$wxUSE_LISTBOOK" = yes; then
7447 echo "$as_me:$LINENO: result: yes" >&5
7448 echo "${ECHO_T}yes" >&6
7450 echo "$as_me:$LINENO: result: no" >&5
7451 echo "${ECHO_T}no" >&6
7456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7459 # Check whether --enable-listbox or --disable-listbox was given.
7460 if test "${enable_listbox+set}" = set; then
7461 enableval
="$enable_listbox"
7463 if test "$enableval" = yes; then
7464 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7466 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7471 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x
; then
7473 eval "DEFAULT_$LINE"
7478 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7482 eval "$ac_cv_use_listbox"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_LISTBOX" = yes; then
7488 echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7500 # Check whether --enable-listctrl or --disable-listctrl was given.
7501 if test "${enable_listctrl+set}" = set; then
7502 enableval
="$enable_listctrl"
7504 if test "$enableval" = yes; then
7505 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7507 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7512 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x
; then
7514 eval "DEFAULT_$LINE"
7519 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7523 eval "$ac_cv_use_listctrl"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_LISTCTRL" = yes; then
7529 echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7539 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7541 # Check whether --enable-notebook or --disable-notebook was given.
7542 if test "${enable_notebook+set}" = set; then
7543 enableval
="$enable_notebook"
7545 if test "$enableval" = yes; then
7546 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7548 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7553 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7554 if test "x$LINE" != x
; then
7555 eval "DEFAULT_$LINE"
7560 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7564 eval "$ac_cv_use_notebook"
7565 if test "$no_cache" != 1; then
7566 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7569 if test "$wxUSE_NOTEBOOK" = yes; then
7570 echo "$as_me:$LINENO: result: yes" >&5
7571 echo "${ECHO_T}yes" >&6
7573 echo "$as_me:$LINENO: result: no" >&5
7574 echo "${ECHO_T}no" >&6
7579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7580 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7582 # Check whether --enable-radiobox or --disable-radiobox was given.
7583 if test "${enable_radiobox+set}" = set; then
7584 enableval
="$enable_radiobox"
7586 if test "$enableval" = yes; then
7587 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7589 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7594 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7595 if test "x$LINE" != x
; then
7596 eval "DEFAULT_$LINE"
7601 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7605 eval "$ac_cv_use_radiobox"
7606 if test "$no_cache" != 1; then
7607 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7610 if test "$wxUSE_RADIOBOX" = yes; then
7611 echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6
7614 echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6
7620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7623 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7624 if test "${enable_radiobtn+set}" = set; then
7625 enableval
="$enable_radiobtn"
7627 if test "$enableval" = yes; then
7628 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7630 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7635 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x
; then
7637 eval "DEFAULT_$LINE"
7642 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7646 eval "$ac_cv_use_radiobtn"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7651 if test "$wxUSE_RADIOBTN" = yes; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7655 echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7664 # Check whether --enable-sash or --disable-sash was given.
7665 if test "${enable_sash+set}" = set; then
7666 enableval
="$enable_sash"
7668 if test "$enableval" = yes; then
7669 ac_cv_use_sash
='wxUSE_SASH=yes'
7671 ac_cv_use_sash
='wxUSE_SASH=no'
7676 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x
; then
7678 eval "DEFAULT_$LINE"
7683 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7687 eval "$ac_cv_use_sash"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7692 if test "$wxUSE_SASH" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7705 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7706 if test "${enable_scrollbar+set}" = set; then
7707 enableval
="$enable_scrollbar"
7709 if test "$enableval" = yes; then
7710 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7712 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7717 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x
; then
7719 eval "DEFAULT_$LINE"
7724 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7728 eval "$ac_cv_use_scrollbar"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7733 if test "$wxUSE_SCROLLBAR" = yes; then
7734 echo "$as_me:$LINENO: result: yes" >&5
7735 echo "${ECHO_T}yes" >&6
7737 echo "$as_me:$LINENO: result: no" >&5
7738 echo "${ECHO_T}no" >&6
7743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7744 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7746 # Check whether --enable-slider or --disable-slider was given.
7747 if test "${enable_slider+set}" = set; then
7748 enableval
="$enable_slider"
7750 if test "$enableval" = yes; then
7751 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7753 ac_cv_use_slider
='wxUSE_SLIDER=no'
7758 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7759 if test "x$LINE" != x
; then
7760 eval "DEFAULT_$LINE"
7765 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7769 eval "$ac_cv_use_slider"
7770 if test "$no_cache" != 1; then
7771 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7774 if test "$wxUSE_SLIDER" = yes; then
7775 echo "$as_me:$LINENO: result: yes" >&5
7776 echo "${ECHO_T}yes" >&6
7778 echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6
7784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7787 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7788 if test "${enable_spinbtn+set}" = set; then
7789 enableval
="$enable_spinbtn"
7791 if test "$enableval" = yes; then
7792 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7794 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7799 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7800 if test "x$LINE" != x
; then
7801 eval "DEFAULT_$LINE"
7806 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7810 eval "$ac_cv_use_spinbtn"
7811 if test "$no_cache" != 1; then
7812 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7815 if test "$wxUSE_SPINBTN" = yes; then
7816 echo "$as_me:$LINENO: result: yes" >&5
7817 echo "${ECHO_T}yes" >&6
7819 echo "$as_me:$LINENO: result: no" >&5
7820 echo "${ECHO_T}no" >&6
7825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7828 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7829 if test "${enable_spinctrl+set}" = set; then
7830 enableval
="$enable_spinctrl"
7832 if test "$enableval" = yes; then
7833 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7835 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7840 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7841 if test "x$LINE" != x
; then
7842 eval "DEFAULT_$LINE"
7847 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7851 eval "$ac_cv_use_spinctrl"
7852 if test "$no_cache" != 1; then
7853 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7856 if test "$wxUSE_SPINCTRL" = yes; then
7857 echo "$as_me:$LINENO: result: yes" >&5
7858 echo "${ECHO_T}yes" >&6
7860 echo "$as_me:$LINENO: result: no" >&5
7861 echo "${ECHO_T}no" >&6
7866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7867 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7869 # Check whether --enable-splitter or --disable-splitter was given.
7870 if test "${enable_splitter+set}" = set; then
7871 enableval
="$enable_splitter"
7873 if test "$enableval" = yes; then
7874 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7876 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7881 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7882 if test "x$LINE" != x
; then
7883 eval "DEFAULT_$LINE"
7888 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7892 eval "$ac_cv_use_splitter"
7893 if test "$no_cache" != 1; then
7894 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7897 if test "$wxUSE_SPLITTER" = yes; then
7898 echo "$as_me:$LINENO: result: yes" >&5
7899 echo "${ECHO_T}yes" >&6
7901 echo "$as_me:$LINENO: result: no" >&5
7902 echo "${ECHO_T}no" >&6
7907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7910 # Check whether --enable-statbmp or --disable-statbmp was given.
7911 if test "${enable_statbmp+set}" = set; then
7912 enableval
="$enable_statbmp"
7914 if test "$enableval" = yes; then
7915 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7917 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7922 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x
; then
7924 eval "DEFAULT_$LINE"
7929 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7933 eval "$ac_cv_use_statbmp"
7934 if test "$no_cache" != 1; then
7935 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7938 if test "$wxUSE_STATBMP" = yes; then
7939 echo "$as_me:$LINENO: result: yes" >&5
7940 echo "${ECHO_T}yes" >&6
7942 echo "$as_me:$LINENO: result: no" >&5
7943 echo "${ECHO_T}no" >&6
7948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7949 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7951 # Check whether --enable-statbox or --disable-statbox was given.
7952 if test "${enable_statbox+set}" = set; then
7953 enableval
="$enable_statbox"
7955 if test "$enableval" = yes; then
7956 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7958 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7963 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7964 if test "x$LINE" != x
; then
7965 eval "DEFAULT_$LINE"
7970 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7974 eval "$ac_cv_use_statbox"
7975 if test "$no_cache" != 1; then
7976 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7979 if test "$wxUSE_STATBOX" = yes; then
7980 echo "$as_me:$LINENO: result: yes" >&5
7981 echo "${ECHO_T}yes" >&6
7983 echo "$as_me:$LINENO: result: no" >&5
7984 echo "${ECHO_T}no" >&6
7989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7992 # Check whether --enable-statline or --disable-statline was given.
7993 if test "${enable_statline+set}" = set; then
7994 enableval
="$enable_statline"
7996 if test "$enableval" = yes; then
7997 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7999 ac_cv_use_statline
='wxUSE_STATLINE=no'
8004 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8005 if test "x$LINE" != x
; then
8006 eval "DEFAULT_$LINE"
8011 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8015 eval "$ac_cv_use_statline"
8016 if test "$no_cache" != 1; then
8017 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8020 if test "$wxUSE_STATLINE" = yes; then
8021 echo "$as_me:$LINENO: result: yes" >&5
8022 echo "${ECHO_T}yes" >&6
8024 echo "$as_me:$LINENO: result: no" >&5
8025 echo "${ECHO_T}no" >&6
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8033 # Check whether --enable-stattext or --disable-stattext was given.
8034 if test "${enable_stattext+set}" = set; then
8035 enableval
="$enable_stattext"
8037 if test "$enableval" = yes; then
8038 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8040 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8045 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x
; then
8047 eval "DEFAULT_$LINE"
8052 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8056 eval "$ac_cv_use_stattext"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8061 if test "$wxUSE_STATTEXT" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8074 # Check whether --enable-statusbar or --disable-statusbar was given.
8075 if test "${enable_statusbar+set}" = set; then
8076 enableval
="$enable_statusbar"
8078 if test "$enableval" = yes; then
8079 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8081 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8086 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x
; then
8088 eval "DEFAULT_$LINE"
8093 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8097 eval "$ac_cv_use_statusbar"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8102 if test "$wxUSE_STATUSBAR" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8115 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8116 if test "${enable_tabdialog+set}" = set; then
8117 enableval
="$enable_tabdialog"
8119 if test "$enableval" = yes; then
8120 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8122 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8127 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x
; then
8129 eval "DEFAULT_$LINE"
8134 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8138 eval "$ac_cv_use_tabdialog"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8143 if test "$wxUSE_TABDIALOG" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8156 # Check whether --enable-textctrl or --disable-textctrl was given.
8157 if test "${enable_textctrl+set}" = set; then
8158 enableval
="$enable_textctrl"
8160 if test "$enableval" = yes; then
8161 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8163 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8168 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x
; then
8170 eval "DEFAULT_$LINE"
8175 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8179 eval "$ac_cv_use_textctrl"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8184 if test "$wxUSE_TEXTCTRL" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8197 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8198 if test "${enable_togglebtn+set}" = set; then
8199 enableval
="$enable_togglebtn"
8201 if test "$enableval" = yes; then
8202 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8204 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8209 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x
; then
8211 eval "DEFAULT_$LINE"
8216 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8220 eval "$ac_cv_use_togglebtn"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8225 if test "$wxUSE_TOGGLEBTN" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8238 # Check whether --enable-toolbar or --disable-toolbar was given.
8239 if test "${enable_toolbar+set}" = set; then
8240 enableval
="$enable_toolbar"
8242 if test "$enableval" = yes; then
8243 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8245 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8250 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x
; then
8252 eval "DEFAULT_$LINE"
8257 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8261 eval "$ac_cv_use_toolbar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8266 if test "$wxUSE_TOOLBAR" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8279 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8280 if test "${enable_tbarnative+set}" = set; then
8281 enableval
="$enable_tbarnative"
8283 if test "$enableval" = yes; then
8284 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8286 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8291 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x
; then
8293 eval "DEFAULT_$LINE"
8298 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8302 eval "$ac_cv_use_tbarnative"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8307 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8320 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8321 if test "${enable_tbarsmpl+set}" = set; then
8322 enableval
="$enable_tbarsmpl"
8324 if test "$enableval" = yes; then
8325 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8327 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8332 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x
; then
8334 eval "DEFAULT_$LINE"
8339 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8343 eval "$ac_cv_use_tbarsmpl"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8348 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8361 # Check whether --enable-treectrl or --disable-treectrl was given.
8362 if test "${enable_treectrl+set}" = set; then
8363 enableval
="$enable_treectrl"
8365 if test "$enableval" = yes; then
8366 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8368 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8373 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x
; then
8375 eval "DEFAULT_$LINE"
8380 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8384 eval "$ac_cv_use_treectrl"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8389 if test "$wxUSE_TREECTRL" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8402 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8403 if test "${enable_tipwindow+set}" = set; then
8404 enableval
="$enable_tipwindow"
8406 if test "$enableval" = yes; then
8407 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8409 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8414 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x
; then
8416 eval "DEFAULT_$LINE"
8421 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8425 eval "$ac_cv_use_tipwindow"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8430 if test "$wxUSE_TIPWINDOW" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8443 # Check whether --enable-popupwin or --disable-popupwin was given.
8444 if test "${enable_popupwin+set}" = set; then
8445 enableval
="$enable_popupwin"
8447 if test "$enableval" = yes; then
8448 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8450 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8455 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x
; then
8457 eval "DEFAULT_$LINE"
8462 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8466 eval "$ac_cv_use_popupwin"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8471 if test "$wxUSE_POPUPWIN" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8486 # Check whether --enable-commondlg or --disable-commondlg was given.
8487 if test "${enable_commondlg+set}" = set; then
8488 enableval
="$enable_commondlg"
8490 if test "$enableval" = yes; then
8491 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8493 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8498 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x
; then
8500 eval "DEFAULT_$LINE"
8505 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8509 eval "$ac_cv_use_commondlg"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8514 if test "$wxUSE_COMMONDLGS" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8525 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8527 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8528 if test "${enable_choicedlg+set}" = set; then
8529 enableval
="$enable_choicedlg"
8531 if test "$enableval" = yes; then
8532 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8534 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8539 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x
; then
8541 eval "DEFAULT_$LINE"
8546 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8550 eval "$ac_cv_use_choicedlg"
8551 if test "$no_cache" != 1; then
8552 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8555 if test "$wxUSE_CHOICEDLG" = yes; then
8556 echo "$as_me:$LINENO: result: yes" >&5
8557 echo "${ECHO_T}yes" >&6
8559 echo "$as_me:$LINENO: result: no" >&5
8560 echo "${ECHO_T}no" >&6
8565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8566 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8568 # Check whether --enable-coldlg or --disable-coldlg was given.
8569 if test "${enable_coldlg+set}" = set; then
8570 enableval
="$enable_coldlg"
8572 if test "$enableval" = yes; then
8573 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8575 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8580 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x
; then
8582 eval "DEFAULT_$LINE"
8587 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8591 eval "$ac_cv_use_coldlg"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8596 if test "$wxUSE_COLOURDLG" = yes; then
8597 echo "$as_me:$LINENO: result: yes" >&5
8598 echo "${ECHO_T}yes" >&6
8600 echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6
8606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8607 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8609 # Check whether --enable-filedlg or --disable-filedlg was given.
8610 if test "${enable_filedlg+set}" = set; then
8611 enableval
="$enable_filedlg"
8613 if test "$enableval" = yes; then
8614 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8616 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8621 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x
; then
8623 eval "DEFAULT_$LINE"
8628 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8632 eval "$ac_cv_use_filedlg"
8633 if test "$no_cache" != 1; then
8634 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8637 if test "$wxUSE_FILEDLG" = yes; then
8638 echo "$as_me:$LINENO: result: yes" >&5
8639 echo "${ECHO_T}yes" >&6
8641 echo "$as_me:$LINENO: result: no" >&5
8642 echo "${ECHO_T}no" >&6
8647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8650 # Check whether --enable-finddlg or --disable-finddlg was given.
8651 if test "${enable_finddlg+set}" = set; then
8652 enableval
="$enable_finddlg"
8654 if test "$enableval" = yes; then
8655 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8657 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8662 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x
; then
8664 eval "DEFAULT_$LINE"
8669 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8673 eval "$ac_cv_use_finddlg"
8674 if test "$no_cache" != 1; then
8675 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8678 if test "$wxUSE_FINDREPLDLG" = yes; then
8679 echo "$as_me:$LINENO: result: yes" >&5
8680 echo "${ECHO_T}yes" >&6
8682 echo "$as_me:$LINENO: result: no" >&5
8683 echo "${ECHO_T}no" >&6
8688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8691 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8692 if test "${enable_fontdlg+set}" = set; then
8693 enableval
="$enable_fontdlg"
8695 if test "$enableval" = yes; then
8696 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8698 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8703 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8704 if test "x$LINE" != x
; then
8705 eval "DEFAULT_$LINE"
8710 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8714 eval "$ac_cv_use_fontdlg"
8715 if test "$no_cache" != 1; then
8716 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8719 if test "$wxUSE_FONTDLG" = yes; then
8720 echo "$as_me:$LINENO: result: yes" >&5
8721 echo "${ECHO_T}yes" >&6
8723 echo "$as_me:$LINENO: result: no" >&5
8724 echo "${ECHO_T}no" >&6
8729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8730 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8732 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8733 if test "${enable_dirdlg+set}" = set; then
8734 enableval
="$enable_dirdlg"
8736 if test "$enableval" = yes; then
8737 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8739 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8744 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x
; then
8746 eval "DEFAULT_$LINE"
8751 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8755 eval "$ac_cv_use_dirdlg"
8756 if test "$no_cache" != 1; then
8757 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8760 if test "$wxUSE_DIRDLG" = yes; then
8761 echo "$as_me:$LINENO: result: yes" >&5
8762 echo "${ECHO_T}yes" >&6
8764 echo "$as_me:$LINENO: result: no" >&5
8765 echo "${ECHO_T}no" >&6
8770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8771 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8773 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8774 if test "${enable_msgdlg+set}" = set; then
8775 enableval
="$enable_msgdlg"
8777 if test "$enableval" = yes; then
8778 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8780 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8785 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8786 if test "x$LINE" != x
; then
8787 eval "DEFAULT_$LINE"
8792 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8796 eval "$ac_cv_use_msgdlg"
8797 if test "$no_cache" != 1; then
8798 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8801 if test "$wxUSE_MSGDLG" = yes; then
8802 echo "$as_me:$LINENO: result: yes" >&5
8803 echo "${ECHO_T}yes" >&6
8805 echo "$as_me:$LINENO: result: no" >&5
8806 echo "${ECHO_T}no" >&6
8811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8814 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8815 if test "${enable_numberdlg+set}" = set; then
8816 enableval
="$enable_numberdlg"
8818 if test "$enableval" = yes; then
8819 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8821 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8826 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8827 if test "x$LINE" != x
; then
8828 eval "DEFAULT_$LINE"
8833 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8837 eval "$ac_cv_use_numberdlg"
8838 if test "$no_cache" != 1; then
8839 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8842 if test "$wxUSE_NUMBERDLG" = yes; then
8843 echo "$as_me:$LINENO: result: yes" >&5
8844 echo "${ECHO_T}yes" >&6
8846 echo "$as_me:$LINENO: result: no" >&5
8847 echo "${ECHO_T}no" >&6
8852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8855 # Check whether --enable-splash or --disable-splash was given.
8856 if test "${enable_splash+set}" = set; then
8857 enableval
="$enable_splash"
8859 if test "$enableval" = yes; then
8860 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8862 ac_cv_use_splash
='wxUSE_SPLASH=no'
8867 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8868 if test "x$LINE" != x
; then
8869 eval "DEFAULT_$LINE"
8874 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8878 eval "$ac_cv_use_splash"
8879 if test "$no_cache" != 1; then
8880 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8883 if test "$wxUSE_SPLASH" = yes; then
8884 echo "$as_me:$LINENO: result: yes" >&5
8885 echo "${ECHO_T}yes" >&6
8887 echo "$as_me:$LINENO: result: no" >&5
8888 echo "${ECHO_T}no" >&6
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8896 # Check whether --enable-textdlg or --disable-textdlg was given.
8897 if test "${enable_textdlg+set}" = set; then
8898 enableval
="$enable_textdlg"
8900 if test "$enableval" = yes; then
8901 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8903 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8908 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x
; then
8910 eval "DEFAULT_$LINE"
8915 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8919 eval "$ac_cv_use_textdlg"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_TEXTDLG" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8937 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8938 if test "${enable_tipdlg+set}" = set; then
8939 enableval
="$enable_tipdlg"
8941 if test "$enableval" = yes; then
8942 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8944 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8949 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x
; then
8951 eval "DEFAULT_$LINE"
8956 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8960 eval "$ac_cv_use_tipdlg"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_STARTUP_TIPS" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8978 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8979 if test "${enable_progressdlg+set}" = set; then
8980 enableval
="$enable_progressdlg"
8982 if test "$enableval" = yes; then
8983 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8985 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8990 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x
; then
8992 eval "DEFAULT_$LINE"
8997 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9001 eval "$ac_cv_use_progressdlg"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_PROGRESSDLG" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9019 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9020 if test "${enable_wizarddlg+set}" = set; then
9021 enableval
="$enable_wizarddlg"
9023 if test "$enableval" = yes; then
9024 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9026 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9031 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x
; then
9033 eval "DEFAULT_$LINE"
9038 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9042 eval "$ac_cv_use_wizarddlg"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_WIZARDDLG" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9062 # Check whether --enable-menus or --disable-menus was given.
9063 if test "${enable_menus+set}" = set; then
9064 enableval
="$enable_menus"
9066 if test "$enableval" = yes; then
9067 ac_cv_use_menus
='wxUSE_MENUS=yes'
9069 ac_cv_use_menus
='wxUSE_MENUS=no'
9074 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x
; then
9076 eval "DEFAULT_$LINE"
9081 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9085 eval "$ac_cv_use_menus"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9090 if test "$wxUSE_MENUS" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9094 echo "$as_me:$LINENO: result: no" >&5
9095 echo "${ECHO_T}no" >&6
9100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9101 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9103 # Check whether --enable-miniframe or --disable-miniframe was given.
9104 if test "${enable_miniframe+set}" = set; then
9105 enableval
="$enable_miniframe"
9107 if test "$enableval" = yes; then
9108 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9110 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9115 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9116 if test "x$LINE" != x
; then
9117 eval "DEFAULT_$LINE"
9122 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9126 eval "$ac_cv_use_miniframe"
9127 if test "$no_cache" != 1; then
9128 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9131 if test "$wxUSE_MINIFRAME" = yes; then
9132 echo "$as_me:$LINENO: result: yes" >&5
9133 echo "${ECHO_T}yes" >&6
9135 echo "$as_me:$LINENO: result: no" >&5
9136 echo "${ECHO_T}no" >&6
9141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9144 # Check whether --enable-tooltips or --disable-tooltips was given.
9145 if test "${enable_tooltips+set}" = set; then
9146 enableval
="$enable_tooltips"
9148 if test "$enableval" = yes; then
9149 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9151 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9156 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9157 if test "x$LINE" != x
; then
9158 eval "DEFAULT_$LINE"
9163 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9167 eval "$ac_cv_use_tooltips"
9168 if test "$no_cache" != 1; then
9169 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9172 if test "$wxUSE_TOOLTIPS" = yes; then
9173 echo "$as_me:$LINENO: result: yes" >&5
9174 echo "${ECHO_T}yes" >&6
9176 echo "$as_me:$LINENO: result: no" >&5
9177 echo "${ECHO_T}no" >&6
9182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9183 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9185 # Check whether --enable-splines or --disable-splines was given.
9186 if test "${enable_splines+set}" = set; then
9187 enableval
="$enable_splines"
9189 if test "$enableval" = yes; then
9190 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9192 ac_cv_use_splines
='wxUSE_SPLINES=no'
9197 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9198 if test "x$LINE" != x
; then
9199 eval "DEFAULT_$LINE"
9204 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9208 eval "$ac_cv_use_splines"
9209 if test "$no_cache" != 1; then
9210 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9213 if test "$wxUSE_SPLINES" = yes; then
9214 echo "$as_me:$LINENO: result: yes" >&5
9215 echo "${ECHO_T}yes" >&6
9217 echo "$as_me:$LINENO: result: no" >&5
9218 echo "${ECHO_T}no" >&6
9223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9224 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9226 # Check whether --enable-validators or --disable-validators was given.
9227 if test "${enable_validators+set}" = set; then
9228 enableval
="$enable_validators"
9230 if test "$enableval" = yes; then
9231 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9233 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9238 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9239 if test "x$LINE" != x
; then
9240 eval "DEFAULT_$LINE"
9245 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9249 eval "$ac_cv_use_validators"
9250 if test "$no_cache" != 1; then
9251 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9254 if test "$wxUSE_VALIDATORS" = yes; then
9255 echo "$as_me:$LINENO: result: yes" >&5
9256 echo "${ECHO_T}yes" >&6
9258 echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6
9264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9265 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9267 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9268 if test "${enable_busyinfo+set}" = set; then
9269 enableval
="$enable_busyinfo"
9271 if test "$enableval" = yes; then
9272 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9274 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9279 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9280 if test "x$LINE" != x
; then
9281 eval "DEFAULT_$LINE"
9286 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9290 eval "$ac_cv_use_busyinfo"
9291 if test "$no_cache" != 1; then
9292 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9295 if test "$wxUSE_BUSYINFO" = yes; then
9296 echo "$as_me:$LINENO: result: yes" >&5
9297 echo "${ECHO_T}yes" >&6
9299 echo "$as_me:$LINENO: result: no" >&5
9300 echo "${ECHO_T}no" >&6
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9308 # Check whether --enable-joystick or --disable-joystick was given.
9309 if test "${enable_joystick+set}" = set; then
9310 enableval
="$enable_joystick"
9312 if test "$enableval" = yes; then
9313 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9315 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9320 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x
; then
9322 eval "DEFAULT_$LINE"
9327 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9331 eval "$ac_cv_use_joystick"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9336 if test "$wxUSE_JOYSTICK" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9340 echo "$as_me:$LINENO: result: no" >&5
9341 echo "${ECHO_T}no" >&6
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9349 # Check whether --enable-metafile or --disable-metafile was given.
9350 if test "${enable_metafile+set}" = set; then
9351 enableval
="$enable_metafile"
9353 if test "$enableval" = yes; then
9354 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9356 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9361 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x
; then
9363 eval "DEFAULT_$LINE"
9368 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9372 eval "$ac_cv_use_metafile"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9377 if test "$wxUSE_METAFILE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379 echo "${ECHO_T}yes" >&6
9381 echo "$as_me:$LINENO: result: no" >&5
9382 echo "${ECHO_T}no" >&6
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9390 # Check whether --enable-dragimage or --disable-dragimage was given.
9391 if test "${enable_dragimage+set}" = set; then
9392 enableval
="$enable_dragimage"
9394 if test "$enableval" = yes; then
9395 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9397 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9402 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x
; then
9404 eval "DEFAULT_$LINE"
9409 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9413 eval "$ac_cv_use_dragimage"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9418 if test "$wxUSE_DRAGIMAGE" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420 echo "${ECHO_T}yes" >&6
9422 echo "$as_me:$LINENO: result: no" >&5
9423 echo "${ECHO_T}no" >&6
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9431 # Check whether --enable-accessibility or --disable-accessibility was given.
9432 if test "${enable_accessibility+set}" = set; then
9433 enableval
="$enable_accessibility"
9435 if test "$enableval" = yes; then
9436 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9438 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9443 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x
; then
9445 eval "DEFAULT_$LINE"
9450 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9454 eval "$ac_cv_use_accessibility"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9459 if test "$wxUSE_ACCESSIBILITY" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461 echo "${ECHO_T}yes" >&6
9463 echo "$as_me:$LINENO: result: no" >&5
9464 echo "${ECHO_T}no" >&6
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9474 # Check whether --enable-palette or --disable-palette was given.
9475 if test "${enable_palette+set}" = set; then
9476 enableval
="$enable_palette"
9478 if test "$enableval" = yes; then
9479 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9481 ac_cv_use_palette
='wxUSE_PALETTE=no'
9486 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x
; then
9488 eval "DEFAULT_$LINE"
9493 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9497 eval "$ac_cv_use_palette"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9502 if test "$wxUSE_PALETTE" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9506 echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6
9512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9515 # Check whether --enable-image or --disable-image was given.
9516 if test "${enable_image+set}" = set; then
9517 enableval
="$enable_image"
9519 if test "$enableval" = yes; then
9520 ac_cv_use_image
='wxUSE_IMAGE=yes'
9522 ac_cv_use_image
='wxUSE_IMAGE=no'
9527 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9528 if test "x$LINE" != x
; then
9529 eval "DEFAULT_$LINE"
9534 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9538 eval "$ac_cv_use_image"
9539 if test "$no_cache" != 1; then
9540 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9543 if test "$wxUSE_IMAGE" = yes; then
9544 echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6
9547 echo "$as_me:$LINENO: result: no" >&5
9548 echo "${ECHO_T}no" >&6
9553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9554 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9556 # Check whether --enable-gif or --disable-gif was given.
9557 if test "${enable_gif+set}" = set; then
9558 enableval
="$enable_gif"
9560 if test "$enableval" = yes; then
9561 ac_cv_use_gif
='wxUSE_GIF=yes'
9563 ac_cv_use_gif
='wxUSE_GIF=no'
9568 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9569 if test "x$LINE" != x
; then
9570 eval "DEFAULT_$LINE"
9575 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9579 eval "$ac_cv_use_gif"
9580 if test "$no_cache" != 1; then
9581 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9584 if test "$wxUSE_GIF" = yes; then
9585 echo "$as_me:$LINENO: result: yes" >&5
9586 echo "${ECHO_T}yes" >&6
9588 echo "$as_me:$LINENO: result: no" >&5
9589 echo "${ECHO_T}no" >&6
9594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9597 # Check whether --enable-pcx or --disable-pcx was given.
9598 if test "${enable_pcx+set}" = set; then
9599 enableval
="$enable_pcx"
9601 if test "$enableval" = yes; then
9602 ac_cv_use_pcx
='wxUSE_PCX=yes'
9604 ac_cv_use_pcx
='wxUSE_PCX=no'
9609 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9610 if test "x$LINE" != x
; then
9611 eval "DEFAULT_$LINE"
9616 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9620 eval "$ac_cv_use_pcx"
9621 if test "$no_cache" != 1; then
9622 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9625 if test "$wxUSE_PCX" = yes; then
9626 echo "$as_me:$LINENO: result: yes" >&5
9627 echo "${ECHO_T}yes" >&6
9629 echo "$as_me:$LINENO: result: no" >&5
9630 echo "${ECHO_T}no" >&6
9635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9636 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9638 # Check whether --enable-iff or --disable-iff was given.
9639 if test "${enable_iff+set}" = set; then
9640 enableval
="$enable_iff"
9642 if test "$enableval" = yes; then
9643 ac_cv_use_iff
='wxUSE_IFF=yes'
9645 ac_cv_use_iff
='wxUSE_IFF=no'
9650 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9651 if test "x$LINE" != x
; then
9652 eval "DEFAULT_$LINE"
9657 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9661 eval "$ac_cv_use_iff"
9662 if test "$no_cache" != 1; then
9663 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9666 if test "$wxUSE_IFF" = yes; then
9667 echo "$as_me:$LINENO: result: yes" >&5
9668 echo "${ECHO_T}yes" >&6
9670 echo "$as_me:$LINENO: result: no" >&5
9671 echo "${ECHO_T}no" >&6
9676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9679 # Check whether --enable-pnm or --disable-pnm was given.
9680 if test "${enable_pnm+set}" = set; then
9681 enableval
="$enable_pnm"
9683 if test "$enableval" = yes; then
9684 ac_cv_use_pnm
='wxUSE_PNM=yes'
9686 ac_cv_use_pnm
='wxUSE_PNM=no'
9691 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9692 if test "x$LINE" != x
; then
9693 eval "DEFAULT_$LINE"
9698 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9702 eval "$ac_cv_use_pnm"
9703 if test "$no_cache" != 1; then
9704 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9707 if test "$wxUSE_PNM" = yes; then
9708 echo "$as_me:$LINENO: result: yes" >&5
9709 echo "${ECHO_T}yes" >&6
9711 echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6
9717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9720 # Check whether --enable-xpm or --disable-xpm was given.
9721 if test "${enable_xpm+set}" = set; then
9722 enableval
="$enable_xpm"
9724 if test "$enableval" = yes; then
9725 ac_cv_use_xpm
='wxUSE_XPM=yes'
9727 ac_cv_use_xpm
='wxUSE_XPM=no'
9732 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9733 if test "x$LINE" != x
; then
9734 eval "DEFAULT_$LINE"
9739 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9743 eval "$ac_cv_use_xpm"
9744 if test "$no_cache" != 1; then
9745 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9748 if test "$wxUSE_XPM" = yes; then
9749 echo "$as_me:$LINENO: result: yes" >&5
9750 echo "${ECHO_T}yes" >&6
9752 echo "$as_me:$LINENO: result: no" >&5
9753 echo "${ECHO_T}no" >&6
9758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9759 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9761 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9762 if test "${enable_ico_cur+set}" = set; then
9763 enableval
="$enable_ico_cur"
9765 if test "$enableval" = yes; then
9766 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9768 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9773 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9774 if test "x$LINE" != x
; then
9775 eval "DEFAULT_$LINE"
9780 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9784 eval "$ac_cv_use_ico_cur"
9785 if test "$no_cache" != 1; then
9786 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9789 if test "$wxUSE_ICO_CUR" = yes; then
9790 echo "$as_me:$LINENO: result: yes" >&5
9791 echo "${ECHO_T}yes" >&6
9793 echo "$as_me:$LINENO: result: no" >&5
9794 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9806 # Check whether --enable-official_build or --disable-official_build was given.
9807 if test "${enable_official_build+set}" = set; then
9808 enableval
="$enable_official_build"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9813 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9818 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9829 eval "$ac_cv_use_official_build"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_OFFICIAL_BUILD" = 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
9842 # Check whether --enable-vendor or --disable-vendor was given.
9843 if test "${enable_vendor+set}" = set; then
9844 enableval
="$enable_vendor"
9847 if test "x$VENDOR" = "x"; then
9852 *-pc-os2_emx | *-pc-os2-emx )
9862 echo "saving argument cache $wx_arg_cache_file"
9863 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9867 echo "$as_me:$LINENO: checking for toolkit" >&5
9868 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9870 # In Wine, we need to default to MSW, not GTK or MOTIF
9871 if test "$wxUSE_WINE" = "yes"; then
9872 DEFAULT_DEFAULT_wxUSE_GTK
=0
9873 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9874 DEFAULT_DEFAULT_wxUSE_MSW
=1
9878 if test "$wxUSE_GUI" = "yes"; then
9880 if test "$USE_BEOS" = 1; then
9881 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9882 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9883 { (exit 1); exit 1; }; }
9886 if test "$TOOLKIT_GIVEN" = 1; then
9887 for toolkit
in `echo $ALL_TOOLKITS`; do
9889 eval "value=\$${var}"
9890 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9893 for toolkit
in `echo $ALL_TOOLKITS`; do
9894 if test "$has_toolkit_in_cache" != 1; then
9895 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9897 var
=DEFAULT_wxUSE_
$toolkit
9899 eval "wxUSE_$toolkit=\$${var}"
9903 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9904 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9905 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9908 *-pc-os2_emx | *-pc-os2-emx )
9909 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9912 case "$NUM_TOOLKITS" in
9916 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9917 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9918 { (exit 1); exit 1; }; }
9921 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9922 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9923 { (exit 1); exit 1; }; }
9926 for toolkit
in `echo $ALL_TOOLKITS`; do
9928 eval "value=\$${var}"
9929 if test "x$value" != x
; then
9930 cache_var
=CACHE_
$toolkit
9931 eval "cache=\$${cache_var}"
9932 if test "$cache" = 1; then
9933 echo "$var=$value" >> ${wx_arg_cache_file}
9935 if test "$value" = 1; then
9936 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9937 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9938 echo "${ECHO_T}$toolkit_echo" >&6
9943 if test "x$host_alias" != "x"; then
9944 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9945 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9947 echo "$as_me:$LINENO: result: base only" >&5
9948 echo "${ECHO_T}base only" >&6
9956 if test "$wxUSE_MSW" = 1 ; then
9967 if test "$wxUSE_WINE" = "yes"; then
9972 LDFLAGS_GUI
="-mwindows"
9975 if test "$wants_win32" = 1 ; then
9978 cat >>confdefs.h
<<\_ACEOF
9982 cat >>confdefs.h
<<\_ACEOF
9986 cat >>confdefs.h
<<\_ACEOF
9987 #define __WINDOWS__ 1
9990 cat >>confdefs.h
<<\_ACEOF
9991 #define __GNUWIN32__ 1
9994 cat >>confdefs.h
<<\_ACEOF
9998 cat >>confdefs.h
<<\_ACEOF
9999 #define WINVER 0x0400
10003 if test "$doesnt_want_win32" = 1 ; then
10008 if test "$USE_UNIX" = 1 ; then
10010 cat >>confdefs.h
<<\_ACEOF
10017 cat >confcache
<<\_ACEOF
10018 # This file is a shell script that caches the results of configure
10019 # tests run on this system so they can be shared between configure
10020 # scripts and configure runs, see configure's option --config-cache.
10021 # It is not useful on other systems. If it contains results you don't
10022 # want to keep, you may remove or edit it.
10024 # config.status only pays attention to the cache file if you give it
10025 # the --recheck option to rerun configure.
10027 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10028 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10029 # following values.
10033 # The following way of writing the cache mishandles newlines in values,
10034 # but we know of no workaround that is simple, portable, and efficient.
10035 # So, don't put newlines in cache variables' values.
10036 # Ultrix sh set writes to stderr and can't be redirected directly,
10037 # and sets the high bit in the cache file unless we assign to the vars.
10040 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10042 # `set' does not quote correctly, so add quotes (double-quote
10043 # substitution turns \\\\ into \\, and sed turns \\ into \).
10046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10049 # `set' quotes correctly as required by POSIX, so do not add quotes.
10051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10060 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10062 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10063 if test -w $cache_file; then
10064 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10065 cat confcache
>$cache_file
10067 echo "not updating unwritable cache $cache_file"
10072 if test "$build" != "$host" ; then
10073 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10075 CXX
=$host_alias-c++
10077 RANLIB
=$host_alias-ranlib
10078 DLLTOOL
=$host_alias-dlltool
10079 RESCOMP
=$host_alias-windres
10082 STRIP
=$host_alias-strip
10084 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10085 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10086 { (exit 1); exit 1; }; }
10092 ac_cpp
='$CPP $CPPFLAGS'
10093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10096 if test -n "$ac_tool_prefix"; then
10097 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10098 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10099 echo "$as_me:$LINENO: checking for $ac_word" >&5
10100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10101 if test "${ac_cv_prog_CC+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10104 if test -n "$CC"; then
10105 ac_cv_prog_CC
="$CC" # Let the user override the test.
10107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10108 for as_dir
in $PATH
10111 test -z "$as_dir" && as_dir
=.
10112 for ac_exec_ext
in '' $ac_executable_extensions; do
10113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10114 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10124 if test -n "$CC"; then
10125 echo "$as_me:$LINENO: result: $CC" >&5
10126 echo "${ECHO_T}$CC" >&6
10128 echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6
10133 if test -z "$ac_cv_prog_CC"; then
10135 # Extract the first word of "gcc", so it can be a program name with args.
10136 set dummy gcc
; ac_word
=$2
10137 echo "$as_me:$LINENO: checking for $ac_word" >&5
10138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 if test -n "$ac_ct_CC"; then
10143 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10146 for as_dir
in $PATH
10149 test -z "$as_dir" && as_dir
=.
10150 for ac_exec_ext
in '' $ac_executable_extensions; do
10151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_prog_ac_ct_CC
="gcc"
10153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10162 if test -n "$ac_ct_CC"; then
10163 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10164 echo "${ECHO_T}$ac_ct_CC" >&6
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10172 CC
="$ac_cv_prog_CC"
10175 if test -z "$CC"; then
10176 if test -n "$ac_tool_prefix"; then
10177 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10178 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10179 echo "$as_me:$LINENO: checking for $ac_word" >&5
10180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10181 if test "${ac_cv_prog_CC+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 if test -n "$CC"; then
10185 ac_cv_prog_CC
="$CC" # Let the user override the test.
10187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10188 for as_dir
in $PATH
10191 test -z "$as_dir" && as_dir
=.
10192 for ac_exec_ext
in '' $ac_executable_extensions; do
10193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10194 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 if test -n "$CC"; then
10205 echo "$as_me:$LINENO: result: $CC" >&5
10206 echo "${ECHO_T}$CC" >&6
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10213 if test -z "$ac_cv_prog_CC"; then
10215 # Extract the first word of "cc", so it can be a program name with args.
10216 set dummy cc
; ac_word
=$2
10217 echo "$as_me:$LINENO: checking for $ac_word" >&5
10218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10219 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 if test -n "$ac_ct_CC"; then
10223 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in $PATH
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10232 ac_cv_prog_ac_ct_CC
="cc"
10233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10241 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10242 if test -n "$ac_ct_CC"; then
10243 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10244 echo "${ECHO_T}$ac_ct_CC" >&6
10246 echo "$as_me:$LINENO: result: no" >&5
10247 echo "${ECHO_T}no" >&6
10252 CC
="$ac_cv_prog_CC"
10256 if test -z "$CC"; then
10257 # Extract the first word of "cc", so it can be a program name with args.
10258 set dummy cc
; ac_word
=$2
10259 echo "$as_me:$LINENO: checking for $ac_word" >&5
10260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10261 if test "${ac_cv_prog_CC+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 if test -n "$CC"; then
10265 ac_cv_prog_CC
="$CC" # Let the user override the test.
10267 ac_prog_rejected
=no
10268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10269 for as_dir
in $PATH
10272 test -z "$as_dir" && as_dir
=.
10273 for ac_exec_ext
in '' $ac_executable_extensions; do
10274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10275 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10276 ac_prog_rejected
=yes
10280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 if test $ac_prog_rejected = yes; then
10287 # We found a bogon in the path, so make sure we never use it.
10288 set dummy
$ac_cv_prog_CC
10290 if test $# != 0; then
10291 # We chose a different compiler from the bogus one.
10292 # However, it has the same basename, so the bogon will be chosen
10293 # first if we set CC to just the basename; use the full file name.
10295 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10301 if test -n "$CC"; then
10302 echo "$as_me:$LINENO: result: $CC" >&5
10303 echo "${ECHO_T}$CC" >&6
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10310 if test -z "$CC"; then
10311 if test -n "$ac_tool_prefix"; then
10314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10315 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10316 echo "$as_me:$LINENO: checking for $ac_word" >&5
10317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10318 if test "${ac_cv_prog_CC+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 if test -n "$CC"; then
10322 ac_cv_prog_CC
="$CC" # Let the user override the test.
10324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10325 for as_dir
in $PATH
10328 test -z "$as_dir" && as_dir
=.
10329 for ac_exec_ext
in '' $ac_executable_extensions; do
10330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10331 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10341 if test -n "$CC"; then
10342 echo "$as_me:$LINENO: result: $CC" >&5
10343 echo "${ECHO_T}$CC" >&6
10345 echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6
10349 test -n "$CC" && break
10352 if test -z "$CC"; then
10356 # Extract the first word of "$ac_prog", so it can be a program name with args.
10357 set dummy
$ac_prog; ac_word
=$2
10358 echo "$as_me:$LINENO: checking for $ac_word" >&5
10359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 if test -n "$ac_ct_CC"; then
10364 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10367 for as_dir
in $PATH
10370 test -z "$as_dir" && as_dir
=.
10371 for ac_exec_ext
in '' $ac_executable_extensions; do
10372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10373 ac_cv_prog_ac_ct_CC
="$ac_prog"
10374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10382 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10383 if test -n "$ac_ct_CC"; then
10384 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10385 echo "${ECHO_T}$ac_ct_CC" >&6
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10391 test -n "$ac_ct_CC" && break
10400 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10401 See \`config.log' for more details." >&5
10402 echo "$as_me: error: no acceptable C compiler found in \$PATH
10403 See \`config.log' for more details." >&2;}
10404 { (exit 1); exit 1; }; }
10406 # Provide some information about the compiler.
10407 echo "$as_me:$LINENO:" \
10408 "checking for C compiler version" >&5
10409 ac_compiler
=`set X $ac_compile; echo $2`
10410 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10411 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }
10415 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10416 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }
10420 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10421 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }
10426 cat >conftest.
$ac_ext <<_ACEOF
10429 cat confdefs.h
>>conftest.
$ac_ext
10430 cat >>conftest.
$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10441 ac_clean_files_save
=$ac_clean_files
10442 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10443 # Try to create an executable without -o first, disregard a.out.
10444 # It will help us diagnose broken compilers, and finding out an intuition
10446 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10447 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10448 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10449 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10450 (eval $ac_link_default) 2>&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; then
10454 # Find the output, starting from the most likely. This scheme is
10455 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10458 # Be careful to initialize this variable, since it used to be cached.
10459 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10461 # b.out is created by i960 compilers.
10462 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10464 test -f "$ac_file" || continue
10466 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10469 # This is the source file.
10472 # We found the default executable, but exeext='' is most
10476 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10477 # FIXME: I believe we export ac_cv_exeext for Libtool,
10478 # but it would be cool to find out if it's true. Does anybody
10479 # maintain Libtool? --akim.
10480 export ac_cv_exeext
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10490 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10491 See \`config.log' for more details." >&5
10492 echo "$as_me: error: C compiler cannot create executables
10493 See \`config.log' for more details." >&2;}
10494 { (exit 77); exit 77; }; }
10497 ac_exeext
=$ac_cv_exeext
10498 echo "$as_me:$LINENO: result: $ac_file" >&5
10499 echo "${ECHO_T}$ac_file" >&6
10501 # Check the compiler produces executables we can run. If not, either
10502 # the compiler is broken, or we cross compile.
10503 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10504 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10505 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10506 # If not cross compiling, check that we can run a simple program.
10507 if test "$cross_compiling" != yes; then
10508 if { ac_try
='./$ac_file'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; }; then
10516 if test "$cross_compiling" = maybe
; then
10517 cross_compiling
=yes
10519 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10520 If you meant to cross compile, use \`--host'.
10521 See \`config.log' for more details." >&5
10522 echo "$as_me: error: cannot run C compiled programs.
10523 If you meant to cross compile, use \`--host'.
10524 See \`config.log' for more details." >&2;}
10525 { (exit 1); exit 1; }; }
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10532 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10533 ac_clean_files
=$ac_clean_files_save
10534 # Check the compiler produces executables we can run. If not, either
10535 # the compiler is broken, or we cross compile.
10536 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10537 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10538 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10539 echo "${ECHO_T}$cross_compiling" >&6
10541 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10542 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10544 (eval $ac_link) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; then
10548 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10549 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10550 # work properly (i.e., refer to `conftest.exe'), while it won't with
10552 for ac_file
in conftest.exe conftest conftest.
*; do
10553 test -f "$ac_file" || continue
10555 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10556 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10557 export ac_cv_exeext
10563 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10564 See \`config.log' for more details." >&5
10565 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10566 See \`config.log' for more details." >&2;}
10567 { (exit 1); exit 1; }; }
10570 rm -f conftest
$ac_cv_exeext
10571 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10572 echo "${ECHO_T}$ac_cv_exeext" >&6
10574 rm -f conftest.
$ac_ext
10575 EXEEXT
=$ac_cv_exeext
10577 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10578 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10579 if test "${ac_cv_objext+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10582 cat >conftest.
$ac_ext <<_ACEOF
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10597 rm -f conftest.o conftest.obj
10598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10599 (eval $ac_compile) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; then
10603 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10605 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10606 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.
$ac_ext >&5
10614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10615 See \`config.log' for more details." >&5
10616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10617 See \`config.log' for more details." >&2;}
10618 { (exit 1); exit 1; }; }
10621 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10623 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10624 echo "${ECHO_T}$ac_cv_objext" >&6
10625 OBJEXT
=$ac_cv_objext
10627 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10630 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 cat >conftest.
$ac_ext <<_ACEOF
10635 cat confdefs.h
>>conftest.
$ac_ext
10636 cat >>conftest.
$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10650 rm -f conftest.
$ac_objext
10651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10652 (eval $ac_compile) 2>conftest.er1
10654 grep -v '^ *+' conftest.er1
>conftest.err
10656 cat conftest.err
>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); } &&
10659 { ac_try
='test -z "$ac_c_werror_flag"
10660 || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try
='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 ac_compiler_gnu
=yes
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.
$ac_ext >&5
10679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10680 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10683 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10685 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10686 ac_test_CFLAGS
=${CFLAGS+set}
10687 ac_save_CFLAGS
=$CFLAGS
10689 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10690 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10691 if test "${ac_cv_prog_cc_g+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 cat >conftest.
$ac_ext <<_ACEOF
10697 cat confdefs.h
>>conftest.
$ac_ext
10698 cat >>conftest.
$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10709 rm -f conftest.
$ac_objext
10710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10711 (eval $ac_compile) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try
='test -z "$ac_c_werror_flag"
10719 || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try
='test -s conftest.$ac_objext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_prog_cc_g
=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.
$ac_ext >&5
10738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10741 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10742 if test "$ac_test_CFLAGS" = set; then
10743 CFLAGS
=$ac_save_CFLAGS
10744 elif test $ac_cv_prog_cc_g = yes; then
10745 if test "$GCC" = yes; then
10751 if test "$GCC" = yes; then
10757 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10758 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10759 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 ac_cv_prog_cc_stdc
=no
10764 cat >conftest.
$ac_ext <<_ACEOF
10767 cat confdefs.h
>>conftest.
$ac_ext
10768 cat >>conftest.
$ac_ext <<_ACEOF
10769 /* end confdefs.h. */
10770 #include <stdarg.h>
10772 #include <sys/types.h>
10773 #include <sys/stat.h>
10774 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10775 struct buf { int x; };
10776 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10777 static char *e (p, i)
10783 static char *f (char * (*g) (char **, int), char **p, ...)
10788 s = g (p, va_arg (v,int));
10793 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10794 function prototypes and stuff, but not '\xHH' hex character constants.
10795 These don't provoke an error unfortunately, instead are silently treated
10796 as 'x'. The following induces an error, until -std1 is added to get
10797 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10798 array size at least. It's necessary to write '\x00'==0 to get something
10799 that's true only with -std1. */
10800 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10802 int test (int i, double x);
10803 struct s1 {int (*f) (int a);};
10804 struct s2 {int (*f) (double a);};
10805 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10811 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10816 # Don't try gcc -ansi; that turns off useful extensions and
10817 # breaks some systems' header files.
10818 # AIX -qlanglvl=ansi
10819 # Ultrix and OSF/1 -std1
10820 # HP-UX 10.20 and later -Ae
10821 # HP-UX older versions -Aa -D_HPUX_SOURCE
10822 # SVR4 -Xc -D__EXTENSIONS__
10823 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10825 CC
="$ac_save_CC $ac_arg"
10826 rm -f conftest.
$ac_objext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10828 (eval $ac_compile) 2>conftest.er1
10830 grep -v '^ *+' conftest.er1
>conftest.err
10832 cat conftest.err
>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try
='test -z "$ac_c_werror_flag"
10836 || test ! -s conftest.err'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; } &&
10842 { ac_try
='test -s conftest.$ac_objext'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; }; then
10848 ac_cv_prog_cc_stdc
=$ac_arg
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.
$ac_ext >&5
10855 rm -f conftest.err conftest.
$ac_objext
10857 rm -f conftest.
$ac_ext conftest.
$ac_objext
10862 case "x$ac_cv_prog_cc_stdc" in
10864 echo "$as_me:$LINENO: result: none needed" >&5
10865 echo "${ECHO_T}none needed" >&6 ;;
10867 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10868 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10869 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10872 # Some people use a C++ compiler to compile C. Since we use `exit',
10873 # in C++ we need to declare it. In case someone uses the same compiler
10874 # for both compiling C and C++ we need to have the C++ compiler decide
10875 # the declaration of exit, since it's the most demanding environment.
10876 cat >conftest.
$ac_ext <<_ACEOF
10877 #ifndef __cplusplus
10881 rm -f conftest.
$ac_objext
10882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10883 (eval $ac_compile) 2>conftest.er1
10885 grep -v '^ *+' conftest.er1
>conftest.err
10887 cat conftest.err
>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try
='test -z "$ac_c_werror_flag"
10891 || test ! -s conftest.err'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; } &&
10897 { ac_try
='test -s conftest.$ac_objext'
10898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10899 (eval $ac_try) 2>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); }; }; then
10903 for ac_declaration
in \
10905 'extern "C" void std::exit (int) throw (); using std::exit;' \
10906 'extern "C" void std::exit (int); using std::exit;' \
10907 'extern "C" void exit (int) throw ();' \
10908 'extern "C" void exit (int);' \
10911 cat >conftest.
$ac_ext <<_ACEOF
10914 cat confdefs.h
>>conftest.
$ac_ext
10915 cat >>conftest.
$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10918 #include <stdlib.h>
10927 rm -f conftest.
$ac_objext
10928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10929 (eval $ac_compile) 2>conftest.er1
10931 grep -v '^ *+' conftest.er1
>conftest.err
10933 cat conftest.err
>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } &&
10936 { ac_try
='test -z "$ac_c_werror_flag"
10937 || test ! -s conftest.err'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; } &&
10943 { ac_try
='test -s conftest.$ac_objext'
10944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then
10951 echo "$as_me: failed program was:" >&5
10952 sed 's/^/| /' conftest.
$ac_ext >&5
10956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10957 cat >conftest.
$ac_ext <<_ACEOF
10960 cat confdefs.h
>>conftest.
$ac_ext
10961 cat >>conftest.
$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10972 rm -f conftest.
$ac_objext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10974 (eval $ac_compile) 2>conftest.er1
10976 grep -v '^ *+' conftest.er1
>conftest.err
10978 cat conftest.err
>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try
='test -z "$ac_c_werror_flag"
10982 || test ! -s conftest.err'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try
='test -s conftest.$ac_objext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.
$ac_ext >&5
11000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11003 if test -n "$ac_declaration"; then
11004 echo '#ifdef __cplusplus' >>confdefs.h
11005 echo $ac_declaration >>confdefs.h
11006 echo '#endif' >>confdefs.h
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.
$ac_ext >&5
11014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11016 ac_cpp
='$CPP $CPPFLAGS'
11017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11024 ac_cpp
='$CPP $CPPFLAGS'
11025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11028 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11029 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11030 # On Suns, sometimes $CPP names a directory.
11031 if test -n "$CPP" && test -d "$CPP"; then
11034 if test -z "$CPP"; then
11035 if test "${ac_cv_prog_CPP+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11038 # Double quotes because CPP needs to be expanded
11039 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11041 ac_preproc_ok
=false
11042 for ac_c_preproc_warn_flag
in '' yes
11044 # Use a header file that comes with gcc, so configuring glibc
11045 # with a fresh cross-compiler works.
11046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11047 # <limits.h> exists even on freestanding compilers.
11048 # On the NeXT, cc -E runs the code through the compiler's parser,
11049 # not just through cpp. "Syntax error" is here to catch this case.
11050 cat >conftest.
$ac_ext <<_ACEOF
11053 cat confdefs.h
>>conftest.
$ac_ext
11054 cat >>conftest.
$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11057 # include <limits.h>
11059 # include <assert.h>
11063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11066 grep -v '^ *+' conftest.er1
>conftest.err
11068 cat conftest.err
>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } >/dev
/null
; then
11071 if test -s conftest.err
; then
11072 ac_cpp_err
=$ac_c_preproc_warn_flag
11073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11080 if test -z "$ac_cpp_err"; then
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11086 # Broken: fails on valid input.
11089 rm -f conftest.err conftest.
$ac_ext
11091 # OK, works on sane cases. Now check whether non-existent headers
11092 # can be detected and how.
11093 cat >conftest.
$ac_ext <<_ACEOF
11096 cat confdefs.h
>>conftest.
$ac_ext
11097 cat >>conftest.
$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11099 #include <ac_nonexistent.h>
11101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11104 grep -v '^ *+' conftest.er1
>conftest.err
11106 cat conftest.err
>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } >/dev
/null
; then
11109 if test -s conftest.err
; then
11110 ac_cpp_err
=$ac_c_preproc_warn_flag
11111 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11118 if test -z "$ac_cpp_err"; then
11119 # Broken: success on invalid input.
11122 echo "$as_me: failed program was:" >&5
11123 sed 's/^/| /' conftest.
$ac_ext >&5
11125 # Passes both tests.
11129 rm -f conftest.err conftest.
$ac_ext
11132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11133 rm -f conftest.err conftest.
$ac_ext
11134 if $ac_preproc_ok; then
11139 ac_cv_prog_CPP
=$CPP
11142 CPP
=$ac_cv_prog_CPP
11144 ac_cv_prog_CPP
=$CPP
11146 echo "$as_me:$LINENO: result: $CPP" >&5
11147 echo "${ECHO_T}$CPP" >&6
11148 ac_preproc_ok
=false
11149 for ac_c_preproc_warn_flag
in '' yes
11151 # Use a header file that comes with gcc, so configuring glibc
11152 # with a fresh cross-compiler works.
11153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11154 # <limits.h> exists even on freestanding compilers.
11155 # On the NeXT, cc -E runs the code through the compiler's parser,
11156 # not just through cpp. "Syntax error" is here to catch this case.
11157 cat >conftest.
$ac_ext <<_ACEOF
11160 cat confdefs.h
>>conftest.
$ac_ext
11161 cat >>conftest.
$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11164 # include <limits.h>
11166 # include <assert.h>
11170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11171 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11173 grep -v '^ *+' conftest.er1
>conftest.err
11175 cat conftest.err
>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } >/dev
/null
; then
11178 if test -s conftest.err
; then
11179 ac_cpp_err
=$ac_c_preproc_warn_flag
11180 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11187 if test -z "$ac_cpp_err"; then
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.
$ac_ext >&5
11193 # Broken: fails on valid input.
11196 rm -f conftest.err conftest.
$ac_ext
11198 # OK, works on sane cases. Now check whether non-existent headers
11199 # can be detected and how.
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 #include <ac_nonexistent.h>
11208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11211 grep -v '^ *+' conftest.er1
>conftest.err
11213 cat conftest.err
>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } >/dev
/null
; then
11216 if test -s conftest.err
; then
11217 ac_cpp_err
=$ac_c_preproc_warn_flag
11218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11225 if test -z "$ac_cpp_err"; then
11226 # Broken: success on invalid input.
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.
$ac_ext >&5
11232 # Passes both tests.
11236 rm -f conftest.err conftest.
$ac_ext
11239 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11240 rm -f conftest.err conftest.
$ac_ext
11241 if $ac_preproc_ok; then
11244 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11245 See \`config.log' for more details." >&5
11246 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11247 See \`config.log' for more details." >&2;}
11248 { (exit 1); exit 1; }; }
11252 ac_cpp
='$CPP $CPPFLAGS'
11253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11258 echo "$as_me:$LINENO: checking for egrep" >&5
11259 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11260 if test "${ac_cv_prog_egrep+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11263 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11264 then ac_cv_prog_egrep
='grep -E'
11265 else ac_cv_prog_egrep
='egrep'
11268 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11269 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11270 EGREP
=$ac_cv_prog_egrep
11273 if test $ac_cv_c_compiler_gnu = yes; then
11274 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11275 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11276 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 ac_pattern
="Autoconf.*'x'"
11280 cat >conftest.
$ac_ext <<_ACEOF
11283 cat confdefs.h
>>conftest.
$ac_ext
11284 cat >>conftest.
$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11290 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11291 ac_cv_prog_gcc_traditional
=yes
11293 ac_cv_prog_gcc_traditional
=no
11298 if test $ac_cv_prog_gcc_traditional = no
; then
11299 cat >conftest.
$ac_ext <<_ACEOF
11302 cat confdefs.h
>>conftest.
$ac_ext
11303 cat >>conftest.
$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11305 #include <termio.h>
11308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11309 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11310 ac_cv_prog_gcc_traditional
=yes
11316 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11317 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11318 if test $ac_cv_prog_gcc_traditional = yes; then
11319 CC
="$CC -traditional"
11327 ac_cpp
='$CXXCPP $CPPFLAGS'
11328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11333 CXXFLAGS
=${CXXFLAGS:=}
11335 ac_cpp
='$CXXCPP $CPPFLAGS'
11336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11339 if test -n "$ac_tool_prefix"; then
11340 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11343 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11344 echo "$as_me:$LINENO: checking for $ac_word" >&5
11345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11346 if test "${ac_cv_prog_CXX+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if test -n "$CXX"; then
11350 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11353 for as_dir
in $PATH
11356 test -z "$as_dir" && as_dir
=.
11357 for ac_exec_ext
in '' $ac_executable_extensions; do
11358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11368 CXX
=$ac_cv_prog_CXX
11369 if test -n "$CXX"; then
11370 echo "$as_me:$LINENO: result: $CXX" >&5
11371 echo "${ECHO_T}$CXX" >&6
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11377 test -n "$CXX" && break
11380 if test -z "$CXX"; then
11382 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11384 # Extract the first word of "$ac_prog", so it can be a program name with args.
11385 set dummy
$ac_prog; ac_word
=$2
11386 echo "$as_me:$LINENO: checking for $ac_word" >&5
11387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 if test -n "$ac_ct_CXX"; then
11392 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11395 for as_dir
in $PATH
11398 test -z "$as_dir" && as_dir
=.
11399 for ac_exec_ext
in '' $ac_executable_extensions; do
11400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11401 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11410 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11411 if test -n "$ac_ct_CXX"; then
11412 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11413 echo "${ECHO_T}$ac_ct_CXX" >&6
11415 echo "$as_me:$LINENO: result: no" >&5
11416 echo "${ECHO_T}no" >&6
11419 test -n "$ac_ct_CXX" && break
11421 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11427 # Provide some information about the compiler.
11428 echo "$as_me:$LINENO:" \
11429 "checking for C++ compiler version" >&5
11430 ac_compiler
=`set X $ac_compile; echo $2`
11431 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11432 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }
11436 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11437 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); }
11441 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11442 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }
11447 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11448 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11449 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 cat >conftest.
$ac_ext <<_ACEOF
11455 cat confdefs.h
>>conftest.
$ac_ext
11456 cat >>conftest.
$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11470 rm -f conftest.
$ac_objext
11471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11472 (eval $ac_compile) 2>conftest.er1
11474 grep -v '^ *+' conftest.er1
>conftest.err
11476 cat conftest.err
>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } &&
11479 { ac_try
='test -z "$ac_cxx_werror_flag"
11480 || test ! -s conftest.err'
11481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11482 (eval $ac_try) 2>&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }; } &&
11486 { ac_try
='test -s conftest.$ac_objext'
11487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11488 (eval $ac_try) 2>&5
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); }; }; then
11492 ac_compiler_gnu
=yes
11494 echo "$as_me: failed program was:" >&5
11495 sed 's/^/| /' conftest.
$ac_ext >&5
11499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11500 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11503 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11504 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11505 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11506 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11507 ac_save_CXXFLAGS
=$CXXFLAGS
11509 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11510 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11511 if test "${ac_cv_prog_cxx_g+set}" = set; then
11512 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 cat >conftest.
$ac_ext <<_ACEOF
11517 cat confdefs.h
>>conftest.
$ac_ext
11518 cat >>conftest.
$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11529 rm -f conftest.
$ac_objext
11530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11531 (eval $ac_compile) 2>conftest.er1
11533 grep -v '^ *+' conftest.er1
>conftest.err
11535 cat conftest.err
>&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } &&
11538 { ac_try
='test -z "$ac_cxx_werror_flag"
11539 || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try
='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 ac_cv_prog_cxx_g
=yes
11553 echo "$as_me: failed program was:" >&5
11554 sed 's/^/| /' conftest.
$ac_ext >&5
11556 ac_cv_prog_cxx_g
=no
11558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11560 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11561 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11562 if test "$ac_test_CXXFLAGS" = set; then
11563 CXXFLAGS
=$ac_save_CXXFLAGS
11564 elif test $ac_cv_prog_cxx_g = yes; then
11565 if test "$GXX" = yes; then
11571 if test "$GXX" = yes; then
11577 for ac_declaration
in \
11579 'extern "C" void std::exit (int) throw (); using std::exit;' \
11580 'extern "C" void std::exit (int); using std::exit;' \
11581 'extern "C" void exit (int) throw ();' \
11582 'extern "C" void exit (int);' \
11585 cat >conftest.
$ac_ext <<_ACEOF
11588 cat confdefs.h
>>conftest.
$ac_ext
11589 cat >>conftest.
$ac_ext <<_ACEOF
11590 /* end confdefs.h. */
11592 #include <stdlib.h>
11601 rm -f conftest.
$ac_objext
11602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11603 (eval $ac_compile) 2>conftest.er1
11605 grep -v '^ *+' conftest.er1
>conftest.err
11607 cat conftest.err
>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); } &&
11610 { ac_try
='test -z "$ac_cxx_werror_flag"
11611 || test ! -s conftest.err'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; } &&
11617 { ac_try
='test -s conftest.$ac_objext'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; }; then
11625 echo "$as_me: failed program was:" >&5
11626 sed 's/^/| /' conftest.
$ac_ext >&5
11630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11631 cat >conftest.
$ac_ext <<_ACEOF
11634 cat confdefs.h
>>conftest.
$ac_ext
11635 cat >>conftest.
$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11646 rm -f conftest.
$ac_objext
11647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 (eval $ac_compile) 2>conftest.er1
11650 grep -v '^ *+' conftest.er1
>conftest.err
11652 cat conftest.err
>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } &&
11655 { ac_try
='test -z "$ac_cxx_werror_flag"
11656 || test ! -s conftest.err'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; } &&
11662 { ac_try
='test -s conftest.$ac_objext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.
$ac_ext >&5
11674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11677 if test -n "$ac_declaration"; then
11678 echo '#ifdef __cplusplus' >>confdefs.h
11679 echo $ac_declaration >>confdefs.h
11680 echo '#endif' >>confdefs.h
11684 ac_cpp
='$CXXCPP $CPPFLAGS'
11685 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11691 ac_cpp
='$CPP $CPPFLAGS'
11692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11697 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11698 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11699 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11700 if test "$GCC" = "yes" ; then
11701 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11702 sed -n '1,/End of search list\./p' | \
11703 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11704 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11706 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11707 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11709 if test -n "$ac_tool_prefix"; then
11710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11711 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11712 echo "$as_me:$LINENO: checking for $ac_word" >&5
11713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11714 if test "${ac_cv_prog_RANLIB+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 if test -n "$RANLIB"; then
11718 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11721 for as_dir
in $PATH
11724 test -z "$as_dir" && as_dir
=.
11725 for ac_exec_ext
in '' $ac_executable_extensions; do
11726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11727 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11736 RANLIB
=$ac_cv_prog_RANLIB
11737 if test -n "$RANLIB"; then
11738 echo "$as_me:$LINENO: result: $RANLIB" >&5
11739 echo "${ECHO_T}$RANLIB" >&6
11741 echo "$as_me:$LINENO: result: no" >&5
11742 echo "${ECHO_T}no" >&6
11746 if test -z "$ac_cv_prog_RANLIB"; then
11747 ac_ct_RANLIB
=$RANLIB
11748 # Extract the first word of "ranlib", so it can be a program name with args.
11749 set dummy ranlib
; ac_word
=$2
11750 echo "$as_me:$LINENO: checking for $ac_word" >&5
11751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11752 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 if test -n "$ac_ct_RANLIB"; then
11756 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11759 for as_dir
in $PATH
11762 test -z "$as_dir" && as_dir
=.
11763 for ac_exec_ext
in '' $ac_executable_extensions; do
11764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11765 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11772 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11775 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11776 if test -n "$ac_ct_RANLIB"; then
11777 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11778 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11780 echo "$as_me:$LINENO: result: no" >&5
11781 echo "${ECHO_T}no" >&6
11784 RANLIB
=$ac_ct_RANLIB
11786 RANLIB
="$ac_cv_prog_RANLIB"
11790 # Extract the first word of "ar", so it can be a program name with args.
11791 set dummy
ar; ac_word
=$2
11792 echo "$as_me:$LINENO: checking for $ac_word" >&5
11793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11794 if test "${ac_cv_prog_AR+set}" = set; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 if test -n "$AR"; then
11798 ac_cv_prog_AR
="$AR" # Let the user override the test.
11800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11801 for as_dir
in $PATH
11804 test -z "$as_dir" && as_dir
=.
11805 for ac_exec_ext
in '' $ac_executable_extensions; do
11806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11817 if test -n "$AR"; then
11818 echo "$as_me:$LINENO: result: $AR" >&5
11819 echo "${ECHO_T}$AR" >&6
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11825 if test "x$AR" = "x" ; then
11826 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11827 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11828 { (exit 1); exit 1; }; }
11831 # Find a good install program. We prefer a C program (faster),
11832 # so one script is as good as another. But avoid the broken or
11833 # incompatible versions:
11834 # SysV /etc/install, /usr/sbin/install
11835 # SunOS /usr/etc/install
11836 # IRIX /sbin/install
11838 # AmigaOS /C/install, which installs bootblocks on floppy discs
11839 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11840 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11841 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11842 # OS/2's system install, which has a completely different semantic
11843 # ./install, which can be erroneously created by make from ./install.sh.
11844 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11845 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11846 if test -z "$INSTALL"; then
11847 if test "${ac_cv_path_install+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11851 for as_dir
in $PATH
11854 test -z "$as_dir" && as_dir
=.
11855 # Account for people who put trailing slashes in PATH elements.
11857 .
/ | .
// | /cC
/* | \
11858 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11859 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11862 # OSF1 and SCO ODT 3.0 have their own names for install.
11863 # Don't use installbsd from OSF since it installs stuff as root
11865 for ac_prog
in ginstall scoinst
install; do
11866 for ac_exec_ext
in '' $ac_executable_extensions; do
11867 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11868 if test $ac_prog = install &&
11869 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11870 # AIX install. It has an incompatible calling convention.
11872 elif test $ac_prog = install &&
11873 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11874 # program-specific install script used by HP pwplus--don't use.
11877 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11889 if test "${ac_cv_path_install+set}" = set; then
11890 INSTALL
=$ac_cv_path_install
11892 # As a last resort, use the slow shell script. We don't cache a
11893 # path for INSTALL within a source directory, because that will
11894 # break other packages using the cache if that directory is
11895 # removed, or if the path is relative.
11896 INSTALL
=$ac_install_sh
11899 echo "$as_me:$LINENO: result: $INSTALL" >&5
11900 echo "${ECHO_T}$INSTALL" >&6
11902 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11903 # It thinks the first close brace ends the variable substitution.
11904 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11906 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11908 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11914 ?
:* ) # Drive letter, considered as absolute.
11917 INSTALL
=`pwd`/${INSTALL} ;;
11922 INSTALL_DIR
="mkdir"
11925 *) INSTALL_DIR
="$INSTALL -d"
11932 powerpc
-*-darwin* )
11933 INSTALL_PROGRAM
="cp -fp"
11934 INSTALL_DATA
="cp -fp"
11940 # Extract the first word of "strip", so it can be a program name with args.
11941 set dummy strip
; ac_word
=$2
11942 echo "$as_me:$LINENO: checking for $ac_word" >&5
11943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11944 if test "${ac_cv_prog_STRIP+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 if test -n "$STRIP"; then
11948 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11951 for as_dir
in $PATH
11954 test -z "$as_dir" && as_dir
=.
11955 for ac_exec_ext
in '' $ac_executable_extensions; do
11956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11957 ac_cv_prog_STRIP
="strip"
11958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11964 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11967 STRIP
=$ac_cv_prog_STRIP
11968 if test -n "$STRIP"; then
11969 echo "$as_me:$LINENO: result: $STRIP" >&5
11970 echo "${ECHO_T}$STRIP" >&6
11972 echo "$as_me:$LINENO: result: no" >&5
11973 echo "${ECHO_T}no" >&6
11977 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11978 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11979 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11984 egrep -s GNU
> /dev
/null
); then
11985 wx_cv_prog_makeisgnu
="yes"
11987 wx_cv_prog_makeisgnu
="no"
11991 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11992 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11994 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12002 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12003 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12004 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12005 if test "${wx_cv_prog_makevpath+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 cat - << EOF > confMake
12015 if test ! -d sub
; then
12018 echo dummy
> sub
/file
12019 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12021 rm -f sub
/file check final_file confMake
12023 if test "$RESULT" = 0; then
12024 wx_cv_prog_makevpath
="yes"
12026 wx_cv_prog_makevpath
="no"
12030 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12031 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12033 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12034 { { echo "$as_me:$LINENO: error:
12035 You need a make-utility that is able to use the variable
12037 If your version of make does not support VPATH correctly,
12038 please install GNU-make (possibly as gmake), and start
12039 configure with the following command:
12040 export MAKE=gmake; ./configure for sh-type shells
12041 setenv MAKE gmake; ./configure for csh-type shells
12042 Also please do remember to use gmake in this case every time
12043 you are trying to compile.
12045 echo "$as_me: error:
12046 You need a make-utility that is able to use the variable
12048 If your version of make does not support VPATH correctly,
12049 please install GNU-make (possibly as gmake), and start
12050 configure with the following command:
12051 export MAKE=gmake; ./configure for sh-type shells
12052 setenv MAKE gmake; ./configure for csh-type shells
12053 Also please do remember to use gmake in this case every time
12054 you are trying to compile.
12056 { (exit 1); exit 1; }; }
12058 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12059 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12061 if test "$LN_S" = "ln -s"; then
12062 echo "$as_me:$LINENO: result: yes" >&5
12063 echo "${ECHO_T}yes" >&6
12065 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12066 echo "${ECHO_T}no, using $LN_S" >&6
12072 *-pc-os2_emx | *-pc-os2-emx )
12073 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12074 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12075 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12076 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12079 ac_check_lib_save_LIBS
=$LIBS
12080 LIBS
="-lcExt $LIBS"
12081 cat >conftest.
$ac_ext <<_ACEOF
12084 cat confdefs.h
>>conftest.
$ac_ext
12085 cat >>conftest.
$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12088 /* Override any gcc2 internal prototype to avoid an error. */
12092 /* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
12103 rm -f conftest.
$ac_objext conftest
$ac_exeext
12104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>conftest.er1
12107 grep -v '^ *+' conftest.er1
>conftest.err
12109 cat conftest.err
>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try
='test -z "$ac_c_werror_flag"
12113 || test ! -s conftest.err'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; } &&
12119 { ac_try
='test -s conftest$ac_exeext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12125 ac_cv_lib_cExt_drand48
=yes
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12130 ac_cv_lib_cExt_drand48
=no
12132 rm -f conftest.err conftest.
$ac_objext \
12133 conftest
$ac_exeext conftest.
$ac_ext
12134 LIBS
=$ac_check_lib_save_LIBS
12136 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12137 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12138 if test $ac_cv_lib_cExt_drand48 = yes; then
12139 LIBS
="$LIBS -lcExt"
12143 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12145 echo "$as_me:$LINENO: checking for gcc version" >&5
12146 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12147 if test "${wx_cv_gccversion+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 cat >conftest.
$ac_ext <<_ACEOF
12154 cat confdefs.h
>>conftest.
$ac_ext
12155 cat >>conftest.
$ac_ext <<_ACEOF
12156 /* end confdefs.h. */
12170 rm -f conftest.
$ac_objext
12171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12172 (eval $ac_compile) 2>conftest.er1
12174 grep -v '^ *+' conftest.er1
>conftest.err
12176 cat conftest.err
>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } &&
12179 { ac_try
='test -z "$ac_c_werror_flag"
12180 || test ! -s conftest.err'
12181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12182 (eval $ac_try) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }; } &&
12186 { ac_try
='test -s conftest.$ac_objext'
12187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12188 (eval $ac_try) 2>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12193 cat >conftest.
$ac_ext <<_ACEOF
12196 cat confdefs.h
>>conftest.
$ac_ext
12197 cat >>conftest.
$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12204 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12205 #error intermediate gcc
12212 rm -f conftest.
$ac_objext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12214 (eval $ac_compile) 2>conftest.er1
12216 grep -v '^ *+' conftest.er1
>conftest.err
12218 cat conftest.err
>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try
='test -z "$ac_c_werror_flag"
12222 || test ! -s conftest.err'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; } &&
12228 { ac_try
='test -s conftest.$ac_objext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12235 wx_cv_gccversion
=Innotek
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.
$ac_ext >&5
12257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12260 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12261 echo "${ECHO_T}$wx_cv_gccversion" >&6
12262 if test "$wx_cv_gccversion" = "2"; then
12263 LIBS
="$LIBS -lstdcpp"
12264 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12266 if test "$wx_cv_gccversion" = "3"; then
12267 LIBS
="$LIBS -lstdcxx"
12268 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12270 LIBS
="$LIBS -lstdc++"
12279 ac_cpp
='$CXXCPP $CPPFLAGS'
12280 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12281 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12282 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12286 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12287 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12288 if test "${ac_cv_string_strcasecmp+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 cat >conftest.
$ac_ext <<_ACEOF
12295 cat confdefs.h
>>conftest.
$ac_ext
12296 cat >>conftest.
$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12299 #include <string.h>
12305 strcasecmp("foo", "bar");
12311 rm -f conftest.
$ac_objext conftest
$ac_exeext
12312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12313 (eval $ac_link) 2>conftest.er1
12315 grep -v '^ *+' conftest.er1
>conftest.err
12317 cat conftest.err
>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } &&
12320 { ac_try
='test -z "$ac_cxx_werror_flag"
12321 || test ! -s conftest.err'
12322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12323 (eval $ac_try) 2>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; } &&
12327 { ac_try
='test -s conftest$ac_exeext'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12333 ac_cv_string_strcasecmp
=yes
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.
$ac_ext >&5
12338 ac_cv_string_strcasecmp
=no
12341 rm -f conftest.err conftest.
$ac_objext \
12342 conftest
$ac_exeext conftest.
$ac_ext
12345 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12346 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12348 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12349 cat >>confdefs.h
<<\_ACEOF
12350 #define HAVE_STRCASECMP_IN_STRING_H 1
12354 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12355 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12356 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12360 cat >conftest.
$ac_ext <<_ACEOF
12363 cat confdefs.h
>>conftest.
$ac_ext
12364 cat >>conftest.
$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12367 #include <strings.h>
12373 strcasecmp("foo", "bar");
12379 rm -f conftest.
$ac_objext conftest
$ac_exeext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12381 (eval $ac_link) 2>conftest.er1
12383 grep -v '^ *+' conftest.er1
>conftest.err
12385 cat conftest.err
>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try
='test -z "$ac_cxx_werror_flag"
12389 || test ! -s conftest.err'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try
='test -s conftest$ac_exeext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then
12401 ac_cv_strings_strcasecmp
=yes
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.
$ac_ext >&5
12406 ac_cv_strings_strcasecmp
=no
12409 rm -f conftest.err conftest.
$ac_objext \
12410 conftest
$ac_exeext conftest.
$ac_ext
12413 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12414 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12416 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12417 cat >>confdefs.h
<<\_ACEOF
12418 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12422 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12423 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12424 { (exit 1); exit 1; }; }
12429 ac_cpp
='$CPP $CPPFLAGS'
12430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12438 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12439 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12440 if test "${ac_cv_header_stdc+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 #include <stdlib.h>
12450 #include <stdarg.h>
12451 #include <string.h>
12462 rm -f conftest.
$ac_objext
12463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12464 (eval $ac_compile) 2>conftest.er1
12466 grep -v '^ *+' conftest.er1
>conftest.err
12468 cat conftest.err
>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } &&
12471 { ac_try
='test -z "$ac_c_werror_flag"
12472 || test ! -s conftest.err'
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); }; } &&
12478 { ac_try
='test -s conftest.$ac_objext'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; }; then
12484 ac_cv_header_stdc
=yes
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.
$ac_ext >&5
12489 ac_cv_header_stdc
=no
12491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12493 if test $ac_cv_header_stdc = yes; then
12494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12495 cat >conftest.
$ac_ext <<_ACEOF
12498 cat confdefs.h
>>conftest.
$ac_ext
12499 cat >>conftest.
$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 #include <string.h>
12504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12505 $EGREP "memchr" >/dev
/null
2>&1; then
12508 ac_cv_header_stdc
=no
12514 if test $ac_cv_header_stdc = yes; then
12515 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12522 #include <stdlib.h>
12525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12526 $EGREP "free" >/dev
/null
2>&1; then
12529 ac_cv_header_stdc
=no
12535 if test $ac_cv_header_stdc = yes; then
12536 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12537 if test "$cross_compiling" = yes; then
12540 cat >conftest.
$ac_ext <<_ACEOF
12543 cat confdefs.h
>>conftest.
$ac_ext
12544 cat >>conftest.
$ac_ext <<_ACEOF
12545 /* end confdefs.h. */
12547 #if ((' ' & 0x0FF) == 0x020)
12548 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12549 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12551 # define ISLOWER(c) \
12552 (('a' <= (c) && (c) <= 'i') \
12553 || ('j' <= (c) && (c) <= 'r') \
12554 || ('s' <= (c) && (c) <= 'z'))
12555 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12558 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12563 for (i = 0; i < 256; i++)
12564 if (XOR (islower (i), ISLOWER (i))
12565 || toupper (i) != TOUPPER (i))
12570 rm -f conftest
$ac_exeext
12571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12572 (eval $ac_link) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; }; then
12583 echo "$as_me: program exited with status $ac_status" >&5
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.
$ac_ext >&5
12587 ( exit $ac_status )
12588 ac_cv_header_stdc
=no
12590 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12594 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12595 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12596 if test $ac_cv_header_stdc = yes; then
12598 cat >>confdefs.h
<<\_ACEOF
12599 #define STDC_HEADERS 1
12604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12614 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12615 inttypes.h stdint.h unistd.h
12617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12618 echo "$as_me:$LINENO: checking for $ac_header" >&5
12619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 cat >conftest.
$ac_ext <<_ACEOF
12626 cat confdefs.h
>>conftest.
$ac_ext
12627 cat >>conftest.
$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12629 $ac_includes_default
12631 #include <$ac_header>
12633 rm -f conftest.
$ac_objext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>conftest.er1
12637 grep -v '^ *+' conftest.er1
>conftest.err
12639 cat conftest.err
>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try
='test -z "$ac_c_werror_flag"
12643 || test ! -s conftest.err'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; } &&
12649 { ac_try
='test -s conftest.$ac_objext'
12650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12651 (eval $ac_try) 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; }; then
12655 eval "$as_ac_Header=yes"
12657 echo "$as_me: failed program was:" >&5
12658 sed 's/^/| /' conftest.
$ac_ext >&5
12660 eval "$as_ac_Header=no"
12662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12667 cat >>confdefs.h
<<_ACEOF
12668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12677 for ac_header
in stdlib.h
12679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12681 echo "$as_me:$LINENO: checking for $ac_header" >&5
12682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12689 # Is the header compilable?
12690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 $ac_includes_default
12699 #include <$ac_header>
12701 rm -f conftest.
$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1
>conftest.err
12707 cat conftest.err
>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try
='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try
='test -s conftest.$ac_objext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_header_compiler
=yes
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.
$ac_ext >&5
12728 ac_header_compiler
=no
12730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12732 echo "${ECHO_T}$ac_header_compiler" >&6
12734 # Is the header present?
12735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12737 cat >conftest.
$ac_ext <<_ACEOF
12740 cat confdefs.h
>>conftest.
$ac_ext
12741 cat >>conftest.
$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12743 #include <$ac_header>
12745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12748 grep -v '^ *+' conftest.er1
>conftest.err
12750 cat conftest.err
>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } >/dev
/null
; then
12753 if test -s conftest.err
; then
12754 ac_cpp_err
=$ac_c_preproc_warn_flag
12755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12762 if test -z "$ac_cpp_err"; then
12763 ac_header_preproc
=yes
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 ac_header_preproc
=no
12770 rm -f conftest.err conftest.
$ac_ext
12771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12772 echo "${ECHO_T}$ac_header_preproc" >&6
12774 # So? What about this header?
12775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12781 ac_header_preproc
=yes
12784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12798 ## ----------------------------------------- ##
12799 ## Report this to wx-dev@lists.wxwindows.org ##
12800 ## ----------------------------------------- ##
12803 sed "s/^/$as_me: WARNING: /" >&2
12806 echo "$as_me:$LINENO: checking for $ac_header" >&5
12807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 eval "$as_ac_Header=\$ac_header_preproc"
12813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12818 cat >>confdefs.h
<<_ACEOF
12819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12827 for ac_header
in malloc.h
12829 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12831 echo "$as_me:$LINENO: checking for $ac_header" >&5
12832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12839 # Is the header compilable?
12840 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12842 cat >conftest.
$ac_ext <<_ACEOF
12845 cat confdefs.h
>>conftest.
$ac_ext
12846 cat >>conftest.
$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 $ac_includes_default
12849 #include <$ac_header>
12851 rm -f conftest.
$ac_objext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12853 (eval $ac_compile) 2>conftest.er1
12855 grep -v '^ *+' conftest.er1
>conftest.err
12857 cat conftest.err
>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try
='test -z "$ac_c_werror_flag"
12861 || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try
='test -s conftest.$ac_objext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_header_compiler
=yes
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.
$ac_ext >&5
12878 ac_header_compiler
=no
12880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12882 echo "${ECHO_T}$ac_header_compiler" >&6
12884 # Is the header present?
12885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12887 cat >conftest.
$ac_ext <<_ACEOF
12890 cat confdefs.h
>>conftest.
$ac_ext
12891 cat >>conftest.
$ac_ext <<_ACEOF
12892 /* end confdefs.h. */
12893 #include <$ac_header>
12895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12898 grep -v '^ *+' conftest.er1
>conftest.err
12900 cat conftest.err
>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } >/dev
/null
; then
12903 if test -s conftest.err
; then
12904 ac_cpp_err
=$ac_c_preproc_warn_flag
12905 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12912 if test -z "$ac_cpp_err"; then
12913 ac_header_preproc
=yes
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.
$ac_ext >&5
12918 ac_header_preproc
=no
12920 rm -f conftest.err conftest.
$ac_ext
12921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12922 echo "${ECHO_T}$ac_header_preproc" >&6
12924 # So? What about this header?
12925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12931 ac_header_preproc
=yes
12934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12948 ## ----------------------------------------- ##
12949 ## Report this to wx-dev@lists.wxwindows.org ##
12950 ## ----------------------------------------- ##
12953 sed "s/^/$as_me: WARNING: /" >&2
12956 echo "$as_me:$LINENO: checking for $ac_header" >&5
12957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 eval "$as_ac_Header=\$ac_header_preproc"
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12968 cat >>confdefs.h
<<_ACEOF
12969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12977 for ac_header
in unistd.h
12979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12981 echo "$as_me:$LINENO: checking for $ac_header" >&5
12982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12989 # Is the header compilable?
12990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12992 cat >conftest.
$ac_ext <<_ACEOF
12995 cat confdefs.h
>>conftest.
$ac_ext
12996 cat >>conftest.
$ac_ext <<_ACEOF
12997 /* end confdefs.h. */
12998 $ac_includes_default
12999 #include <$ac_header>
13001 rm -f conftest.
$ac_objext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13003 (eval $ac_compile) 2>conftest.er1
13005 grep -v '^ *+' conftest.er1
>conftest.err
13007 cat conftest.err
>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); } &&
13010 { ac_try
='test -z "$ac_c_werror_flag"
13011 || test ! -s conftest.err'
13012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13013 (eval $ac_try) 2>&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; } &&
13017 { ac_try
='test -s conftest.$ac_objext'
13018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019 (eval $ac_try) 2>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); }; }; then
13023 ac_header_compiler
=yes
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.
$ac_ext >&5
13028 ac_header_compiler
=no
13030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13032 echo "${ECHO_T}$ac_header_compiler" >&6
13034 # Is the header present?
13035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13037 cat >conftest.
$ac_ext <<_ACEOF
13040 cat confdefs.h
>>conftest.
$ac_ext
13041 cat >>conftest.
$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 #include <$ac_header>
13045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13048 grep -v '^ *+' conftest.er1
>conftest.err
13050 cat conftest.err
>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } >/dev
/null
; then
13053 if test -s conftest.err
; then
13054 ac_cpp_err
=$ac_c_preproc_warn_flag
13055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13062 if test -z "$ac_cpp_err"; then
13063 ac_header_preproc
=yes
13065 echo "$as_me: failed program was:" >&5
13066 sed 's/^/| /' conftest.
$ac_ext >&5
13068 ac_header_preproc
=no
13070 rm -f conftest.err conftest.
$ac_ext
13071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13072 echo "${ECHO_T}$ac_header_preproc" >&6
13074 # So? What about this header?
13075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13081 ac_header_preproc
=yes
13084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13098 ## ----------------------------------------- ##
13099 ## Report this to wx-dev@lists.wxwindows.org ##
13100 ## ----------------------------------------- ##
13103 sed "s/^/$as_me: WARNING: /" >&2
13106 echo "$as_me:$LINENO: checking for $ac_header" >&5
13107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 eval "$as_ac_Header=\$ac_header_preproc"
13113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13118 cat >>confdefs.h
<<_ACEOF
13119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13127 for ac_header
in wchar.h
13129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13131 echo "$as_me:$LINENO: checking for $ac_header" >&5
13132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13139 # Is the header compilable?
13140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13142 cat >conftest.
$ac_ext <<_ACEOF
13145 cat confdefs.h
>>conftest.
$ac_ext
13146 cat >>conftest.
$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13148 $ac_includes_default
13149 #include <$ac_header>
13151 rm -f conftest.
$ac_objext
13152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13153 (eval $ac_compile) 2>conftest.er1
13155 grep -v '^ *+' conftest.er1
>conftest.err
13157 cat conftest.err
>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } &&
13160 { ac_try
='test -z "$ac_c_werror_flag"
13161 || test ! -s conftest.err'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; } &&
13167 { ac_try
='test -s conftest.$ac_objext'
13168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13169 (eval $ac_try) 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; }; then
13173 ac_header_compiler
=yes
13175 echo "$as_me: failed program was:" >&5
13176 sed 's/^/| /' conftest.
$ac_ext >&5
13178 ac_header_compiler
=no
13180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13182 echo "${ECHO_T}$ac_header_compiler" >&6
13184 # Is the header present?
13185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13187 cat >conftest.
$ac_ext <<_ACEOF
13190 cat confdefs.h
>>conftest.
$ac_ext
13191 cat >>conftest.
$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #include <$ac_header>
13195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13196 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13198 grep -v '^ *+' conftest.er1
>conftest.err
13200 cat conftest.err
>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); } >/dev
/null
; then
13203 if test -s conftest.err
; then
13204 ac_cpp_err
=$ac_c_preproc_warn_flag
13205 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13212 if test -z "$ac_cpp_err"; then
13213 ac_header_preproc
=yes
13215 echo "$as_me: failed program was:" >&5
13216 sed 's/^/| /' conftest.
$ac_ext >&5
13218 ac_header_preproc
=no
13220 rm -f conftest.err conftest.
$ac_ext
13221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13222 echo "${ECHO_T}$ac_header_preproc" >&6
13224 # So? What about this header?
13225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13231 ac_header_preproc
=yes
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13248 ## ----------------------------------------- ##
13249 ## Report this to wx-dev@lists.wxwindows.org ##
13250 ## ----------------------------------------- ##
13253 sed "s/^/$as_me: WARNING: /" >&2
13256 echo "$as_me:$LINENO: checking for $ac_header" >&5
13257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 eval "$as_ac_Header=\$ac_header_preproc"
13263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13268 cat >>confdefs.h
<<_ACEOF
13269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13277 if test "$ac_cv_header_wchar_h" != "yes"; then
13279 for ac_header
in wcstr.h
13281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13283 echo "$as_me:$LINENO: checking for $ac_header" >&5
13284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13286 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13291 # Is the header compilable?
13292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 $ac_includes_default
13301 #include <$ac_header>
13303 rm -f conftest.
$ac_objext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13305 (eval $ac_compile) 2>conftest.er1
13307 grep -v '^ *+' conftest.er1
>conftest.err
13309 cat conftest.err
>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } &&
13312 { ac_try
='test -z "$ac_c_werror_flag"
13313 || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try
='test -s conftest.$ac_objext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 ac_header_compiler
=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 ac_header_compiler
=no
13332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13334 echo "${ECHO_T}$ac_header_compiler" >&6
13336 # Is the header present?
13337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13339 cat >conftest.
$ac_ext <<_ACEOF
13342 cat confdefs.h
>>conftest.
$ac_ext
13343 cat >>conftest.
$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 #include <$ac_header>
13347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13350 grep -v '^ *+' conftest.er1
>conftest.err
13352 cat conftest.err
>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } >/dev
/null
; then
13355 if test -s conftest.err
; then
13356 ac_cpp_err
=$ac_c_preproc_warn_flag
13357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13364 if test -z "$ac_cpp_err"; then
13365 ac_header_preproc
=yes
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.
$ac_ext >&5
13370 ac_header_preproc
=no
13372 rm -f conftest.err conftest.
$ac_ext
13373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13374 echo "${ECHO_T}$ac_header_preproc" >&6
13376 # So? What about this header?
13377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13383 ac_header_preproc
=yes
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13400 ## ----------------------------------------- ##
13401 ## Report this to wx-dev@lists.wxwindows.org ##
13402 ## ----------------------------------------- ##
13405 sed "s/^/$as_me: WARNING: /" >&2
13408 echo "$as_me:$LINENO: checking for $ac_header" >&5
13409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 eval "$as_ac_Header=\$ac_header_preproc"
13415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13420 cat >>confdefs.h
<<_ACEOF
13421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13431 for ac_header
in fnmatch.h
13433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13435 echo "$as_me:$LINENO: checking for $ac_header" >&5
13436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13443 # Is the header compilable?
13444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13449 cat confdefs.h
>>conftest.
$ac_ext
13450 cat >>conftest.
$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452 $ac_includes_default
13453 #include <$ac_header>
13455 rm -f conftest.
$ac_objext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13457 (eval $ac_compile) 2>conftest.er1
13459 grep -v '^ *+' conftest.er1
>conftest.err
13461 cat conftest.err
>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } &&
13464 { ac_try
='test -z "$ac_c_werror_flag"
13465 || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try
='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_header_compiler
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 ac_header_compiler
=no
13484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13486 echo "${ECHO_T}$ac_header_compiler" >&6
13488 # Is the header present?
13489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13491 cat >conftest.
$ac_ext <<_ACEOF
13494 cat confdefs.h
>>conftest.
$ac_ext
13495 cat >>conftest.
$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 #include <$ac_header>
13499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13502 grep -v '^ *+' conftest.er1
>conftest.err
13504 cat conftest.err
>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } >/dev
/null
; then
13507 if test -s conftest.err
; then
13508 ac_cpp_err
=$ac_c_preproc_warn_flag
13509 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13516 if test -z "$ac_cpp_err"; then
13517 ac_header_preproc
=yes
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 ac_header_preproc
=no
13524 rm -f conftest.err conftest.
$ac_ext
13525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13526 echo "${ECHO_T}$ac_header_preproc" >&6
13528 # So? What about this header?
13529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13535 ac_header_preproc
=yes
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13552 ## ----------------------------------------- ##
13553 ## Report this to wx-dev@lists.wxwindows.org ##
13554 ## ----------------------------------------- ##
13557 sed "s/^/$as_me: WARNING: /" >&2
13560 echo "$as_me:$LINENO: checking for $ac_header" >&5
13561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 eval "$as_ac_Header=\$ac_header_preproc"
13567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13572 cat >>confdefs.h
<<_ACEOF
13573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13581 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13583 for ac_func
in fnmatch
13585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13586 echo "$as_me:$LINENO: checking for $ac_func" >&5
13587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13588 if eval "test \"\${$as_ac_var+set}\" = set"; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 cat >conftest.
$ac_ext <<_ACEOF
13594 cat confdefs.h
>>conftest.
$ac_ext
13595 cat >>conftest.
$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13599 #define $ac_func innocuous_$ac_func
13601 /* System header to define __stub macros and hopefully few prototypes,
13602 which can conflict with char $ac_func (); below.
13603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13604 <limits.h> exists even on freestanding compilers. */
13607 # include <limits.h>
13609 # include <assert.h>
13614 /* Override any gcc2 internal prototype to avoid an error. */
13619 /* We use char because int might match the return type of a gcc2
13620 builtin and then its argument prototype would still apply. */
13622 /* The GNU C library defines this for functions which it implements
13623 to always fail with ENOSYS. Some functions are actually named
13624 something starting with __ and the normal name is an alias. */
13625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13628 char (*f) () = $ac_func;
13637 return f != $ac_func;
13642 rm -f conftest.
$ac_objext conftest
$ac_exeext
13643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13644 (eval $ac_link) 2>conftest.er1
13646 grep -v '^ *+' conftest.er1
>conftest.err
13648 cat conftest.err
>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } &&
13651 { ac_try
='test -z "$ac_c_werror_flag"
13652 || test ! -s conftest.err'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; } &&
13658 { ac_try
='test -s conftest$ac_exeext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 eval "$as_ac_var=yes"
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.
$ac_ext >&5
13669 eval "$as_ac_var=no"
13671 rm -f conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13676 if test `eval echo '${'$as_ac_var'}'` = yes; then
13677 cat >>confdefs.h
<<_ACEOF
13678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13687 for ac_header
in langinfo.h
13689 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13691 echo "$as_me:$LINENO: checking for $ac_header" >&5
13692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13699 # Is the header compilable?
13700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13702 cat >conftest.
$ac_ext <<_ACEOF
13705 cat confdefs.h
>>conftest.
$ac_ext
13706 cat >>conftest.
$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 $ac_includes_default
13709 #include <$ac_header>
13711 rm -f conftest.
$ac_objext
13712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13713 (eval $ac_compile) 2>conftest.er1
13715 grep -v '^ *+' conftest.er1
>conftest.err
13717 cat conftest.err
>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try
='test -z "$ac_c_werror_flag"
13721 || test ! -s conftest.err'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; } &&
13727 { ac_try
='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_header_compiler
=yes
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.
$ac_ext >&5
13738 ac_header_compiler
=no
13740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13742 echo "${ECHO_T}$ac_header_compiler" >&6
13744 # Is the header present?
13745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13747 cat >conftest.
$ac_ext <<_ACEOF
13750 cat confdefs.h
>>conftest.
$ac_ext
13751 cat >>conftest.
$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #include <$ac_header>
13755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13758 grep -v '^ *+' conftest.er1
>conftest.err
13760 cat conftest.err
>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } >/dev
/null
; then
13763 if test -s conftest.err
; then
13764 ac_cpp_err
=$ac_c_preproc_warn_flag
13765 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13772 if test -z "$ac_cpp_err"; then
13773 ac_header_preproc
=yes
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.
$ac_ext >&5
13778 ac_header_preproc
=no
13780 rm -f conftest.err conftest.
$ac_ext
13781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13782 echo "${ECHO_T}$ac_header_preproc" >&6
13784 # So? What about this header?
13785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13791 ac_header_preproc
=yes
13794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13808 ## ----------------------------------------- ##
13809 ## Report this to wx-dev@lists.wxwindows.org ##
13810 ## ----------------------------------------- ##
13813 sed "s/^/$as_me: WARNING: /" >&2
13816 echo "$as_me:$LINENO: checking for $ac_header" >&5
13817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13821 eval "$as_ac_Header=\$ac_header_preproc"
13823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13828 cat >>confdefs.h
<<_ACEOF
13829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13838 *-pc-os2_emx | *-pc-os2-emx )
13839 if test $ac_cv_header_langinfo_h = "yes"; then
13840 LIBS
="$LIBS -lintl"
13845 if test "$wxUSE_GUI" = "yes"; then
13846 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13848 for ac_header
in X
11/Xlib.h
13850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13852 echo "$as_me:$LINENO: checking for $ac_header" >&5
13853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13860 # Is the header compilable?
13861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13863 cat >conftest.
$ac_ext <<_ACEOF
13866 cat confdefs.h
>>conftest.
$ac_ext
13867 cat >>conftest.
$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13869 $ac_includes_default
13870 #include <$ac_header>
13872 rm -f conftest.
$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>conftest.er1
13876 grep -v '^ *+' conftest.er1
>conftest.err
13878 cat conftest.err
>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } &&
13881 { ac_try
='test -z "$ac_c_werror_flag"
13882 || test ! -s conftest.err'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; } &&
13888 { ac_try
='test -s conftest.$ac_objext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_header_compiler
=yes
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 ac_header_compiler
=no
13901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13903 echo "${ECHO_T}$ac_header_compiler" >&6
13905 # Is the header present?
13906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13908 cat >conftest.
$ac_ext <<_ACEOF
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 #include <$ac_header>
13916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13919 grep -v '^ *+' conftest.er1
>conftest.err
13921 cat conftest.err
>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } >/dev
/null
; then
13924 if test -s conftest.err
; then
13925 ac_cpp_err
=$ac_c_preproc_warn_flag
13926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13933 if test -z "$ac_cpp_err"; then
13934 ac_header_preproc
=yes
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.
$ac_ext >&5
13939 ac_header_preproc
=no
13941 rm -f conftest.err conftest.
$ac_ext
13942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13943 echo "${ECHO_T}$ac_header_preproc" >&6
13945 # So? What about this header?
13946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13952 ac_header_preproc
=yes
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13969 ## ----------------------------------------- ##
13970 ## Report this to wx-dev@lists.wxwindows.org ##
13971 ## ----------------------------------------- ##
13974 sed "s/^/$as_me: WARNING: /" >&2
13977 echo "$as_me:$LINENO: checking for $ac_header" >&5
13978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 eval "$as_ac_Header=\$ac_header_preproc"
13984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13989 cat >>confdefs.h
<<_ACEOF
13990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13998 for ac_header
in X
11/XKBlib.h
14000 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14001 echo "$as_me:$LINENO: checking for $ac_header" >&5
14002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14006 cat >conftest.
$ac_ext <<_ACEOF
14009 cat confdefs.h
>>conftest.
$ac_ext
14010 cat >>conftest.
$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14013 #if HAVE_X11_XLIB_H
14014 #include <X11/Xlib.h>
14018 #include <$ac_header>
14020 rm -f conftest.
$ac_objext
14021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14022 (eval $ac_compile) 2>conftest.er1
14024 grep -v '^ *+' conftest.er1
>conftest.err
14026 cat conftest.err
>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try
='test -z "$ac_c_werror_flag"
14030 || test ! -s conftest.err'
14031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14032 (eval $ac_try) 2>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); }; } &&
14036 { ac_try
='test -s conftest.$ac_objext'
14037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14038 (eval $ac_try) 2>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); }; }; then
14042 eval "$as_ac_Header=yes"
14044 echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.
$ac_ext >&5
14047 eval "$as_ac_Header=no"
14049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14054 cat >>confdefs.h
<<_ACEOF
14055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14066 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14067 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14068 if test "${ac_cv_c_const+set}" = set; then
14069 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 cat >conftest.
$ac_ext <<_ACEOF
14074 cat confdefs.h
>>conftest.
$ac_ext
14075 cat >>conftest.
$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14081 /* FIXME: Include the comments suggested by Paul. */
14082 #ifndef __cplusplus
14083 /* Ultrix mips cc rejects this. */
14084 typedef int charset[2];
14086 /* SunOS 4.1.1 cc rejects this. */
14087 char const *const *ccp;
14089 /* NEC SVR4.0.2 mips cc rejects this. */
14090 struct point {int x, y;};
14091 static struct point const zero = {0,0};
14092 /* AIX XL C 1.02.0.0 rejects this.
14093 It does not let you subtract one const X* pointer from another in
14094 an arm of an if-expression whose if-part is not a constant
14096 const char *g = "string";
14097 ccp = &g + (g ? g-g : 0);
14098 /* HPUX 7.0 cc rejects these. */
14101 ccp = (char const *const *) p;
14102 { /* SCO 3.2v4 cc rejects this. */
14104 char const *s = 0 ? (char *) 0 : (char const *) 0;
14108 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14109 int x[] = {25, 17};
14110 const int *foo = &x[0];
14113 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14114 typedef const int *iptr;
14118 { /* AIX XL C 1.02.0.0 rejects this saying
14119 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14120 struct s { int j; const int *ap[3]; };
14121 struct s *b; b->j = 5;
14123 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14124 const int foo = 10;
14132 rm -f conftest.
$ac_objext
14133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14134 (eval $ac_compile) 2>conftest.er1
14136 grep -v '^ *+' conftest.er1
>conftest.err
14138 cat conftest.err
>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try
='test -z "$ac_c_werror_flag"
14142 || test ! -s conftest.err'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; } &&
14148 { ac_try
='test -s conftest.$ac_objext'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14163 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14164 echo "${ECHO_T}$ac_cv_c_const" >&6
14165 if test $ac_cv_c_const = no
; then
14167 cat >>confdefs.h
<<\_ACEOF
14173 echo "$as_me:$LINENO: checking for inline" >&5
14174 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14175 if test "${ac_cv_c_inline+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 for ac_kw
in inline __inline__ __inline
; do
14180 cat >conftest.
$ac_ext <<_ACEOF
14183 cat confdefs.h
>>conftest.
$ac_ext
14184 cat >>conftest.
$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 #ifndef __cplusplus
14188 static $ac_kw foo_t static_foo () {return 0; }
14189 $ac_kw foo_t foo () {return 0; }
14193 rm -f conftest.
$ac_objext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14195 (eval $ac_compile) 2>conftest.er1
14197 grep -v '^ *+' conftest.er1
>conftest.err
14199 cat conftest.err
>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } &&
14202 { ac_try
='test -z "$ac_c_werror_flag"
14203 || test ! -s conftest.err'
14204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14205 (eval $ac_try) 2>&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); }; } &&
14209 { ac_try
='test -s conftest.$ac_objext'
14210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14211 (eval $ac_try) 2>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); }; }; then
14215 ac_cv_c_inline
=$ac_kw; break
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.
$ac_ext >&5
14221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14225 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14226 echo "${ECHO_T}$ac_cv_c_inline" >&6
14229 case $ac_cv_c_inline in
14232 case $ac_cv_c_inline in
14234 *) ac_val
=$ac_cv_c_inline;;
14236 cat >>confdefs.h
<<_ACEOF
14237 #ifndef __cplusplus
14238 #define inline $ac_val
14245 echo "$as_me:$LINENO: checking for char" >&5
14246 echo $ECHO_N "checking for char... $ECHO_C" >&6
14247 if test "${ac_cv_type_char+set}" = set; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14250 cat >conftest.
$ac_ext <<_ACEOF
14253 cat confdefs.h
>>conftest.
$ac_ext
14254 cat >>conftest.
$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 $ac_includes_default
14268 rm -f conftest.
$ac_objext
14269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14270 (eval $ac_compile) 2>conftest.er1
14272 grep -v '^ *+' conftest.er1
>conftest.err
14274 cat conftest.err
>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try
='test -z "$ac_c_werror_flag"
14278 || test ! -s conftest.err'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; } &&
14284 { ac_try
='test -s conftest.$ac_objext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_cv_type_char
=yes
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.
$ac_ext >&5
14297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14299 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14300 echo "${ECHO_T}$ac_cv_type_char" >&6
14302 echo "$as_me:$LINENO: checking size of char" >&5
14303 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14304 if test "${ac_cv_sizeof_char+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 if test "$ac_cv_type_char" = yes; then
14308 # The cast to unsigned long works around a bug in the HP C Compiler
14309 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14310 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14311 # This bug is HP SR number 8606223364.
14312 if test "$cross_compiling" = yes; then
14313 # Depending upon the size, compute the lo and hi bounds.
14314 cat >conftest.
$ac_ext <<_ACEOF
14317 cat confdefs.h
>>conftest.
$ac_ext
14318 cat >>conftest.
$ac_ext <<_ACEOF
14319 /* end confdefs.h. */
14320 $ac_includes_default
14324 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14331 rm -f conftest.
$ac_objext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14333 (eval $ac_compile) 2>conftest.er1
14335 grep -v '^ *+' conftest.er1
>conftest.err
14337 cat conftest.err
>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -z "$ac_c_werror_flag"
14341 || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try
='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 $ac_includes_default
14365 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14372 rm -f conftest.
$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>conftest.er1
14376 grep -v '^ *+' conftest.er1
>conftest.err
14378 cat conftest.err
>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try
='test -z "$ac_c_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try
='test -s conftest.$ac_objext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14394 ac_hi
=$ac_mid; break
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.
$ac_ext >&5
14399 ac_lo
=`expr $ac_mid + 1`
14400 if test $ac_lo -le $ac_mid; then
14404 ac_mid
=`expr 2 '*' $ac_mid + 1`
14406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14409 echo "$as_me: failed program was:" >&5
14410 sed 's/^/| /' conftest.
$ac_ext >&5
14412 cat >conftest.
$ac_ext <<_ACEOF
14415 cat confdefs.h
>>conftest.
$ac_ext
14416 cat >>conftest.
$ac_ext <<_ACEOF
14417 /* end confdefs.h. */
14418 $ac_includes_default
14422 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14429 rm -f conftest.
$ac_objext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14431 (eval $ac_compile) 2>conftest.er1
14433 grep -v '^ *+' conftest.er1
>conftest.err
14435 cat conftest.err
>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try
='test -z "$ac_c_werror_flag"
14439 || test ! -s conftest.err'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try
='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14453 cat >conftest.
$ac_ext <<_ACEOF
14456 cat confdefs.h
>>conftest.
$ac_ext
14457 cat >>conftest.
$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 $ac_includes_default
14463 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14470 rm -f conftest.
$ac_objext
14471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14472 (eval $ac_compile) 2>conftest.er1
14474 grep -v '^ *+' conftest.er1
>conftest.err
14476 cat conftest.err
>&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } &&
14479 { ac_try
='test -z "$ac_c_werror_flag"
14480 || test ! -s conftest.err'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; } &&
14486 { ac_try
='test -s conftest.$ac_objext'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; }; then
14492 ac_lo
=$ac_mid; break
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.
$ac_ext >&5
14497 ac_hi
=`expr '(' $ac_mid ')' - 1`
14498 if test $ac_mid -le $ac_hi; then
14502 ac_mid
=`expr 2 '*' $ac_mid`
14504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.
$ac_ext >&5
14512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14515 # Binary search between lo and hi bounds.
14516 while test "x$ac_lo" != "x$ac_hi"; do
14517 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14518 cat >conftest.
$ac_ext <<_ACEOF
14521 cat confdefs.h
>>conftest.
$ac_ext
14522 cat >>conftest.
$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14524 $ac_includes_default
14528 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14535 rm -f conftest.
$ac_objext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14537 (eval $ac_compile) 2>conftest.er1
14539 grep -v '^ *+' conftest.er1
>conftest.err
14541 cat conftest.err
>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } &&
14544 { ac_try
='test -z "$ac_c_werror_flag"
14545 || test ! -s conftest.err'
14546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547 (eval $ac_try) 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try
='test -s conftest.$ac_objext'
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14553 (eval $ac_try) 2>&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); }; }; then
14559 echo "$as_me: failed program was:" >&5
14560 sed 's/^/| /' conftest.
$ac_ext >&5
14562 ac_lo
=`expr '(' $ac_mid ')' + 1`
14564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14567 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14569 See \`config.log' for more details." >&5
14570 echo "$as_me: error: cannot compute sizeof (char), 77
14571 See \`config.log' for more details." >&2;}
14572 { (exit 1); exit 1; }; } ;;
14575 if test "$cross_compiling" = yes; then
14576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14577 See \`config.log' for more details." >&5
14578 echo "$as_me: error: cannot run test program while cross compiling
14579 See \`config.log' for more details." >&2;}
14580 { (exit 1); exit 1; }; }
14582 cat >conftest.
$ac_ext <<_ACEOF
14585 cat confdefs.h
>>conftest.
$ac_ext
14586 cat >>conftest.
$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 $ac_includes_default
14589 long longval () { return (long) (sizeof (char)); }
14590 unsigned long ulongval () { return (long) (sizeof (char)); }
14592 #include <stdlib.h>
14597 FILE *f = fopen ("conftest.val", "w");
14600 if (((long) (sizeof (char))) < 0)
14602 long i = longval ();
14603 if (i != ((long) (sizeof (char))))
14605 fprintf (f, "%ld\n", i);
14609 unsigned long i = ulongval ();
14610 if (i != ((long) (sizeof (char))))
14612 fprintf (f, "%lu\n", i);
14614 exit (ferror (f) || fclose (f) != 0);
14620 rm -f conftest
$ac_exeext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14622 (eval $ac_link) 2>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; }; then
14631 ac_cv_sizeof_char
=`cat conftest.val`
14633 echo "$as_me: program exited with status $ac_status" >&5
14634 echo "$as_me: failed program was:" >&5
14635 sed 's/^/| /' conftest.
$ac_ext >&5
14637 ( exit $ac_status )
14638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14639 See \`config.log' for more details." >&5
14640 echo "$as_me: error: cannot compute sizeof (char), 77
14641 See \`config.log' for more details." >&2;}
14642 { (exit 1); exit 1; }; }
14644 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14649 ac_cv_sizeof_char
=0
14652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14653 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14654 cat >>confdefs.h
<<_ACEOF
14655 #define SIZEOF_CHAR $ac_cv_sizeof_char
14659 echo "$as_me:$LINENO: checking for short" >&5
14660 echo $ECHO_N "checking for short... $ECHO_C" >&6
14661 if test "${ac_cv_type_short+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 cat >conftest.
$ac_ext <<_ACEOF
14667 cat confdefs.h
>>conftest.
$ac_ext
14668 cat >>conftest.
$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 $ac_includes_default
14676 if (sizeof (short))
14682 rm -f conftest.
$ac_objext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14684 (eval $ac_compile) 2>conftest.er1
14686 grep -v '^ *+' conftest.er1
>conftest.err
14688 cat conftest.err
>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try
='test -z "$ac_c_werror_flag"
14692 || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try
='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_cv_type_short
=yes
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14709 ac_cv_type_short
=no
14711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14713 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14714 echo "${ECHO_T}$ac_cv_type_short" >&6
14716 echo "$as_me:$LINENO: checking size of short" >&5
14717 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14718 if test "${ac_cv_sizeof_short+set}" = set; then
14719 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 if test "$ac_cv_type_short" = yes; then
14722 # The cast to unsigned long works around a bug in the HP C Compiler
14723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14725 # This bug is HP SR number 8606223364.
14726 if test "$cross_compiling" = yes; then
14727 # Depending upon the size, compute the lo and hi bounds.
14728 cat >conftest.
$ac_ext <<_ACEOF
14731 cat confdefs.h
>>conftest.
$ac_ext
14732 cat >>conftest.
$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734 $ac_includes_default
14738 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14745 rm -f conftest.
$ac_objext
14746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14747 (eval $ac_compile) 2>conftest.er1
14749 grep -v '^ *+' conftest.er1
>conftest.err
14751 cat conftest.err
>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); } &&
14754 { ac_try
='test -z "$ac_c_werror_flag"
14755 || test ! -s conftest.err'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; } &&
14761 { ac_try
='test -s conftest.$ac_objext'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; }; then
14769 cat >conftest.
$ac_ext <<_ACEOF
14772 cat confdefs.h
>>conftest.
$ac_ext
14773 cat >>conftest.
$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14775 $ac_includes_default
14779 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14786 rm -f conftest.
$ac_objext
14787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14788 (eval $ac_compile) 2>conftest.er1
14790 grep -v '^ *+' conftest.er1
>conftest.err
14792 cat conftest.err
>&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } &&
14795 { ac_try
='test -z "$ac_c_werror_flag"
14796 || test ! -s conftest.err'
14797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14798 (eval $ac_try) 2>&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); }; } &&
14802 { ac_try
='test -s conftest.$ac_objext'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; }; then
14808 ac_hi
=$ac_mid; break
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.
$ac_ext >&5
14813 ac_lo
=`expr $ac_mid + 1`
14814 if test $ac_lo -le $ac_mid; then
14818 ac_mid
=`expr 2 '*' $ac_mid + 1`
14820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.
$ac_ext >&5
14826 cat >conftest.
$ac_ext <<_ACEOF
14829 cat confdefs.h
>>conftest.
$ac_ext
14830 cat >>conftest.
$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 $ac_includes_default
14836 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14843 rm -f conftest.
$ac_objext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14845 (eval $ac_compile) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1
>conftest.err
14849 cat conftest.err
>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try
='test -z "$ac_c_werror_flag"
14853 || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try
='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14867 cat >conftest.
$ac_ext <<_ACEOF
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 $ac_includes_default
14877 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14884 rm -f conftest.
$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>conftest.er1
14888 grep -v '^ *+' conftest.er1
>conftest.err
14890 cat conftest.err
>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } &&
14893 { ac_try
='test -z "$ac_c_werror_flag"
14894 || test ! -s conftest.err'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; } &&
14900 { ac_try
='test -s conftest.$ac_objext'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 ac_lo
=$ac_mid; break
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.
$ac_ext >&5
14911 ac_hi
=`expr '(' $ac_mid ')' - 1`
14912 if test $ac_mid -le $ac_hi; then
14916 ac_mid
=`expr 2 '*' $ac_mid`
14918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.
$ac_ext >&5
14926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14929 # Binary search between lo and hi bounds.
14930 while test "x$ac_lo" != "x$ac_hi"; do
14931 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14932 cat >conftest.
$ac_ext <<_ACEOF
14935 cat confdefs.h
>>conftest.
$ac_ext
14936 cat >>conftest.
$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14942 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14949 rm -f conftest.
$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14953 grep -v '^ *+' conftest.er1
>conftest.err
14955 cat conftest.err
>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try
='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try
='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 ac_lo
=`expr '(' $ac_mid ')' + 1`
14978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14981 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14982 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14983 See \`config.log' for more details." >&5
14984 echo "$as_me: error: cannot compute sizeof (short), 77
14985 See \`config.log' for more details." >&2;}
14986 { (exit 1); exit 1; }; } ;;
14989 if test "$cross_compiling" = yes; then
14990 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14991 See \`config.log' for more details." >&5
14992 echo "$as_me: error: cannot run test program while cross compiling
14993 See \`config.log' for more details." >&2;}
14994 { (exit 1); exit 1; }; }
14996 cat >conftest.
$ac_ext <<_ACEOF
14999 cat confdefs.h
>>conftest.
$ac_ext
15000 cat >>conftest.
$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 $ac_includes_default
15003 long longval () { return (long) (sizeof (short)); }
15004 unsigned long ulongval () { return (long) (sizeof (short)); }
15006 #include <stdlib.h>
15011 FILE *f = fopen ("conftest.val", "w");
15014 if (((long) (sizeof (short))) < 0)
15016 long i = longval ();
15017 if (i != ((long) (sizeof (short))))
15019 fprintf (f, "%ld\n", i);
15023 unsigned long i = ulongval ();
15024 if (i != ((long) (sizeof (short))))
15026 fprintf (f, "%lu\n", i);
15028 exit (ferror (f) || fclose (f) != 0);
15034 rm -f conftest
$ac_exeext
15035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15036 (eval $ac_link) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; }; then
15045 ac_cv_sizeof_short
=`cat conftest.val`
15047 echo "$as_me: program exited with status $ac_status" >&5
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.
$ac_ext >&5
15051 ( exit $ac_status )
15052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15053 See \`config.log' for more details." >&5
15054 echo "$as_me: error: cannot compute sizeof (short), 77
15055 See \`config.log' for more details." >&2;}
15056 { (exit 1); exit 1; }; }
15058 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15063 ac_cv_sizeof_short
=0
15066 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15067 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15068 cat >>confdefs.h
<<_ACEOF
15069 #define SIZEOF_SHORT $ac_cv_sizeof_short
15073 echo "$as_me:$LINENO: checking for void *" >&5
15074 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15075 if test "${ac_cv_type_void_p+set}" = set; then
15076 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 cat >conftest.
$ac_ext <<_ACEOF
15081 cat confdefs.h
>>conftest.
$ac_ext
15082 cat >>conftest.
$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084 $ac_includes_default
15090 if (sizeof (void *))
15096 rm -f conftest.
$ac_objext
15097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15098 (eval $ac_compile) 2>conftest.er1
15100 grep -v '^ *+' conftest.er1
>conftest.err
15102 cat conftest.err
>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); } &&
15105 { ac_try
='test -z "$ac_c_werror_flag"
15106 || test ! -s conftest.err'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; } &&
15112 { ac_try
='test -s conftest.$ac_objext'
15113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15114 (eval $ac_try) 2>&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }; }; then
15118 ac_cv_type_void_p
=yes
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.
$ac_ext >&5
15123 ac_cv_type_void_p
=no
15125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15127 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15128 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15130 echo "$as_me:$LINENO: checking size of void *" >&5
15131 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15132 if test "${ac_cv_sizeof_void_p+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15135 if test "$ac_cv_type_void_p" = yes; then
15136 # The cast to unsigned long works around a bug in the HP C Compiler
15137 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15138 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15139 # This bug is HP SR number 8606223364.
15140 if test "$cross_compiling" = yes; then
15141 # Depending upon the size, compute the lo and hi bounds.
15142 cat >conftest.
$ac_ext <<_ACEOF
15145 cat confdefs.h
>>conftest.
$ac_ext
15146 cat >>conftest.
$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15152 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15159 rm -f conftest.
$ac_objext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15161 (eval $ac_compile) 2>conftest.er1
15163 grep -v '^ *+' conftest.er1
>conftest.err
15165 cat conftest.err
>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try
='test -z "$ac_c_werror_flag"
15169 || test ! -s conftest.err'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; } &&
15175 { ac_try
='test -s conftest.$ac_objext'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
15183 cat >conftest.
$ac_ext <<_ACEOF
15186 cat confdefs.h
>>conftest.
$ac_ext
15187 cat >>conftest.
$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 $ac_includes_default
15193 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15200 rm -f conftest.
$ac_objext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202 (eval $ac_compile) 2>conftest.er1
15204 grep -v '^ *+' conftest.er1
>conftest.err
15206 cat conftest.err
>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try
='test -z "$ac_c_werror_flag"
15210 || test ! -s conftest.err'
15211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212 (eval $ac_try) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); }; } &&
15216 { ac_try
='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_hi
=$ac_mid; break
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.
$ac_ext >&5
15227 ac_lo
=`expr $ac_mid + 1`
15228 if test $ac_lo -le $ac_mid; then
15232 ac_mid
=`expr 2 '*' $ac_mid + 1`
15234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.
$ac_ext >&5
15240 cat >conftest.
$ac_ext <<_ACEOF
15243 cat confdefs.h
>>conftest.
$ac_ext
15244 cat >>conftest.
$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15246 $ac_includes_default
15250 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15257 rm -f conftest.
$ac_objext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15259 (eval $ac_compile) 2>conftest.er1
15261 grep -v '^ *+' conftest.er1
>conftest.err
15263 cat conftest.err
>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try
='test -z "$ac_c_werror_flag"
15267 || test ! -s conftest.err'
15268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 (eval $ac_try) 2>&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try
='test -s conftest.$ac_objext'
15274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275 (eval $ac_try) 2>&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); }; }; then
15281 cat >conftest.
$ac_ext <<_ACEOF
15284 cat confdefs.h
>>conftest.
$ac_ext
15285 cat >>conftest.
$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 $ac_includes_default
15291 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15298 rm -f conftest.
$ac_objext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>conftest.er1
15302 grep -v '^ *+' conftest.er1
>conftest.err
15304 cat conftest.err
>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try
='test -z "$ac_c_werror_flag"
15308 || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try
='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 ac_lo
=$ac_mid; break
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.
$ac_ext >&5
15325 ac_hi
=`expr '(' $ac_mid ')' - 1`
15326 if test $ac_mid -le $ac_hi; then
15330 ac_mid
=`expr 2 '*' $ac_mid`
15332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.
$ac_ext >&5
15340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15343 # Binary search between lo and hi bounds.
15344 while test "x$ac_lo" != "x$ac_hi"; do
15345 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15346 cat >conftest.
$ac_ext <<_ACEOF
15349 cat confdefs.h
>>conftest.
$ac_ext
15350 cat >>conftest.
$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15356 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15363 rm -f conftest.
$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>conftest.er1
15367 grep -v '^ *+' conftest.er1
>conftest.err
15369 cat conftest.err
>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try
='test -z "$ac_c_werror_flag"
15373 || test ! -s conftest.err'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; } &&
15379 { ac_try
='test -s conftest.$ac_objext'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; }; then
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.
$ac_ext >&5
15390 ac_lo
=`expr '(' $ac_mid ')' + 1`
15392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15395 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15396 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15397 See \`config.log' for more details." >&5
15398 echo "$as_me: error: cannot compute sizeof (void *), 77
15399 See \`config.log' for more details." >&2;}
15400 { (exit 1); exit 1; }; } ;;
15403 if test "$cross_compiling" = yes; then
15404 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15405 See \`config.log' for more details." >&5
15406 echo "$as_me: error: cannot run test program while cross compiling
15407 See \`config.log' for more details." >&2;}
15408 { (exit 1); exit 1; }; }
15410 cat >conftest.
$ac_ext <<_ACEOF
15413 cat confdefs.h
>>conftest.
$ac_ext
15414 cat >>conftest.
$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15416 $ac_includes_default
15417 long longval () { return (long) (sizeof (void *)); }
15418 unsigned long ulongval () { return (long) (sizeof (void *)); }
15420 #include <stdlib.h>
15425 FILE *f = fopen ("conftest.val", "w");
15428 if (((long) (sizeof (void *))) < 0)
15430 long i = longval ();
15431 if (i != ((long) (sizeof (void *))))
15433 fprintf (f, "%ld\n", i);
15437 unsigned long i = ulongval ();
15438 if (i != ((long) (sizeof (void *))))
15440 fprintf (f, "%lu\n", i);
15442 exit (ferror (f) || fclose (f) != 0);
15448 rm -f conftest
$ac_exeext
15449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15450 (eval $ac_link) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15459 ac_cv_sizeof_void_p
=`cat conftest.val`
15461 echo "$as_me: program exited with status $ac_status" >&5
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.
$ac_ext >&5
15465 ( exit $ac_status )
15466 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot compute sizeof (void *), 77
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; }
15472 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15477 ac_cv_sizeof_void_p
=0
15480 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15481 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15482 cat >>confdefs.h
<<_ACEOF
15483 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15487 echo "$as_me:$LINENO: checking for int" >&5
15488 echo $ECHO_N "checking for int... $ECHO_C" >&6
15489 if test "${ac_cv_type_int+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 cat >conftest.
$ac_ext <<_ACEOF
15495 cat confdefs.h
>>conftest.
$ac_ext
15496 cat >>conftest.
$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15498 $ac_includes_default
15510 rm -f conftest.
$ac_objext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15512 (eval $ac_compile) 2>conftest.er1
15514 grep -v '^ *+' conftest.er1
>conftest.err
15516 cat conftest.err
>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } &&
15519 { ac_try
='test -z "$ac_c_werror_flag"
15520 || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try
='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.
$ac_ext >&5
15539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15541 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15542 echo "${ECHO_T}$ac_cv_type_int" >&6
15544 echo "$as_me:$LINENO: checking size of int" >&5
15545 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15546 if test "${ac_cv_sizeof_int+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15549 if test "$ac_cv_type_int" = yes; then
15550 # The cast to unsigned long works around a bug in the HP C Compiler
15551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15553 # This bug is HP SR number 8606223364.
15554 if test "$cross_compiling" = yes; then
15555 # Depending upon the size, compute the lo and hi bounds.
15556 cat >conftest.
$ac_ext <<_ACEOF
15559 cat confdefs.h
>>conftest.
$ac_ext
15560 cat >>conftest.
$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15562 $ac_includes_default
15566 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15573 rm -f conftest.
$ac_objext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15575 (eval $ac_compile) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try
='test -z "$ac_c_werror_flag"
15583 || test ! -s conftest.err'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; } &&
15589 { ac_try
='test -s conftest.$ac_objext'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; }; then
15597 cat >conftest.
$ac_ext <<_ACEOF
15600 cat confdefs.h
>>conftest.
$ac_ext
15601 cat >>conftest.
$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15607 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15614 rm -f conftest.
$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>conftest.er1
15618 grep -v '^ *+' conftest.er1
>conftest.err
15620 cat conftest.err
>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -z "$ac_c_werror_flag"
15624 || test ! -s conftest.err'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; } &&
15630 { ac_try
='test -s conftest.$ac_objext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_hi
=$ac_mid; break
15638 echo "$as_me: failed program was:" >&5
15639 sed 's/^/| /' conftest.
$ac_ext >&5
15641 ac_lo
=`expr $ac_mid + 1`
15642 if test $ac_lo -le $ac_mid; then
15646 ac_mid
=`expr 2 '*' $ac_mid + 1`
15648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.
$ac_ext >&5
15654 cat >conftest.
$ac_ext <<_ACEOF
15657 cat confdefs.h
>>conftest.
$ac_ext
15658 cat >>conftest.
$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 $ac_includes_default
15664 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15671 rm -f conftest.
$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>conftest.er1
15675 grep -v '^ *+' conftest.er1
>conftest.err
15677 cat conftest.err
>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try
='test -z "$ac_c_werror_flag"
15681 || test ! -s conftest.err'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; } &&
15687 { ac_try
='test -s conftest.$ac_objext'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; }; then
15695 cat >conftest.
$ac_ext <<_ACEOF
15698 cat confdefs.h
>>conftest.
$ac_ext
15699 cat >>conftest.
$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701 $ac_includes_default
15705 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15712 rm -f conftest.
$ac_objext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15714 (eval $ac_compile) 2>conftest.er1
15716 grep -v '^ *+' conftest.er1
>conftest.err
15718 cat conftest.err
>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } &&
15721 { ac_try
='test -z "$ac_c_werror_flag"
15722 || test ! -s conftest.err'
15723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15724 (eval $ac_try) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; } &&
15728 { ac_try
='test -s conftest.$ac_objext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_lo
=$ac_mid; break
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.
$ac_ext >&5
15739 ac_hi
=`expr '(' $ac_mid ')' - 1`
15740 if test $ac_mid -le $ac_hi; then
15744 ac_mid
=`expr 2 '*' $ac_mid`
15746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.
$ac_ext >&5
15754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15757 # Binary search between lo and hi bounds.
15758 while test "x$ac_lo" != "x$ac_hi"; do
15759 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15760 cat >conftest.
$ac_ext <<_ACEOF
15763 cat confdefs.h
>>conftest.
$ac_ext
15764 cat >>conftest.
$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 $ac_includes_default
15770 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15777 rm -f conftest.
$ac_objext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15779 (eval $ac_compile) 2>conftest.er1
15781 grep -v '^ *+' conftest.er1
>conftest.err
15783 cat conftest.err
>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try
='test -z "$ac_c_werror_flag"
15787 || test ! -s conftest.err'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try
='test -s conftest.$ac_objext'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.
$ac_ext >&5
15804 ac_lo
=`expr '(' $ac_mid ')' + 1`
15806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15809 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15810 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15811 See \`config.log' for more details." >&5
15812 echo "$as_me: error: cannot compute sizeof (int), 77
15813 See \`config.log' for more details." >&2;}
15814 { (exit 1); exit 1; }; } ;;
15817 if test "$cross_compiling" = yes; then
15818 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15819 See \`config.log' for more details." >&5
15820 echo "$as_me: error: cannot run test program while cross compiling
15821 See \`config.log' for more details." >&2;}
15822 { (exit 1); exit 1; }; }
15824 cat >conftest.
$ac_ext <<_ACEOF
15827 cat confdefs.h
>>conftest.
$ac_ext
15828 cat >>conftest.
$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 $ac_includes_default
15831 long longval () { return (long) (sizeof (int)); }
15832 unsigned long ulongval () { return (long) (sizeof (int)); }
15834 #include <stdlib.h>
15839 FILE *f = fopen ("conftest.val", "w");
15842 if (((long) (sizeof (int))) < 0)
15844 long i = longval ();
15845 if (i != ((long) (sizeof (int))))
15847 fprintf (f, "%ld\n", i);
15851 unsigned long i = ulongval ();
15852 if (i != ((long) (sizeof (int))))
15854 fprintf (f, "%lu\n", i);
15856 exit (ferror (f) || fclose (f) != 0);
15862 rm -f conftest
$ac_exeext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15864 (eval $ac_link) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 ac_cv_sizeof_int
=`cat conftest.val`
15875 echo "$as_me: program exited with status $ac_status" >&5
15876 echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.
$ac_ext >&5
15879 ( exit $ac_status )
15880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15881 See \`config.log' for more details." >&5
15882 echo "$as_me: error: cannot compute sizeof (int), 77
15883 See \`config.log' for more details." >&2;}
15884 { (exit 1); exit 1; }; }
15886 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15894 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15895 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15896 cat >>confdefs.h
<<_ACEOF
15897 #define SIZEOF_INT $ac_cv_sizeof_int
15901 echo "$as_me:$LINENO: checking for long" >&5
15902 echo $ECHO_N "checking for long... $ECHO_C" >&6
15903 if test "${ac_cv_type_long+set}" = set; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 cat >conftest.
$ac_ext <<_ACEOF
15909 cat confdefs.h
>>conftest.
$ac_ext
15910 cat >>conftest.
$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15912 $ac_includes_default
15924 rm -f conftest.
$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try
='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_cv_type_long
=yes
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.
$ac_ext >&5
15953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15956 echo "${ECHO_T}$ac_cv_type_long" >&6
15958 echo "$as_me:$LINENO: checking size of long" >&5
15959 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15960 if test "${ac_cv_sizeof_long+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15963 if test "$ac_cv_type_long" = yes; then
15964 # The cast to unsigned long works around a bug in the HP C Compiler
15965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15967 # This bug is HP SR number 8606223364.
15968 if test "$cross_compiling" = yes; then
15969 # Depending upon the size, compute the lo and hi bounds.
15970 cat >conftest.
$ac_ext <<_ACEOF
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15980 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15987 rm -f conftest.
$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>conftest.er1
15991 grep -v '^ *+' conftest.er1
>conftest.err
15993 cat conftest.err
>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); } &&
15996 { ac_try
='test -z "$ac_c_werror_flag"
15997 || test ! -s conftest.err'
15998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15999 (eval $ac_try) 2>&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); }; } &&
16003 { ac_try
='test -s conftest.$ac_objext'
16004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005 (eval $ac_try) 2>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); }; }; then
16011 cat >conftest.
$ac_ext <<_ACEOF
16014 cat confdefs.h
>>conftest.
$ac_ext
16015 cat >>conftest.
$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16021 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16028 rm -f conftest.
$ac_objext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>conftest.er1
16032 grep -v '^ *+' conftest.er1
>conftest.err
16034 cat conftest.err
>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try
='test -z "$ac_c_werror_flag"
16038 || test ! -s conftest.err'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try
='test -s conftest.$ac_objext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_hi
=$ac_mid; break
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.
$ac_ext >&5
16055 ac_lo
=`expr $ac_mid + 1`
16056 if test $ac_lo -le $ac_mid; then
16060 ac_mid
=`expr 2 '*' $ac_mid + 1`
16062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.
$ac_ext >&5
16068 cat >conftest.
$ac_ext <<_ACEOF
16071 cat confdefs.h
>>conftest.
$ac_ext
16072 cat >>conftest.
$ac_ext <<_ACEOF
16073 /* end confdefs.h. */
16074 $ac_includes_default
16078 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16085 rm -f conftest.
$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16089 grep -v '^ *+' conftest.er1
>conftest.err
16091 cat conftest.err
>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try
='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try
='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16109 cat >conftest.
$ac_ext <<_ACEOF
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16119 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16126 rm -f conftest.
$ac_objext
16127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16128 (eval $ac_compile) 2>conftest.er1
16130 grep -v '^ *+' conftest.er1
>conftest.err
16132 cat conftest.err
>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } &&
16135 { ac_try
='test -z "$ac_c_werror_flag"
16136 || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try
='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 ac_lo
=$ac_mid; break
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.
$ac_ext >&5
16153 ac_hi
=`expr '(' $ac_mid ')' - 1`
16154 if test $ac_mid -le $ac_hi; then
16158 ac_mid
=`expr 2 '*' $ac_mid`
16160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.
$ac_ext >&5
16168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16171 # Binary search between lo and hi bounds.
16172 while test "x$ac_lo" != "x$ac_hi"; do
16173 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16184 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try
='test -s conftest.$ac_objext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.
$ac_ext >&5
16218 ac_lo
=`expr '(' $ac_mid ')' + 1`
16220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16223 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16224 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16225 See \`config.log' for more details." >&5
16226 echo "$as_me: error: cannot compute sizeof (long), 77
16227 See \`config.log' for more details." >&2;}
16228 { (exit 1); exit 1; }; } ;;
16231 if test "$cross_compiling" = yes; then
16232 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16233 See \`config.log' for more details." >&5
16234 echo "$as_me: error: cannot run test program while cross compiling
16235 See \`config.log' for more details." >&2;}
16236 { (exit 1); exit 1; }; }
16238 cat >conftest.
$ac_ext <<_ACEOF
16241 cat confdefs.h
>>conftest.
$ac_ext
16242 cat >>conftest.
$ac_ext <<_ACEOF
16243 /* end confdefs.h. */
16244 $ac_includes_default
16245 long longval () { return (long) (sizeof (long)); }
16246 unsigned long ulongval () { return (long) (sizeof (long)); }
16248 #include <stdlib.h>
16253 FILE *f = fopen ("conftest.val", "w");
16256 if (((long) (sizeof (long))) < 0)
16258 long i = longval ();
16259 if (i != ((long) (sizeof (long))))
16261 fprintf (f, "%ld\n", i);
16265 unsigned long i = ulongval ();
16266 if (i != ((long) (sizeof (long))))
16268 fprintf (f, "%lu\n", i);
16270 exit (ferror (f) || fclose (f) != 0);
16276 rm -f conftest
$ac_exeext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16278 (eval $ac_link) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; }; then
16287 ac_cv_sizeof_long
=`cat conftest.val`
16289 echo "$as_me: program exited with status $ac_status" >&5
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16293 ( exit $ac_status )
16294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16295 See \`config.log' for more details." >&5
16296 echo "$as_me: error: cannot compute sizeof (long), 77
16297 See \`config.log' for more details." >&2;}
16298 { (exit 1); exit 1; }; }
16300 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16305 ac_cv_sizeof_long
=0
16308 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16309 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16310 cat >>confdefs.h
<<_ACEOF
16311 #define SIZEOF_LONG $ac_cv_sizeof_long
16315 echo "$as_me:$LINENO: checking for size_t" >&5
16316 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16317 if test "${ac_cv_type_size_t+set}" = set; then
16318 echo $ECHO_N "(cached) $ECHO_C" >&6
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16332 if (sizeof (size_t))
16338 rm -f conftest.
$ac_objext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16340 (eval $ac_compile) 2>conftest.er1
16342 grep -v '^ *+' conftest.er1
>conftest.err
16344 cat conftest.err
>&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } &&
16347 { ac_try
='test -z "$ac_c_werror_flag"
16348 || test ! -s conftest.err'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; } &&
16354 { ac_try
='test -s conftest.$ac_objext'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; }; then
16360 ac_cv_type_size_t
=yes
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.
$ac_ext >&5
16365 ac_cv_type_size_t
=no
16367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16369 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16370 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16372 echo "$as_me:$LINENO: checking size of size_t" >&5
16373 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16374 if test "${ac_cv_sizeof_size_t+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 if test "$ac_cv_type_size_t" = yes; then
16378 # The cast to unsigned long works around a bug in the HP C Compiler
16379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16381 # This bug is HP SR number 8606223364.
16382 if test "$cross_compiling" = yes; then
16383 # Depending upon the size, compute the lo and hi bounds.
16384 cat >conftest.
$ac_ext <<_ACEOF
16387 cat confdefs.h
>>conftest.
$ac_ext
16388 cat >>conftest.
$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 $ac_includes_default
16394 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16401 rm -f conftest.
$ac_objext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16403 (eval $ac_compile) 2>conftest.er1
16405 grep -v '^ *+' conftest.er1
>conftest.err
16407 cat conftest.err
>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } &&
16410 { ac_try
='test -z "$ac_c_werror_flag"
16411 || test ! -s conftest.err'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; } &&
16417 { ac_try
='test -s conftest.$ac_objext'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; }; then
16425 cat >conftest.
$ac_ext <<_ACEOF
16428 cat confdefs.h
>>conftest.
$ac_ext
16429 cat >>conftest.
$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 $ac_includes_default
16435 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16442 rm -f conftest.
$ac_objext
16443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16444 (eval $ac_compile) 2>conftest.er1
16446 grep -v '^ *+' conftest.er1
>conftest.err
16448 cat conftest.err
>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } &&
16451 { ac_try
='test -z "$ac_c_werror_flag"
16452 || test ! -s conftest.err'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; } &&
16458 { ac_try
='test -s conftest.$ac_objext'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; }; then
16464 ac_hi
=$ac_mid; break
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.
$ac_ext >&5
16469 ac_lo
=`expr $ac_mid + 1`
16470 if test $ac_lo -le $ac_mid; then
16474 ac_mid
=`expr 2 '*' $ac_mid + 1`
16476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.
$ac_ext >&5
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16492 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16499 rm -f conftest.
$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try
='test -z "$ac_c_werror_flag"
16509 || test ! -s conftest.err'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; } &&
16515 { ac_try
='test -s conftest.$ac_objext'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; }; then
16523 cat >conftest.
$ac_ext <<_ACEOF
16526 cat confdefs.h
>>conftest.
$ac_ext
16527 cat >>conftest.
$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16533 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16540 rm -f conftest.
$ac_objext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16542 (eval $ac_compile) 2>conftest.er1
16544 grep -v '^ *+' conftest.er1
>conftest.err
16546 cat conftest.err
>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try
='test -z "$ac_c_werror_flag"
16550 || test ! -s conftest.err'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; } &&
16556 { ac_try
='test -s conftest.$ac_objext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_lo
=$ac_mid; break
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.
$ac_ext >&5
16567 ac_hi
=`expr '(' $ac_mid ')' - 1`
16568 if test $ac_mid -le $ac_hi; then
16572 ac_mid
=`expr 2 '*' $ac_mid`
16574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16585 # Binary search between lo and hi bounds.
16586 while test "x$ac_lo" != "x$ac_hi"; do
16587 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16588 cat >conftest.
$ac_ext <<_ACEOF
16591 cat confdefs.h
>>conftest.
$ac_ext
16592 cat >>conftest.
$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 $ac_includes_default
16598 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16605 rm -f conftest.
$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16609 grep -v '^ *+' conftest.er1
>conftest.err
16611 cat conftest.err
>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try
='test -z "$ac_c_werror_flag"
16615 || test ! -s conftest.err'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; } &&
16621 { ac_try
='test -s conftest.$ac_objext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.
$ac_ext >&5
16632 ac_lo
=`expr '(' $ac_mid ')' + 1`
16634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16638 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16639 See \`config.log' for more details." >&5
16640 echo "$as_me: error: cannot compute sizeof (size_t), 77
16641 See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; } ;;
16645 if test "$cross_compiling" = yes; then
16646 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16647 See \`config.log' for more details." >&5
16648 echo "$as_me: error: cannot run test program while cross compiling
16649 See \`config.log' for more details." >&2;}
16650 { (exit 1); exit 1; }; }
16652 cat >conftest.
$ac_ext <<_ACEOF
16655 cat confdefs.h
>>conftest.
$ac_ext
16656 cat >>conftest.
$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16658 $ac_includes_default
16659 long longval () { return (long) (sizeof (size_t)); }
16660 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16662 #include <stdlib.h>
16667 FILE *f = fopen ("conftest.val", "w");
16670 if (((long) (sizeof (size_t))) < 0)
16672 long i = longval ();
16673 if (i != ((long) (sizeof (size_t))))
16675 fprintf (f, "%ld\n", i);
16679 unsigned long i = ulongval ();
16680 if (i != ((long) (sizeof (size_t))))
16682 fprintf (f, "%lu\n", i);
16684 exit (ferror (f) || fclose (f) != 0);
16690 rm -f conftest
$ac_exeext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16692 (eval $ac_link) 2>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_cv_sizeof_size_t
=`cat conftest.val`
16703 echo "$as_me: program exited with status $ac_status" >&5
16704 echo "$as_me: failed program was:" >&5
16705 sed 's/^/| /' conftest.
$ac_ext >&5
16707 ( exit $ac_status )
16708 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16709 See \`config.log' for more details." >&5
16710 echo "$as_me: error: cannot compute sizeof (size_t), 77
16711 See \`config.log' for more details." >&2;}
16712 { (exit 1); exit 1; }; }
16714 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16719 ac_cv_sizeof_size_t
=0
16722 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16723 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16724 cat >>confdefs.h
<<_ACEOF
16725 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16732 echo "$as_me:$LINENO: checking for long long" >&5
16733 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16734 if test "${ac_cv_type_long_long+set}" = set; then
16735 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 cat >conftest.
$ac_ext <<_ACEOF
16740 cat confdefs.h
>>conftest.
$ac_ext
16741 cat >>conftest.
$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16743 $ac_includes_default
16747 if ((long long *) 0)
16749 if (sizeof (long long))
16755 rm -f conftest.
$ac_objext
16756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16757 (eval $ac_compile) 2>conftest.er1
16759 grep -v '^ *+' conftest.er1
>conftest.err
16761 cat conftest.err
>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); } &&
16764 { ac_try
='test -z "$ac_c_werror_flag"
16765 || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try
='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_type_long_long
=yes
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cv_type_long_long
=no
16784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16786 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16787 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16789 echo "$as_me:$LINENO: checking size of long long" >&5
16790 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16791 if test "${ac_cv_sizeof_long_long+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 if test "$ac_cv_type_long_long" = yes; then
16795 # The cast to unsigned long works around a bug in the HP C Compiler
16796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16798 # This bug is HP SR number 8606223364.
16799 if test "$cross_compiling" = yes; then
16800 # Depending upon the size, compute the lo and hi bounds.
16801 cat >conftest.
$ac_ext <<_ACEOF
16804 cat confdefs.h
>>conftest.
$ac_ext
16805 cat >>conftest.
$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16818 rm -f conftest.
$ac_objext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16820 (eval $ac_compile) 2>conftest.er1
16822 grep -v '^ *+' conftest.er1
>conftest.err
16824 cat conftest.err
>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try
='test -z "$ac_c_werror_flag"
16828 || test ! -s conftest.err'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; } &&
16834 { ac_try
='test -s conftest.$ac_objext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16842 cat >conftest.
$ac_ext <<_ACEOF
16845 cat confdefs.h
>>conftest.
$ac_ext
16846 cat >>conftest.
$ac_ext <<_ACEOF
16847 /* end confdefs.h. */
16848 $ac_includes_default
16852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16859 rm -f conftest.
$ac_objext
16860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16861 (eval $ac_compile) 2>conftest.er1
16863 grep -v '^ *+' conftest.er1
>conftest.err
16865 cat conftest.err
>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try
='test -z "$ac_c_werror_flag"
16869 || test ! -s conftest.err'
16870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16871 (eval $ac_try) 2>&5
16873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874 (exit $ac_status); }; } &&
16875 { ac_try
='test -s conftest.$ac_objext'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; }; then
16881 ac_hi
=$ac_mid; break
16883 echo "$as_me: failed program was:" >&5
16884 sed 's/^/| /' conftest.
$ac_ext >&5
16886 ac_lo
=`expr $ac_mid + 1`
16887 if test $ac_lo -le $ac_mid; then
16891 ac_mid
=`expr 2 '*' $ac_mid + 1`
16893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.
$ac_ext >&5
16899 cat >conftest.
$ac_ext <<_ACEOF
16902 cat confdefs.h
>>conftest.
$ac_ext
16903 cat >>conftest.
$ac_ext <<_ACEOF
16904 /* end confdefs.h. */
16905 $ac_includes_default
16909 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16916 rm -f conftest.
$ac_objext
16917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16918 (eval $ac_compile) 2>conftest.er1
16920 grep -v '^ *+' conftest.er1
>conftest.err
16922 cat conftest.err
>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } &&
16925 { ac_try
='test -z "$ac_c_werror_flag"
16926 || test ! -s conftest.err'
16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16928 (eval $ac_try) 2>&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); }; } &&
16932 { ac_try
='test -s conftest.$ac_objext'
16933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16934 (eval $ac_try) 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }; }; then
16940 cat >conftest.
$ac_ext <<_ACEOF
16943 cat confdefs.h
>>conftest.
$ac_ext
16944 cat >>conftest.
$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 $ac_includes_default
16950 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16957 rm -f conftest.
$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>conftest.er1
16961 grep -v '^ *+' conftest.er1
>conftest.err
16963 cat conftest.err
>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try
='test -z "$ac_c_werror_flag"
16967 || test ! -s conftest.err'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; } &&
16973 { ac_try
='test -s conftest.$ac_objext'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_lo
=$ac_mid; break
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.
$ac_ext >&5
16984 ac_hi
=`expr '(' $ac_mid ')' - 1`
16985 if test $ac_mid -le $ac_hi; then
16989 ac_mid
=`expr 2 '*' $ac_mid`
16991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.
$ac_ext >&5
16999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17002 # Binary search between lo and hi bounds.
17003 while test "x$ac_lo" != "x$ac_hi"; do
17004 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17005 cat >conftest.
$ac_ext <<_ACEOF
17008 cat confdefs.h
>>conftest.
$ac_ext
17009 cat >>conftest.
$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17022 rm -f conftest.
$ac_objext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17024 (eval $ac_compile) 2>conftest.er1
17026 grep -v '^ *+' conftest.er1
>conftest.err
17028 cat conftest.err
>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try
='test -z "$ac_c_werror_flag"
17032 || test ! -s conftest.err'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try
='test -s conftest.$ac_objext'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; }; then
17046 echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.
$ac_ext >&5
17049 ac_lo
=`expr '(' $ac_mid ')' + 1`
17051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17054 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17055 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17056 See \`config.log' for more details." >&5
17057 echo "$as_me: error: cannot compute sizeof (long long), 77
17058 See \`config.log' for more details." >&2;}
17059 { (exit 1); exit 1; }; } ;;
17062 if test "$cross_compiling" = yes; then
17063 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17064 See \`config.log' for more details." >&5
17065 echo "$as_me: error: cannot run test program while cross compiling
17066 See \`config.log' for more details." >&2;}
17067 { (exit 1); exit 1; }; }
17069 cat >conftest.
$ac_ext <<_ACEOF
17072 cat confdefs.h
>>conftest.
$ac_ext
17073 cat >>conftest.
$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17076 long longval () { return (long) (sizeof (long long)); }
17077 unsigned long ulongval () { return (long) (sizeof (long long)); }
17079 #include <stdlib.h>
17084 FILE *f = fopen ("conftest.val", "w");
17087 if (((long) (sizeof (long long))) < 0)
17089 long i = longval ();
17090 if (i != ((long) (sizeof (long long))))
17092 fprintf (f, "%ld\n", i);
17096 unsigned long i = ulongval ();
17097 if (i != ((long) (sizeof (long long))))
17099 fprintf (f, "%lu\n", i);
17101 exit (ferror (f) || fclose (f) != 0);
17107 rm -f conftest
$ac_exeext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17109 (eval $ac_link) 2>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17118 ac_cv_sizeof_long_long
=`cat conftest.val`
17120 echo "$as_me: program exited with status $ac_status" >&5
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17124 ( exit $ac_status )
17125 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17126 See \`config.log' for more details." >&5
17127 echo "$as_me: error: cannot compute sizeof (long long), 77
17128 See \`config.log' for more details." >&2;}
17129 { (exit 1); exit 1; }; }
17131 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17136 ac_cv_sizeof_long_long
=0
17139 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17140 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17141 cat >>confdefs.h
<<_ACEOF
17142 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17148 echo "$as_me:$LINENO: checking for long long" >&5
17149 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17150 if test "${ac_cv_type_long_long+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 cat >conftest.
$ac_ext <<_ACEOF
17156 cat confdefs.h
>>conftest.
$ac_ext
17157 cat >>conftest.
$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159 $ac_includes_default
17163 if ((long long *) 0)
17165 if (sizeof (long long))
17171 rm -f conftest.
$ac_objext
17172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17173 (eval $ac_compile) 2>conftest.er1
17175 grep -v '^ *+' conftest.er1
>conftest.err
17177 cat conftest.err
>&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } &&
17180 { ac_try
='test -z "$ac_c_werror_flag"
17181 || test ! -s conftest.err'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; } &&
17187 { ac_try
='test -s conftest.$ac_objext'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; }; then
17193 ac_cv_type_long_long
=yes
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.
$ac_ext >&5
17198 ac_cv_type_long_long
=no
17200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17202 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17203 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17205 echo "$as_me:$LINENO: checking size of long long" >&5
17206 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17207 if test "${ac_cv_sizeof_long_long+set}" = set; then
17208 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 if test "$ac_cv_type_long_long" = yes; then
17211 # The cast to unsigned long works around a bug in the HP C Compiler
17212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17214 # This bug is HP SR number 8606223364.
17215 if test "$cross_compiling" = yes; then
17216 # Depending upon the size, compute the lo and hi bounds.
17217 cat >conftest.
$ac_ext <<_ACEOF
17220 cat confdefs.h
>>conftest.
$ac_ext
17221 cat >>conftest.
$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 $ac_includes_default
17227 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17234 rm -f conftest.
$ac_objext
17235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17236 (eval $ac_compile) 2>conftest.er1
17238 grep -v '^ *+' conftest.er1
>conftest.err
17240 cat conftest.err
>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); } &&
17243 { ac_try
='test -z "$ac_c_werror_flag"
17244 || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try
='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17258 cat >conftest.
$ac_ext <<_ACEOF
17261 cat confdefs.h
>>conftest.
$ac_ext
17262 cat >>conftest.
$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 $ac_includes_default
17268 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17275 rm -f conftest.
$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17279 grep -v '^ *+' conftest.er1
>conftest.err
17281 cat conftest.err
>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try
='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try
='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_hi
=$ac_mid; break
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.
$ac_ext >&5
17302 ac_lo
=`expr $ac_mid + 1`
17303 if test $ac_lo -le $ac_mid; then
17307 ac_mid
=`expr 2 '*' $ac_mid + 1`
17309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.
$ac_ext >&5
17315 cat >conftest.
$ac_ext <<_ACEOF
17318 cat confdefs.h
>>conftest.
$ac_ext
17319 cat >>conftest.
$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 $ac_includes_default
17325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17332 rm -f conftest.
$ac_objext
17333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17334 (eval $ac_compile) 2>conftest.er1
17336 grep -v '^ *+' conftest.er1
>conftest.err
17338 cat conftest.err
>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } &&
17341 { ac_try
='test -z "$ac_c_werror_flag"
17342 || test ! -s conftest.err'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; } &&
17348 { ac_try
='test -s conftest.$ac_objext'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; }; then
17356 cat >conftest.
$ac_ext <<_ACEOF
17359 cat confdefs.h
>>conftest.
$ac_ext
17360 cat >>conftest.
$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17366 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17373 rm -f conftest.
$ac_objext
17374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17375 (eval $ac_compile) 2>conftest.er1
17377 grep -v '^ *+' conftest.er1
>conftest.err
17379 cat conftest.err
>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try
='test -z "$ac_c_werror_flag"
17383 || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try
='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_lo
=$ac_mid; break
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ac_hi
=`expr '(' $ac_mid ')' - 1`
17401 if test $ac_mid -le $ac_hi; then
17405 ac_mid
=`expr 2 '*' $ac_mid`
17407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17418 # Binary search between lo and hi bounds.
17419 while test "x$ac_lo" != "x$ac_hi"; do
17420 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 $ac_includes_default
17431 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17438 rm -f conftest.
$ac_objext
17439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17440 (eval $ac_compile) 2>conftest.er1
17442 grep -v '^ *+' conftest.er1
>conftest.err
17444 cat conftest.err
>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } &&
17447 { ac_try
='test -z "$ac_c_werror_flag"
17448 || test ! -s conftest.err'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; } &&
17454 { ac_try
='test -s conftest.$ac_objext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.
$ac_ext >&5
17465 ac_lo
=`expr '(' $ac_mid ')' + 1`
17467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17471 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17472 See \`config.log' for more details." >&5
17473 echo "$as_me: error: cannot compute sizeof (long long), 77
17474 See \`config.log' for more details." >&2;}
17475 { (exit 1); exit 1; }; } ;;
17478 if test "$cross_compiling" = yes; then
17479 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17480 See \`config.log' for more details." >&5
17481 echo "$as_me: error: cannot run test program while cross compiling
17482 See \`config.log' for more details." >&2;}
17483 { (exit 1); exit 1; }; }
17485 cat >conftest.
$ac_ext <<_ACEOF
17488 cat confdefs.h
>>conftest.
$ac_ext
17489 cat >>conftest.
$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17492 long longval () { return (long) (sizeof (long long)); }
17493 unsigned long ulongval () { return (long) (sizeof (long long)); }
17495 #include <stdlib.h>
17500 FILE *f = fopen ("conftest.val", "w");
17503 if (((long) (sizeof (long long))) < 0)
17505 long i = longval ();
17506 if (i != ((long) (sizeof (long long))))
17508 fprintf (f, "%ld\n", i);
17512 unsigned long i = ulongval ();
17513 if (i != ((long) (sizeof (long long))))
17515 fprintf (f, "%lu\n", i);
17517 exit (ferror (f) || fclose (f) != 0);
17523 rm -f conftest
$ac_exeext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17525 (eval $ac_link) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_cv_sizeof_long_long
=`cat conftest.val`
17536 echo "$as_me: program exited with status $ac_status" >&5
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.
$ac_ext >&5
17540 ( exit $ac_status )
17541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17542 See \`config.log' for more details." >&5
17543 echo "$as_me: error: cannot compute sizeof (long long), 77
17544 See \`config.log' for more details." >&2;}
17545 { (exit 1); exit 1; }; }
17547 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17552 ac_cv_sizeof_long_long
=0
17555 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17556 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17557 cat >>confdefs.h
<<_ACEOF
17558 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17562 if test "$ac_cv_sizeof_long_long" != "0"; then
17563 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17567 echo "$as_me:$LINENO: checking for long long" >&5
17568 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17569 if test "${ac_cv_type_long_long+set}" = set; then
17570 echo $ECHO_N "(cached) $ECHO_C" >&6
17572 cat >conftest.
$ac_ext <<_ACEOF
17575 cat confdefs.h
>>conftest.
$ac_ext
17576 cat >>conftest.
$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 $ac_includes_default
17582 if ((long long *) 0)
17584 if (sizeof (long long))
17590 rm -f conftest.
$ac_objext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17592 (eval $ac_compile) 2>conftest.er1
17594 grep -v '^ *+' conftest.er1
>conftest.err
17596 cat conftest.err
>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } &&
17599 { ac_try
='test -z "$ac_c_werror_flag"
17600 || test ! -s conftest.err'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; } &&
17606 { ac_try
='test -s conftest.$ac_objext'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; }; then
17612 ac_cv_type_long_long
=yes
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.
$ac_ext >&5
17617 ac_cv_type_long_long
=no
17619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17621 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17622 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17624 echo "$as_me:$LINENO: checking size of long long" >&5
17625 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17626 if test "${ac_cv_sizeof_long_long+set}" = set; then
17627 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 if test "$ac_cv_type_long_long" = yes; then
17630 # The cast to unsigned long works around a bug in the HP C Compiler
17631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17633 # This bug is HP SR number 8606223364.
17634 if test "$cross_compiling" = yes; then
17635 # Depending upon the size, compute the lo and hi bounds.
17636 cat >conftest.
$ac_ext <<_ACEOF
17639 cat confdefs.h
>>conftest.
$ac_ext
17640 cat >>conftest.
$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 $ac_includes_default
17646 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17653 rm -f conftest.
$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1
>conftest.err
17659 cat conftest.err
>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try
='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17677 cat >conftest.
$ac_ext <<_ACEOF
17680 cat confdefs.h
>>conftest.
$ac_ext
17681 cat >>conftest.
$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17687 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17694 rm -f conftest.
$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>conftest.er1
17698 grep -v '^ *+' conftest.er1
>conftest.err
17700 cat conftest.err
>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } &&
17703 { ac_try
='test -z "$ac_c_werror_flag"
17704 || test ! -s conftest.err'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; } &&
17710 { ac_try
='test -s conftest.$ac_objext'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17716 ac_hi
=$ac_mid; break
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.
$ac_ext >&5
17721 ac_lo
=`expr $ac_mid + 1`
17722 if test $ac_lo -le $ac_mid; then
17726 ac_mid
=`expr 2 '*' $ac_mid + 1`
17728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.
$ac_ext >&5
17734 cat >conftest.
$ac_ext <<_ACEOF
17737 cat confdefs.h
>>conftest.
$ac_ext
17738 cat >>conftest.
$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740 $ac_includes_default
17744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17751 rm -f conftest.
$ac_objext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17753 (eval $ac_compile) 2>conftest.er1
17755 grep -v '^ *+' conftest.er1
>conftest.err
17757 cat conftest.err
>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } &&
17760 { ac_try
='test -z "$ac_c_werror_flag"
17761 || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try
='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17775 cat >conftest.
$ac_ext <<_ACEOF
17778 cat confdefs.h
>>conftest.
$ac_ext
17779 cat >>conftest.
$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 $ac_includes_default
17785 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17792 rm -f conftest.
$ac_objext
17793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17794 (eval $ac_compile) 2>conftest.er1
17796 grep -v '^ *+' conftest.er1
>conftest.err
17798 cat conftest.err
>&5
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); } &&
17801 { ac_try
='test -z "$ac_c_werror_flag"
17802 || test ! -s conftest.err'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; } &&
17808 { ac_try
='test -s conftest.$ac_objext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 ac_lo
=$ac_mid; break
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.
$ac_ext >&5
17819 ac_hi
=`expr '(' $ac_mid ')' - 1`
17820 if test $ac_mid -le $ac_hi; then
17824 ac_mid
=`expr 2 '*' $ac_mid`
17826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.
$ac_ext >&5
17834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17837 # Binary search between lo and hi bounds.
17838 while test "x$ac_lo" != "x$ac_hi"; do
17839 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17840 cat >conftest.
$ac_ext <<_ACEOF
17843 cat confdefs.h
>>conftest.
$ac_ext
17844 cat >>conftest.
$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17850 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17857 rm -f conftest.
$ac_objext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17859 (eval $ac_compile) 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try
='test -z "$ac_c_werror_flag"
17867 || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try
='test -s conftest.$ac_objext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.
$ac_ext >&5
17884 ac_lo
=`expr '(' $ac_mid ')' + 1`
17886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17889 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17890 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17891 See \`config.log' for more details." >&5
17892 echo "$as_me: error: cannot compute sizeof (long long), 77
17893 See \`config.log' for more details." >&2;}
17894 { (exit 1); exit 1; }; } ;;
17897 if test "$cross_compiling" = yes; then
17898 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17899 See \`config.log' for more details." >&5
17900 echo "$as_me: error: cannot run test program while cross compiling
17901 See \`config.log' for more details." >&2;}
17902 { (exit 1); exit 1; }; }
17904 cat >conftest.
$ac_ext <<_ACEOF
17907 cat confdefs.h
>>conftest.
$ac_ext
17908 cat >>conftest.
$ac_ext <<_ACEOF
17909 /* end confdefs.h. */
17910 $ac_includes_default
17911 long longval () { return (long) (sizeof (long long)); }
17912 unsigned long ulongval () { return (long) (sizeof (long long)); }
17914 #include <stdlib.h>
17919 FILE *f = fopen ("conftest.val", "w");
17922 if (((long) (sizeof (long long))) < 0)
17924 long i = longval ();
17925 if (i != ((long) (sizeof (long long))))
17927 fprintf (f, "%ld\n", i);
17931 unsigned long i = ulongval ();
17932 if (i != ((long) (sizeof (long long))))
17934 fprintf (f, "%lu\n", i);
17936 exit (ferror (f) || fclose (f) != 0);
17942 rm -f conftest
$ac_exeext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17944 (eval $ac_link) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17953 ac_cv_sizeof_long_long
=`cat conftest.val`
17955 echo "$as_me: program exited with status $ac_status" >&5
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.
$ac_ext >&5
17959 ( exit $ac_status )
17960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17961 See \`config.log' for more details." >&5
17962 echo "$as_me: error: cannot compute sizeof (long long), 77
17963 See \`config.log' for more details." >&2;}
17964 { (exit 1); exit 1; }; }
17966 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17971 ac_cv_sizeof_long_long
=0
17974 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17975 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17976 cat >>confdefs.h
<<_ACEOF
17977 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17983 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17984 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17985 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17986 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 if test "$cross_compiling" = yes; then
17993 wx_cv_sizeof_wchar_t
=0
17996 wx_cv_sizeof_wchar_t
=4
18002 cat >conftest.
$ac_ext <<_ACEOF
18005 cat confdefs.h
>>conftest.
$ac_ext
18006 cat >>conftest.
$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18009 /* DJGPP only has fake wchar_t: */
18011 # error "fake wchar_t"
18013 #ifdef HAVE_WCHAR_H
18015 # include <stddef.h>
18017 # include <wchar.h>
18019 #ifdef HAVE_STDLIB_H
18020 # include <stdlib.h>
18025 FILE *f=fopen("conftestval", "w");
18027 fprintf(f, "%i", sizeof(wchar_t));
18032 rm -f conftest
$ac_exeext
18033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18034 (eval $ac_link) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18043 wx_cv_sizeof_wchar_t
=`cat conftestval`
18045 echo "$as_me: program exited with status $ac_status" >&5
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.
$ac_ext >&5
18049 ( exit $ac_status )
18050 wx_cv_sizeof_wchar_t
=0
18052 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18056 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18057 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18059 cat >>confdefs.h
<<_ACEOF
18060 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18064 # Check whether --enable-largefile or --disable-largefile was given.
18065 if test "${enable_largefile+set}" = set; then
18066 enableval
="$enable_largefile"
18069 if test "$enable_largefile" != no
; then
18072 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18073 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18074 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 cat >conftest.
$ac_ext <<_ACEOF
18081 cat confdefs.h
>>conftest.
$ac_ext
18082 cat >>conftest.
$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18084 #define _FILE_OFFSET_BITS 64
18085 #include <sys/types.h>
18090 unsigned int field: sizeof(off_t) == 8;
18097 rm -f conftest.
$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18101 grep -v '^ *+' conftest.er1
>conftest.err
18103 cat conftest.err
>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try
='test -z "$ac_c_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try
='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 ac_cv_sys_file_offset_bits
=64
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.
$ac_ext >&5
18124 ac_cv_sys_file_offset_bits
=no
18126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18130 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18131 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18133 if test "$ac_cv_sys_file_offset_bits" != no
; then
18135 cat >>confdefs.h
<<_ACEOF
18136 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18141 if test "x$wx_largefile" != "xyes"; then
18143 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18144 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18145 if test "${ac_cv_sys_large_files+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 cat >conftest.
$ac_ext <<_ACEOF
18152 cat confdefs.h
>>conftest.
$ac_ext
18153 cat >>conftest.
$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 #define _LARGE_FILES 1
18156 #include <sys/types.h>
18161 unsigned int field: sizeof(off_t) == 8;
18168 rm -f conftest.
$ac_objext
18169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18170 (eval $ac_compile) 2>conftest.er1
18172 grep -v '^ *+' conftest.er1
>conftest.err
18174 cat conftest.err
>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } &&
18177 { ac_try
='test -z "$ac_c_werror_flag"
18178 || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18190 ac_cv_sys_large_files
=1
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.
$ac_ext >&5
18195 ac_cv_sys_large_files
=no
18197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18201 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18202 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18204 if test "$ac_cv_sys_large_files" != no
; then
18206 cat >>confdefs.h
<<_ACEOF
18207 #define _LARGE_FILES $ac_cv_sys_large_files
18214 echo "$as_me:$LINENO: checking if large file support is available" >&5
18215 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18216 if test "x$wx_largefile" = "xyes"; then
18217 cat >>confdefs.h
<<\_ACEOF
18218 #define HAVE_LARGEFILE_SUPPORT 1
18222 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18223 echo "${ECHO_T}$wx_largefile" >&6
18227 if test "x$wx_largefile" = "xyes"; then
18228 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18229 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18231 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18233 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18236 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18237 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18238 if test "${ac_cv_c_bigendian+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 ac_cv_c_bigendian
=unknown
18242 # See if sys/param.h defines the BYTE_ORDER macro.
18243 cat >conftest.
$ac_ext <<_ACEOF
18246 cat confdefs.h
>>conftest.
$ac_ext
18247 cat >>conftest.
$ac_ext <<_ACEOF
18248 /* end confdefs.h. */
18249 #include <sys/types.h>
18250 #include <sys/param.h>
18255 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18256 bogus endian macros
18262 rm -f conftest.
$ac_objext
18263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18264 (eval $ac_compile) 2>conftest.er1
18266 grep -v '^ *+' conftest.er1
>conftest.err
18268 cat conftest.err
>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } &&
18271 { ac_try
='test -z "$ac_c_werror_flag"
18272 || test ! -s conftest.err'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; } &&
18278 { ac_try
='test -s conftest.$ac_objext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 # It does; now see whether it defined to BIG_ENDIAN or not.
18285 cat >conftest.
$ac_ext <<_ACEOF
18288 cat confdefs.h
>>conftest.
$ac_ext
18289 cat >>conftest.
$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 #include <sys/types.h>
18292 #include <sys/param.h>
18297 #if BYTE_ORDER != BIG_ENDIAN
18304 rm -f conftest.
$ac_objext
18305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18306 (eval $ac_compile) 2>conftest.er1
18308 grep -v '^ *+' conftest.er1
>conftest.err
18310 cat conftest.err
>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } &&
18313 { ac_try
='test -z "$ac_c_werror_flag"
18314 || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try
='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 ac_cv_c_bigendian
=yes
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.
$ac_ext >&5
18331 ac_cv_c_bigendian
=no
18333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.
$ac_ext >&5
18339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18340 if test $ac_cv_c_bigendian = unknown
; then
18341 if test "$cross_compiling" = yes; then
18342 ac_cv_c_bigendian
=unknown
18344 cat >conftest.
$ac_ext <<_ACEOF
18347 cat confdefs.h
>>conftest.
$ac_ext
18348 cat >>conftest.
$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18351 /* Are we little or big endian? From Harbison&Steele. */
18355 char c[sizeof (long)];
18358 exit (u.c[sizeof (long) - 1] == 1);
18361 rm -f conftest
$ac_exeext
18362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18363 (eval $ac_link) 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_cv_c_bigendian
=no
18374 echo "$as_me: program exited with status $ac_status" >&5
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.
$ac_ext >&5
18378 ( exit $ac_status )
18379 ac_cv_c_bigendian
=yes
18381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18385 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18386 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18387 if test $ac_cv_c_bigendian = unknown
; then
18388 { 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
18389 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;}
18391 if test $ac_cv_c_bigendian = yes; then
18392 cat >>confdefs.h
<<\_ACEOF
18393 #define WORDS_BIGENDIAN 1
18400 ac_cpp
='$CXXCPP $CPPFLAGS'
18401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18404 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18405 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18406 if test -z "$CXXCPP"; then
18407 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 # Double quotes because CXXCPP needs to be expanded
18411 for CXXCPP
in "$CXX -E" "/lib/cpp"
18413 ac_preproc_ok
=false
18414 for ac_cxx_preproc_warn_flag
in '' yes
18416 # Use a header file that comes with gcc, so configuring glibc
18417 # with a fresh cross-compiler works.
18418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18419 # <limits.h> exists even on freestanding compilers.
18420 # On the NeXT, cc -E runs the code through the compiler's parser,
18421 # not just through cpp. "Syntax error" is here to catch this case.
18422 cat >conftest.
$ac_ext <<_ACEOF
18425 cat confdefs.h
>>conftest.
$ac_ext
18426 cat >>conftest.
$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18429 # include <limits.h>
18431 # include <assert.h>
18435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18438 grep -v '^ *+' conftest.er1
>conftest.err
18440 cat conftest.err
>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } >/dev
/null
; then
18443 if test -s conftest.err
; then
18444 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18445 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18452 if test -z "$ac_cpp_err"; then
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.
$ac_ext >&5
18458 # Broken: fails on valid input.
18461 rm -f conftest.err conftest.
$ac_ext
18463 # OK, works on sane cases. Now check whether non-existent headers
18464 # can be detected and how.
18465 cat >conftest.
$ac_ext <<_ACEOF
18468 cat confdefs.h
>>conftest.
$ac_ext
18469 cat >>conftest.
$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <ac_nonexistent.h>
18473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18476 grep -v '^ *+' conftest.er1
>conftest.err
18478 cat conftest.err
>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } >/dev
/null
; then
18481 if test -s conftest.err
; then
18482 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18483 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18490 if test -z "$ac_cpp_err"; then
18491 # Broken: success on invalid input.
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.
$ac_ext >&5
18497 # Passes both tests.
18501 rm -f conftest.err conftest.
$ac_ext
18504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18505 rm -f conftest.err conftest.
$ac_ext
18506 if $ac_preproc_ok; then
18511 ac_cv_prog_CXXCPP
=$CXXCPP
18514 CXXCPP
=$ac_cv_prog_CXXCPP
18516 ac_cv_prog_CXXCPP
=$CXXCPP
18518 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18519 echo "${ECHO_T}$CXXCPP" >&6
18520 ac_preproc_ok
=false
18521 for ac_cxx_preproc_warn_flag
in '' yes
18523 # Use a header file that comes with gcc, so configuring glibc
18524 # with a fresh cross-compiler works.
18525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18526 # <limits.h> exists even on freestanding compilers.
18527 # On the NeXT, cc -E runs the code through the compiler's parser,
18528 # not just through cpp. "Syntax error" is here to catch this case.
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18536 # include <limits.h>
18538 # include <assert.h>
18542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18545 grep -v '^ *+' conftest.er1
>conftest.err
18547 cat conftest.err
>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } >/dev
/null
; then
18550 if test -s conftest.err
; then
18551 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18552 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18559 if test -z "$ac_cpp_err"; then
18562 echo "$as_me: failed program was:" >&5
18563 sed 's/^/| /' conftest.
$ac_ext >&5
18565 # Broken: fails on valid input.
18568 rm -f conftest.err conftest.
$ac_ext
18570 # OK, works on sane cases. Now check whether non-existent headers
18571 # can be detected and how.
18572 cat >conftest.
$ac_ext <<_ACEOF
18575 cat confdefs.h
>>conftest.
$ac_ext
18576 cat >>conftest.
$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 #include <ac_nonexistent.h>
18580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18583 grep -v '^ *+' conftest.er1
>conftest.err
18585 cat conftest.err
>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } >/dev
/null
; then
18588 if test -s conftest.err
; then
18589 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18590 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18597 if test -z "$ac_cpp_err"; then
18598 # Broken: success on invalid input.
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.
$ac_ext >&5
18604 # Passes both tests.
18608 rm -f conftest.err conftest.
$ac_ext
18611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18612 rm -f conftest.err conftest.
$ac_ext
18613 if $ac_preproc_ok; then
18616 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18617 See \`config.log' for more details." >&5
18618 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18619 See \`config.log' for more details." >&2;}
18620 { (exit 1); exit 1; }; }
18624 ac_cpp
='$CXXCPP $CPPFLAGS'
18625 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18631 if test "$cross_compiling" = "yes"; then
18632 cat >>confdefs.h
<<\_ACEOF
18633 #define wxUSE_IOSTREAMH 1
18640 ac_cpp
='$CXXCPP $CPPFLAGS'
18641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18647 for ac_header
in iostream
18649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18651 echo "$as_me:$LINENO: checking for $ac_header" >&5
18652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18659 # Is the header compilable?
18660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18662 cat >conftest.
$ac_ext <<_ACEOF
18665 cat confdefs.h
>>conftest.
$ac_ext
18666 cat >>conftest.
$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 $ac_includes_default
18669 #include <$ac_header>
18671 rm -f conftest.
$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18675 grep -v '^ *+' conftest.er1
>conftest.err
18677 cat conftest.err
>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try
='test -z "$ac_cxx_werror_flag"
18681 || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try
='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_header_compiler
=yes
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.
$ac_ext >&5
18698 ac_header_compiler
=no
18700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18702 echo "${ECHO_T}$ac_header_compiler" >&6
18704 # Is the header present?
18705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18707 cat >conftest.
$ac_ext <<_ACEOF
18710 cat confdefs.h
>>conftest.
$ac_ext
18711 cat >>conftest.
$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 #include <$ac_header>
18715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1
>conftest.err
18720 cat conftest.err
>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } >/dev
/null
; then
18723 if test -s conftest.err
; then
18724 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18725 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18732 if test -z "$ac_cpp_err"; then
18733 ac_header_preproc
=yes
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.
$ac_ext >&5
18738 ac_header_preproc
=no
18740 rm -f conftest.err conftest.
$ac_ext
18741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18742 echo "${ECHO_T}$ac_header_preproc" >&6
18744 # So? What about this header?
18745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18751 ac_header_preproc
=yes
18754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18768 ## ----------------------------------------- ##
18769 ## Report this to wx-dev@lists.wxwindows.org ##
18770 ## ----------------------------------------- ##
18773 sed "s/^/$as_me: WARNING: /" >&2
18776 echo "$as_me:$LINENO: checking for $ac_header" >&5
18777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 eval "$as_ac_Header=\$ac_header_preproc"
18783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18788 cat >>confdefs.h
<<_ACEOF
18789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18797 if test "$ac_cv_header_iostream" = "yes" ; then
18800 cat >>confdefs.h
<<\_ACEOF
18801 #define wxUSE_IOSTREAMH 1
18807 ac_cpp
='$CPP $CPPFLAGS'
18808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18816 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18817 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18818 if test "${wx_cv_cpp_bool+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 ac_cpp
='$CXXCPP $CPPFLAGS'
18826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18831 cat >conftest.
$ac_ext <<_ACEOF
18834 cat confdefs.h
>>conftest.
$ac_ext
18835 cat >>conftest.
$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18851 rm -f conftest.
$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18855 grep -v '^ *+' conftest.er1
>conftest.err
18857 cat conftest.err
>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try
='test -z "$ac_cxx_werror_flag"
18861 || test ! -s conftest.err'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; } &&
18867 { ac_try
='test -s conftest.$ac_objext'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; }; then
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.
$ac_ext >&5
18885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18888 ac_cpp
='$CPP $CPPFLAGS'
18889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18895 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18896 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18898 if test "$wx_cv_cpp_bool" = "yes"; then
18899 cat >>confdefs.h
<<\_ACEOF
18900 #define HAVE_BOOL 1
18907 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18908 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18909 if test "${wx_cv_explicit+set}" = set; then
18910 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 ac_cpp
='$CXXCPP $CPPFLAGS'
18917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18922 cat >conftest.
$ac_ext <<_ACEOF
18925 cat confdefs.h
>>conftest.
$ac_ext
18926 cat >>conftest.
$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18929 class Foo { public: explicit Foo(int) {} };
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_cxx_werror_flag"
18951 || test ! -s conftest.err'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; } &&
18957 { ac_try
='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18964 cat >conftest.
$ac_ext <<_ACEOF
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18971 class Foo { public: explicit Foo(int) {} };
18972 static void TakeFoo(const Foo& foo) { }
18985 rm -f conftest.
$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987 (eval $ac_compile) 2>conftest.er1
18989 grep -v '^ *+' conftest.er1
>conftest.err
18991 cat conftest.err
>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try
='test -z "$ac_cxx_werror_flag"
18995 || test ! -s conftest.err'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; } &&
19001 { ac_try
='test -s conftest.$ac_objext'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; }; then
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.
$ac_ext >&5
19015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.
$ac_ext >&5
19024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19027 ac_cpp
='$CPP $CPPFLAGS'
19028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19034 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19035 echo "${ECHO_T}$wx_cv_explicit" >&6
19037 if test "$wx_cv_explicit" = "yes"; then
19038 cat >>confdefs.h
<<\_ACEOF
19039 #define HAVE_EXPLICIT 1
19045 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19046 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19047 if test "${ac_cv_cxx_const_cast+set}" = set; then
19048 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 ac_cpp
='$CXXCPP $CPPFLAGS'
19054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19058 cat >conftest.
$ac_ext <<_ACEOF
19061 cat confdefs.h
>>conftest.
$ac_ext
19062 cat >>conftest.
$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19068 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19073 rm -f conftest.
$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19077 grep -v '^ *+' conftest.er1
>conftest.err
19079 cat conftest.err
>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try
='test -z "$ac_cxx_werror_flag"
19083 || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try
='test -s conftest.$ac_objext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_cxx_const_cast
=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.
$ac_ext >&5
19100 ac_cv_cxx_const_cast
=no
19102 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: $ac_cv_cxx_const_cast" >&5
19112 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19113 if test "$ac_cv_cxx_const_cast" = yes; then
19115 cat >>confdefs.h
<<\_ACEOF
19116 #define HAVE_CONST_CAST
19121 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19122 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19123 if test "${ac_cv_cxx_static_cast+set}" = set; then
19124 echo $ECHO_N "(cached) $ECHO_C" >&6
19129 ac_cpp
='$CXXCPP $CPPFLAGS'
19130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19134 cat >conftest.
$ac_ext <<_ACEOF
19137 cat confdefs.h
>>conftest.
$ac_ext
19138 cat >>conftest.
$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <typeinfo>
19141 class Base { public : Base () {} virtual void f () = 0; };
19142 class Derived : public Base { public : Derived () {} virtual void f () {} };
19143 int g (Derived&) { return 0; }
19148 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19153 rm -f conftest.
$ac_objext
19154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19155 (eval $ac_compile) 2>conftest.er1
19157 grep -v '^ *+' conftest.er1
>conftest.err
19159 cat conftest.err
>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } &&
19162 { ac_try
='test -z "$ac_cxx_werror_flag"
19163 || test ! -s conftest.err'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; } &&
19169 { ac_try
='test -s conftest.$ac_objext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_cv_cxx_static_cast
=yes
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.
$ac_ext >&5
19180 ac_cv_cxx_static_cast
=no
19182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 ac_cpp
='$CPP $CPPFLAGS'
19185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19191 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19192 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19193 if test "$ac_cv_cxx_static_cast" = yes; then
19195 cat >>confdefs.h
<<\_ACEOF
19196 #define HAVE_STATIC_CAST
19202 if test "$wxUSE_STL" = "yes"; then
19204 ac_cpp
='$CXXCPP $CPPFLAGS'
19205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19210 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19211 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19219 #include <functional>
19220 #include <algorithm>
19226 std::vector<int> moo;
19227 std::list<int> foo;
19228 std::vector<int>::iterator it =
19229 std::find_if(moo.begin(), moo.end(),
19230 std::bind2nd(std::less<int>(), 3));
19235 rm -f conftest.
$ac_objext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19237 (eval $ac_compile) 2>conftest.er1
19239 grep -v '^ *+' conftest.er1
>conftest.err
19241 cat conftest.err
>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); } &&
19244 { ac_try
='test -z "$ac_cxx_werror_flag"
19245 || test ! -s conftest.err'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; } &&
19251 { ac_try
='test -s conftest.$ac_objext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 echo "$as_me:$LINENO: result: yes" >&5
19258 echo "${ECHO_T}yes" >&6
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.
$ac_ext >&5
19263 echo "$as_me:$LINENO: result: no" >&5
19264 echo "${ECHO_T}no" >&6
19265 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19266 echo "$as_me: error: Basic STL functionality missing" >&2;}
19267 { (exit 1); exit 1; }; }
19269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19271 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19272 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19273 cat >conftest.
$ac_ext <<_ACEOF
19276 cat confdefs.h
>>conftest.
$ac_ext
19277 cat >>conftest.
$ac_ext <<_ACEOF
19278 /* end confdefs.h. */
19288 rm -f conftest.
$ac_objext
19289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19290 (eval $ac_compile) 2>conftest.er1
19292 grep -v '^ *+' conftest.er1
>conftest.err
19294 cat conftest.err
>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } &&
19297 { ac_try
='test -z "$ac_cxx_werror_flag"
19298 || test ! -s conftest.err'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; } &&
19304 { ac_try
='test -s conftest.$ac_objext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 echo "$as_me:$LINENO: result: yes" >&5
19311 echo "${ECHO_T}yes" >&6
19312 cat >>confdefs.h
<<\_ACEOF
19313 #define HAVE_STD_WSTRING 1
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.
$ac_ext >&5
19320 echo "$as_me:$LINENO: result: no" >&5
19321 echo "${ECHO_T}no" >&6
19323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19325 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19326 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19327 cat >conftest.
$ac_ext <<_ACEOF
19330 cat confdefs.h
>>conftest.
$ac_ext
19331 cat >>conftest.
$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19337 std::string foo, bar;
19339 foo.compare(1, 1, bar);
19340 foo.compare(1, 1, bar, 1, 1);
19342 foo.compare(1, 1, "");
19343 foo.compare(1, 1, "", 2);
19348 rm -f conftest.
$ac_objext
19349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19350 (eval $ac_compile) 2>conftest.er1
19352 grep -v '^ *+' conftest.er1
>conftest.err
19354 cat conftest.err
>&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } &&
19357 { ac_try
='test -z "$ac_cxx_werror_flag"
19358 || test ! -s conftest.err'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; } &&
19364 { ac_try
='test -s conftest.$ac_objext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 echo "$as_me:$LINENO: result: yes" >&5
19371 echo "${ECHO_T}yes" >&6
19372 cat >>confdefs.h
<<\_ACEOF
19373 #define HAVE_STD_STRING_COMPARE 1
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.
$ac_ext >&5
19380 echo "$as_me:$LINENO: result: no" >&5
19381 echo "${ECHO_T}no" >&6
19383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19386 ac_cpp
='$CPP $CPPFLAGS'
19387 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19388 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19389 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19395 /usr/local/include \
19397 /usr/Motif-2.1/include \
19398 /usr/Motif-1.2/include \
19399 /usr/include/Motif1.2 \
19400 /opt/xpm/include/X11 \
19401 /opt/GBxpm/include/ \
19402 /opt/GBxpm/X11/include/ \
19405 /usr/openwin/include \
19409 /usr/X11R6/include \
19410 /usr/X11R6.4/include \
19411 /usr/X11R5/include \
19412 /usr/X11R4/include \
19414 /usr/include/X11R6 \
19415 /usr/include/X11R5 \
19416 /usr/include/X11R4 \
19418 /usr/local/X11R6/include \
19419 /usr/local/X11R5/include \
19420 /usr/local/X11R4/include \
19422 /usr/local/include/X11R6 \
19423 /usr/local/include/X11R5 \
19424 /usr/local/include/X11R4 \
19428 /usr/local/X11/include \
19429 /usr/local/include/X11 \
19431 /usr/X386/include \
19432 /usr/x386/include \
19433 /usr/XFree86/include/X11 \
19435 X:/XFree86/include \
19436 X:/XFree86/include/X11 \
19439 /usr/local/include/gtk \
19440 /usr/include/glib \
19441 /usr/local/include/glib \
19444 /usr/local/include/qt \
19446 /usr/local/arm/3.3.2/include \
19448 /usr/include/windows \
19449 /usr/include/wine \
19450 /usr/local/include/wine \
19452 /usr/unsupported/include \
19453 /usr/athena/include \
19454 /usr/local/x11r5/include \
19455 /usr/lpp/Xamples/include \
19457 /usr/openwin/share/include"
19459 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19462 cat >confcache
<<\_ACEOF
19463 # This file is a shell script that caches the results of configure
19464 # tests run on this system so they can be shared between configure
19465 # scripts and configure runs, see configure's option --config-cache.
19466 # It is not useful on other systems. If it contains results you don't
19467 # want to keep, you may remove or edit it.
19469 # config.status only pays attention to the cache file if you give it
19470 # the --recheck option to rerun configure.
19472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19474 # following values.
19478 # The following way of writing the cache mishandles newlines in values,
19479 # but we know of no workaround that is simple, portable, and efficient.
19480 # So, don't put newlines in cache variables' values.
19481 # Ultrix sh set writes to stderr and can't be redirected directly,
19482 # and sets the high bit in the cache file unless we assign to the vars.
19485 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19487 # `set' does not quote correctly, so add quotes (double-quote
19488 # substitution turns \\\\ into \\, and sed turns \\ into \).
19491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19494 # `set' quotes correctly as required by POSIX, so do not add quotes.
19496 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19505 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19507 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19508 if test -w $cache_file; then
19509 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19510 cat confcache
>$cache_file
19512 echo "not updating unwritable cache $cache_file"
19517 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19518 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19519 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19520 if test "${wx_cv_lib_glibc21+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19524 cat >conftest.
$ac_ext <<_ACEOF
19527 cat confdefs.h
>>conftest.
$ac_ext
19528 cat >>conftest.
$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 #include <features.h>
19535 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19536 #error not glibc2.1
19543 rm -f conftest.
$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19547 grep -v '^ *+' conftest.er1
>conftest.err
19549 cat conftest.err
>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try
='test -z "$ac_c_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try
='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19566 wx_cv_lib_glibc21
=yes
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.
$ac_ext >&5
19573 wx_cv_lib_glibc21
=no
19577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19580 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19581 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19582 if test "$wx_cv_lib_glibc21" = "yes"; then
19583 cat >>confdefs.h
<<\_ACEOF
19584 #define wxHAVE_GLIBC2 1
19590 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19591 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19592 cat >>confdefs.h
<<\_ACEOF
19593 #define _GNU_SOURCE 1
19601 if test "$wxUSE_REGEX" != "no"; then
19602 cat >>confdefs.h
<<\_ACEOF
19603 #define wxUSE_REGEX 1
19607 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19608 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19609 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19610 wxUSE_REGEX
=builtin
19613 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19614 if test "${ac_cv_header_regex_h+set}" = set; then
19615 echo "$as_me:$LINENO: checking for regex.h" >&5
19616 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19617 if test "${ac_cv_header_regex_h+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19620 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19621 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19623 # Is the header compilable?
19624 echo "$as_me:$LINENO: checking regex.h usability" >&5
19625 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19626 cat >conftest.
$ac_ext <<_ACEOF
19629 cat confdefs.h
>>conftest.
$ac_ext
19630 cat >>conftest.
$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19632 $ac_includes_default
19635 rm -f conftest.
$ac_objext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19637 (eval $ac_compile) 2>conftest.er1
19639 grep -v '^ *+' conftest.er1
>conftest.err
19641 cat conftest.err
>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } &&
19644 { ac_try
='test -z "$ac_c_werror_flag"
19645 || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try
='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_header_compiler
=yes
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.
$ac_ext >&5
19662 ac_header_compiler
=no
19664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19666 echo "${ECHO_T}$ac_header_compiler" >&6
19668 # Is the header present?
19669 echo "$as_me:$LINENO: checking regex.h presence" >&5
19670 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19671 cat >conftest.
$ac_ext <<_ACEOF
19674 cat confdefs.h
>>conftest.
$ac_ext
19675 cat >>conftest.
$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19682 grep -v '^ *+' conftest.er1
>conftest.err
19684 cat conftest.err
>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } >/dev
/null
; then
19687 if test -s conftest.err
; then
19688 ac_cpp_err
=$ac_c_preproc_warn_flag
19689 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19696 if test -z "$ac_cpp_err"; then
19697 ac_header_preproc
=yes
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.
$ac_ext >&5
19702 ac_header_preproc
=no
19704 rm -f conftest.err conftest.
$ac_ext
19705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19706 echo "${ECHO_T}$ac_header_preproc" >&6
19708 # So? What about this header?
19709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19711 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19712 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19713 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19714 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19715 ac_header_preproc
=yes
19718 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19719 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19720 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19721 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19722 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19723 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19724 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19725 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19726 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19727 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19728 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19729 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19732 ## ----------------------------------------- ##
19733 ## Report this to wx-dev@lists.wxwindows.org ##
19734 ## ----------------------------------------- ##
19737 sed "s/^/$as_me: WARNING: /" >&2
19740 echo "$as_me:$LINENO: checking for regex.h" >&5
19741 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19742 if test "${ac_cv_header_regex_h+set}" = set; then
19743 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 ac_cv_header_regex_h
=$ac_header_preproc
19747 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19748 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19751 if test $ac_cv_header_regex_h = yes; then
19753 for ac_func
in regcomp
19755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19756 echo "$as_me:$LINENO: checking for $ac_func" >&5
19757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19758 if eval "test \"\${$as_ac_var+set}\" = set"; then
19759 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 cat >conftest.
$ac_ext <<_ACEOF
19764 cat confdefs.h
>>conftest.
$ac_ext
19765 cat >>conftest.
$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19769 #define $ac_func innocuous_$ac_func
19771 /* System header to define __stub macros and hopefully few prototypes,
19772 which can conflict with char $ac_func (); below.
19773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19774 <limits.h> exists even on freestanding compilers. */
19777 # include <limits.h>
19779 # include <assert.h>
19784 /* Override any gcc2 internal prototype to avoid an error. */
19789 /* We use char because int might match the return type of a gcc2
19790 builtin and then its argument prototype would still apply. */
19792 /* The GNU C library defines this for functions which it implements
19793 to always fail with ENOSYS. Some functions are actually named
19794 something starting with __ and the normal name is an alias. */
19795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19798 char (*f) () = $ac_func;
19807 return f != $ac_func;
19812 rm -f conftest.
$ac_objext conftest
$ac_exeext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19814 (eval $ac_link) 2>conftest.er1
19816 grep -v '^ *+' conftest.er1
>conftest.err
19818 cat conftest.err
>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } &&
19821 { ac_try
='test -z "$ac_c_werror_flag"
19822 || test ! -s conftest.err'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; } &&
19828 { ac_try
='test -s conftest$ac_exeext'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; }; then
19834 eval "$as_ac_var=yes"
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.
$ac_ext >&5
19839 eval "$as_ac_var=no"
19841 rm -f conftest.err conftest.
$ac_objext \
19842 conftest
$ac_exeext conftest.
$ac_ext
19844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19846 if test `eval echo '${'$as_ac_var'}'` = yes; then
19847 cat >>confdefs.h
<<_ACEOF
19848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19858 if test "x$ac_cv_func_regcomp" != "xyes"; then
19859 if test "$wxUSE_REGEX" = "sys" ; then
19860 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19861 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19862 { (exit 1); exit 1; }; }
19864 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19865 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19866 wxUSE_REGEX
=builtin
19870 cat >>confdefs.h
<<\_ACEOF
19871 #define WX_NO_REGEX_ADVANCED 1
19880 if test "$wxUSE_ZLIB" != "no" ; then
19881 cat >>confdefs.h
<<\_ACEOF
19882 #define wxUSE_ZLIB 1
19886 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19887 if test "$USE_DARWIN" = 1; then
19888 system_zlib_h_ok
="yes"
19890 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19891 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19892 if test "${ac_cv_header_zlib_h+set}" = set; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 if test "$cross_compiling" = yes; then
19896 unset ac_cv_header_zlib_h
19899 cat >conftest.
$ac_ext <<_ACEOF
19902 cat confdefs.h
>>conftest.
$ac_ext
19903 cat >>conftest.
$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19911 FILE *f=fopen("conftestval", "w");
19914 ZLIB_VERSION[0] == '1' &&
19915 (ZLIB_VERSION[2] > '1' ||
19916 (ZLIB_VERSION[2] == '1' &&
19917 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19922 rm -f conftest
$ac_exeext
19923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19924 (eval $ac_link) 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_cv_header_zlib_h
=`cat conftestval`
19935 echo "$as_me: program exited with status $ac_status" >&5
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.
$ac_ext >&5
19939 ( exit $ac_status )
19940 ac_cv_header_zlib_h
=no
19942 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19946 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19947 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19948 if test "${ac_cv_header_zlib_h+set}" = set; then
19949 echo "$as_me:$LINENO: checking for zlib.h" >&5
19950 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19951 if test "${ac_cv_header_zlib_h+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19955 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19957 # Is the header compilable?
19958 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19959 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19960 cat >conftest.
$ac_ext <<_ACEOF
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 $ac_includes_default
19969 rm -f conftest.
$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19973 grep -v '^ *+' conftest.er1
>conftest.err
19975 cat conftest.err
>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try
='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 ac_header_compiler
=yes
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 ac_header_compiler
=no
19998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20000 echo "${ECHO_T}$ac_header_compiler" >&6
20002 # Is the header present?
20003 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20004 echo $ECHO_N "checking zlib.h presence... $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. */
20013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20016 grep -v '^ *+' conftest.er1
>conftest.err
20018 cat conftest.err
>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } >/dev
/null
; then
20021 if test -s conftest.err
; then
20022 ac_cpp_err
=$ac_c_preproc_warn_flag
20023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20030 if test -z "$ac_cpp_err"; then
20031 ac_header_preproc
=yes
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 ac_header_preproc
=no
20038 rm -f conftest.err conftest.
$ac_ext
20039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20040 echo "${ECHO_T}$ac_header_preproc" >&6
20042 # So? What about this header?
20043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20045 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20046 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20047 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20048 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20049 ac_header_preproc
=yes
20052 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20053 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20054 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20055 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20057 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20058 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20059 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20060 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20061 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20062 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20063 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20066 ## ----------------------------------------- ##
20067 ## Report this to wx-dev@lists.wxwindows.org ##
20068 ## ----------------------------------------- ##
20071 sed "s/^/$as_me: WARNING: /" >&2
20074 echo "$as_me:$LINENO: checking for zlib.h" >&5
20075 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20076 if test "${ac_cv_header_zlib_h+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 ac_cv_header_zlib_h
=$ac_header_preproc
20081 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20082 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20088 system_zlib_h_ok
=$ac_cv_header_zlib_h
20091 if test "$system_zlib_h_ok" = "yes"; then
20092 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20093 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20094 if test "${ac_cv_lib_z_deflate+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20097 ac_check_lib_save_LIBS
=$LIBS
20099 cat >conftest.
$ac_ext <<_ACEOF
20102 cat confdefs.h
>>conftest.
$ac_ext
20103 cat >>conftest.
$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20106 /* Override any gcc2 internal prototype to avoid an error. */
20110 /* We use char because int might match the return type of a gcc2
20111 builtin and then its argument prototype would still apply. */
20121 rm -f conftest.
$ac_objext conftest
$ac_exeext
20122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20123 (eval $ac_link) 2>conftest.er1
20125 grep -v '^ *+' conftest.er1
>conftest.err
20127 cat conftest.err
>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try
='test -z "$ac_c_werror_flag"
20131 || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try
='test -s conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 ac_cv_lib_z_deflate
=yes
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.
$ac_ext >&5
20148 ac_cv_lib_z_deflate
=no
20150 rm -f conftest.err conftest.
$ac_objext \
20151 conftest
$ac_exeext conftest.
$ac_ext
20152 LIBS
=$ac_check_lib_save_LIBS
20154 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20155 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20156 if test $ac_cv_lib_z_deflate = yes; then
20162 if test "x$ZLIB_LINK" = "x" ; then
20163 if test "$wxUSE_ZLIB" = "sys" ; then
20164 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20165 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20166 { (exit 1); exit 1; }; }
20168 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20169 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20180 if test "$wxUSE_LIBPNG" != "no" ; then
20181 cat >>confdefs.h
<<\_ACEOF
20182 #define wxUSE_LIBPNG 1
20186 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20187 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20188 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20192 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20193 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20194 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20195 wxUSE_LIBPNG
=builtin
20198 if test "$wxUSE_MGL" != 1 ; then
20199 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20200 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20201 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20202 if test "${ac_cv_header_png_h+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 if test "$cross_compiling" = yes; then
20206 unset ac_cv_header_png_h
20209 cat >conftest.
$ac_ext <<_ACEOF
20212 cat confdefs.h
>>conftest.
$ac_ext
20213 cat >>conftest.
$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20221 FILE *f=fopen("conftestval", "w");
20224 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20229 rm -f conftest
$ac_exeext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20231 (eval $ac_link) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236 (eval $ac_try) 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; }; then
20240 ac_cv_header_png_h
=`cat conftestval`
20242 echo "$as_me: program exited with status $ac_status" >&5
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.
$ac_ext >&5
20246 ( exit $ac_status )
20247 ac_cv_header_png_h
=no
20249 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20253 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20254 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20255 if test "${ac_cv_header_png_h+set}" = set; then
20256 echo "$as_me:$LINENO: checking for png.h" >&5
20257 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20258 if test "${ac_cv_header_png_h+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20262 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20264 # Is the header compilable?
20265 echo "$as_me:$LINENO: checking png.h usability" >&5
20266 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20267 cat >conftest.
$ac_ext <<_ACEOF
20270 cat confdefs.h
>>conftest.
$ac_ext
20271 cat >>conftest.
$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 $ac_includes_default
20276 rm -f conftest.
$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20280 grep -v '^ *+' conftest.er1
>conftest.err
20282 cat conftest.err
>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try
='test -z "$ac_c_werror_flag"
20286 || test ! -s conftest.err'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; } &&
20292 { ac_try
='test -s conftest.$ac_objext'
20293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294 (eval $ac_try) 2>&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_header_compiler
=yes
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.
$ac_ext >&5
20303 ac_header_compiler
=no
20305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20307 echo "${ECHO_T}$ac_header_compiler" >&6
20309 # Is the header present?
20310 echo "$as_me:$LINENO: checking png.h presence" >&5
20311 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20312 cat >conftest.
$ac_ext <<_ACEOF
20315 cat confdefs.h
>>conftest.
$ac_ext
20316 cat >>conftest.
$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20323 grep -v '^ *+' conftest.er1
>conftest.err
20325 cat conftest.err
>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } >/dev
/null
; then
20328 if test -s conftest.err
; then
20329 ac_cpp_err
=$ac_c_preproc_warn_flag
20330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20337 if test -z "$ac_cpp_err"; then
20338 ac_header_preproc
=yes
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.
$ac_ext >&5
20343 ac_header_preproc
=no
20345 rm -f conftest.err conftest.
$ac_ext
20346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20347 echo "${ECHO_T}$ac_header_preproc" >&6
20349 # So? What about this header?
20350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20352 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20353 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20354 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20355 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20356 ac_header_preproc
=yes
20359 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20360 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20361 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20362 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20363 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20364 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20365 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20366 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20367 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20368 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20369 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20370 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20373 ## ----------------------------------------- ##
20374 ## Report this to wx-dev@lists.wxwindows.org ##
20375 ## ----------------------------------------- ##
20378 sed "s/^/$as_me: WARNING: /" >&2
20381 echo "$as_me:$LINENO: checking for png.h" >&5
20382 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20383 if test "${ac_cv_header_png_h+set}" = set; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6
20386 ac_cv_header_png_h
=$ac_header_preproc
20388 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20389 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20395 if test "$ac_cv_header_png_h" = "yes"; then
20396 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20397 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20398 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 ac_check_lib_save_LIBS
=$LIBS
20402 LIBS
="-lpng -lz -lm $LIBS"
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 /* Override any gcc2 internal prototype to avoid an error. */
20414 /* We use char because int might match the return type of a gcc2
20415 builtin and then its argument prototype would still apply. */
20416 char png_check_sig ();
20425 rm -f conftest.
$ac_objext conftest
$ac_exeext
20426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20427 (eval $ac_link) 2>conftest.er1
20429 grep -v '^ *+' conftest.er1
>conftest.err
20431 cat conftest.err
>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } &&
20434 { ac_try
='test -z "$ac_c_werror_flag"
20435 || test ! -s conftest.err'
20436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20437 (eval $ac_try) 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; } &&
20441 { ac_try
='test -s conftest$ac_exeext'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20447 ac_cv_lib_png_png_check_sig
=yes
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.
$ac_ext >&5
20452 ac_cv_lib_png_png_check_sig
=no
20454 rm -f conftest.err conftest.
$ac_objext \
20455 conftest
$ac_exeext conftest.
$ac_ext
20456 LIBS
=$ac_check_lib_save_LIBS
20458 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20459 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20460 if test $ac_cv_lib_png_png_check_sig = yes; then
20466 if test "x$PNG_LINK" = "x" ; then
20467 if test "$wxUSE_LIBPNG" = "sys" ; then
20468 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20469 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20470 { (exit 1); exit 1; }; }
20472 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20473 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20474 wxUSE_LIBPNG
=builtin
20482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20487 if test "$wxUSE_LIBJPEG" != "no" ; then
20488 cat >>confdefs.h
<<\_ACEOF
20489 #define wxUSE_LIBJPEG 1
20493 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20494 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20495 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20499 if test "$wxUSE_MGL" != 1 ; then
20500 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20501 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20502 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20503 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 cat >conftest.
$ac_ext <<_ACEOF
20509 cat confdefs.h
>>conftest.
$ac_ext
20510 cat >>conftest.
$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20513 #undef HAVE_STDLIB_H
20515 #include <jpeglib.h>
20526 rm -f conftest.
$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528 (eval $ac_compile) 2>conftest.er1
20530 grep -v '^ *+' conftest.er1
>conftest.err
20532 cat conftest.err
>&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); } &&
20535 { ac_try
='test -z "$ac_c_werror_flag"
20536 || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try
='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_header_jpeglib_h
=yes
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.
$ac_ext >&5
20553 ac_cv_header_jpeglib_h
=no
20556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20560 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20561 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20563 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20564 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20565 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20566 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20567 echo $ECHO_N "(cached) $ECHO_C" >&6
20569 ac_check_lib_save_LIBS
=$LIBS
20570 LIBS
="-ljpeg $LIBS"
20571 cat >conftest.
$ac_ext <<_ACEOF
20574 cat confdefs.h
>>conftest.
$ac_ext
20575 cat >>conftest.
$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20578 /* Override any gcc2 internal prototype to avoid an error. */
20582 /* We use char because int might match the return type of a gcc2
20583 builtin and then its argument prototype would still apply. */
20584 char jpeg_read_header ();
20588 jpeg_read_header ();
20593 rm -f conftest.
$ac_objext conftest
$ac_exeext
20594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20595 (eval $ac_link) 2>conftest.er1
20597 grep -v '^ *+' conftest.er1
>conftest.err
20599 cat conftest.err
>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); } &&
20602 { ac_try
='test -z "$ac_c_werror_flag"
20603 || test ! -s conftest.err'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; } &&
20609 { ac_try
='test -s conftest$ac_exeext'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; }; then
20615 ac_cv_lib_jpeg_jpeg_read_header
=yes
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.
$ac_ext >&5
20620 ac_cv_lib_jpeg_jpeg_read_header
=no
20622 rm -f conftest.err conftest.
$ac_objext \
20623 conftest
$ac_exeext conftest.
$ac_ext
20624 LIBS
=$ac_check_lib_save_LIBS
20626 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20627 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20628 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20629 JPEG_LINK
=" -ljpeg"
20634 if test "x$JPEG_LINK" = "x" ; then
20635 if test "$wxUSE_LIBJPEG" = "sys" ; then
20636 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20637 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20638 { (exit 1); exit 1; }; }
20640 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20641 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20642 wxUSE_LIBJPEG
=builtin
20653 TIFF_PREREQ_LINKS
=-lm
20654 if test "$wxUSE_LIBTIFF" != "no" ; then
20655 cat >>confdefs.h
<<\_ACEOF
20656 #define wxUSE_LIBTIFF 1
20660 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20661 if test "$wxUSE_LIBJPEG" = "sys"; then
20662 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20664 if test "$wxUSE_ZLIB" = "sys"; then
20665 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20667 if test "${ac_cv_header_tiffio_h+set}" = set; then
20668 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20669 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20670 if test "${ac_cv_header_tiffio_h+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20674 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20676 # Is the header compilable?
20677 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20678 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20679 cat >conftest.
$ac_ext <<_ACEOF
20682 cat confdefs.h
>>conftest.
$ac_ext
20683 cat >>conftest.
$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 #include <tiffio.h>
20688 rm -f conftest.
$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20692 grep -v '^ *+' conftest.er1
>conftest.err
20694 cat conftest.err
>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try
='test -z "$ac_c_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try
='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20710 ac_header_compiler
=yes
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.
$ac_ext >&5
20715 ac_header_compiler
=no
20717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20719 echo "${ECHO_T}$ac_header_compiler" >&6
20721 # Is the header present?
20722 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20723 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <tiffio.h>
20732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20733 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20735 grep -v '^ *+' conftest.er1
>conftest.err
20737 cat conftest.err
>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } >/dev
/null
; then
20740 if test -s conftest.err
; then
20741 ac_cpp_err
=$ac_c_preproc_warn_flag
20742 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20749 if test -z "$ac_cpp_err"; then
20750 ac_header_preproc
=yes
20752 echo "$as_me: failed program was:" >&5
20753 sed 's/^/| /' conftest.
$ac_ext >&5
20755 ac_header_preproc
=no
20757 rm -f conftest.err conftest.
$ac_ext
20758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20759 echo "${ECHO_T}$ac_header_preproc" >&6
20761 # So? What about this header?
20762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20764 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20765 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20766 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20767 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20768 ac_header_preproc
=yes
20771 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20772 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20773 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20774 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20775 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20776 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20777 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20778 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20779 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20780 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20781 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20782 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20785 ## ----------------------------------------- ##
20786 ## Report this to wx-dev@lists.wxwindows.org ##
20787 ## ----------------------------------------- ##
20790 sed "s/^/$as_me: WARNING: /" >&2
20793 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20794 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20795 if test "${ac_cv_header_tiffio_h+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 ac_cv_header_tiffio_h
=$ac_header_preproc
20800 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20801 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20804 if test $ac_cv_header_tiffio_h = yes; then
20806 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20807 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20808 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20809 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 ac_check_lib_save_LIBS
=$LIBS
20812 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20813 cat >conftest.
$ac_ext <<_ACEOF
20816 cat confdefs.h
>>conftest.
$ac_ext
20817 cat >>conftest.
$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20820 /* Override any gcc2 internal prototype to avoid an error. */
20824 /* We use char because int might match the return type of a gcc2
20825 builtin and then its argument prototype would still apply. */
20835 rm -f conftest.
$ac_objext conftest
$ac_exeext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20837 (eval $ac_link) 2>conftest.er1
20839 grep -v '^ *+' conftest.er1
>conftest.err
20841 cat conftest.err
>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try
='test -z "$ac_c_werror_flag"
20845 || test ! -s conftest.err'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; } &&
20851 { ac_try
='test -s conftest$ac_exeext'
20852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853 (eval $ac_try) 2>&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; }; then
20857 ac_cv_lib_tiff_TIFFError
=yes
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.
$ac_ext >&5
20862 ac_cv_lib_tiff_TIFFError
=no
20864 rm -f conftest.err conftest.
$ac_objext \
20865 conftest
$ac_exeext conftest.
$ac_ext
20866 LIBS
=$ac_check_lib_save_LIBS
20868 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20869 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20870 if test $ac_cv_lib_tiff_TIFFError = yes; then
20871 TIFF_LINK
=" -ltiff"
20880 if test "x$TIFF_LINK" = "x" ; then
20881 if test "$wxUSE_LIBTIFF" = "sys" ; then
20882 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20883 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20884 { (exit 1); exit 1; }; }
20886 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20887 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20888 wxUSE_LIBTIFF
=builtin
20897 if test "$wxUSE_EXPAT" != "no"; then
20899 cat >>confdefs.h
<<\_ACEOF
20900 #define wxUSE_EXPAT 1
20903 cat >>confdefs.h
<<\_ACEOF
20904 #define wxUSE_XML 1
20908 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20909 if test "${ac_cv_header_expat_h+set}" = set; then
20910 echo "$as_me:$LINENO: checking for expat.h" >&5
20911 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20912 if test "${ac_cv_header_expat_h+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20915 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20916 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20918 # Is the header compilable?
20919 echo "$as_me:$LINENO: checking expat.h usability" >&5
20920 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20921 cat >conftest.
$ac_ext <<_ACEOF
20924 cat confdefs.h
>>conftest.
$ac_ext
20925 cat >>conftest.
$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20930 rm -f conftest.
$ac_objext
20931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20932 (eval $ac_compile) 2>conftest.er1
20934 grep -v '^ *+' conftest.er1
>conftest.err
20936 cat conftest.err
>&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try
='test -z "$ac_c_werror_flag"
20940 || test ! -s conftest.err'
20941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20942 (eval $ac_try) 2>&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); }; } &&
20946 { ac_try
='test -s conftest.$ac_objext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_header_compiler
=yes
20954 echo "$as_me: failed program was:" >&5
20955 sed 's/^/| /' conftest.
$ac_ext >&5
20957 ac_header_compiler
=no
20959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20961 echo "${ECHO_T}$ac_header_compiler" >&6
20963 # Is the header present?
20964 echo "$as_me:$LINENO: checking expat.h presence" >&5
20965 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20966 cat >conftest.
$ac_ext <<_ACEOF
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20977 grep -v '^ *+' conftest.er1
>conftest.err
20979 cat conftest.err
>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } >/dev
/null
; then
20982 if test -s conftest.err
; then
20983 ac_cpp_err
=$ac_c_preproc_warn_flag
20984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20991 if test -z "$ac_cpp_err"; then
20992 ac_header_preproc
=yes
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.
$ac_ext >&5
20997 ac_header_preproc
=no
20999 rm -f conftest.err conftest.
$ac_ext
21000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21001 echo "${ECHO_T}$ac_header_preproc" >&6
21003 # So? What about this header?
21004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21006 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21007 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21008 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21009 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21010 ac_header_preproc
=yes
21013 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21014 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21015 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21016 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21017 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21018 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21019 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21020 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21021 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21022 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21023 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21024 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21027 ## ----------------------------------------- ##
21028 ## Report this to wx-dev@lists.wxwindows.org ##
21029 ## ----------------------------------------- ##
21032 sed "s/^/$as_me: WARNING: /" >&2
21035 echo "$as_me:$LINENO: checking for expat.h" >&5
21036 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21037 if test "${ac_cv_header_expat_h+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 ac_cv_header_expat_h
=$ac_header_preproc
21042 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21043 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21046 if test $ac_cv_header_expat_h = yes; then
21051 if test "x$found_expat_h" = "x1"; then
21052 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21053 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21054 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 ac_cpp
='$CXXCPP $CPPFLAGS'
21062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21066 cat >conftest.
$ac_ext <<_ACEOF
21069 cat confdefs.h
>>conftest.
$ac_ext
21070 cat >>conftest.
$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21081 rm -f conftest.
$ac_objext
21082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21083 (eval $ac_compile) 2>conftest.er1
21085 grep -v '^ *+' conftest.er1
>conftest.err
21087 cat conftest.err
>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try
='test -z "$ac_cxx_werror_flag"
21091 || test ! -s conftest.err'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try
='test -s conftest.$ac_objext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 wx_cv_expat_is_not_broken
=yes
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.
$ac_ext >&5
21108 wx_cv_expat_is_not_broken
=no
21111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21113 ac_cpp
='$CPP $CPPFLAGS'
21114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21121 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21122 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21123 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21124 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21125 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21126 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 ac_check_lib_save_LIBS
=$LIBS
21130 LIBS
="-lexpat $LIBS"
21131 cat >conftest.
$ac_ext <<_ACEOF
21134 cat confdefs.h
>>conftest.
$ac_ext
21135 cat >>conftest.
$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21138 /* Override any gcc2 internal prototype to avoid an error. */
21142 /* We use char because int might match the return type of a gcc2
21143 builtin and then its argument prototype would still apply. */
21144 char XML_ParserCreate ();
21148 XML_ParserCreate ();
21153 rm -f conftest.
$ac_objext conftest
$ac_exeext
21154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21155 (eval $ac_link) 2>conftest.er1
21157 grep -v '^ *+' conftest.er1
>conftest.err
21159 cat conftest.err
>&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try
='test -z "$ac_c_werror_flag"
21163 || test ! -s conftest.err'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; } &&
21169 { ac_try
='test -s conftest$ac_exeext'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 ac_cv_lib_expat_XML_ParserCreate
=yes
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.
$ac_ext >&5
21180 ac_cv_lib_expat_XML_ParserCreate
=no
21182 rm -f conftest.err conftest.
$ac_objext \
21183 conftest
$ac_exeext conftest.
$ac_ext
21184 LIBS
=$ac_check_lib_save_LIBS
21186 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21187 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21188 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21189 EXPAT_LINK
=" -lexpat"
21194 if test "x$EXPAT_LINK" = "x" ; then
21195 if test "$wxUSE_EXPAT" = "sys" ; then
21196 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21197 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21198 { (exit 1); exit 1; }; }
21200 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21201 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21202 wxUSE_EXPAT
=builtin
21208 if test "$wxUSE_EXPAT" = "builtin" ; then
21211 subdirs
="$subdirs src/expat"
21218 if test "$wxUSE_LIBMSPACK" != "no"; then
21220 if test "${ac_cv_header_mspack_h+set}" = set; then
21221 echo "$as_me:$LINENO: checking for mspack.h" >&5
21222 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21223 if test "${ac_cv_header_mspack_h+set}" = set; then
21224 echo $ECHO_N "(cached) $ECHO_C" >&6
21226 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21227 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21229 # Is the header compilable?
21230 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21231 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21232 cat >conftest.
$ac_ext <<_ACEOF
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 $ac_includes_default
21239 #include <mspack.h>
21241 rm -f conftest.
$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1
>conftest.err
21247 cat conftest.err
>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try
='test -z "$ac_c_werror_flag"
21251 || test ! -s conftest.err'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; } &&
21257 { ac_try
='test -s conftest.$ac_objext'
21258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21259 (eval $ac_try) 2>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); }; }; then
21263 ac_header_compiler
=yes
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 ac_header_compiler
=no
21270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21272 echo "${ECHO_T}$ac_header_compiler" >&6
21274 # Is the header present?
21275 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21276 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21277 cat >conftest.
$ac_ext <<_ACEOF
21280 cat confdefs.h
>>conftest.
$ac_ext
21281 cat >>conftest.
$ac_ext <<_ACEOF
21282 /* end confdefs.h. */
21283 #include <mspack.h>
21285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21288 grep -v '^ *+' conftest.er1
>conftest.err
21290 cat conftest.err
>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } >/dev
/null
; then
21293 if test -s conftest.err
; then
21294 ac_cpp_err
=$ac_c_preproc_warn_flag
21295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21302 if test -z "$ac_cpp_err"; then
21303 ac_header_preproc
=yes
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.
$ac_ext >&5
21308 ac_header_preproc
=no
21310 rm -f conftest.err conftest.
$ac_ext
21311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21312 echo "${ECHO_T}$ac_header_preproc" >&6
21314 # So? What about this header?
21315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21317 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21318 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21319 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21320 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21321 ac_header_preproc
=yes
21324 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21325 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21326 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21327 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21328 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21329 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21330 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21331 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21332 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21333 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21334 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21335 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21338 ## ----------------------------------------- ##
21339 ## Report this to wx-dev@lists.wxwindows.org ##
21340 ## ----------------------------------------- ##
21343 sed "s/^/$as_me: WARNING: /" >&2
21346 echo "$as_me:$LINENO: checking for mspack.h" >&5
21347 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21348 if test "${ac_cv_header_mspack_h+set}" = set; then
21349 echo $ECHO_N "(cached) $ECHO_C" >&6
21351 ac_cv_header_mspack_h
=$ac_header_preproc
21353 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21354 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21357 if test $ac_cv_header_mspack_h = yes; then
21362 if test "x$found_mspack_h" = "x1"; then
21363 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21364 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21365 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21366 echo $ECHO_N "(cached) $ECHO_C" >&6
21368 ac_check_lib_save_LIBS
=$LIBS
21369 LIBS
="-lmspack $LIBS"
21370 cat >conftest.
$ac_ext <<_ACEOF
21373 cat confdefs.h
>>conftest.
$ac_ext
21374 cat >>conftest.
$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21377 /* Override any gcc2 internal prototype to avoid an error. */
21381 /* We use char because int might match the return type of a gcc2
21382 builtin and then its argument prototype would still apply. */
21383 char mspack_create_chm_decompressor ();
21387 mspack_create_chm_decompressor ();
21392 rm -f conftest.
$ac_objext conftest
$ac_exeext
21393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21394 (eval $ac_link) 2>conftest.er1
21396 grep -v '^ *+' conftest.er1
>conftest.err
21398 cat conftest.err
>&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } &&
21401 { ac_try
='test -z "$ac_c_werror_flag"
21402 || test ! -s conftest.err'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; } &&
21408 { ac_try
='test -s conftest$ac_exeext'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.
$ac_ext >&5
21419 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21421 rm -f conftest.err conftest.
$ac_objext \
21422 conftest
$ac_exeext conftest.
$ac_ext
21423 LIBS
=$ac_check_lib_save_LIBS
21425 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21426 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21427 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21428 MSPACK_LINK
=" -lmspack"
21432 if test "x$MSPACK_LINK" = "x" ; then
21435 cat >>confdefs.h
<<\_ACEOF
21436 #define wxUSE_LIBMSPACK 1
21451 if test "$USE_WIN32" = 1 ; then
21453 for ac_header
in w32api.h
21455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21457 echo "$as_me:$LINENO: checking for $ac_header" >&5
21458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21465 # Is the header compilable?
21466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21468 cat >conftest.
$ac_ext <<_ACEOF
21471 cat confdefs.h
>>conftest.
$ac_ext
21472 cat >>conftest.
$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21474 $ac_includes_default
21475 #include <$ac_header>
21477 rm -f conftest.
$ac_objext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21479 (eval $ac_compile) 2>conftest.er1
21481 grep -v '^ *+' conftest.er1
>conftest.err
21483 cat conftest.err
>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } &&
21486 { ac_try
='test -z "$ac_c_werror_flag"
21487 || test ! -s conftest.err'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; } &&
21493 { ac_try
='test -s conftest.$ac_objext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_header_compiler
=yes
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.
$ac_ext >&5
21504 ac_header_compiler
=no
21506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21508 echo "${ECHO_T}$ac_header_compiler" >&6
21510 # Is the header present?
21511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21513 cat >conftest.
$ac_ext <<_ACEOF
21516 cat confdefs.h
>>conftest.
$ac_ext
21517 cat >>conftest.
$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 #include <$ac_header>
21521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21522 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21524 grep -v '^ *+' conftest.er1
>conftest.err
21526 cat conftest.err
>&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } >/dev
/null
; then
21529 if test -s conftest.err
; then
21530 ac_cpp_err
=$ac_c_preproc_warn_flag
21531 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21538 if test -z "$ac_cpp_err"; then
21539 ac_header_preproc
=yes
21541 echo "$as_me: failed program was:" >&5
21542 sed 's/^/| /' conftest.
$ac_ext >&5
21544 ac_header_preproc
=no
21546 rm -f conftest.err conftest.
$ac_ext
21547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21548 echo "${ECHO_T}$ac_header_preproc" >&6
21550 # So? What about this header?
21551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21557 ac_header_preproc
=yes
21560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21574 ## ----------------------------------------- ##
21575 ## Report this to wx-dev@lists.wxwindows.org ##
21576 ## ----------------------------------------- ##
21579 sed "s/^/$as_me: WARNING: /" >&2
21582 echo "$as_me:$LINENO: checking for $ac_header" >&5
21583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21587 eval "$as_ac_Header=\$ac_header_preproc"
21589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21594 cat >>confdefs.h
<<_ACEOF
21595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21602 if test "${ac_cv_header_windows_h+set}" = set; then
21603 echo "$as_me:$LINENO: checking for windows.h" >&5
21604 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21605 if test "${ac_cv_header_windows_h+set}" = set; then
21606 echo $ECHO_N "(cached) $ECHO_C" >&6
21608 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21609 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21611 # Is the header compilable?
21612 echo "$as_me:$LINENO: checking windows.h usability" >&5
21613 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21614 cat >conftest.
$ac_ext <<_ACEOF
21617 cat confdefs.h
>>conftest.
$ac_ext
21618 cat >>conftest.
$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 #include <windows.h>
21623 rm -f conftest.
$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21627 grep -v '^ *+' conftest.er1
>conftest.err
21629 cat conftest.err
>&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try
='test -z "$ac_c_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try
='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 ac_header_compiler
=yes
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.
$ac_ext >&5
21650 ac_header_compiler
=no
21652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21654 echo "${ECHO_T}$ac_header_compiler" >&6
21656 # Is the header present?
21657 echo "$as_me:$LINENO: checking windows.h presence" >&5
21658 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21659 cat >conftest.
$ac_ext <<_ACEOF
21662 cat confdefs.h
>>conftest.
$ac_ext
21663 cat >>conftest.
$ac_ext <<_ACEOF
21664 /* end confdefs.h. */
21665 #include <windows.h>
21667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21668 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21670 grep -v '^ *+' conftest.er1
>conftest.err
21672 cat conftest.err
>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } >/dev
/null
; then
21675 if test -s conftest.err
; then
21676 ac_cpp_err
=$ac_c_preproc_warn_flag
21677 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21684 if test -z "$ac_cpp_err"; then
21685 ac_header_preproc
=yes
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.
$ac_ext >&5
21690 ac_header_preproc
=no
21692 rm -f conftest.err conftest.
$ac_ext
21693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21694 echo "${ECHO_T}$ac_header_preproc" >&6
21696 # So? What about this header?
21697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21699 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21700 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21701 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21702 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21703 ac_header_preproc
=yes
21706 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21707 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21708 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21709 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21710 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21711 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21712 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21713 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21714 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21715 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21716 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21717 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21720 ## ----------------------------------------- ##
21721 ## Report this to wx-dev@lists.wxwindows.org ##
21722 ## ----------------------------------------- ##
21725 sed "s/^/$as_me: WARNING: /" >&2
21728 echo "$as_me:$LINENO: checking for windows.h" >&5
21729 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21730 if test "${ac_cv_header_windows_h+set}" = set; then
21731 echo $ECHO_N "(cached) $ECHO_C" >&6
21733 ac_cv_header_windows_h
=$ac_header_preproc
21735 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21736 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21739 if test $ac_cv_header_windows_h = yes; then
21743 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21744 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21745 { (exit 1); exit 1; }; }
21751 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21753 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21754 LIBS
="$LIBS -loleacc"
21759 LIBS
="$LIBS -lkernel32 -luser32"
21760 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21763 if test "$wxUSE_ODBC" = "sys" ; then
21766 if test "$wxUSE_ODBC" = "yes" ; then
21767 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21768 cat >>confdefs.h
<<\_ACEOF
21769 #define wxUSE_ODBC 1
21774 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21775 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21777 WIN32INSTALL
=win32install
21780 if test "$wxUSE_GUI" = "yes"; then
21790 if test "$wxUSE_MSW" = 1 ; then
21796 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21800 if test "$wxUSE_GTK" = 1; then
21801 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21802 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21804 gtk_version_cached
=1
21805 if test "${wx_cv_lib_gtk+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21809 gtk_version_cached
=0
21810 echo "$as_me:$LINENO: result: " >&5
21811 echo "${ECHO_T}" >&6
21814 if test "$wxUSE_THREADS" = "yes"; then
21815 GTK_MODULES
=gthread
21819 if test "x$wxUSE_GTK2" = "xyes"; then
21820 # Check whether --enable-gtktest or --disable-gtktest was given.
21821 if test "${enable_gtktest+set}" = set; then
21822 enableval
="$enable_gtktest"
21828 pkg_config_args
=gtk
+-2.0
21829 for module
in .
$GTK_MODULES
21833 pkg_config_args
="$pkg_config_args gthread-2.0"
21840 # Extract the first word of "pkg-config", so it can be a program name with args.
21841 set dummy pkg
-config; ac_word
=$2
21842 echo "$as_me:$LINENO: checking for $ac_word" >&5
21843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21845 echo $ECHO_N "(cached) $ECHO_C" >&6
21847 case $PKG_CONFIG in
21849 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21853 for as_dir
in $PATH
21856 test -z "$as_dir" && as_dir
=.
21857 for ac_exec_ext
in '' $ac_executable_extensions; do
21858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21859 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21866 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21870 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21872 if test -n "$PKG_CONFIG"; then
21873 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21874 echo "${ECHO_T}$PKG_CONFIG" >&6
21876 echo "$as_me:$LINENO: result: no" >&5
21877 echo "${ECHO_T}no" >&6
21881 if test x
$PKG_CONFIG != xno
; then
21882 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21885 echo *** pkg
-config too old
; version
0.7 or better required.
21893 min_gtk_version
=2.0.0
21894 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21895 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21897 if test x
$PKG_CONFIG != xno
; then
21898 ## don't try to run the test against uninstalled libtool libs
21899 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21900 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21904 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21911 if test x
"$no_gtk" = x
; then
21912 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21913 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21914 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21916 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21918 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21920 if test "x$enable_gtktest" = "xyes" ; then
21921 ac_save_CFLAGS
="$CFLAGS"
21922 ac_save_LIBS
="$LIBS"
21923 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21924 LIBS
="$GTK_LIBS $LIBS"
21926 if test "$cross_compiling" = yes; then
21927 echo $ac_n "cross compiling; assumed OK... $ac_c"
21929 cat >conftest.
$ac_ext <<_ACEOF
21932 cat confdefs.h
>>conftest.
$ac_ext
21933 cat >>conftest.
$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21936 #include <gtk/gtk.h>
21938 #include <stdlib.h>
21943 int major, minor, micro;
21946 system ("touch conf.gtktest");
21948 /* HP/UX 9 (%@#!) writes to sscanf strings */
21949 tmp_version = g_strdup("$min_gtk_version");
21950 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21951 printf("%s, bad version string\n", "$min_gtk_version");
21955 if ((gtk_major_version != $gtk_config_major_version) ||
21956 (gtk_minor_version != $gtk_config_minor_version) ||
21957 (gtk_micro_version != $gtk_config_micro_version))
21959 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21960 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21961 gtk_major_version, gtk_minor_version, gtk_micro_version);
21962 printf ("*** was found! If pkg-config was correct, then it is best\n");
21963 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21964 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21965 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21966 printf("*** required on your system.\n");
21967 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21968 printf("*** to point to the correct configuration files\n");
21970 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21971 (gtk_minor_version != GTK_MINOR_VERSION) ||
21972 (gtk_micro_version != GTK_MICRO_VERSION))
21974 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21975 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21976 printf("*** library (version %d.%d.%d)\n",
21977 gtk_major_version, gtk_minor_version, gtk_micro_version);
21981 if ((gtk_major_version > major) ||
21982 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21983 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21989 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21990 gtk_major_version, gtk_minor_version, gtk_micro_version);
21991 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21992 major, minor, micro);
21993 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21995 printf("*** If you have already installed a sufficiently new version, this error\n");
21996 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21997 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21998 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21999 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22000 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22001 printf("*** so that the correct libraries are found at run-time))\n");
22008 rm -f conftest
$ac_exeext
22009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22010 (eval $ac_link) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22015 (eval $ac_try) 2>&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); }; }; then
22021 echo "$as_me: program exited with status $ac_status" >&5
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.
$ac_ext >&5
22025 ( exit $ac_status )
22028 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22030 CFLAGS
="$ac_save_CFLAGS"
22031 LIBS
="$ac_save_LIBS"
22034 if test "x$no_gtk" = x
; then
22035 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22036 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22039 echo "$as_me:$LINENO: result: no" >&5
22040 echo "${ECHO_T}no" >&6
22041 if test "$PKG_CONFIG" = "no" ; then
22042 echo "*** A new enough version of pkg-config was not found."
22043 echo "*** See http://pkgconfig.sourceforge.net"
22045 if test -f conf.gtktest
; then
22048 echo "*** Could not run GTK+ test program, checking why..."
22049 ac_save_CFLAGS
="$CFLAGS"
22050 ac_save_LIBS
="$LIBS"
22051 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22052 LIBS
="$LIBS $GTK_LIBS"
22053 cat >conftest.
$ac_ext <<_ACEOF
22056 cat confdefs.h
>>conftest.
$ac_ext
22057 cat >>conftest.
$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22060 #include <gtk/gtk.h>
22066 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22071 rm -f conftest.
$ac_objext conftest
$ac_exeext
22072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22073 (eval $ac_link) 2>conftest.er1
22075 grep -v '^ *+' conftest.er1
>conftest.err
22077 cat conftest.err
>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); } &&
22080 { ac_try
='test -z "$ac_c_werror_flag"
22081 || test ! -s conftest.err'
22082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22083 (eval $ac_try) 2>&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); }; } &&
22087 { ac_try
='test -s conftest$ac_exeext'
22088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22089 (eval $ac_try) 2>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); }; }; then
22093 echo "*** The test program compiled, but did not run. This usually means"
22094 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22095 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22096 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22097 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22098 echo "*** is required on your system"
22100 echo "*** If you have an old version installed, it is best to remove it, although"
22101 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.
$ac_ext >&5
22106 echo "*** The test program failed to compile or link. See the file config.log for the"
22107 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22109 rm -f conftest.err conftest.
$ac_objext \
22110 conftest
$ac_exeext conftest.
$ac_ext
22111 CFLAGS
="$ac_save_CFLAGS"
22112 LIBS
="$ac_save_LIBS"
22125 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22126 if test "${with_gtk_prefix+set}" = set; then
22127 withval
="$with_gtk_prefix"
22128 gtk_config_prefix
="$withval"
22130 gtk_config_prefix
=""
22133 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22134 if test "${with_gtk_exec_prefix+set}" = set; then
22135 withval
="$with_gtk_exec_prefix"
22136 gtk_config_exec_prefix
="$withval"
22138 gtk_config_exec_prefix
=""
22140 # Check whether --enable-gtktest or --disable-gtktest was given.
22141 if test "${enable_gtktest+set}" = set; then
22142 enableval
="$enable_gtktest"
22148 for module
in .
$GTK_MODULES
22152 gtk_config_args
="$gtk_config_args gthread"
22157 if test x
$gtk_config_exec_prefix != x
; then
22158 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22159 if test x
${GTK_CONFIG+set} != xset
; then
22160 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22163 if test x
$gtk_config_prefix != x
; then
22164 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22165 if test x
${GTK_CONFIG+set} != xset
; then
22166 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22170 # Extract the first word of "gtk-config", so it can be a program name with args.
22171 set dummy gtk
-config; ac_word
=$2
22172 echo "$as_me:$LINENO: checking for $ac_word" >&5
22173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22174 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 case $GTK_CONFIG in
22179 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22183 for as_dir
in $PATH
22186 test -z "$as_dir" && as_dir
=.
22187 for ac_exec_ext
in '' $ac_executable_extensions; do
22188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22189 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22196 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22200 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22202 if test -n "$GTK_CONFIG"; then
22203 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22204 echo "${ECHO_T}$GTK_CONFIG" >&6
22206 echo "$as_me:$LINENO: result: no" >&5
22207 echo "${ECHO_T}no" >&6
22210 min_gtk_version
=1.2.7
22211 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22212 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22214 if test "$GTK_CONFIG" = "no" ; then
22217 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22218 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22219 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22220 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22221 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22222 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22223 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22225 if test "x$enable_gtktest" = "xyes" ; then
22226 ac_save_CFLAGS
="$CFLAGS"
22227 ac_save_LIBS
="$LIBS"
22228 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22229 LIBS
="$GTK_LIBS $LIBS"
22231 if test "$cross_compiling" = yes; then
22232 echo $ac_n "cross compiling; assumed OK... $ac_c"
22234 cat >conftest.
$ac_ext <<_ACEOF
22237 cat confdefs.h
>>conftest.
$ac_ext
22238 cat >>conftest.
$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22241 #include <gtk/gtk.h>
22243 #include <stdlib.h>
22248 int major, minor, micro;
22251 system ("touch conf.gtktest");
22253 /* HP/UX 9 (%@#!) writes to sscanf strings */
22254 tmp_version = g_strdup("$min_gtk_version");
22255 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22256 printf("%s, bad version string\n", "$min_gtk_version");
22260 if ((gtk_major_version != $gtk_config_major_version) ||
22261 (gtk_minor_version != $gtk_config_minor_version) ||
22262 (gtk_micro_version != $gtk_config_micro_version))
22264 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22265 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22266 gtk_major_version, gtk_minor_version, gtk_micro_version);
22267 printf ("*** was found! If gtk-config was correct, then it is best\n");
22268 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22269 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22270 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22271 printf("*** required on your system.\n");
22272 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22273 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22274 printf("*** before re-running configure\n");
22276 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22277 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22278 (gtk_minor_version != GTK_MINOR_VERSION) ||
22279 (gtk_micro_version != GTK_MICRO_VERSION))
22281 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22282 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22283 printf("*** library (version %d.%d.%d)\n",
22284 gtk_major_version, gtk_minor_version, gtk_micro_version);
22286 #endif /* defined (GTK_MAJOR_VERSION) ... */
22289 if ((gtk_major_version > major) ||
22290 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22291 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22297 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22298 gtk_major_version, gtk_minor_version, gtk_micro_version);
22299 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22300 major, minor, micro);
22301 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22303 printf("*** If you have already installed a sufficiently new version, this error\n");
22304 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22305 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22306 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22307 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22308 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22309 printf("*** so that the correct libraries are found at run-time))\n");
22316 rm -f conftest
$ac_exeext
22317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22318 (eval $ac_link) 2>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22329 echo "$as_me: program exited with status $ac_status" >&5
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.
$ac_ext >&5
22333 ( exit $ac_status )
22336 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22338 CFLAGS
="$ac_save_CFLAGS"
22339 LIBS
="$ac_save_LIBS"
22342 if test "x$no_gtk" = x
; then
22343 echo "$as_me:$LINENO: result: yes" >&5
22344 echo "${ECHO_T}yes" >&6
22345 wx_cv_lib_gtk
=1.2.7
22347 echo "$as_me:$LINENO: result: no" >&5
22348 echo "${ECHO_T}no" >&6
22349 if test "$GTK_CONFIG" = "no" ; then
22350 echo "*** The gtk-config script installed by GTK could not be found"
22351 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22352 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22353 echo "*** full path to gtk-config."
22355 if test -f conf.gtktest
; then
22358 echo "*** Could not run GTK test program, checking why..."
22359 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22360 LIBS
="$LIBS $GTK_LIBS"
22361 cat >conftest.
$ac_ext <<_ACEOF
22364 cat confdefs.h
>>conftest.
$ac_ext
22365 cat >>conftest.
$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22368 #include <gtk/gtk.h>
22374 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22379 rm -f conftest.
$ac_objext conftest
$ac_exeext
22380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22381 (eval $ac_link) 2>conftest.er1
22383 grep -v '^ *+' conftest.er1
>conftest.err
22385 cat conftest.err
>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); } &&
22388 { ac_try
='test -z "$ac_c_werror_flag"
22389 || test ! -s conftest.err'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; } &&
22395 { ac_try
='test -s conftest$ac_exeext'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; }; then
22401 echo "*** The test program compiled, but did not run. This usually means"
22402 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22403 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22404 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22405 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22406 echo "*** is required on your system"
22408 echo "*** If you have an old version installed, it is best to remove it, although"
22409 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22411 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22412 echo "*** came with the system with the command"
22414 echo "*** rpm --erase --nodeps gtk gtk-devel"
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.
$ac_ext >&5
22419 echo "*** The test program failed to compile or link. See the file config.log for the"
22420 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22421 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22422 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22424 rm -f conftest.err conftest.
$ac_objext \
22425 conftest
$ac_exeext conftest.
$ac_ext
22426 CFLAGS
="$ac_save_CFLAGS"
22427 LIBS
="$ac_save_LIBS"
22439 if test -z "$wx_cv_lib_gtk"; then
22441 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22442 if test "${with_gtk_prefix+set}" = set; then
22443 withval
="$with_gtk_prefix"
22444 gtk_config_prefix
="$withval"
22446 gtk_config_prefix
=""
22449 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22450 if test "${with_gtk_exec_prefix+set}" = set; then
22451 withval
="$with_gtk_exec_prefix"
22452 gtk_config_exec_prefix
="$withval"
22454 gtk_config_exec_prefix
=""
22456 # Check whether --enable-gtktest or --disable-gtktest was given.
22457 if test "${enable_gtktest+set}" = set; then
22458 enableval
="$enable_gtktest"
22464 for module
in .
$GTK_MODULES
22468 gtk_config_args
="$gtk_config_args gthread"
22473 if test x
$gtk_config_exec_prefix != x
; then
22474 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22475 if test x
${GTK_CONFIG+set} != xset
; then
22476 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22479 if test x
$gtk_config_prefix != x
; then
22480 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22481 if test x
${GTK_CONFIG+set} != xset
; then
22482 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22486 # Extract the first word of "gtk-config", so it can be a program name with args.
22487 set dummy gtk
-config; ac_word
=$2
22488 echo "$as_me:$LINENO: checking for $ac_word" >&5
22489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22490 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22491 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 case $GTK_CONFIG in
22495 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22499 for as_dir
in $PATH
22502 test -z "$as_dir" && as_dir
=.
22503 for ac_exec_ext
in '' $ac_executable_extensions; do
22504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22505 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22512 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22516 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22518 if test -n "$GTK_CONFIG"; then
22519 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22520 echo "${ECHO_T}$GTK_CONFIG" >&6
22522 echo "$as_me:$LINENO: result: no" >&5
22523 echo "${ECHO_T}no" >&6
22526 min_gtk_version
=1.2.3
22527 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22528 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22530 if test "$GTK_CONFIG" = "no" ; then
22533 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22534 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22535 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22537 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22538 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22539 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22540 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22541 if test "x$enable_gtktest" = "xyes" ; then
22542 ac_save_CFLAGS
="$CFLAGS"
22543 ac_save_LIBS
="$LIBS"
22544 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22545 LIBS
="$GTK_LIBS $LIBS"
22547 if test "$cross_compiling" = yes; then
22548 echo $ac_n "cross compiling; assumed OK... $ac_c"
22550 cat >conftest.
$ac_ext <<_ACEOF
22553 cat confdefs.h
>>conftest.
$ac_ext
22554 cat >>conftest.
$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22557 #include <gtk/gtk.h>
22559 #include <stdlib.h>
22564 int major, minor, micro;
22567 system ("touch conf.gtktest");
22569 /* HP/UX 9 (%@#!) writes to sscanf strings */
22570 tmp_version = g_strdup("$min_gtk_version");
22571 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22572 printf("%s, bad version string\n", "$min_gtk_version");
22576 if ((gtk_major_version != $gtk_config_major_version) ||
22577 (gtk_minor_version != $gtk_config_minor_version) ||
22578 (gtk_micro_version != $gtk_config_micro_version))
22580 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22581 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22582 gtk_major_version, gtk_minor_version, gtk_micro_version);
22583 printf ("*** was found! If gtk-config was correct, then it is best\n");
22584 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22585 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22586 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22587 printf("*** required on your system.\n");
22588 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22589 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22590 printf("*** before re-running configure\n");
22592 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22593 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22594 (gtk_minor_version != GTK_MINOR_VERSION) ||
22595 (gtk_micro_version != GTK_MICRO_VERSION))
22597 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22598 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22599 printf("*** library (version %d.%d.%d)\n",
22600 gtk_major_version, gtk_minor_version, gtk_micro_version);
22602 #endif /* defined (GTK_MAJOR_VERSION) ... */
22605 if ((gtk_major_version > major) ||
22606 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22607 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22613 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22614 gtk_major_version, gtk_minor_version, gtk_micro_version);
22615 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22616 major, minor, micro);
22617 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22619 printf("*** If you have already installed a sufficiently new version, this error\n");
22620 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22621 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22622 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22623 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22624 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22625 printf("*** so that the correct libraries are found at run-time))\n");
22632 rm -f conftest
$ac_exeext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22634 (eval $ac_link) 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; }; then
22645 echo "$as_me: program exited with status $ac_status" >&5
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.
$ac_ext >&5
22649 ( exit $ac_status )
22652 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22654 CFLAGS
="$ac_save_CFLAGS"
22655 LIBS
="$ac_save_LIBS"
22658 if test "x$no_gtk" = x
; then
22659 echo "$as_me:$LINENO: result: yes" >&5
22660 echo "${ECHO_T}yes" >&6
22661 wx_cv_lib_gtk
=1.2.3
22663 echo "$as_me:$LINENO: result: no" >&5
22664 echo "${ECHO_T}no" >&6
22665 if test "$GTK_CONFIG" = "no" ; then
22666 echo "*** The gtk-config script installed by GTK could not be found"
22667 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22668 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22669 echo "*** full path to gtk-config."
22671 if test -f conf.gtktest
; then
22674 echo "*** Could not run GTK test program, checking why..."
22675 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22676 LIBS
="$LIBS $GTK_LIBS"
22677 cat >conftest.
$ac_ext <<_ACEOF
22680 cat confdefs.h
>>conftest.
$ac_ext
22681 cat >>conftest.
$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22684 #include <gtk/gtk.h>
22690 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22695 rm -f conftest.
$ac_objext conftest
$ac_exeext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22697 (eval $ac_link) 2>conftest.er1
22699 grep -v '^ *+' conftest.er1
>conftest.err
22701 cat conftest.err
>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try
='test -z "$ac_c_werror_flag"
22705 || test ! -s conftest.err'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try
='test -s conftest$ac_exeext'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; }; then
22717 echo "*** The test program compiled, but did not run. This usually means"
22718 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22719 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22722 echo "*** is required on your system"
22724 echo "*** If you have an old version installed, it is best to remove it, although"
22725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22727 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22728 echo "*** came with the system with the command"
22730 echo "*** rpm --erase --nodeps gtk gtk-devel"
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.
$ac_ext >&5
22735 echo "*** The test program failed to compile or link. See the file config.log for the"
22736 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22737 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22738 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22740 rm -f conftest.err conftest.
$ac_objext \
22741 conftest
$ac_exeext conftest.
$ac_ext
22742 CFLAGS
="$ac_save_CFLAGS"
22743 LIBS
="$ac_save_LIBS"
22757 if test -z "$wx_cv_lib_gtk"; then
22760 wx_cv_cflags_gtk
=$GTK_CFLAGS
22761 wx_cv_libs_gtk
=$GTK_LIBS
22768 if test "$gtk_version_cached" = 1; then
22769 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22770 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22773 case "$wx_cv_lib_gtk" in
22782 *) { { echo "$as_me:$LINENO: error:
22783 Please check that gtk-config is in path, the directory
22784 where GTK+ libraries are installed (returned by
22785 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22786 equivalent variable and GTK+ is version 1.2.3 or above.
22788 echo "$as_me: error:
22789 Please check that gtk-config is in path, the directory
22790 where GTK+ libraries are installed (returned by
22791 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22792 equivalent variable and GTK+ is version 1.2.3 or above.
22794 { (exit 1); exit 1; }; }
22798 if test "$WXGTK20" = 1; then
22799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22803 if test -z "$PKG_CONFIG"; then
22804 # Extract the first word of "pkg-config", so it can be a program name with args.
22805 set dummy pkg
-config; ac_word
=$2
22806 echo "$as_me:$LINENO: checking for $ac_word" >&5
22807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 case $PKG_CONFIG in
22813 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22817 for as_dir
in $PATH
22820 test -z "$as_dir" && as_dir
=.
22821 for ac_exec_ext
in '' $ac_executable_extensions; do
22822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22823 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22830 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22834 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22836 if test -n "$PKG_CONFIG"; then
22837 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22838 echo "${ECHO_T}$PKG_CONFIG" >&6
22840 echo "$as_me:$LINENO: result: no" >&5
22841 echo "${ECHO_T}no" >&6
22846 if test "$PKG_CONFIG" = "no" ; then
22847 echo "*** The pkg-config script could not be found. Make sure it is"
22848 echo "*** in your path, or set the PKG_CONFIG environment variable"
22849 echo "*** to the full path to pkg-config."
22850 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22852 PKG_CONFIG_MIN_VERSION
=0.9.0
22853 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22854 echo "$as_me:$LINENO: checking for pangoft2" >&5
22855 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22857 if $PKG_CONFIG --exists "pangoft2" ; then
22858 echo "$as_me:$LINENO: result: yes" >&5
22859 echo "${ECHO_T}yes" >&6
22862 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22863 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22864 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22865 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22866 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22868 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22869 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22870 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22871 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22872 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22876 ## If we have a custom action on failure, don't print errors, but
22877 ## do set a variable so people can do so.
22878 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22885 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22886 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22890 if test $succeeded = yes; then
22892 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22893 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22897 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22898 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22899 wxUSE_PRINTING_ARCHITECTURE
="no"
22906 if test "$wxUSE_UNICODE" = "yes"; then
22907 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22908 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22913 if test "$USE_DARWIN" != 1; then
22915 for ac_func
in poll
22917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22918 echo "$as_me:$LINENO: checking for $ac_func" >&5
22919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22920 if eval "test \"\${$as_ac_var+set}\" = set"; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 cat >conftest.
$ac_ext <<_ACEOF
22926 cat confdefs.h
>>conftest.
$ac_ext
22927 cat >>conftest.
$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22931 #define $ac_func innocuous_$ac_func
22933 /* System header to define __stub macros and hopefully few prototypes,
22934 which can conflict with char $ac_func (); below.
22935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22936 <limits.h> exists even on freestanding compilers. */
22939 # include <limits.h>
22941 # include <assert.h>
22946 /* Override any gcc2 internal prototype to avoid an error. */
22951 /* We use char because int might match the return type of a gcc2
22952 builtin and then its argument prototype would still apply. */
22954 /* The GNU C library defines this for functions which it implements
22955 to always fail with ENOSYS. Some functions are actually named
22956 something starting with __ and the normal name is an alias. */
22957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22960 char (*f) () = $ac_func;
22969 return f != $ac_func;
22974 rm -f conftest.
$ac_objext conftest
$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>conftest.er1
22978 grep -v '^ *+' conftest.er1
>conftest.err
22980 cat conftest.err
>&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } &&
22983 { ac_try
='test -z "$ac_c_werror_flag"
22984 || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try
='test -s conftest$ac_exeext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 eval "$as_ac_var=yes"
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.
$ac_ext >&5
23001 eval "$as_ac_var=no"
23003 rm -f conftest.err conftest.
$ac_objext \
23004 conftest
$ac_exeext conftest.
$ac_ext
23006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23008 if test `eval echo '${'$as_ac_var'}'` = yes; then
23009 cat >>confdefs.h
<<_ACEOF
23010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23018 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23019 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23021 AFMINSTALL
=afminstall
23025 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23026 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23027 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 ac_check_lib_save_LIBS
=$LIBS
23032 cat >conftest.
$ac_ext <<_ACEOF
23035 cat confdefs.h
>>conftest.
$ac_ext
23036 cat >>conftest.
$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23039 /* Override any gcc2 internal prototype to avoid an error. */
23043 /* We use char because int might match the return type of a gcc2
23044 builtin and then its argument prototype would still apply. */
23045 char gdk_im_open ();
23054 rm -f conftest.
$ac_objext conftest
$ac_exeext
23055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23056 (eval $ac_link) 2>conftest.er1
23058 grep -v '^ *+' conftest.er1
>conftest.err
23060 cat conftest.err
>&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } &&
23063 { ac_try
='test -z "$ac_c_werror_flag"
23064 || test ! -s conftest.err'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; } &&
23070 { ac_try
='test -s conftest$ac_exeext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_lib_gdk_gdk_im_open
=yes
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.
$ac_ext >&5
23081 ac_cv_lib_gdk_gdk_im_open
=no
23083 rm -f conftest.err conftest.
$ac_objext \
23084 conftest
$ac_exeext conftest.
$ac_ext
23085 LIBS
=$ac_check_lib_save_LIBS
23087 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23088 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23089 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23090 cat >>confdefs.h
<<\_ACEOF
23098 if test "$wxUSE_GPE" = "yes"; then
23099 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23100 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23103 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23105 for ac_extension
in a so sl dylib
; do
23106 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23107 ac_find_libraries
=$ac_dir
23113 if test "$ac_find_libraries" != "" ; then
23115 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23117 if test $result = 0; then
23120 ac_path_to_link
=" -L$ac_find_libraries"
23123 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23125 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23126 echo "${ECHO_T}found at $ac_find_libraries" >&6
23128 echo "$as_me:$LINENO: result: not found" >&5
23129 echo "${ECHO_T}not found" >&6
23135 if test "$wxUSE_MGL" = 1; then
23136 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23137 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23138 if test "x$MGL_ROOT" = x
; then
23139 echo "$as_me:$LINENO: result: not found" >&5
23140 echo "${ECHO_T}not found" >&6
23141 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23142 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23143 { (exit 1); exit 1; }; }
23145 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23146 echo "${ECHO_T}$MGL_ROOT" >&6
23149 echo "$as_me:$LINENO: checking for libmgl location" >&5
23150 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23153 if test "x$wxUSE_SHARED" = xyes
; then
23154 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23156 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23160 mgl_os_candidates
="dos32/dj2"
23163 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23164 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23165 { (exit 1); exit 1; }; }
23171 for mgl_os_i
in $mgl_os_candidates ; do
23172 if test "x$mgl_os" = x
; then
23173 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23174 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23175 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23180 if test "x$mgl_lib_type" = x
; then
23181 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23182 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23183 mgl_lib_type
=release
23190 if test "x$mgl_os" = x
; then
23191 echo "$as_me:$LINENO: result: not found" >&5
23192 echo "${ECHO_T}not found" >&6
23193 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23194 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23195 { (exit 1); exit 1; }; }
23197 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23198 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23200 wxUSE_UNIVERSAL
="yes"
23202 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23203 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23205 AFMINSTALL
=afminstall
23210 if test "$wxUSE_MICROWIN" = 1; then
23211 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23212 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23213 if test "x$MICROWINDOWS" = x
; then
23214 echo "$as_me:$LINENO: result: not found" >&5
23215 echo "${ECHO_T}not found" >&6
23216 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23217 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23218 { (exit 1); exit 1; }; }
23220 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23221 echo "${ECHO_T}$MICROWINDOWS" >&6
23224 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23225 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23226 echo "${ECHO_T}MicroWindows' libraries found." >&6
23228 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23229 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23230 { (exit 1); exit 1; }; }
23233 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23234 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23236 wxUSE_UNIVERSAL
="yes"
23238 AFMINSTALL
=afminstall
23240 GUIDIST
=MICROWIN_DIST
23242 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23245 if test "$wxUSE_X11" = 1; then
23246 echo "$as_me:$LINENO: checking for X" >&5
23247 echo $ECHO_N "checking for X... $ECHO_C" >&6
23250 # Check whether --with-x or --without-x was given.
23251 if test "${with_x+set}" = set; then
23255 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23256 if test "x$with_x" = xno
; then
23257 # The user explicitly disabled X.
23260 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23261 # Both variables are already set.
23264 if test "${ac_cv_have_x+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23267 # One or both of the vars are not set, and there is no cached value.
23268 ac_x_includes
=no ac_x_libraries
=no
23269 rm -fr conftest.dir
23270 if mkdir conftest.dir
; then
23272 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23273 cat >Imakefile
<<'_ACEOF'
23275 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23277 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23279 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23280 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23281 for ac_extension
in a so sl
; do
23282 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23283 test -f $ac_im_libdir/libX11.
$ac_extension; then
23284 ac_im_usrlibdir
=$ac_im_libdir; break
23287 # Screen out bogus values from the imake configuration. They are
23288 # bogus both because they are the default anyway, and because
23289 # using them would break gcc on systems where it needs fixed includes.
23290 case $ac_im_incroot in
23292 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23294 case $ac_im_usrlibdir in
23295 /usr
/lib
| /lib
) ;;
23296 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23300 rm -fr conftest.dir
23303 # Standard set of common directories for X headers.
23304 # Check X11 before X11Rn because it is often a symlink to the current release.
23316 /usr/local/X11/include
23317 /usr/local/X11R6/include
23318 /usr/local/X11R5/include
23319 /usr/local/X11R4/include
23321 /usr/local/include/X11
23322 /usr/local/include/X11R6
23323 /usr/local/include/X11R5
23324 /usr/local/include/X11R4
23328 /usr/XFree86/include/X11
23332 /usr/unsupported/include
23333 /usr/athena/include
23334 /usr/local/x11r5/include
23335 /usr/lpp/Xamples/include
23337 /usr/openwin/include
23338 /usr/openwin/share/include'
23340 if test "$ac_x_includes" = no
; then
23341 # Guess where to find include files, by looking for Intrinsic.h.
23342 # First, try using that file with no special directory specified.
23343 cat >conftest.
$ac_ext <<_ACEOF
23346 cat confdefs.h
>>conftest.
$ac_ext
23347 cat >>conftest.
$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23349 #include <X11/Intrinsic.h>
23351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23354 grep -v '^ *+' conftest.er1
>conftest.err
23356 cat conftest.err
>&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } >/dev
/null
; then
23359 if test -s conftest.err
; then
23360 ac_cpp_err
=$ac_c_preproc_warn_flag
23361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23368 if test -z "$ac_cpp_err"; then
23369 # We can compile using X headers with no special include directory.
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.
$ac_ext >&5
23375 for ac_dir
in $ac_x_header_dirs; do
23376 if test -r "$ac_dir/X11/Intrinsic.h"; then
23377 ac_x_includes
=$ac_dir
23382 rm -f conftest.err conftest.
$ac_ext
23383 fi # $ac_x_includes = no
23385 if test "$ac_x_libraries" = no
; then
23386 # Check for the libraries.
23387 # See if we find them without any special options.
23388 # Don't add to $LIBS permanently.
23391 cat >conftest.
$ac_ext <<_ACEOF
23394 cat confdefs.h
>>conftest.
$ac_ext
23395 cat >>conftest.
$ac_ext <<_ACEOF
23396 /* end confdefs.h. */
23397 #include <X11/Intrinsic.h>
23406 rm -f conftest.
$ac_objext conftest
$ac_exeext
23407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23408 (eval $ac_link) 2>conftest.er1
23410 grep -v '^ *+' conftest.er1
>conftest.err
23412 cat conftest.err
>&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } &&
23415 { ac_try
='test -z "$ac_c_werror_flag"
23416 || test ! -s conftest.err'
23417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23418 (eval $ac_try) 2>&5
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); }; } &&
23422 { ac_try
='test -s conftest$ac_exeext'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; }; then
23429 # We can link X programs with no special library path.
23432 echo "$as_me: failed program was:" >&5
23433 sed 's/^/| /' conftest.
$ac_ext >&5
23436 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23438 # Don't even attempt the hair of trying to link an X program!
23439 for ac_extension
in a so sl
; do
23440 if test -r $ac_dir/libXt.
$ac_extension; then
23441 ac_x_libraries
=$ac_dir
23447 rm -f conftest.err conftest.
$ac_objext \
23448 conftest
$ac_exeext conftest.
$ac_ext
23449 fi # $ac_x_libraries = no
23451 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23452 # Didn't find X anywhere. Cache the known absence of X.
23453 ac_cv_have_x
="have_x=no"
23455 # Record where we found X for the cache.
23456 ac_cv_have_x
="have_x=yes \
23457 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23462 eval "$ac_cv_have_x"
23465 if test "$have_x" != yes; then
23466 echo "$as_me:$LINENO: result: $have_x" >&5
23467 echo "${ECHO_T}$have_x" >&6
23470 # If each of the values was on the command line, it overrides each guess.
23471 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23472 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23473 # Update the cache value to reflect the command line values.
23474 ac_cv_have_x
="have_x=yes \
23475 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23476 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23477 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23480 if test "$no_x" = yes; then
23481 # Not all programs may use this symbol, but it does not hurt to define it.
23483 cat >>confdefs.h
<<\_ACEOF
23484 #define X_DISPLAY_MISSING 1
23487 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23489 if test -n "$x_includes"; then
23490 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23493 # It would also be nice to do this for all -L options, not just this one.
23494 if test -n "$x_libraries"; then
23495 X_LIBS
="$X_LIBS -L$x_libraries"
23496 # For Solaris; some versions of Sun CC require a space after -R and
23497 # others require no space. Words are not sufficient . . . .
23498 case `(uname -sr) 2>/dev/null` in
23500 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23501 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23502 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23503 cat >conftest.
$ac_ext <<_ACEOF
23506 cat confdefs.h
>>conftest.
$ac_ext
23507 cat >>conftest.
$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23518 rm -f conftest.
$ac_objext conftest
$ac_exeext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23520 (eval $ac_link) 2>conftest.er1
23522 grep -v '^ *+' conftest.er1
>conftest.err
23524 cat conftest.err
>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try
='test -z "$ac_c_werror_flag"
23528 || test ! -s conftest.err'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; } &&
23534 { ac_try
='test -s conftest$ac_exeext'
23535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23536 (eval $ac_try) 2>&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); }; }; then
23542 echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.
$ac_ext >&5
23547 rm -f conftest.err conftest.
$ac_objext \
23548 conftest
$ac_exeext conftest.
$ac_ext
23549 if test $ac_R_nospace = yes; then
23550 echo "$as_me:$LINENO: result: no" >&5
23551 echo "${ECHO_T}no" >&6
23552 X_LIBS
="$X_LIBS -R$x_libraries"
23554 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23555 cat >conftest.
$ac_ext <<_ACEOF
23558 cat confdefs.h
>>conftest.
$ac_ext
23559 cat >>conftest.
$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23570 rm -f conftest.
$ac_objext conftest
$ac_exeext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23572 (eval $ac_link) 2>conftest.er1
23574 grep -v '^ *+' conftest.er1
>conftest.err
23576 cat conftest.err
>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try
='test -z "$ac_c_werror_flag"
23580 || test ! -s conftest.err'
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); }; } &&
23586 { ac_try
='test -s conftest$ac_exeext'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; }; then
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.
$ac_ext >&5
23599 rm -f conftest.err conftest.
$ac_objext \
23600 conftest
$ac_exeext conftest.
$ac_ext
23601 if test $ac_R_space = yes; then
23602 echo "$as_me:$LINENO: result: yes" >&5
23603 echo "${ECHO_T}yes" >&6
23604 X_LIBS
="$X_LIBS -R $x_libraries"
23606 echo "$as_me:$LINENO: result: neither works" >&5
23607 echo "${ECHO_T}neither works" >&6
23610 LIBS
=$ac_xsave_LIBS
23614 # Check for system-dependent libraries X programs must link with.
23615 # Do this before checking for the system-independent R6 libraries
23616 # (-lICE), since we may need -lsocket or whatever for X linking.
23618 if test "$ISC" = yes; then
23619 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23621 # Martyn Johnson says this is needed for Ultrix, if the X
23622 # libraries were built with DECnet support. And Karl Berry says
23623 # the Alpha needs dnet_stub (dnet does not exist).
23624 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23625 cat >conftest.
$ac_ext <<_ACEOF
23628 cat confdefs.h
>>conftest.
$ac_ext
23629 cat >>conftest.
$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23632 /* Override any gcc2 internal prototype to avoid an error. */
23636 /* We use char because int might match the return type of a gcc2
23637 builtin and then its argument prototype would still apply. */
23638 char XOpenDisplay ();
23647 rm -f conftest.
$ac_objext conftest
$ac_exeext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23649 (eval $ac_link) 2>conftest.er1
23651 grep -v '^ *+' conftest.er1
>conftest.err
23653 cat conftest.err
>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try
='test -z "$ac_c_werror_flag"
23657 || test ! -s conftest.err'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; } &&
23663 { ac_try
='test -s conftest$ac_exeext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.
$ac_ext >&5
23674 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23675 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23676 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23679 ac_check_lib_save_LIBS
=$LIBS
23680 LIBS
="-ldnet $LIBS"
23681 cat >conftest.
$ac_ext <<_ACEOF
23684 cat confdefs.h
>>conftest.
$ac_ext
23685 cat >>conftest.
$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23688 /* Override any gcc2 internal prototype to avoid an error. */
23692 /* We use char because int might match the return type of a gcc2
23693 builtin and then its argument prototype would still apply. */
23703 rm -f conftest.
$ac_objext conftest
$ac_exeext
23704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23705 (eval $ac_link) 2>conftest.er1
23707 grep -v '^ *+' conftest.er1
>conftest.err
23709 cat conftest.err
>&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try
='test -z "$ac_c_werror_flag"
23713 || test ! -s conftest.err'
23714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715 (eval $ac_try) 2>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; } &&
23719 { ac_try
='test -s conftest$ac_exeext'
23720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721 (eval $ac_try) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); }; }; then
23725 ac_cv_lib_dnet_dnet_ntoa
=yes
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23730 ac_cv_lib_dnet_dnet_ntoa
=no
23732 rm -f conftest.err conftest.
$ac_objext \
23733 conftest
$ac_exeext conftest.
$ac_ext
23734 LIBS
=$ac_check_lib_save_LIBS
23736 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23737 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23738 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23739 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23742 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23743 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23744 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23745 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23746 echo $ECHO_N "(cached) $ECHO_C" >&6
23748 ac_check_lib_save_LIBS
=$LIBS
23749 LIBS
="-ldnet_stub $LIBS"
23750 cat >conftest.
$ac_ext <<_ACEOF
23753 cat confdefs.h
>>conftest.
$ac_ext
23754 cat >>conftest.
$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23757 /* Override any gcc2 internal prototype to avoid an error. */
23761 /* We use char because int might match the return type of a gcc2
23762 builtin and then its argument prototype would still apply. */
23772 rm -f conftest.
$ac_objext conftest
$ac_exeext
23773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23774 (eval $ac_link) 2>conftest.er1
23776 grep -v '^ *+' conftest.er1
>conftest.err
23778 cat conftest.err
>&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } &&
23781 { ac_try
='test -z "$ac_c_werror_flag"
23782 || test ! -s conftest.err'
23783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23784 (eval $ac_try) 2>&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); }; } &&
23788 { ac_try
='test -s conftest$ac_exeext'
23789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790 (eval $ac_try) 2>&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); }; }; then
23794 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.
$ac_ext >&5
23799 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23801 rm -f conftest.err conftest.
$ac_objext \
23802 conftest
$ac_exeext conftest.
$ac_ext
23803 LIBS
=$ac_check_lib_save_LIBS
23805 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23806 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23807 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23808 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23813 rm -f conftest.err conftest.
$ac_objext \
23814 conftest
$ac_exeext conftest.
$ac_ext
23815 LIBS
="$ac_xsave_LIBS"
23817 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23818 # to get the SysV transport functions.
23819 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23821 # The nsl library prevents programs from opening the X display
23822 # on Irix 5.2, according to T.E. Dickey.
23823 # The functions gethostbyname, getservbyname, and inet_addr are
23824 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23825 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23826 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23827 if test "${ac_cv_func_gethostbyname+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 cat >conftest.
$ac_ext <<_ACEOF
23833 cat confdefs.h
>>conftest.
$ac_ext
23834 cat >>conftest.
$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23836 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23838 #define gethostbyname innocuous_gethostbyname
23840 /* System header to define __stub macros and hopefully few prototypes,
23841 which can conflict with char gethostbyname (); below.
23842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23843 <limits.h> exists even on freestanding compilers. */
23846 # include <limits.h>
23848 # include <assert.h>
23851 #undef gethostbyname
23853 /* Override any gcc2 internal prototype to avoid an error. */
23858 /* We use char because int might match the return type of a gcc2
23859 builtin and then its argument prototype would still apply. */
23860 char gethostbyname ();
23861 /* The GNU C library defines this for functions which it implements
23862 to always fail with ENOSYS. Some functions are actually named
23863 something starting with __ and the normal name is an alias. */
23864 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23867 char (*f) () = gethostbyname;
23876 return f != gethostbyname;
23881 rm -f conftest.
$ac_objext conftest
$ac_exeext
23882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23883 (eval $ac_link) 2>conftest.er1
23885 grep -v '^ *+' conftest.er1
>conftest.err
23887 cat conftest.err
>&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } &&
23890 { ac_try
='test -z "$ac_c_werror_flag"
23891 || test ! -s conftest.err'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; } &&
23897 { ac_try
='test -s conftest$ac_exeext'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; }; then
23903 ac_cv_func_gethostbyname
=yes
23905 echo "$as_me: failed program was:" >&5
23906 sed 's/^/| /' conftest.
$ac_ext >&5
23908 ac_cv_func_gethostbyname
=no
23910 rm -f conftest.err conftest.
$ac_objext \
23911 conftest
$ac_exeext conftest.
$ac_ext
23913 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23914 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23916 if test $ac_cv_func_gethostbyname = no
; then
23917 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23918 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23919 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23920 echo $ECHO_N "(cached) $ECHO_C" >&6
23922 ac_check_lib_save_LIBS
=$LIBS
23924 cat >conftest.
$ac_ext <<_ACEOF
23927 cat confdefs.h
>>conftest.
$ac_ext
23928 cat >>conftest.
$ac_ext <<_ACEOF
23929 /* end confdefs.h. */
23931 /* Override any gcc2 internal prototype to avoid an error. */
23935 /* We use char because int might match the return type of a gcc2
23936 builtin and then its argument prototype would still apply. */
23937 char gethostbyname ();
23946 rm -f conftest.
$ac_objext conftest
$ac_exeext
23947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23948 (eval $ac_link) 2>conftest.er1
23950 grep -v '^ *+' conftest.er1
>conftest.err
23952 cat conftest.err
>&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } &&
23955 { ac_try
='test -z "$ac_c_werror_flag"
23956 || test ! -s conftest.err'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; } &&
23962 { ac_try
='test -s conftest$ac_exeext'
23963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964 (eval $ac_try) 2>&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); }; }; then
23968 ac_cv_lib_nsl_gethostbyname
=yes
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.
$ac_ext >&5
23973 ac_cv_lib_nsl_gethostbyname
=no
23975 rm -f conftest.err conftest.
$ac_objext \
23976 conftest
$ac_exeext conftest.
$ac_ext
23977 LIBS
=$ac_check_lib_save_LIBS
23979 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23980 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23981 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23982 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23985 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23986 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23987 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23988 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23989 echo $ECHO_N "(cached) $ECHO_C" >&6
23991 ac_check_lib_save_LIBS
=$LIBS
23993 cat >conftest.
$ac_ext <<_ACEOF
23996 cat confdefs.h
>>conftest.
$ac_ext
23997 cat >>conftest.
$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
24000 /* Override any gcc2 internal prototype to avoid an error. */
24004 /* We use char because int might match the return type of a gcc2
24005 builtin and then its argument prototype would still apply. */
24006 char gethostbyname ();
24015 rm -f conftest.
$ac_objext conftest
$ac_exeext
24016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24017 (eval $ac_link) 2>conftest.er1
24019 grep -v '^ *+' conftest.er1
>conftest.err
24021 cat conftest.err
>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } &&
24024 { ac_try
='test -z "$ac_c_werror_flag"
24025 || test ! -s conftest.err'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; } &&
24031 { ac_try
='test -s conftest$ac_exeext'
24032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24033 (eval $ac_try) 2>&5
24035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036 (exit $ac_status); }; }; then
24037 ac_cv_lib_bsd_gethostbyname
=yes
24039 echo "$as_me: failed program was:" >&5
24040 sed 's/^/| /' conftest.
$ac_ext >&5
24042 ac_cv_lib_bsd_gethostbyname
=no
24044 rm -f conftest.err conftest.
$ac_objext \
24045 conftest
$ac_exeext conftest.
$ac_ext
24046 LIBS
=$ac_check_lib_save_LIBS
24048 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24049 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24050 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24057 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24058 # socket/setsockopt and other routines are undefined under SCO ODT
24059 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24060 # on later versions), says Simon Leinen: it contains gethostby*
24061 # variants that don't use the name server (or something). -lsocket
24062 # must be given before -lnsl if both are needed. We assume that
24063 # if connect needs -lnsl, so does gethostbyname.
24064 echo "$as_me:$LINENO: checking for connect" >&5
24065 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24066 if test "${ac_cv_func_connect+set}" = set; then
24067 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 cat >conftest.
$ac_ext <<_ACEOF
24072 cat confdefs.h
>>conftest.
$ac_ext
24073 cat >>conftest.
$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24077 #define connect innocuous_connect
24079 /* System header to define __stub macros and hopefully few prototypes,
24080 which can conflict with char connect (); below.
24081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24082 <limits.h> exists even on freestanding compilers. */
24085 # include <limits.h>
24087 # include <assert.h>
24092 /* Override any gcc2 internal prototype to avoid an error. */
24097 /* We use char because int might match the return type of a gcc2
24098 builtin and then its argument prototype would still apply. */
24100 /* The GNU C library defines this for functions which it implements
24101 to always fail with ENOSYS. Some functions are actually named
24102 something starting with __ and the normal name is an alias. */
24103 #if defined (__stub_connect) || defined (__stub___connect)
24106 char (*f) () = connect;
24115 return f != connect;
24120 rm -f conftest.
$ac_objext conftest
$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24124 grep -v '^ *+' conftest.er1
>conftest.err
24126 cat conftest.err
>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try
='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try
='test -s conftest$ac_exeext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24142 ac_cv_func_connect
=yes
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.
$ac_ext >&5
24147 ac_cv_func_connect
=no
24149 rm -f conftest.err conftest.
$ac_objext \
24150 conftest
$ac_exeext conftest.
$ac_ext
24152 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24153 echo "${ECHO_T}$ac_cv_func_connect" >&6
24155 if test $ac_cv_func_connect = no
; then
24156 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24157 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24158 if test "${ac_cv_lib_socket_connect+set}" = set; then
24159 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 ac_check_lib_save_LIBS
=$LIBS
24162 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24163 cat >conftest.
$ac_ext <<_ACEOF
24166 cat confdefs.h
>>conftest.
$ac_ext
24167 cat >>conftest.
$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24170 /* Override any gcc2 internal prototype to avoid an error. */
24174 /* We use char because int might match the return type of a gcc2
24175 builtin and then its argument prototype would still apply. */
24185 rm -f conftest.
$ac_objext conftest
$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>conftest.er1
24189 grep -v '^ *+' conftest.er1
>conftest.err
24191 cat conftest.err
>&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try
='test -z "$ac_c_werror_flag"
24195 || test ! -s conftest.err'
24196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197 (eval $ac_try) 2>&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); }; } &&
24201 { ac_try
='test -s conftest$ac_exeext'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; }; then
24207 ac_cv_lib_socket_connect
=yes
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.
$ac_ext >&5
24212 ac_cv_lib_socket_connect
=no
24214 rm -f conftest.err conftest.
$ac_objext \
24215 conftest
$ac_exeext conftest.
$ac_ext
24216 LIBS
=$ac_check_lib_save_LIBS
24218 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24219 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24220 if test $ac_cv_lib_socket_connect = yes; then
24221 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24226 # Guillermo Gomez says -lposix is necessary on A/UX.
24227 echo "$as_me:$LINENO: checking for remove" >&5
24228 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24229 if test "${ac_cv_func_remove+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 cat >conftest.
$ac_ext <<_ACEOF
24235 cat confdefs.h
>>conftest.
$ac_ext
24236 cat >>conftest.
$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24240 #define remove innocuous_remove
24242 /* System header to define __stub macros and hopefully few prototypes,
24243 which can conflict with char remove (); below.
24244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24245 <limits.h> exists even on freestanding compilers. */
24248 # include <limits.h>
24250 # include <assert.h>
24255 /* Override any gcc2 internal prototype to avoid an error. */
24260 /* We use char because int might match the return type of a gcc2
24261 builtin and then its argument prototype would still apply. */
24263 /* The GNU C library defines this for functions which it implements
24264 to always fail with ENOSYS. Some functions are actually named
24265 something starting with __ and the normal name is an alias. */
24266 #if defined (__stub_remove) || defined (__stub___remove)
24269 char (*f) () = remove;
24278 return f != remove;
24283 rm -f conftest.
$ac_objext conftest
$ac_exeext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24285 (eval $ac_link) 2>conftest.er1
24287 grep -v '^ *+' conftest.er1
>conftest.err
24289 cat conftest.err
>&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } &&
24292 { ac_try
='test -z "$ac_c_werror_flag"
24293 || test ! -s conftest.err'
24294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24295 (eval $ac_try) 2>&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); }; } &&
24299 { ac_try
='test -s conftest$ac_exeext'
24300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24301 (eval $ac_try) 2>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); }; }; then
24305 ac_cv_func_remove
=yes
24307 echo "$as_me: failed program was:" >&5
24308 sed 's/^/| /' conftest.
$ac_ext >&5
24310 ac_cv_func_remove
=no
24312 rm -f conftest.err conftest.
$ac_objext \
24313 conftest
$ac_exeext conftest.
$ac_ext
24315 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24316 echo "${ECHO_T}$ac_cv_func_remove" >&6
24318 if test $ac_cv_func_remove = no
; then
24319 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24320 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24321 if test "${ac_cv_lib_posix_remove+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 ac_check_lib_save_LIBS
=$LIBS
24325 LIBS
="-lposix $LIBS"
24326 cat >conftest.
$ac_ext <<_ACEOF
24329 cat confdefs.h
>>conftest.
$ac_ext
24330 cat >>conftest.
$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24333 /* Override any gcc2 internal prototype to avoid an error. */
24337 /* We use char because int might match the return type of a gcc2
24338 builtin and then its argument prototype would still apply. */
24348 rm -f conftest.
$ac_objext conftest
$ac_exeext
24349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24350 (eval $ac_link) 2>conftest.er1
24352 grep -v '^ *+' conftest.er1
>conftest.err
24354 cat conftest.err
>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); } &&
24357 { ac_try
='test -z "$ac_c_werror_flag"
24358 || test ! -s conftest.err'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; } &&
24364 { ac_try
='test -s conftest$ac_exeext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 ac_cv_lib_posix_remove
=yes
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.
$ac_ext >&5
24375 ac_cv_lib_posix_remove
=no
24377 rm -f conftest.err conftest.
$ac_objext \
24378 conftest
$ac_exeext conftest.
$ac_ext
24379 LIBS
=$ac_check_lib_save_LIBS
24381 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24382 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24383 if test $ac_cv_lib_posix_remove = yes; then
24384 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24389 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24390 echo "$as_me:$LINENO: checking for shmat" >&5
24391 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24392 if test "${ac_cv_func_shmat+set}" = set; then
24393 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 cat >conftest.
$ac_ext <<_ACEOF
24398 cat confdefs.h
>>conftest.
$ac_ext
24399 cat >>conftest.
$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24403 #define shmat innocuous_shmat
24405 /* System header to define __stub macros and hopefully few prototypes,
24406 which can conflict with char shmat (); below.
24407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24408 <limits.h> exists even on freestanding compilers. */
24411 # include <limits.h>
24413 # include <assert.h>
24418 /* Override any gcc2 internal prototype to avoid an error. */
24423 /* We use char because int might match the return type of a gcc2
24424 builtin and then its argument prototype would still apply. */
24426 /* The GNU C library defines this for functions which it implements
24427 to always fail with ENOSYS. Some functions are actually named
24428 something starting with __ and the normal name is an alias. */
24429 #if defined (__stub_shmat) || defined (__stub___shmat)
24432 char (*f) () = shmat;
24446 rm -f conftest.
$ac_objext conftest
$ac_exeext
24447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24448 (eval $ac_link) 2>conftest.er1
24450 grep -v '^ *+' conftest.er1
>conftest.err
24452 cat conftest.err
>&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); } &&
24455 { ac_try
='test -z "$ac_c_werror_flag"
24456 || test ! -s conftest.err'
24457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24458 (eval $ac_try) 2>&5
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); }; } &&
24462 { ac_try
='test -s conftest$ac_exeext'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; }; then
24468 ac_cv_func_shmat
=yes
24470 echo "$as_me: failed program was:" >&5
24471 sed 's/^/| /' conftest.
$ac_ext >&5
24473 ac_cv_func_shmat
=no
24475 rm -f conftest.err conftest.
$ac_objext \
24476 conftest
$ac_exeext conftest.
$ac_ext
24478 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24479 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24481 if test $ac_cv_func_shmat = no
; then
24482 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24483 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24484 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 ac_check_lib_save_LIBS
=$LIBS
24489 cat >conftest.
$ac_ext <<_ACEOF
24492 cat confdefs.h
>>conftest.
$ac_ext
24493 cat >>conftest.
$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24496 /* Override any gcc2 internal prototype to avoid an error. */
24500 /* We use char because int might match the return type of a gcc2
24501 builtin and then its argument prototype would still apply. */
24511 rm -f conftest.
$ac_objext conftest
$ac_exeext
24512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24513 (eval $ac_link) 2>conftest.er1
24515 grep -v '^ *+' conftest.er1
>conftest.err
24517 cat conftest.err
>&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } &&
24520 { ac_try
='test -z "$ac_c_werror_flag"
24521 || test ! -s conftest.err'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; } &&
24527 { ac_try
='test -s conftest$ac_exeext'
24528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24529 (eval $ac_try) 2>&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); }; }; then
24533 ac_cv_lib_ipc_shmat
=yes
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.
$ac_ext >&5
24538 ac_cv_lib_ipc_shmat
=no
24540 rm -f conftest.err conftest.
$ac_objext \
24541 conftest
$ac_exeext conftest.
$ac_ext
24542 LIBS
=$ac_check_lib_save_LIBS
24544 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24545 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24546 if test $ac_cv_lib_ipc_shmat = yes; then
24547 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24553 # Check for libraries that X11R6 Xt/Xaw programs need.
24554 ac_save_LDFLAGS
=$LDFLAGS
24555 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24556 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24557 # check for ICE first), but we must link in the order -lSM -lICE or
24558 # we get undefined symbols. So assume we have SM if we have ICE.
24559 # These have to be linked with before -lX11, unlike the other
24560 # libraries we check for below, so use a different variable.
24561 # John Interrante, Karl Berry
24562 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24563 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24564 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24567 ac_check_lib_save_LIBS
=$LIBS
24568 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24569 cat >conftest.
$ac_ext <<_ACEOF
24572 cat confdefs.h
>>conftest.
$ac_ext
24573 cat >>conftest.
$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24576 /* Override any gcc2 internal prototype to avoid an error. */
24580 /* We use char because int might match the return type of a gcc2
24581 builtin and then its argument prototype would still apply. */
24582 char IceConnectionNumber ();
24586 IceConnectionNumber ();
24591 rm -f conftest.
$ac_objext conftest
$ac_exeext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24593 (eval $ac_link) 2>conftest.er1
24595 grep -v '^ *+' conftest.er1
>conftest.err
24597 cat conftest.err
>&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try
='test -z "$ac_c_werror_flag"
24601 || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try
='test -s conftest$ac_exeext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 ac_cv_lib_ICE_IceConnectionNumber
=yes
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.
$ac_ext >&5
24618 ac_cv_lib_ICE_IceConnectionNumber
=no
24620 rm -f conftest.err conftest.
$ac_objext \
24621 conftest
$ac_exeext conftest.
$ac_ext
24622 LIBS
=$ac_check_lib_save_LIBS
24624 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24625 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24626 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24627 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24630 LDFLAGS
=$ac_save_LDFLAGS
24635 if test "$no_x" = "yes"; then
24636 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24637 echo "$as_me: error: X11 not found" >&2;}
24638 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24641 GUI_TK_LIBRARY
="$X_LIBS"
24642 TOOLKIT_INCLUDE
="$X_CFLAGS"
24643 AFMINSTALL
=afminstall
24644 COMPILED_X_PROGRAM
=0
24646 if test "$wxUSE_NANOX" = "yes"; then
24647 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24648 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24649 if test "x$MICROWIN" = x
; then
24650 echo "$as_me:$LINENO: result: not found" >&5
24651 echo "${ECHO_T}not found" >&6
24652 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24653 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24654 { (exit 1); exit 1; }; }
24656 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24657 echo "${ECHO_T}$MICROWIN" >&6
24658 cat >>confdefs.h
<<\_ACEOF
24659 #define wxUSE_NANOX 1
24665 if test "$wxUSE_UNICODE" = "yes"; then
24669 if test -z "$PKG_CONFIG"; then
24670 # Extract the first word of "pkg-config", so it can be a program name with args.
24671 set dummy pkg
-config; ac_word
=$2
24672 echo "$as_me:$LINENO: checking for $ac_word" >&5
24673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24677 case $PKG_CONFIG in
24679 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24683 for as_dir
in $PATH
24686 test -z "$as_dir" && as_dir
=.
24687 for ac_exec_ext
in '' $ac_executable_extensions; do
24688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24689 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24700 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24702 if test -n "$PKG_CONFIG"; then
24703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24704 echo "${ECHO_T}$PKG_CONFIG" >&6
24706 echo "$as_me:$LINENO: result: no" >&5
24707 echo "${ECHO_T}no" >&6
24712 if test "$PKG_CONFIG" = "no" ; then
24713 echo "*** The pkg-config script could not be found. Make sure it is"
24714 echo "*** in your path, or set the PKG_CONFIG environment variable"
24715 echo "*** to the full path to pkg-config."
24716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24718 PKG_CONFIG_MIN_VERSION
=0.9.0
24719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24720 echo "$as_me:$LINENO: checking for pangox" >&5
24721 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24723 if $PKG_CONFIG --exists "pangox" ; then
24724 echo "$as_me:$LINENO: result: yes" >&5
24725 echo "${ECHO_T}yes" >&6
24728 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24729 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24730 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24731 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24732 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24734 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24735 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24736 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24737 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24738 echo "${ECHO_T}$PANGOX_LIBS" >&6
24742 ## If we have a custom action on failure, don't print errors, but
24743 ## do set a variable so people can do so.
24744 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24756 if test $succeeded = yes; then
24758 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24759 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24763 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24764 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24765 { (exit 1); exit 1; }; }
24773 if test -z "$PKG_CONFIG"; then
24774 # Extract the first word of "pkg-config", so it can be a program name with args.
24775 set dummy pkg
-config; ac_word
=$2
24776 echo "$as_me:$LINENO: checking for $ac_word" >&5
24777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24779 echo $ECHO_N "(cached) $ECHO_C" >&6
24781 case $PKG_CONFIG in
24783 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24787 for as_dir
in $PATH
24790 test -z "$as_dir" && as_dir
=.
24791 for ac_exec_ext
in '' $ac_executable_extensions; do
24792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24793 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24800 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24804 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24806 if test -n "$PKG_CONFIG"; then
24807 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24808 echo "${ECHO_T}$PKG_CONFIG" >&6
24810 echo "$as_me:$LINENO: result: no" >&5
24811 echo "${ECHO_T}no" >&6
24816 if test "$PKG_CONFIG" = "no" ; then
24817 echo "*** The pkg-config script could not be found. Make sure it is"
24818 echo "*** in your path, or set the PKG_CONFIG environment variable"
24819 echo "*** to the full path to pkg-config."
24820 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24822 PKG_CONFIG_MIN_VERSION
=0.9.0
24823 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24824 echo "$as_me:$LINENO: checking for pangoft2" >&5
24825 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24827 if $PKG_CONFIG --exists "pangoft2" ; then
24828 echo "$as_me:$LINENO: result: yes" >&5
24829 echo "${ECHO_T}yes" >&6
24832 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24833 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24834 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24835 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24836 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24838 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24839 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24840 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24841 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24842 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24846 ## If we have a custom action on failure, don't print errors, but
24847 ## do set a variable so people can do so.
24848 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24855 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24856 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24860 if test $succeeded = yes; then
24862 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24867 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24868 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24869 wxUSE_PRINTING_ARCHITECTURE
="no"
24877 if test -z "$PKG_CONFIG"; then
24878 # Extract the first word of "pkg-config", so it can be a program name with args.
24879 set dummy pkg
-config; ac_word
=$2
24880 echo "$as_me:$LINENO: checking for $ac_word" >&5
24881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24882 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24885 case $PKG_CONFIG in
24887 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24891 for as_dir
in $PATH
24894 test -z "$as_dir" && as_dir
=.
24895 for ac_exec_ext
in '' $ac_executable_extensions; do
24896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24897 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24904 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24908 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24910 if test -n "$PKG_CONFIG"; then
24911 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24912 echo "${ECHO_T}$PKG_CONFIG" >&6
24914 echo "$as_me:$LINENO: result: no" >&5
24915 echo "${ECHO_T}no" >&6
24920 if test "$PKG_CONFIG" = "no" ; then
24921 echo "*** The pkg-config script could not be found. Make sure it is"
24922 echo "*** in your path, or set the PKG_CONFIG environment variable"
24923 echo "*** to the full path to pkg-config."
24924 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24926 PKG_CONFIG_MIN_VERSION
=0.9.0
24927 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24928 echo "$as_me:$LINENO: checking for pangoxft" >&5
24929 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24931 if $PKG_CONFIG --exists "pangoxft" ; then
24932 echo "$as_me:$LINENO: result: yes" >&5
24933 echo "${ECHO_T}yes" >&6
24936 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24937 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24938 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24939 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24940 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24942 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24943 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24944 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24945 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24946 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24950 ## If we have a custom action on failure, don't print errors, but
24951 ## do set a variable so people can do so.
24952 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24959 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24960 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24964 if test $succeeded = yes; then
24966 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24967 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24971 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24972 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24979 wxUSE_UNIVERSAL
="yes"
24981 if test "$wxUSE_NANOX" = "yes"; then
24982 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24983 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"
24984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24989 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24994 if test "$wxUSE_MOTIF" = 1; then
24995 if test "$no_x" = yes; then
24996 # Not all programs may use this symbol, but it does not hurt to define it.
24998 cat >>confdefs.h
<<\_ACEOF
24999 #define X_DISPLAY_MISSING 1
25002 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25004 if test -n "$x_includes"; then
25005 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25008 # It would also be nice to do this for all -L options, not just this one.
25009 if test -n "$x_libraries"; then
25010 X_LIBS
="$X_LIBS -L$x_libraries"
25011 # For Solaris; some versions of Sun CC require a space after -R and
25012 # others require no space. Words are not sufficient . . . .
25013 case `(uname -sr) 2>/dev/null` in
25015 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25016 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25017 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25018 cat >conftest.
$ac_ext <<_ACEOF
25021 cat confdefs.h
>>conftest.
$ac_ext
25022 cat >>conftest.
$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25033 rm -f conftest.
$ac_objext conftest
$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035 (eval $ac_link) 2>conftest.er1
25037 grep -v '^ *+' conftest.er1
>conftest.err
25039 cat conftest.err
>&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } &&
25042 { ac_try
='test -z "$ac_c_werror_flag"
25043 || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try
='test -s conftest$ac_exeext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.
$ac_ext >&5
25062 rm -f conftest.err conftest.
$ac_objext \
25063 conftest
$ac_exeext conftest.
$ac_ext
25064 if test $ac_R_nospace = yes; then
25065 echo "$as_me:$LINENO: result: no" >&5
25066 echo "${ECHO_T}no" >&6
25067 X_LIBS
="$X_LIBS -R$x_libraries"
25069 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25070 cat >conftest.
$ac_ext <<_ACEOF
25073 cat confdefs.h
>>conftest.
$ac_ext
25074 cat >>conftest.
$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25085 rm -f conftest.
$ac_objext conftest
$ac_exeext
25086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25087 (eval $ac_link) 2>conftest.er1
25089 grep -v '^ *+' conftest.er1
>conftest.err
25091 cat conftest.err
>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try
='test -z "$ac_c_werror_flag"
25095 || test ! -s conftest.err'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; } &&
25101 { ac_try
='test -s conftest$ac_exeext'
25102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103 (eval $ac_try) 2>&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); }; }; then
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.
$ac_ext >&5
25114 rm -f conftest.err conftest.
$ac_objext \
25115 conftest
$ac_exeext conftest.
$ac_ext
25116 if test $ac_R_space = yes; then
25117 echo "$as_me:$LINENO: result: yes" >&5
25118 echo "${ECHO_T}yes" >&6
25119 X_LIBS
="$X_LIBS -R $x_libraries"
25121 echo "$as_me:$LINENO: result: neither works" >&5
25122 echo "${ECHO_T}neither works" >&6
25125 LIBS
=$ac_xsave_LIBS
25129 # Check for system-dependent libraries X programs must link with.
25130 # Do this before checking for the system-independent R6 libraries
25131 # (-lICE), since we may need -lsocket or whatever for X linking.
25133 if test "$ISC" = yes; then
25134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25136 # Martyn Johnson says this is needed for Ultrix, if the X
25137 # libraries were built with DECnet support. And Karl Berry says
25138 # the Alpha needs dnet_stub (dnet does not exist).
25139 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25140 cat >conftest.
$ac_ext <<_ACEOF
25143 cat confdefs.h
>>conftest.
$ac_ext
25144 cat >>conftest.
$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25147 /* Override any gcc2 internal prototype to avoid an error. */
25151 /* We use char because int might match the return type of a gcc2
25152 builtin and then its argument prototype would still apply. */
25153 char XOpenDisplay ();
25162 rm -f conftest.
$ac_objext conftest
$ac_exeext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25164 (eval $ac_link) 2>conftest.er1
25166 grep -v '^ *+' conftest.er1
>conftest.err
25168 cat conftest.err
>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try
='test -z "$ac_c_werror_flag"
25172 || test ! -s conftest.err'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; } &&
25178 { ac_try
='test -s conftest$ac_exeext'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; }; then
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.
$ac_ext >&5
25189 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25190 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25191 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25192 echo $ECHO_N "(cached) $ECHO_C" >&6
25194 ac_check_lib_save_LIBS
=$LIBS
25195 LIBS
="-ldnet $LIBS"
25196 cat >conftest.
$ac_ext <<_ACEOF
25199 cat confdefs.h
>>conftest.
$ac_ext
25200 cat >>conftest.
$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25203 /* Override any gcc2 internal prototype to avoid an error. */
25207 /* We use char because int might match the return type of a gcc2
25208 builtin and then its argument prototype would still apply. */
25218 rm -f conftest.
$ac_objext conftest
$ac_exeext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25220 (eval $ac_link) 2>conftest.er1
25222 grep -v '^ *+' conftest.er1
>conftest.err
25224 cat conftest.err
>&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try
='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try
='test -s conftest$ac_exeext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_cv_lib_dnet_dnet_ntoa
=yes
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.
$ac_ext >&5
25245 ac_cv_lib_dnet_dnet_ntoa
=no
25247 rm -f conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25249 LIBS
=$ac_check_lib_save_LIBS
25251 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25252 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25253 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25257 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25259 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25260 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25261 echo $ECHO_N "(cached) $ECHO_C" >&6
25263 ac_check_lib_save_LIBS
=$LIBS
25264 LIBS
="-ldnet_stub $LIBS"
25265 cat >conftest.
$ac_ext <<_ACEOF
25268 cat confdefs.h
>>conftest.
$ac_ext
25269 cat >>conftest.
$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25272 /* Override any gcc2 internal prototype to avoid an error. */
25276 /* We use char because int might match the return type of a gcc2
25277 builtin and then its argument prototype would still apply. */
25287 rm -f conftest.
$ac_objext conftest
$ac_exeext
25288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25289 (eval $ac_link) 2>conftest.er1
25291 grep -v '^ *+' conftest.er1
>conftest.err
25293 cat conftest.err
>&5
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); } &&
25296 { ac_try
='test -z "$ac_c_werror_flag"
25297 || test ! -s conftest.err'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; } &&
25303 { ac_try
='test -s conftest$ac_exeext'
25304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305 (eval $ac_try) 2>&5
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); }; }; then
25309 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25311 echo "$as_me: failed program was:" >&5
25312 sed 's/^/| /' conftest.
$ac_ext >&5
25314 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25316 rm -f conftest.err conftest.
$ac_objext \
25317 conftest
$ac_exeext conftest.
$ac_ext
25318 LIBS
=$ac_check_lib_save_LIBS
25320 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25321 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25322 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25328 rm -f conftest.err conftest.
$ac_objext \
25329 conftest
$ac_exeext conftest.
$ac_ext
25330 LIBS
="$ac_xsave_LIBS"
25332 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25333 # to get the SysV transport functions.
25334 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25336 # The nsl library prevents programs from opening the X display
25337 # on Irix 5.2, according to T.E. Dickey.
25338 # The functions gethostbyname, getservbyname, and inet_addr are
25339 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25340 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25341 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25342 if test "${ac_cv_func_gethostbyname+set}" = set; then
25343 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 cat >conftest.
$ac_ext <<_ACEOF
25348 cat confdefs.h
>>conftest.
$ac_ext
25349 cat >>conftest.
$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25353 #define gethostbyname innocuous_gethostbyname
25355 /* System header to define __stub macros and hopefully few prototypes,
25356 which can conflict with char gethostbyname (); below.
25357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25358 <limits.h> exists even on freestanding compilers. */
25361 # include <limits.h>
25363 # include <assert.h>
25366 #undef gethostbyname
25368 /* Override any gcc2 internal prototype to avoid an error. */
25373 /* We use char because int might match the return type of a gcc2
25374 builtin and then its argument prototype would still apply. */
25375 char gethostbyname ();
25376 /* The GNU C library defines this for functions which it implements
25377 to always fail with ENOSYS. Some functions are actually named
25378 something starting with __ and the normal name is an alias. */
25379 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25382 char (*f) () = gethostbyname;
25391 return f != gethostbyname;
25396 rm -f conftest.
$ac_objext conftest
$ac_exeext
25397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25398 (eval $ac_link) 2>conftest.er1
25400 grep -v '^ *+' conftest.er1
>conftest.err
25402 cat conftest.err
>&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } &&
25405 { ac_try
='test -z "$ac_c_werror_flag"
25406 || test ! -s conftest.err'
25407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408 (eval $ac_try) 2>&5
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; } &&
25412 { ac_try
='test -s conftest$ac_exeext'
25413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25414 (eval $ac_try) 2>&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); }; }; then
25418 ac_cv_func_gethostbyname
=yes
25420 echo "$as_me: failed program was:" >&5
25421 sed 's/^/| /' conftest.
$ac_ext >&5
25423 ac_cv_func_gethostbyname
=no
25425 rm -f conftest.err conftest.
$ac_objext \
25426 conftest
$ac_exeext conftest.
$ac_ext
25428 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25429 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25431 if test $ac_cv_func_gethostbyname = no
; then
25432 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25433 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25434 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25437 ac_check_lib_save_LIBS
=$LIBS
25439 cat >conftest.
$ac_ext <<_ACEOF
25442 cat confdefs.h
>>conftest.
$ac_ext
25443 cat >>conftest.
$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25446 /* Override any gcc2 internal prototype to avoid an error. */
25450 /* We use char because int might match the return type of a gcc2
25451 builtin and then its argument prototype would still apply. */
25452 char gethostbyname ();
25461 rm -f conftest.
$ac_objext conftest
$ac_exeext
25462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25463 (eval $ac_link) 2>conftest.er1
25465 grep -v '^ *+' conftest.er1
>conftest.err
25467 cat conftest.err
>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } &&
25470 { ac_try
='test -z "$ac_c_werror_flag"
25471 || test ! -s conftest.err'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; } &&
25477 { ac_try
='test -s conftest$ac_exeext'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; }; then
25483 ac_cv_lib_nsl_gethostbyname
=yes
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.
$ac_ext >&5
25488 ac_cv_lib_nsl_gethostbyname
=no
25490 rm -f conftest.err conftest.
$ac_objext \
25491 conftest
$ac_exeext conftest.
$ac_ext
25492 LIBS
=$ac_check_lib_save_LIBS
25494 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25495 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25496 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25497 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25500 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25501 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25502 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25503 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25504 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 ac_check_lib_save_LIBS
=$LIBS
25508 cat >conftest.
$ac_ext <<_ACEOF
25511 cat confdefs.h
>>conftest.
$ac_ext
25512 cat >>conftest.
$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25515 /* Override any gcc2 internal prototype to avoid an error. */
25519 /* We use char because int might match the return type of a gcc2
25520 builtin and then its argument prototype would still apply. */
25521 char gethostbyname ();
25530 rm -f conftest.
$ac_objext conftest
$ac_exeext
25531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25532 (eval $ac_link) 2>conftest.er1
25534 grep -v '^ *+' conftest.er1
>conftest.err
25536 cat conftest.err
>&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try
='test -z "$ac_c_werror_flag"
25540 || test ! -s conftest.err'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; } &&
25546 { ac_try
='test -s conftest$ac_exeext'
25547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25548 (eval $ac_try) 2>&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); }; }; then
25552 ac_cv_lib_bsd_gethostbyname
=yes
25554 echo "$as_me: failed program was:" >&5
25555 sed 's/^/| /' conftest.
$ac_ext >&5
25557 ac_cv_lib_bsd_gethostbyname
=no
25559 rm -f conftest.err conftest.
$ac_objext \
25560 conftest
$ac_exeext conftest.
$ac_ext
25561 LIBS
=$ac_check_lib_save_LIBS
25563 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25564 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25565 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25572 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25573 # socket/setsockopt and other routines are undefined under SCO ODT
25574 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25575 # on later versions), says Simon Leinen: it contains gethostby*
25576 # variants that don't use the name server (or something). -lsocket
25577 # must be given before -lnsl if both are needed. We assume that
25578 # if connect needs -lnsl, so does gethostbyname.
25579 echo "$as_me:$LINENO: checking for connect" >&5
25580 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25581 if test "${ac_cv_func_connect+set}" = set; then
25582 echo $ECHO_N "(cached) $ECHO_C" >&6
25584 cat >conftest.
$ac_ext <<_ACEOF
25587 cat confdefs.h
>>conftest.
$ac_ext
25588 cat >>conftest.
$ac_ext <<_ACEOF
25589 /* end confdefs.h. */
25590 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25592 #define connect innocuous_connect
25594 /* System header to define __stub macros and hopefully few prototypes,
25595 which can conflict with char connect (); below.
25596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25597 <limits.h> exists even on freestanding compilers. */
25600 # include <limits.h>
25602 # include <assert.h>
25607 /* Override any gcc2 internal prototype to avoid an error. */
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25615 /* The GNU C library defines this for functions which it implements
25616 to always fail with ENOSYS. Some functions are actually named
25617 something starting with __ and the normal name is an alias. */
25618 #if defined (__stub_connect) || defined (__stub___connect)
25621 char (*f) () = connect;
25630 return f != connect;
25635 rm -f conftest.
$ac_objext conftest
$ac_exeext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25637 (eval $ac_link) 2>conftest.er1
25639 grep -v '^ *+' conftest.er1
>conftest.err
25641 cat conftest.err
>&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } &&
25644 { ac_try
='test -z "$ac_c_werror_flag"
25645 || test ! -s conftest.err'
25646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25647 (eval $ac_try) 2>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); }; } &&
25651 { ac_try
='test -s conftest$ac_exeext'
25652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25653 (eval $ac_try) 2>&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); }; }; then
25657 ac_cv_func_connect
=yes
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.
$ac_ext >&5
25662 ac_cv_func_connect
=no
25664 rm -f conftest.err conftest.
$ac_objext \
25665 conftest
$ac_exeext conftest.
$ac_ext
25667 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25668 echo "${ECHO_T}$ac_cv_func_connect" >&6
25670 if test $ac_cv_func_connect = no
; then
25671 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25672 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25673 if test "${ac_cv_lib_socket_connect+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 ac_check_lib_save_LIBS
=$LIBS
25677 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25678 cat >conftest.
$ac_ext <<_ACEOF
25681 cat confdefs.h
>>conftest.
$ac_ext
25682 cat >>conftest.
$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25685 /* Override any gcc2 internal prototype to avoid an error. */
25689 /* We use char because int might match the return type of a gcc2
25690 builtin and then its argument prototype would still apply. */
25700 rm -f conftest.
$ac_objext conftest
$ac_exeext
25701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25702 (eval $ac_link) 2>conftest.er1
25704 grep -v '^ *+' conftest.er1
>conftest.err
25706 cat conftest.err
>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } &&
25709 { ac_try
='test -z "$ac_c_werror_flag"
25710 || test ! -s conftest.err'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; } &&
25716 { ac_try
='test -s conftest$ac_exeext'
25717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25718 (eval $ac_try) 2>&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); }; }; then
25722 ac_cv_lib_socket_connect
=yes
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.
$ac_ext >&5
25727 ac_cv_lib_socket_connect
=no
25729 rm -f conftest.err conftest.
$ac_objext \
25730 conftest
$ac_exeext conftest.
$ac_ext
25731 LIBS
=$ac_check_lib_save_LIBS
25733 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25734 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25735 if test $ac_cv_lib_socket_connect = yes; then
25736 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25741 # Guillermo Gomez says -lposix is necessary on A/UX.
25742 echo "$as_me:$LINENO: checking for remove" >&5
25743 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25744 if test "${ac_cv_func_remove+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 cat >conftest.
$ac_ext <<_ACEOF
25750 cat confdefs.h
>>conftest.
$ac_ext
25751 cat >>conftest.
$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25753 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25755 #define remove innocuous_remove
25757 /* System header to define __stub macros and hopefully few prototypes,
25758 which can conflict with char remove (); below.
25759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25760 <limits.h> exists even on freestanding compilers. */
25763 # include <limits.h>
25765 # include <assert.h>
25770 /* Override any gcc2 internal prototype to avoid an error. */
25775 /* We use char because int might match the return type of a gcc2
25776 builtin and then its argument prototype would still apply. */
25778 /* The GNU C library defines this for functions which it implements
25779 to always fail with ENOSYS. Some functions are actually named
25780 something starting with __ and the normal name is an alias. */
25781 #if defined (__stub_remove) || defined (__stub___remove)
25784 char (*f) () = remove;
25793 return f != remove;
25798 rm -f conftest.
$ac_objext conftest
$ac_exeext
25799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25800 (eval $ac_link) 2>conftest.er1
25802 grep -v '^ *+' conftest.er1
>conftest.err
25804 cat conftest.err
>&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try
='test -z "$ac_c_werror_flag"
25808 || test ! -s conftest.err'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; } &&
25814 { ac_try
='test -s conftest$ac_exeext'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; }; then
25820 ac_cv_func_remove
=yes
25822 echo "$as_me: failed program was:" >&5
25823 sed 's/^/| /' conftest.
$ac_ext >&5
25825 ac_cv_func_remove
=no
25827 rm -f conftest.err conftest.
$ac_objext \
25828 conftest
$ac_exeext conftest.
$ac_ext
25830 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25831 echo "${ECHO_T}$ac_cv_func_remove" >&6
25833 if test $ac_cv_func_remove = no
; then
25834 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25835 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25836 if test "${ac_cv_lib_posix_remove+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 ac_check_lib_save_LIBS
=$LIBS
25840 LIBS
="-lposix $LIBS"
25841 cat >conftest.
$ac_ext <<_ACEOF
25844 cat confdefs.h
>>conftest.
$ac_ext
25845 cat >>conftest.
$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25848 /* Override any gcc2 internal prototype to avoid an error. */
25852 /* We use char because int might match the return type of a gcc2
25853 builtin and then its argument prototype would still apply. */
25863 rm -f conftest.
$ac_objext conftest
$ac_exeext
25864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25865 (eval $ac_link) 2>conftest.er1
25867 grep -v '^ *+' conftest.er1
>conftest.err
25869 cat conftest.err
>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try
='test -z "$ac_c_werror_flag"
25873 || test ! -s conftest.err'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; } &&
25879 { ac_try
='test -s conftest$ac_exeext'
25880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25881 (eval $ac_try) 2>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); }; }; then
25885 ac_cv_lib_posix_remove
=yes
25887 echo "$as_me: failed program was:" >&5
25888 sed 's/^/| /' conftest.
$ac_ext >&5
25890 ac_cv_lib_posix_remove
=no
25892 rm -f conftest.err conftest.
$ac_objext \
25893 conftest
$ac_exeext conftest.
$ac_ext
25894 LIBS
=$ac_check_lib_save_LIBS
25896 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25897 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25898 if test $ac_cv_lib_posix_remove = yes; then
25899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25904 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25905 echo "$as_me:$LINENO: checking for shmat" >&5
25906 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25907 if test "${ac_cv_func_shmat+set}" = set; then
25908 echo $ECHO_N "(cached) $ECHO_C" >&6
25910 cat >conftest.
$ac_ext <<_ACEOF
25913 cat confdefs.h
>>conftest.
$ac_ext
25914 cat >>conftest.
$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25918 #define shmat innocuous_shmat
25920 /* System header to define __stub macros and hopefully few prototypes,
25921 which can conflict with char shmat (); below.
25922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25923 <limits.h> exists even on freestanding compilers. */
25926 # include <limits.h>
25928 # include <assert.h>
25933 /* Override any gcc2 internal prototype to avoid an error. */
25938 /* We use char because int might match the return type of a gcc2
25939 builtin and then its argument prototype would still apply. */
25941 /* The GNU C library defines this for functions which it implements
25942 to always fail with ENOSYS. Some functions are actually named
25943 something starting with __ and the normal name is an alias. */
25944 #if defined (__stub_shmat) || defined (__stub___shmat)
25947 char (*f) () = shmat;
25961 rm -f conftest.
$ac_objext conftest
$ac_exeext
25962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25963 (eval $ac_link) 2>conftest.er1
25965 grep -v '^ *+' conftest.er1
>conftest.err
25967 cat conftest.err
>&5
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } &&
25970 { ac_try
='test -z "$ac_c_werror_flag"
25971 || test ! -s conftest.err'
25972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 (eval $ac_try) 2>&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); }; } &&
25977 { ac_try
='test -s conftest$ac_exeext'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; }; then
25983 ac_cv_func_shmat
=yes
25985 echo "$as_me: failed program was:" >&5
25986 sed 's/^/| /' conftest.
$ac_ext >&5
25988 ac_cv_func_shmat
=no
25990 rm -f conftest.err conftest.
$ac_objext \
25991 conftest
$ac_exeext conftest.
$ac_ext
25993 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25994 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25996 if test $ac_cv_func_shmat = no
; then
25997 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25998 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25999 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 ac_check_lib_save_LIBS
=$LIBS
26004 cat >conftest.
$ac_ext <<_ACEOF
26007 cat confdefs.h
>>conftest.
$ac_ext
26008 cat >>conftest.
$ac_ext <<_ACEOF
26009 /* end confdefs.h. */
26011 /* Override any gcc2 internal prototype to avoid an error. */
26015 /* We use char because int might match the return type of a gcc2
26016 builtin and then its argument prototype would still apply. */
26026 rm -f conftest.
$ac_objext conftest
$ac_exeext
26027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26028 (eval $ac_link) 2>conftest.er1
26030 grep -v '^ *+' conftest.er1
>conftest.err
26032 cat conftest.err
>&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } &&
26035 { ac_try
='test -z "$ac_c_werror_flag"
26036 || test ! -s conftest.err'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; } &&
26042 { ac_try
='test -s conftest$ac_exeext'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; }; then
26048 ac_cv_lib_ipc_shmat
=yes
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.
$ac_ext >&5
26053 ac_cv_lib_ipc_shmat
=no
26055 rm -f conftest.err conftest.
$ac_objext \
26056 conftest
$ac_exeext conftest.
$ac_ext
26057 LIBS
=$ac_check_lib_save_LIBS
26059 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26060 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26061 if test $ac_cv_lib_ipc_shmat = yes; then
26062 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26068 # Check for libraries that X11R6 Xt/Xaw programs need.
26069 ac_save_LDFLAGS
=$LDFLAGS
26070 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26071 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26072 # check for ICE first), but we must link in the order -lSM -lICE or
26073 # we get undefined symbols. So assume we have SM if we have ICE.
26074 # These have to be linked with before -lX11, unlike the other
26075 # libraries we check for below, so use a different variable.
26076 # John Interrante, Karl Berry
26077 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26078 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26079 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26082 ac_check_lib_save_LIBS
=$LIBS
26083 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26084 cat >conftest.
$ac_ext <<_ACEOF
26087 cat confdefs.h
>>conftest.
$ac_ext
26088 cat >>conftest.
$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26091 /* Override any gcc2 internal prototype to avoid an error. */
26095 /* We use char because int might match the return type of a gcc2
26096 builtin and then its argument prototype would still apply. */
26097 char IceConnectionNumber ();
26101 IceConnectionNumber ();
26106 rm -f conftest.
$ac_objext conftest
$ac_exeext
26107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26108 (eval $ac_link) 2>conftest.er1
26110 grep -v '^ *+' conftest.er1
>conftest.err
26112 cat conftest.err
>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try
='test -z "$ac_c_werror_flag"
26116 || test ! -s conftest.err'
26117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26118 (eval $ac_try) 2>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); }; } &&
26122 { ac_try
='test -s conftest$ac_exeext'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; }; then
26128 ac_cv_lib_ICE_IceConnectionNumber
=yes
26130 echo "$as_me: failed program was:" >&5
26131 sed 's/^/| /' conftest.
$ac_ext >&5
26133 ac_cv_lib_ICE_IceConnectionNumber
=no
26135 rm -f conftest.err conftest.
$ac_objext \
26136 conftest
$ac_exeext conftest.
$ac_ext
26137 LIBS
=$ac_check_lib_save_LIBS
26139 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26140 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26141 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26142 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26145 LDFLAGS
=$ac_save_LDFLAGS
26150 if test "$no_x" = "yes"; then
26151 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26152 echo "$as_me: error: X11 not found" >&2;}
26153 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26156 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26157 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26158 AFMINSTALL
=afminstall
26159 COMPILED_X_PROGRAM
=0
26161 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26162 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26165 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26167 if test -f "$ac_dir/Xm/Xm.h"; then
26168 ac_find_includes
=$ac_dir
26173 if test "$ac_find_includes" != "" ; then
26174 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26175 echo "${ECHO_T}found in $ac_find_includes" >&6
26177 if test "x$ac_find_includes" = "x/usr/include"; then
26178 ac_path_to_include
=""
26180 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26182 if test $result = 0; then
26183 ac_path_to_include
=""
26185 ac_path_to_include
=" -I$ac_find_includes"
26189 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26191 cat >conftest.
$ac_ext <<_ACEOF
26194 cat confdefs.h
>>conftest.
$ac_ext
26195 cat >>conftest.
$ac_ext <<_ACEOF
26196 /* end confdefs.h. */
26205 version = xmUseVersion;
26211 rm -f conftest.
$ac_objext
26212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26213 (eval $ac_compile) 2>conftest.er1
26215 grep -v '^ *+' conftest.er1
>conftest.err
26217 cat conftest.err
>&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } &&
26220 { ac_try
='test -z "$ac_c_werror_flag"
26221 || test ! -s conftest.err'
26222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223 (eval $ac_try) 2>&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); }; } &&
26227 { ac_try
='test -s conftest.$ac_objext'
26228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26229 (eval $ac_try) 2>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); }; }; then
26234 echo "$as_me:$LINENO: result: found in default search path" >&5
26235 echo "${ECHO_T}found in default search path" >&6
26236 COMPILED_X_PROGRAM
=1
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.
$ac_ext >&5
26243 echo "$as_me:$LINENO: result: no" >&5
26244 echo "${ECHO_T}no" >&6
26245 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26246 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26247 { (exit 1); exit 1; }; }
26251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26254 if test "$COMPILED_X_PROGRAM" = 0; then
26255 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26256 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26259 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26261 for ac_extension
in a so sl dylib
; do
26262 if test -f "$ac_dir/libXm.$ac_extension"; then
26263 ac_find_libraries
=$ac_dir
26269 if test "$ac_find_libraries" != "" ; then
26270 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26271 echo "${ECHO_T}found at $ac_find_libraries" >&6
26274 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26276 if test $result = 0; then
26279 ac_path_to_link
=" -L$ac_find_libraries"
26282 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26284 save_CFLAGS
=$CFLAGS
26285 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26287 cat >conftest.
$ac_ext <<_ACEOF
26290 cat confdefs.h
>>conftest.
$ac_ext
26291 cat >>conftest.
$ac_ext <<_ACEOF
26292 /* end confdefs.h. */
26301 version = xmUseVersion;
26307 rm -f conftest.
$ac_objext
26308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26309 (eval $ac_compile) 2>conftest.er1
26311 grep -v '^ *+' conftest.er1
>conftest.err
26313 cat conftest.err
>&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } &&
26316 { ac_try
='test -z "$ac_c_werror_flag"
26317 || test ! -s conftest.err'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; } &&
26323 { ac_try
='test -s conftest.$ac_objext'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; }; then
26330 echo "$as_me:$LINENO: result: found in default search path" >&5
26331 echo "${ECHO_T}found in default search path" >&6
26332 COMPILED_X_PROGRAM
=1
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.
$ac_ext >&5
26339 echo "$as_me:$LINENO: result: no" >&5
26340 echo "${ECHO_T}no" >&6
26341 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26342 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26343 { (exit 1); exit 1; }; }
26347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26349 CFLAGS
=$save_CFLAGS
26353 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26354 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26358 for libp
in "" " -lXp"; do
26359 if test "$libs_found" = "0"; then
26360 for libsm_ice
in "" " -lSM -lICE"; do
26361 if test "$libs_found" = "0"; then
26363 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26364 save_CFLAGS
=$CFLAGS
26365 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26367 cat >conftest.
$ac_ext <<_ACEOF
26370 cat confdefs.h
>>conftest.
$ac_ext
26371 cat >>conftest.
$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26375 #include <Xm/List.h>
26381 XmString string = NULL;
26384 XmListAddItem(w, string, position);
26390 rm -f conftest.
$ac_objext conftest
$ac_exeext
26391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26392 (eval $ac_link) 2>conftest.er1
26394 grep -v '^ *+' conftest.er1
>conftest.err
26396 cat conftest.err
>&5
26397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26398 (exit $ac_status); } &&
26399 { ac_try
='test -z "$ac_c_werror_flag"
26400 || test ! -s conftest.err'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; } &&
26406 { ac_try
='test -s conftest$ac_exeext'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; }; then
26414 libsm_ice_link
="$libsm_ice"
26415 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26416 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26426 rm -f conftest.err conftest.
$ac_objext \
26427 conftest
$ac_exeext conftest.
$ac_ext
26430 CFLAGS
=$save_CFLAGS
26436 if test "$libs_found" = "0"; then
26437 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26438 echo "${ECHO_T}can't find the right libraries" >&6
26439 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26440 echo "$as_me: error: can't link a simple motif program" >&2;}
26441 { (exit 1); exit 1; }; }
26444 save_CFLAGS
=$CFLAGS
26445 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26446 echo "$as_me:$LINENO: checking for Motif 2" >&5
26447 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26448 cat >conftest.
$ac_ext <<_ACEOF
26451 cat confdefs.h
>>conftest.
$ac_ext
26452 cat >>conftest.
$ac_ext <<_ACEOF
26453 /* end confdefs.h. */
26461 #if XmVersion < 2000
26462 #error "Not Motif 2"
26469 rm -f conftest.
$ac_objext
26470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26471 (eval $ac_compile) 2>conftest.er1
26473 grep -v '^ *+' conftest.er1
>conftest.err
26475 cat conftest.err
>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } &&
26478 { ac_try
='test -z "$ac_c_werror_flag"
26479 || test ! -s conftest.err'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; } &&
26485 { ac_try
='test -s conftest.$ac_objext'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; }; then
26492 cat >>confdefs.h
<<\_ACEOF
26493 #define __WXMOTIF20__ 1
26496 echo "$as_me:$LINENO: result: found" >&5
26497 echo "${ECHO_T}found" >&6
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.
$ac_ext >&5
26504 cat >>confdefs.h
<<\_ACEOF
26505 #define __WXMOTIF20__ 0
26508 echo "$as_me:$LINENO: result: not found" >&5
26509 echo "${ECHO_T}not found" >&6
26512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26513 CFLAGS
=$save_CFLAGS
26515 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26516 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26521 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26522 if test "$wxUSE_LIBXPM" = "sys"; then
26523 echo "$as_me:$LINENO: checking for Xpm library" >&5
26524 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26527 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26529 for ac_extension
in a so sl dylib
; do
26530 if test -f "$ac_dir/libXpm.$ac_extension"; then
26531 ac_find_libraries
=$ac_dir
26537 if test "$ac_find_libraries" != "" ; then
26539 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26541 if test $result = 0; then
26544 ac_path_to_link
=" -L$ac_find_libraries"
26547 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26548 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26549 echo "${ECHO_T}found at $ac_find_libraries" >&6
26551 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26552 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26553 if test "${wx_cv_x11_xpm_h+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 save_CFLAGS
=$CFLAGS
26558 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26560 cat >conftest.
$ac_ext <<_ACEOF
26563 cat confdefs.h
>>conftest.
$ac_ext
26564 cat >>conftest.
$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26567 #include <X11/xpm.h>
26574 version = XpmLibraryVersion();
26580 rm -f conftest.
$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>conftest.er1
26584 grep -v '^ *+' conftest.er1
>conftest.err
26586 cat conftest.err
>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try
='test -z "$ac_c_werror_flag"
26590 || test ! -s conftest.err'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; } &&
26596 { ac_try
='test -s conftest.$ac_objext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 wx_cv_x11_xpm_h
=yes
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.
$ac_ext >&5
26610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26612 CFLAGS
=$save_CFLAGS
26616 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26617 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26619 if test $wx_cv_x11_xpm_h = "yes"; then
26620 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26621 cat >>confdefs.h
<<\_ACEOF
26622 #define wxHAVE_LIB_XPM 1
26626 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26627 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26633 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26634 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26635 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26638 ac_check_lib_save_LIBS
=$LIBS
26639 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26640 cat >conftest.
$ac_ext <<_ACEOF
26643 cat confdefs.h
>>conftest.
$ac_ext
26644 cat >>conftest.
$ac_ext <<_ACEOF
26645 /* end confdefs.h. */
26647 /* Override any gcc2 internal prototype to avoid an error. */
26651 /* We use char because int might match the return type of a gcc2
26652 builtin and then its argument prototype would still apply. */
26653 char XShapeQueryExtension ();
26657 XShapeQueryExtension ();
26662 rm -f conftest.
$ac_objext conftest
$ac_exeext
26663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664 (eval $ac_link) 2>conftest.er1
26666 grep -v '^ *+' conftest.er1
>conftest.err
26668 cat conftest.err
>&5
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); } &&
26671 { ac_try
='test -z "$ac_c_werror_flag"
26672 || test ! -s conftest.err'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; } &&
26678 { ac_try
='test -s conftest$ac_exeext'
26679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26680 (eval $ac_try) 2>&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; }; then
26684 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26686 echo "$as_me: failed program was:" >&5
26687 sed 's/^/| /' conftest.
$ac_ext >&5
26689 ac_cv_lib_Xext_XShapeQueryExtension
=no
26691 rm -f conftest.err conftest.
$ac_objext \
26692 conftest
$ac_exeext conftest.
$ac_ext
26693 LIBS
=$ac_check_lib_save_LIBS
26695 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26696 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26697 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26699 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26705 if test "$wxHAVE_XEXT_LIB" = 1; then
26706 save_CFLAGS
="$CFLAGS"
26707 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26709 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26710 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26711 cat >conftest.
$ac_ext <<_ACEOF
26714 cat confdefs.h
>>conftest.
$ac_ext
26715 cat >>conftest.
$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26718 #include <X11/Xlib.h>
26719 #include <X11/extensions/shape.h>
26725 int dummy1, dummy2;
26726 XShapeQueryExtension((Display*)NULL,
26727 (int*)NULL, (int*)NULL);
26733 rm -f conftest.
$ac_objext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26735 (eval $ac_compile) 2>conftest.er1
26737 grep -v '^ *+' conftest.er1
>conftest.err
26739 cat conftest.err
>&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try
='test -z "$ac_c_werror_flag"
26743 || test ! -s conftest.err'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; } &&
26749 { ac_try
='test -s conftest.$ac_objext'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; }; then
26756 cat >>confdefs.h
<<\_ACEOF
26757 #define HAVE_XSHAPE 1
26760 echo "$as_me:$LINENO: result: found" >&5
26761 echo "${ECHO_T}found" >&6
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.
$ac_ext >&5
26768 echo "$as_me:$LINENO: result: not found" >&5
26769 echo "${ECHO_T}not found" >&6
26772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26773 CFLAGS
="$save_CFLAGS"
26778 if test "$wxUSE_MAC" = 1; then
26779 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26780 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26781 if test "$GCC" = yes; then
26782 echo "$as_me:$LINENO: result: gcc" >&5
26783 echo "${ECHO_T}gcc" >&6
26784 CPPFLAGS_PASCAL
="-fpascal-strings"
26785 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26786 echo "$as_me:$LINENO: result: xlc" >&5
26787 echo "${ECHO_T}xlc" >&6
26788 CPPFLAGS_PASCAL
="-qmacpstr"
26790 echo "$as_me:$LINENO: result: none" >&5
26791 echo "${ECHO_T}none" >&6
26794 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26796 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26799 WXBASEPORT
="_carbon"
26802 if test "$wxUSE_COCOA" = 1; then
26803 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26808 if test "$wxUSE_PM" = 1; then
26813 if test "$TOOLKIT" = "PM" ; then
26816 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26819 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26821 if test "$wxUSE_UNIVERSAL" = "yes"; then
26822 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26824 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26825 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26827 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26828 if test "$wxUSE_X11" = 1; then
26829 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26831 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26833 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26836 ALL_OBJECTS
="\$(GUIOBJS)"
26837 ALL_SOURCES
="\$(ALL_SOURCES)"
26838 ALL_HEADERS
="\$(ALL_HEADERS)"
26841 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26843 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26844 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26847 if test "$wxUSE_HTML" = "yes"; then
26848 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26851 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26852 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26854 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26855 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26857 if test "$wxUSE_LIBPNG" = "builtin" ; then
26858 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26861 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26862 DISTDIR
="wx\$(TOOLKIT)"
26868 if test "$USE_WIN32" = 1 ; then
26869 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26870 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26874 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26875 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26878 ALL_SOURCES
="\$(ALL_SOURCES)"
26879 ALL_HEADERS
="\$(ALL_HEADERS)"
26881 PORT_FILES
="\${top_srcdir}/src/files.lst"
26883 GUIDIST
="BASE_DIST"
26893 if test "$TOOLKIT" != "MSW" ; then
26895 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26897 if test "${ac_cv_header_sql_h+set}" = set; then
26898 echo "$as_me:$LINENO: checking for sql.h" >&5
26899 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26900 if test "${ac_cv_header_sql_h+set}" = set; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26904 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26906 # Is the header compilable?
26907 echo "$as_me:$LINENO: checking sql.h usability" >&5
26908 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26909 cat >conftest.
$ac_ext <<_ACEOF
26912 cat confdefs.h
>>conftest.
$ac_ext
26913 cat >>conftest.
$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26915 $ac_includes_default
26918 rm -f conftest.
$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>conftest.er1
26922 grep -v '^ *+' conftest.er1
>conftest.err
26924 cat conftest.err
>&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); } &&
26927 { ac_try
='test -z "$ac_c_werror_flag"
26928 || test ! -s conftest.err'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; } &&
26934 { ac_try
='test -s conftest.$ac_objext'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; }; then
26940 ac_header_compiler
=yes
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.
$ac_ext >&5
26945 ac_header_compiler
=no
26947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26949 echo "${ECHO_T}$ac_header_compiler" >&6
26951 # Is the header present?
26952 echo "$as_me:$LINENO: checking sql.h presence" >&5
26953 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26954 cat >conftest.
$ac_ext <<_ACEOF
26957 cat confdefs.h
>>conftest.
$ac_ext
26958 cat >>conftest.
$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26965 grep -v '^ *+' conftest.er1
>conftest.err
26967 cat conftest.err
>&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } >/dev
/null
; then
26970 if test -s conftest.err
; then
26971 ac_cpp_err
=$ac_c_preproc_warn_flag
26972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26979 if test -z "$ac_cpp_err"; then
26980 ac_header_preproc
=yes
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.
$ac_ext >&5
26985 ac_header_preproc
=no
26987 rm -f conftest.err conftest.
$ac_ext
26988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26989 echo "${ECHO_T}$ac_header_preproc" >&6
26991 # So? What about this header?
26992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26994 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26995 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26997 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26998 ac_header_preproc
=yes
27001 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27002 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27004 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27005 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27006 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27007 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27008 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27009 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27010 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27011 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27012 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27015 ## ----------------------------------------- ##
27016 ## Report this to wx-dev@lists.wxwindows.org ##
27017 ## ----------------------------------------- ##
27020 sed "s/^/$as_me: WARNING: /" >&2
27023 echo "$as_me:$LINENO: checking for sql.h" >&5
27024 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27025 if test "${ac_cv_header_sql_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 ac_cv_header_sql_h
=$ac_header_preproc
27030 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27031 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27034 if test $ac_cv_header_sql_h = yes; then
27039 if test "x$found_sql_h" = "x1" ; then
27040 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27041 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27042 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27045 ac_check_lib_save_LIBS
=$LIBS
27046 LIBS
="-liodbc $LIBS"
27047 cat >conftest.
$ac_ext <<_ACEOF
27050 cat confdefs.h
>>conftest.
$ac_ext
27051 cat >>conftest.
$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27054 /* Override any gcc2 internal prototype to avoid an error. */
27058 /* We use char because int might match the return type of a gcc2
27059 builtin and then its argument prototype would still apply. */
27060 char SQLAllocEnv ();
27069 rm -f conftest.
$ac_objext conftest
$ac_exeext
27070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27071 (eval $ac_link) 2>conftest.er1
27073 grep -v '^ *+' conftest.er1
>conftest.err
27075 cat conftest.err
>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); } &&
27078 { ac_try
='test -z "$ac_c_werror_flag"
27079 || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try
='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27096 ac_cv_lib_iodbc_SQLAllocEnv
=no
27098 rm -f conftest.err conftest.
$ac_objext \
27099 conftest
$ac_exeext conftest.
$ac_ext
27100 LIBS
=$ac_check_lib_save_LIBS
27102 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27103 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27104 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27105 ODBC_LINK
=" -liodbc"
27108 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27109 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27110 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 ac_check_lib_save_LIBS
=$LIBS
27114 LIBS
="-lunixodbc $LIBS"
27115 cat >conftest.
$ac_ext <<_ACEOF
27118 cat confdefs.h
>>conftest.
$ac_ext
27119 cat >>conftest.
$ac_ext <<_ACEOF
27120 /* end confdefs.h. */
27122 /* Override any gcc2 internal prototype to avoid an error. */
27126 /* We use char because int might match the return type of a gcc2
27127 builtin and then its argument prototype would still apply. */
27128 char SQLAllocEnv ();
27137 rm -f conftest.
$ac_objext conftest
$ac_exeext
27138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27139 (eval $ac_link) 2>conftest.er1
27141 grep -v '^ *+' conftest.er1
>conftest.err
27143 cat conftest.err
>&5
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try
='test -z "$ac_c_werror_flag"
27147 || test ! -s conftest.err'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; } &&
27153 { ac_try
='test -s conftest$ac_exeext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.
$ac_ext >&5
27164 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27166 rm -f conftest.err conftest.
$ac_objext \
27167 conftest
$ac_exeext conftest.
$ac_ext
27168 LIBS
=$ac_check_lib_save_LIBS
27170 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27171 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27172 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27173 ODBC_LINK
=" -lunixodbc"
27176 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27177 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27178 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 ac_check_lib_save_LIBS
=$LIBS
27182 LIBS
="-lodbc $LIBS"
27183 cat >conftest.
$ac_ext <<_ACEOF
27186 cat confdefs.h
>>conftest.
$ac_ext
27187 cat >>conftest.
$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27190 /* Override any gcc2 internal prototype to avoid an error. */
27194 /* We use char because int might match the return type of a gcc2
27195 builtin and then its argument prototype would still apply. */
27196 char SQLAllocEnv ();
27205 rm -f conftest.
$ac_objext conftest
$ac_exeext
27206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27207 (eval $ac_link) 2>conftest.er1
27209 grep -v '^ *+' conftest.er1
>conftest.err
27211 cat conftest.err
>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); } &&
27214 { ac_try
='test -z "$ac_c_werror_flag"
27215 || test ! -s conftest.err'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; } &&
27221 { ac_try
='test -s conftest$ac_exeext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 ac_cv_lib_odbc_SQLAllocEnv
=yes
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.
$ac_ext >&5
27232 ac_cv_lib_odbc_SQLAllocEnv
=no
27234 rm -f conftest.err conftest.
$ac_objext \
27235 conftest
$ac_exeext conftest.
$ac_ext
27236 LIBS
=$ac_check_lib_save_LIBS
27238 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27239 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27240 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27241 ODBC_LINK
=" -lodbc"
27251 if test "x$ODBC_LINK" = "x" ; then
27252 if test "$wxUSE_ODBC" = "sys" ; then
27253 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27254 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27255 { (exit 1); exit 1; }; }
27257 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27258 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27265 if test "$wxUSE_ODBC" != "no" ; then
27266 cat >>confdefs.h
<<\_ACEOF
27267 #define wxUSE_ODBC 1
27270 if test "$wxUSE_ODBC" = "builtin" ; then
27271 cat >>confdefs.h
<<\_ACEOF
27272 #define wxUSE_BUILTIN_IODBC 1
27276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27278 WXODBCFLAG
="-D_IODBC_"
27282 if test "$wxUSE_REGEX" = "builtin" ; then
27283 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27285 if test "$wxUSE_ZLIB" = "builtin" ; then
27286 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27289 if test "$wxUSE_DISPLAY" = "yes"; then
27290 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27291 echo "$as_me:$LINENO: checking for Xinerama" >&5
27292 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27295 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27297 for ac_extension
in a so sl dylib
; do
27298 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27299 ac_find_libraries
=$ac_dir
27305 if test "$ac_find_libraries" != "" ; then
27307 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27309 if test $result = 0; then
27312 ac_path_to_link
=" -L$ac_find_libraries"
27315 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27316 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27318 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27319 echo "$as_me:$LINENO: result: yes" >&5
27320 echo "${ECHO_T}yes" >&6
27322 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27323 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27326 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27328 for ac_extension
in a so sl dylib
; do
27329 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27330 ac_find_libraries
=$ac_dir
27336 if test "$ac_find_libraries" != "" ; then
27337 echo "$as_me:$LINENO: result: yes" >&5
27338 echo "${ECHO_T}yes" >&6
27340 for ac_header
in X
11/extensions
/xf86vmode.h
27342 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27343 echo "$as_me:$LINENO: checking for $ac_header" >&5
27344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27348 cat >conftest.
$ac_ext <<_ACEOF
27351 cat confdefs.h
>>conftest.
$ac_ext
27352 cat >>conftest.
$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27355 #if HAVE_X11_XLIB_H
27356 #include <X11/Xlib.h>
27360 #include <$ac_header>
27362 rm -f conftest.
$ac_objext
27363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27364 (eval $ac_compile) 2>conftest.er1
27366 grep -v '^ *+' conftest.er1
>conftest.err
27368 cat conftest.err
>&5
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); } &&
27371 { ac_try
='test -z "$ac_c_werror_flag"
27372 || test ! -s conftest.err'
27373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374 (eval $ac_try) 2>&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); }; } &&
27378 { ac_try
='test -s conftest.$ac_objext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 eval "$as_ac_Header=yes"
27386 echo "$as_me: failed program was:" >&5
27387 sed 's/^/| /' conftest.
$ac_ext >&5
27389 eval "$as_ac_Header=no"
27391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27396 cat >>confdefs.h
<<_ACEOF
27397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27400 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27407 echo "$as_me:$LINENO: result: no" >&5
27408 echo "${ECHO_T}no" >&6
27412 echo "$as_me:$LINENO: result: no" >&5
27413 echo "${ECHO_T}no" >&6
27414 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27415 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27423 if test "$wxUSE_OPENGL" = "yes"; then
27424 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27425 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27426 elif test "$wxUSE_MSW" = 1; then
27427 OPENGL_LIBS
="-lopengl32 -lglu32"
27432 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27434 if test -f "$ac_dir/GL/gl.h"; then
27435 ac_find_includes
=$ac_dir
27440 if test "$ac_find_includes" != "" ; then
27441 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27442 echo "${ECHO_T}found in $ac_find_includes" >&6
27444 if test "x$ac_find_includes" = "x/usr/include"; then
27445 ac_path_to_include
=""
27447 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27449 if test $result = 0; then
27450 ac_path_to_include
=""
27452 ac_path_to_include
=" -I$ac_find_includes"
27456 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27459 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27460 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27461 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27462 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27465 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27466 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27468 # Is the header compilable?
27469 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27470 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27471 cat >conftest.
$ac_ext <<_ACEOF
27474 cat confdefs.h
>>conftest.
$ac_ext
27475 cat >>conftest.
$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 $ac_includes_default
27480 rm -f conftest.
$ac_objext
27481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27482 (eval $ac_compile) 2>conftest.er1
27484 grep -v '^ *+' conftest.er1
>conftest.err
27486 cat conftest.err
>&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); } &&
27489 { ac_try
='test -z "$ac_c_werror_flag"
27490 || test ! -s conftest.err'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; } &&
27496 { ac_try
='test -s conftest.$ac_objext'
27497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27498 (eval $ac_try) 2>&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); }; }; then
27502 ac_header_compiler
=yes
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.
$ac_ext >&5
27507 ac_header_compiler
=no
27509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27511 echo "${ECHO_T}$ac_header_compiler" >&6
27513 # Is the header present?
27514 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27515 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27516 cat >conftest.
$ac_ext <<_ACEOF
27519 cat confdefs.h
>>conftest.
$ac_ext
27520 cat >>conftest.
$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27527 grep -v '^ *+' conftest.er1
>conftest.err
27529 cat conftest.err
>&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); } >/dev
/null
; then
27532 if test -s conftest.err
; then
27533 ac_cpp_err
=$ac_c_preproc_warn_flag
27534 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27541 if test -z "$ac_cpp_err"; then
27542 ac_header_preproc
=yes
27544 echo "$as_me: failed program was:" >&5
27545 sed 's/^/| /' conftest.
$ac_ext >&5
27547 ac_header_preproc
=no
27549 rm -f conftest.err conftest.
$ac_ext
27550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27551 echo "${ECHO_T}$ac_header_preproc" >&6
27553 # So? What about this header?
27554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27556 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27557 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27558 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27559 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27560 ac_header_preproc
=yes
27563 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27564 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27565 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27566 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27567 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27568 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27569 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27570 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27571 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27572 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27573 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27574 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27577 ## ----------------------------------------- ##
27578 ## Report this to wx-dev@lists.wxwindows.org ##
27579 ## ----------------------------------------- ##
27582 sed "s/^/$as_me: WARNING: /" >&2
27585 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27586 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27587 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 ac_cv_header_GL_gl_h
=$ac_header_preproc
27592 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27593 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27596 if test $ac_cv_header_GL_gl_h = yes; then
27600 echo "$as_me:$LINENO: checking for -lGL" >&5
27601 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27604 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27606 for ac_extension
in a so sl dylib
; do
27607 if test -f "$ac_dir/libGL.$ac_extension"; then
27608 ac_find_libraries
=$ac_dir
27614 if test "$ac_find_libraries" != "" ; then
27616 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27618 if test $result = 0; then
27621 ac_path_to_link
=" -L$ac_find_libraries"
27624 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27625 LDFLAGS_GL
="$ac_path_to_link"
27630 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27632 for ac_extension
in a so sl dylib
; do
27633 if test -f "$ac_dir/libGLU.$ac_extension"; then
27634 ac_find_libraries
=$ac_dir
27640 if test "$ac_find_libraries" != "" ; then
27642 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27644 if test $result = 0; then
27647 ac_path_to_link
=" -L$ac_find_libraries"
27650 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27651 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27652 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27656 OPENGL_LIBS
="-lGL -lGLU"
27657 echo "$as_me:$LINENO: result: yes" >&5
27658 echo "${ECHO_T}yes" >&6
27662 if test "$found_gl" != 1; then
27663 echo "$as_me:$LINENO: result: no" >&5
27664 echo "${ECHO_T}no" >&6
27665 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27666 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27669 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27671 for ac_extension
in a so sl dylib
; do
27672 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27673 ac_find_libraries
=$ac_dir
27679 if test "$ac_find_libraries" != "" ; then
27681 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27683 if test $result = 0; then
27686 ac_path_to_link
=" -L$ac_find_libraries"
27689 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27690 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27691 echo "$as_me:$LINENO: result: yes" >&5
27692 echo "${ECHO_T}yes" >&6
27694 echo "$as_me:$LINENO: result: no" >&5
27695 echo "${ECHO_T}no" >&6
27703 if test "x$OPENGL_LIBS" = "x"; then
27704 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27705 echo "$as_me: error: OpenGL libraries not available" >&2;}
27706 { (exit 1); exit 1; }; }
27710 if test "$wxUSE_OPENGL" = "yes"; then
27712 cat >>confdefs.h
<<\_ACEOF
27713 #define wxUSE_OPENGL 1
27716 cat >>confdefs.h
<<\_ACEOF
27717 #define wxUSE_GLCANVAS 1
27720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27724 if test -z "$TOOLKIT_VPATH" ; then
27725 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27728 if test -n "$TOOLKIT" ; then
27729 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27733 lib_unicode_suffix
=
27734 if test "$wxUSE_UNICODE" = "yes"; then
27735 lib_unicode_suffix
=u
27741 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27747 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27751 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27753 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27754 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27756 if test "$cross_compiling" = "yes"; then
27757 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27758 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27759 HOST_SUFFIX
="-${host_alias}"
27762 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27763 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27764 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27765 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27767 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27768 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27770 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27771 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27772 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27773 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27776 *-*-cygwin* | *-*-mingw32* )
27777 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27778 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27783 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27784 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27786 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27787 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27788 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27789 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27791 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27792 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27793 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27798 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27799 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27801 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27802 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27804 if test "$wxUSE_OPENGL" = "yes"; then
27805 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27806 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27811 if test "$wxUSE_SHARED" = "yes"; then
27813 *-pc-os2_emx | *-pc-os2-emx | \
27816 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27817 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27823 if test "$wxUSE_SHARED" = "yes"; then
27827 found_versioning
=no
27830 if test $found_versioning = no
; then
27831 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27832 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27833 if test "${wx_cv_version_script+set}" = set; then
27834 echo $ECHO_N "(cached) $ECHO_C" >&6
27837 echo "VER_1 { *; };" >conftest.sym
27838 echo "int main() { return 0; }" >conftest.cpp
27841 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27842 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27844 (eval $ac_try) 2>&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); }; } ; then
27848 if test -s conftest.stderr
; then
27849 wx_cv_version_script
=no
27851 wx_cv_version_script
=yes
27854 wx_cv_version_script
=no
27856 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27859 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27860 echo "${ECHO_T}$wx_cv_version_script" >&6
27861 if test $wx_cv_version_script = yes ; then
27862 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27868 *-*-linux* | *-*-gnu* )
27869 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27873 if test "$GCC" = yes ; then
27874 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27876 saveLdflags
="$LDFLAGS"
27877 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27878 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27879 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27880 cat >conftest.
$ac_ext <<_ACEOF
27883 cat confdefs.h
>>conftest.
$ac_ext
27884 cat >>conftest.
$ac_ext <<_ACEOF
27885 /* end confdefs.h. */
27895 rm -f conftest.
$ac_objext conftest
$ac_exeext
27896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27897 (eval $ac_link) 2>conftest.er1
27899 grep -v '^ *+' conftest.er1
>conftest.err
27901 cat conftest.err
>&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); } &&
27904 { ac_try
='test -z "$ac_c_werror_flag"
27905 || test ! -s conftest.err'
27906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907 (eval $ac_try) 2>&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); }; } &&
27911 { ac_try
='test -s conftest$ac_exeext'
27912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27913 (eval $ac_try) 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); }; }; then
27918 echo "$as_me:$LINENO: result: yes" >&5
27919 echo "${ECHO_T}yes" >&6
27920 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27923 echo "$as_me: failed program was:" >&5
27924 sed 's/^/| /' conftest.
$ac_ext >&5
27927 echo "$as_me:$LINENO: result: no" >&5
27928 echo "${ECHO_T}no" >&6
27929 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27930 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27931 LDFLAGS
="$saveLdflags -Wl,-R,/"
27932 cat >conftest.
$ac_ext <<_ACEOF
27935 cat confdefs.h
>>conftest.
$ac_ext
27936 cat >>conftest.
$ac_ext <<_ACEOF
27937 /* end confdefs.h. */
27947 rm -f conftest.
$ac_objext conftest
$ac_exeext
27948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27949 (eval $ac_link) 2>conftest.er1
27951 grep -v '^ *+' conftest.er1
>conftest.err
27953 cat conftest.err
>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); } &&
27956 { ac_try
='test -z "$ac_c_werror_flag"
27957 || test ! -s conftest.err'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; } &&
27963 { ac_try
='test -s conftest$ac_exeext'
27964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965 (eval $ac_try) 2>&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; }; then
27970 echo "$as_me:$LINENO: result: yes" >&5
27971 echo "${ECHO_T}yes" >&6
27972 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.
$ac_ext >&5
27978 echo "$as_me:$LINENO: result: no" >&5
27979 echo "${ECHO_T}no" >&6
27982 rm -f conftest.err conftest.
$ac_objext \
27983 conftest
$ac_exeext conftest.
$ac_ext
27986 rm -f conftest.err conftest.
$ac_objext \
27987 conftest
$ac_exeext conftest.
$ac_ext
27988 LDFLAGS
="$saveLdflags"
27990 SHARED_LD
="${CXX} -G -o"
27992 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27996 powerpc
-*-darwin* )
27997 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27998 cat <<EOF >change-install-names
28000 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28001 inst_cmd="install_name_tool "
28002 for i in \${libnames} ; do
28003 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28007 chmod +x change
-install-names
28012 if test "x$WX_TARGET_LIBRARY" = "x"; then
28013 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
28014 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
28017 WX_TARGET_LIBRARY_TYPE
="so"
28018 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
28021 if test "$wxUSE_SHARED" = "no"; then
28023 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28024 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28027 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28028 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
28031 if test "$wxUSE_OPENGL" = "yes"; then
28032 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
28033 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28035 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28038 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
28039 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
28041 WX_TARGET_LIBRARY_TYPE
="a"
28042 INSTALL_LIBRARY
='$(INSTALL_DATA)'
28049 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28050 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28051 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
28052 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
28054 # Extract the first word of "Rez", so it can be a program name with args.
28055 set dummy Rez
; ac_word
=$2
28056 echo "$as_me:$LINENO: checking for $ac_word" >&5
28057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28058 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 if test -n "$RESCOMP"; then
28062 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28065 for as_dir
in $PATH
28068 test -z "$as_dir" && as_dir
=.
28069 for ac_exec_ext
in '' $ac_executable_extensions; do
28070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28071 ac_cv_prog_RESCOMP
="Rez"
28072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28078 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28081 RESCOMP
=$ac_cv_prog_RESCOMP
28082 if test -n "$RESCOMP"; then
28083 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28084 echo "${ECHO_T}$RESCOMP" >&6
28086 echo "$as_me:$LINENO: result: no" >&5
28087 echo "${ECHO_T}no" >&6
28090 # Extract the first word of "DeRez", so it can be a program name with args.
28091 set dummy DeRez
; ac_word
=$2
28092 echo "$as_me:$LINENO: checking for $ac_word" >&5
28093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28094 if test "${ac_cv_prog_DEREZ+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28097 if test -n "$DEREZ"; then
28098 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28101 for as_dir
in $PATH
28104 test -z "$as_dir" && as_dir
=.
28105 for ac_exec_ext
in '' $ac_executable_extensions; do
28106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28107 ac_cv_prog_DEREZ
="DeRez"
28108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28114 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28117 DEREZ
=$ac_cv_prog_DEREZ
28118 if test -n "$DEREZ"; then
28119 echo "$as_me:$LINENO: result: $DEREZ" >&5
28120 echo "${ECHO_T}$DEREZ" >&6
28122 echo "$as_me:$LINENO: result: no" >&5
28123 echo "${ECHO_T}no" >&6
28126 # Extract the first word of "SetFile", so it can be a program name with args.
28127 set dummy SetFile
; ac_word
=$2
28128 echo "$as_me:$LINENO: checking for $ac_word" >&5
28129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28130 if test "${ac_cv_prog_SETFILE+set}" = set; then
28131 echo $ECHO_N "(cached) $ECHO_C" >&6
28133 if test -n "$SETFILE"; then
28134 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28137 for as_dir
in $PATH
28140 test -z "$as_dir" && as_dir
=.
28141 for ac_exec_ext
in '' $ac_executable_extensions; do
28142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28143 ac_cv_prog_SETFILE
="SetFile"
28144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28150 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28153 SETFILE
=$ac_cv_prog_SETFILE
28154 if test -n "$SETFILE"; then
28155 echo "$as_me:$LINENO: result: $SETFILE" >&5
28156 echo "${ECHO_T}$SETFILE" >&6
28158 echo "$as_me:$LINENO: result: no" >&5
28159 echo "${ECHO_T}no" >&6
28163 MACSETFILE
="\$(SETFILE)"
28165 if test "$wxUSE_MAC" = 1; then
28166 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28168 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28170 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28171 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28177 if test "$wxUSE_PM" = 1; then
28178 MACRESCOMP
="emxbind -ep"
28186 echo "$as_me:$LINENO: checking for mode_t" >&5
28187 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28188 if test "${ac_cv_type_mode_t+set}" = set; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28191 cat >conftest.
$ac_ext <<_ACEOF
28194 cat confdefs.h
>>conftest.
$ac_ext
28195 cat >>conftest.
$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197 $ac_includes_default
28203 if (sizeof (mode_t))
28209 rm -f conftest.
$ac_objext
28210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28211 (eval $ac_compile) 2>conftest.er1
28213 grep -v '^ *+' conftest.er1
>conftest.err
28215 cat conftest.err
>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } &&
28218 { ac_try
='test -z "$ac_c_werror_flag"
28219 || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try
='test -s conftest.$ac_objext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 ac_cv_type_mode_t
=yes
28233 echo "$as_me: failed program was:" >&5
28234 sed 's/^/| /' conftest.
$ac_ext >&5
28236 ac_cv_type_mode_t
=no
28238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28240 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28241 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28242 if test $ac_cv_type_mode_t = yes; then
28246 cat >>confdefs.h
<<_ACEOF
28252 echo "$as_me:$LINENO: checking for off_t" >&5
28253 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28254 if test "${ac_cv_type_off_t+set}" = set; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28257 cat >conftest.
$ac_ext <<_ACEOF
28260 cat confdefs.h
>>conftest.
$ac_ext
28261 cat >>conftest.
$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263 $ac_includes_default
28269 if (sizeof (off_t))
28275 rm -f conftest.
$ac_objext
28276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28277 (eval $ac_compile) 2>conftest.er1
28279 grep -v '^ *+' conftest.er1
>conftest.err
28281 cat conftest.err
>&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } &&
28284 { ac_try
='test -z "$ac_c_werror_flag"
28285 || test ! -s conftest.err'
28286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28287 (eval $ac_try) 2>&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; } &&
28291 { ac_try
='test -s conftest.$ac_objext'
28292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 (eval $ac_try) 2>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; }; then
28297 ac_cv_type_off_t
=yes
28299 echo "$as_me: failed program was:" >&5
28300 sed 's/^/| /' conftest.
$ac_ext >&5
28302 ac_cv_type_off_t
=no
28304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28306 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28307 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28308 if test $ac_cv_type_off_t = yes; then
28312 cat >>confdefs.h
<<_ACEOF
28318 echo "$as_me:$LINENO: checking for pid_t" >&5
28319 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28320 if test "${ac_cv_type_pid_t+set}" = set; then
28321 echo $ECHO_N "(cached) $ECHO_C" >&6
28323 cat >conftest.
$ac_ext <<_ACEOF
28326 cat confdefs.h
>>conftest.
$ac_ext
28327 cat >>conftest.
$ac_ext <<_ACEOF
28328 /* end confdefs.h. */
28329 $ac_includes_default
28335 if (sizeof (pid_t))
28341 rm -f conftest.
$ac_objext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28343 (eval $ac_compile) 2>conftest.er1
28345 grep -v '^ *+' conftest.er1
>conftest.err
28347 cat conftest.err
>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); } &&
28350 { ac_try
='test -z "$ac_c_werror_flag"
28351 || test ! -s conftest.err'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; } &&
28357 { ac_try
='test -s conftest.$ac_objext'
28358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28359 (eval $ac_try) 2>&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); }; }; then
28363 ac_cv_type_pid_t
=yes
28365 echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.
$ac_ext >&5
28368 ac_cv_type_pid_t
=no
28370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28372 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28373 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28374 if test $ac_cv_type_pid_t = yes; then
28378 cat >>confdefs.h
<<_ACEOF
28384 echo "$as_me:$LINENO: checking for size_t" >&5
28385 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28386 if test "${ac_cv_type_size_t+set}" = set; then
28387 echo $ECHO_N "(cached) $ECHO_C" >&6
28389 cat >conftest.
$ac_ext <<_ACEOF
28392 cat confdefs.h
>>conftest.
$ac_ext
28393 cat >>conftest.
$ac_ext <<_ACEOF
28394 /* end confdefs.h. */
28395 $ac_includes_default
28401 if (sizeof (size_t))
28407 rm -f conftest.
$ac_objext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28409 (eval $ac_compile) 2>conftest.er1
28411 grep -v '^ *+' conftest.er1
>conftest.err
28413 cat conftest.err
>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try
='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try
='test -s conftest.$ac_objext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_cv_type_size_t
=yes
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.
$ac_ext >&5
28434 ac_cv_type_size_t
=no
28436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28438 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28439 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28440 if test $ac_cv_type_size_t = yes; then
28444 cat >>confdefs.h
<<_ACEOF
28445 #define size_t unsigned
28450 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28451 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28452 if test "${ac_cv_type_uid_t+set}" = set; then
28453 echo $ECHO_N "(cached) $ECHO_C" >&6
28455 cat >conftest.
$ac_ext <<_ACEOF
28458 cat confdefs.h
>>conftest.
$ac_ext
28459 cat >>conftest.
$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 #include <sys/types.h>
28464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28465 $EGREP "uid_t" >/dev
/null
2>&1; then
28466 ac_cv_type_uid_t
=yes
28468 ac_cv_type_uid_t
=no
28473 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28474 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28475 if test $ac_cv_type_uid_t = no
; then
28477 cat >>confdefs.h
<<\_ACEOF
28482 cat >>confdefs.h
<<\_ACEOF
28492 ac_cpp
='$CXXCPP $CPPFLAGS'
28493 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28497 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28498 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28499 if test "${wx_cv_size_t_is_uint+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 cat >conftest.
$ac_ext <<_ACEOF
28506 cat confdefs.h
>>conftest.
$ac_ext
28507 cat >>conftest.
$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 #include <stddef.h>
28516 struct Foo { void foo(size_t); void foo(unsigned int); };
28524 rm -f conftest.
$ac_objext
28525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28526 (eval $ac_compile) 2>conftest.er1
28528 grep -v '^ *+' conftest.er1
>conftest.err
28530 cat conftest.err
>&5
28531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28532 (exit $ac_status); } &&
28533 { ac_try
='test -z "$ac_cxx_werror_flag"
28534 || test ! -s conftest.err'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; } &&
28540 { ac_try
='test -s conftest.$ac_objext'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; }; then
28546 wx_cv_size_t_is_uint
=no
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.
$ac_ext >&5
28551 wx_cv_size_t_is_uint
=yes
28554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28558 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28559 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28561 if test "$wx_cv_size_t_is_uint" = "yes"; then
28562 cat >>confdefs.h
<<\_ACEOF
28563 #define wxSIZE_T_IS_UINT 1
28567 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28568 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28569 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28570 echo $ECHO_N "(cached) $ECHO_C" >&6
28572 cat >conftest.
$ac_ext <<_ACEOF
28575 cat confdefs.h
>>conftest.
$ac_ext
28576 cat >>conftest.
$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 #include <stddef.h>
28585 struct Foo { void foo(size_t); void foo(unsigned long); };
28593 rm -f conftest.
$ac_objext
28594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28595 (eval $ac_compile) 2>conftest.er1
28597 grep -v '^ *+' conftest.er1
>conftest.err
28599 cat conftest.err
>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } &&
28602 { ac_try
='test -z "$ac_cxx_werror_flag"
28603 || test ! -s conftest.err'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; } &&
28609 { ac_try
='test -s conftest.$ac_objext'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; }; then
28615 wx_cv_size_t_is_ulong
=no
28617 echo "$as_me: failed program was:" >&5
28618 sed 's/^/| /' conftest.
$ac_ext >&5
28620 wx_cv_size_t_is_ulong
=yes
28623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28626 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28627 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28629 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28630 cat >>confdefs.h
<<\_ACEOF
28631 #define wxSIZE_T_IS_ULONG 1
28638 ac_cpp
='$CPP $CPPFLAGS'
28639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28645 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28646 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28647 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 cat >conftest.
$ac_ext <<_ACEOF
28654 cat confdefs.h
>>conftest.
$ac_ext
28655 cat >>conftest.
$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28670 rm -f conftest.
$ac_objext
28671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28672 (eval $ac_compile) 2>conftest.er1
28674 grep -v '^ *+' conftest.er1
>conftest.err
28676 cat conftest.err
>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); } &&
28679 { ac_try
='test -z "$ac_c_werror_flag"
28680 || test ! -s conftest.err'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; } &&
28686 { ac_try
='test -s conftest.$ac_objext'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; }; then
28693 wx_cv_struct_pw_gecos
=yes
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.
$ac_ext >&5
28700 wx_cv_struct_pw_gecos
=no
28704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28708 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28709 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28711 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28712 cat >>confdefs.h
<<\_ACEOF
28713 #define HAVE_PW_GECOS 1
28719 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28720 cat >>confdefs.h
<<\_ACEOF
28721 #define wxUSE_WCHAR_T 1
28728 for ac_func
in wcslen
28730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28731 echo "$as_me:$LINENO: checking for $ac_func" >&5
28732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28733 if eval "test \"\${$as_ac_var+set}\" = set"; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28736 cat >conftest.
$ac_ext <<_ACEOF
28739 cat confdefs.h
>>conftest.
$ac_ext
28740 cat >>conftest.
$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28744 #define $ac_func innocuous_$ac_func
28746 /* System header to define __stub macros and hopefully few prototypes,
28747 which can conflict with char $ac_func (); below.
28748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28749 <limits.h> exists even on freestanding compilers. */
28752 # include <limits.h>
28754 # include <assert.h>
28759 /* Override any gcc2 internal prototype to avoid an error. */
28764 /* We use char because int might match the return type of a gcc2
28765 builtin and then its argument prototype would still apply. */
28767 /* The GNU C library defines this for functions which it implements
28768 to always fail with ENOSYS. Some functions are actually named
28769 something starting with __ and the normal name is an alias. */
28770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28773 char (*f) () = $ac_func;
28782 return f != $ac_func;
28787 rm -f conftest.
$ac_objext conftest
$ac_exeext
28788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28789 (eval $ac_link) 2>conftest.er1
28791 grep -v '^ *+' conftest.er1
>conftest.err
28793 cat conftest.err
>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); } &&
28796 { ac_try
='test -z "$ac_c_werror_flag"
28797 || test ! -s conftest.err'
28798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28799 (eval $ac_try) 2>&5
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); }; } &&
28803 { ac_try
='test -s conftest$ac_exeext'
28804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 (eval $ac_try) 2>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); }; }; then
28809 eval "$as_ac_var=yes"
28811 echo "$as_me: failed program was:" >&5
28812 sed 's/^/| /' conftest.
$ac_ext >&5
28814 eval "$as_ac_var=no"
28816 rm -f conftest.err conftest.
$ac_objext \
28817 conftest
$ac_exeext conftest.
$ac_ext
28819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28821 if test `eval echo '${'$as_ac_var'}'` = yes; then
28822 cat >>confdefs.h
<<_ACEOF
28823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28830 if test "$WCSLEN_FOUND" = 0; then
28831 if test "$TOOLKIT" = "MSW"; then
28832 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28833 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28834 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28835 echo $ECHO_N "(cached) $ECHO_C" >&6
28837 ac_check_lib_save_LIBS
=$LIBS
28838 LIBS
="-lmsvcrt $LIBS"
28839 cat >conftest.
$ac_ext <<_ACEOF
28842 cat confdefs.h
>>conftest.
$ac_ext
28843 cat >>conftest.
$ac_ext <<_ACEOF
28844 /* end confdefs.h. */
28846 /* Override any gcc2 internal prototype to avoid an error. */
28850 /* We use char because int might match the return type of a gcc2
28851 builtin and then its argument prototype would still apply. */
28861 rm -f conftest.
$ac_objext conftest
$ac_exeext
28862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28863 (eval $ac_link) 2>conftest.er1
28865 grep -v '^ *+' conftest.er1
>conftest.err
28867 cat conftest.err
>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } &&
28870 { ac_try
='test -z "$ac_c_werror_flag"
28871 || test ! -s conftest.err'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; } &&
28877 { ac_try
='test -s conftest$ac_exeext'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; }; then
28883 ac_cv_lib_msvcrt_wcslen
=yes
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.
$ac_ext >&5
28888 ac_cv_lib_msvcrt_wcslen
=no
28890 rm -f conftest.err conftest.
$ac_objext \
28891 conftest
$ac_exeext conftest.
$ac_ext
28892 LIBS
=$ac_check_lib_save_LIBS
28894 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28895 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28896 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28901 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28902 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28903 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28906 ac_check_lib_save_LIBS
=$LIBS
28908 cat >conftest.
$ac_ext <<_ACEOF
28911 cat confdefs.h
>>conftest.
$ac_ext
28912 cat >>conftest.
$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28915 /* Override any gcc2 internal prototype to avoid an error. */
28919 /* We use char because int might match the return type of a gcc2
28920 builtin and then its argument prototype would still apply. */
28930 rm -f conftest.
$ac_objext conftest
$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28934 grep -v '^ *+' conftest.er1
>conftest.err
28936 cat conftest.err
>&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try
='test -z "$ac_c_werror_flag"
28940 || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try
='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 ac_cv_lib_w_wcslen
=yes
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.
$ac_ext >&5
28957 ac_cv_lib_w_wcslen
=no
28959 rm -f conftest.err conftest.
$ac_objext \
28960 conftest
$ac_exeext conftest.
$ac_ext
28961 LIBS
=$ac_check_lib_save_LIBS
28963 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28964 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28965 if test $ac_cv_lib_w_wcslen = yes; then
28975 if test "$WCSLEN_FOUND" = 1; then
28976 cat >>confdefs.h
<<\_ACEOF
28977 #define HAVE_WCSLEN 1
28983 for ac_func
in wcsrtombs
28985 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28986 echo "$as_me:$LINENO: checking for $ac_func" >&5
28987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28988 if eval "test \"\${$as_ac_var+set}\" = set"; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28991 cat >conftest.
$ac_ext <<_ACEOF
28994 cat confdefs.h
>>conftest.
$ac_ext
28995 cat >>conftest.
$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28999 #define $ac_func innocuous_$ac_func
29001 /* System header to define __stub macros and hopefully few prototypes,
29002 which can conflict with char $ac_func (); below.
29003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29004 <limits.h> exists even on freestanding compilers. */
29007 # include <limits.h>
29009 # include <assert.h>
29014 /* Override any gcc2 internal prototype to avoid an error. */
29019 /* We use char because int might match the return type of a gcc2
29020 builtin and then its argument prototype would still apply. */
29022 /* The GNU C library defines this for functions which it implements
29023 to always fail with ENOSYS. Some functions are actually named
29024 something starting with __ and the normal name is an alias. */
29025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29028 char (*f) () = $ac_func;
29037 return f != $ac_func;
29042 rm -f conftest.
$ac_objext conftest
$ac_exeext
29043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29044 (eval $ac_link) 2>conftest.er1
29046 grep -v '^ *+' conftest.er1
>conftest.err
29048 cat conftest.err
>&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); } &&
29051 { ac_try
='test -z "$ac_c_werror_flag"
29052 || test ! -s conftest.err'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; } &&
29058 { ac_try
='test -s conftest$ac_exeext'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; }; then
29064 eval "$as_ac_var=yes"
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.
$ac_ext >&5
29069 eval "$as_ac_var=no"
29071 rm -f conftest.err conftest.
$ac_objext \
29072 conftest
$ac_exeext conftest.
$ac_ext
29074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29076 if test `eval echo '${'$as_ac_var'}'` = yes; then
29077 cat >>confdefs.h
<<_ACEOF
29078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29085 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29086 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29092 ac_cpp
='$CXXCPP $CPPFLAGS'
29093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29099 for ac_func
in vsnprintf
29101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29102 echo "$as_me:$LINENO: checking for $ac_func" >&5
29103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29104 if eval "test \"\${$as_ac_var+set}\" = set"; then
29105 echo $ECHO_N "(cached) $ECHO_C" >&6
29107 cat >conftest.
$ac_ext <<_ACEOF
29110 cat confdefs.h
>>conftest.
$ac_ext
29111 cat >>conftest.
$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29115 #define $ac_func innocuous_$ac_func
29117 /* System header to define __stub macros and hopefully few prototypes,
29118 which can conflict with char $ac_func (); below.
29119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29120 <limits.h> exists even on freestanding compilers. */
29123 # include <limits.h>
29125 # include <assert.h>
29130 /* Override any gcc2 internal prototype to avoid an error. */
29135 /* We use char because int might match the return type of a gcc2
29136 builtin and then its argument prototype would still apply. */
29138 /* The GNU C library defines this for functions which it implements
29139 to always fail with ENOSYS. Some functions are actually named
29140 something starting with __ and the normal name is an alias. */
29141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29144 char (*f) () = $ac_func;
29153 return f != $ac_func;
29158 rm -f conftest.
$ac_objext conftest
$ac_exeext
29159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29160 (eval $ac_link) 2>conftest.er1
29162 grep -v '^ *+' conftest.er1
>conftest.err
29164 cat conftest.err
>&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); } &&
29167 { ac_try
='test -z "$ac_cxx_werror_flag"
29168 || test ! -s conftest.err'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; } &&
29174 { ac_try
='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 eval "$as_ac_var=yes"
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.
$ac_ext >&5
29185 eval "$as_ac_var=no"
29187 rm -f conftest.err conftest.
$ac_objext \
29188 conftest
$ac_exeext conftest.
$ac_ext
29190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29192 if test `eval echo '${'$as_ac_var'}'` = yes; then
29193 cat >>confdefs.h
<<_ACEOF
29194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29201 if test "$ac_cv_func_vsnprintf" = "yes"; then
29202 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29203 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29204 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29208 cat >conftest.
$ac_ext <<_ACEOF
29211 cat confdefs.h
>>conftest.
$ac_ext
29212 cat >>conftest.
$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29216 #include <stdarg.h>
29224 vsnprintf(buf, 10u, "%s", ap);
29230 rm -f conftest.
$ac_objext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29232 (eval $ac_compile) 2>conftest.er1
29234 grep -v '^ *+' conftest.er1
>conftest.err
29236 cat conftest.err
>&5
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); } &&
29239 { ac_try
='test -z "$ac_cxx_werror_flag"
29240 || test ! -s conftest.err'
29241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29242 (eval $ac_try) 2>&5
29244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29245 (exit $ac_status); }; } &&
29246 { ac_try
='test -s conftest.$ac_objext'
29247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 (eval $ac_try) 2>&5
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; }; then
29252 wx_cv_func_vsnprintf_decl
=yes
29254 echo "$as_me: failed program was:" >&5
29255 sed 's/^/| /' conftest.
$ac_ext >&5
29257 wx_cv_func_vsnprintf_decl
=no
29260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29264 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29265 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29267 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29268 cat >>confdefs.h
<<\_ACEOF
29269 #define HAVE_VSNPRINTF_DECL 1
29275 if test "$wxUSE_UNICODE" = yes; then
29279 for ac_func
in fputwc wprintf vswprintf
29281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 cat >conftest.
$ac_ext <<_ACEOF
29290 cat confdefs.h
>>conftest.
$ac_ext
29291 cat >>conftest.
$ac_ext <<_ACEOF
29292 /* end confdefs.h. */
29293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29295 #define $ac_func innocuous_$ac_func
29297 /* System header to define __stub macros and hopefully few prototypes,
29298 which can conflict with char $ac_func (); below.
29299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29300 <limits.h> exists even on freestanding compilers. */
29303 # include <limits.h>
29305 # include <assert.h>
29310 /* Override any gcc2 internal prototype to avoid an error. */
29315 /* We use char because int might match the return type of a gcc2
29316 builtin and then its argument prototype would still apply. */
29318 /* The GNU C library defines this for functions which it implements
29319 to always fail with ENOSYS. Some functions are actually named
29320 something starting with __ and the normal name is an alias. */
29321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29324 char (*f) () = $ac_func;
29333 return f != $ac_func;
29338 rm -f conftest.
$ac_objext conftest
$ac_exeext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340 (eval $ac_link) 2>conftest.er1
29342 grep -v '^ *+' conftest.er1
>conftest.err
29344 cat conftest.err
>&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } &&
29347 { ac_try
='test -z "$ac_cxx_werror_flag"
29348 || test ! -s conftest.err'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; } &&
29354 { ac_try
='test -s conftest$ac_exeext'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 eval "$as_ac_var=yes"
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.
$ac_ext >&5
29365 eval "$as_ac_var=no"
29367 rm -f conftest.err conftest.
$ac_objext \
29368 conftest
$ac_exeext conftest.
$ac_ext
29370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29372 if test `eval echo '${'$as_ac_var'}'` = yes; then
29373 cat >>confdefs.h
<<_ACEOF
29374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29381 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29382 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29383 cat >conftest.
$ac_ext <<_ACEOF
29386 cat confdefs.h
>>conftest.
$ac_ext
29387 cat >>conftest.
$ac_ext <<_ACEOF
29388 /* end confdefs.h. */
29398 rm -f conftest.
$ac_objext
29399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29400 (eval $ac_compile) 2>conftest.er1
29402 grep -v '^ *+' conftest.er1
>conftest.err
29404 cat conftest.err
>&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } &&
29407 { ac_try
='test -z "$ac_cxx_werror_flag"
29408 || test ! -s conftest.err'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; } &&
29414 { ac_try
='test -s conftest.$ac_objext'
29415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29416 (eval $ac_try) 2>&5
29418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29419 (exit $ac_status); }; }; then
29420 echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6
29422 cat >>confdefs.h
<<\_ACEOF
29423 #define HAVE__VSNWPRINTF 1
29427 echo "$as_me: failed program was:" >&5
29428 sed 's/^/| /' conftest.
$ac_ext >&5
29430 echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6
29433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29437 ac_cpp
='$CPP $CPPFLAGS'
29438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29445 if test "$TOOLKIT" != "MSW"; then
29451 ac_cpp
='$CXXCPP $CPPFLAGS'
29452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29459 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29460 if test "${with_libiconv_prefix+set}" = set; then
29461 withval
="$with_libiconv_prefix"
29463 for dir
in `echo "$withval" | tr : ' '`; do
29464 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29465 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29470 echo "$as_me:$LINENO: checking for iconv" >&5
29471 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29472 if test "${am_cv_func_iconv+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29476 am_cv_func_iconv
="no, consider installing GNU libiconv"
29478 cat >conftest.
$ac_ext <<_ACEOF
29481 cat confdefs.h
>>conftest.
$ac_ext
29482 cat >>conftest.
$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484 #include <stdlib.h>
29489 iconv_t cd = iconv_open("","");
29490 iconv(cd,NULL,NULL,NULL,NULL);
29496 rm -f conftest.
$ac_objext conftest
$ac_exeext
29497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29498 (eval $ac_link) 2>conftest.er1
29500 grep -v '^ *+' conftest.er1
>conftest.err
29502 cat conftest.err
>&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } &&
29505 { ac_try
='test -z "$ac_cxx_werror_flag"
29506 || test ! -s conftest.err'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; } &&
29512 { ac_try
='test -s conftest$ac_exeext'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; }; then
29518 am_cv_func_iconv
=yes
29520 echo "$as_me: failed program was:" >&5
29521 sed 's/^/| /' conftest.
$ac_ext >&5
29524 rm -f conftest.err conftest.
$ac_objext \
29525 conftest
$ac_exeext conftest.
$ac_ext
29526 if test "$am_cv_func_iconv" != yes; then
29527 am_save_LIBS
="$LIBS"
29528 LIBS
="$LIBS -liconv"
29529 cat >conftest.
$ac_ext <<_ACEOF
29532 cat confdefs.h
>>conftest.
$ac_ext
29533 cat >>conftest.
$ac_ext <<_ACEOF
29534 /* end confdefs.h. */
29535 #include <stdlib.h>
29540 iconv_t cd = iconv_open("","");
29541 iconv(cd,NULL,NULL,NULL,NULL);
29547 rm -f conftest.
$ac_objext conftest
$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>conftest.er1
29551 grep -v '^ *+' conftest.er1
>conftest.err
29553 cat conftest.err
>&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } &&
29556 { ac_try
='test -z "$ac_cxx_werror_flag"
29557 || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try
='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 am_cv_lib_iconv
=yes
29570 am_cv_func_iconv
=yes
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.
$ac_ext >&5
29576 rm -f conftest.err conftest.
$ac_objext \
29577 conftest
$ac_exeext conftest.
$ac_ext
29578 LIBS
="$am_save_LIBS"
29582 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29583 echo "${ECHO_T}$am_cv_func_iconv" >&6
29584 if test "$am_cv_func_iconv" = yes; then
29586 cat >>confdefs.h
<<\_ACEOF
29587 #define HAVE_ICONV 1
29590 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29591 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29592 if test "${wx_cv_func_iconv_const+set}" = set; then
29593 echo $ECHO_N "(cached) $ECHO_C" >&6
29595 cat >conftest.
$ac_ext <<_ACEOF
29598 cat confdefs.h
>>conftest.
$ac_ext
29599 cat >>conftest.
$ac_ext <<_ACEOF
29600 /* end confdefs.h. */
29602 #include <stdlib.h>
29608 #if defined(__STDC__) || defined(__cplusplus)
29609 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29622 rm -f conftest.
$ac_objext
29623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29624 (eval $ac_compile) 2>conftest.er1
29626 grep -v '^ *+' conftest.er1
>conftest.err
29628 cat conftest.err
>&5
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); } &&
29631 { ac_try
='test -z "$ac_cxx_werror_flag"
29632 || test ! -s conftest.err'
29633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29634 (eval $ac_try) 2>&5
29636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29637 (exit $ac_status); }; } &&
29638 { ac_try
='test -s conftest.$ac_objext'
29639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29640 (eval $ac_try) 2>&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); }; }; then
29644 wx_cv_func_iconv_const
="no"
29646 echo "$as_me: failed program was:" >&5
29647 sed 's/^/| /' conftest.
$ac_ext >&5
29649 wx_cv_func_iconv_const
="yes"
29652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29655 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29656 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29659 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29660 iconv_const
="const"
29664 cat >>confdefs.h
<<_ACEOF
29665 #define ICONV_CONST $iconv_const
29670 if test "$am_cv_lib_iconv" = yes; then
29675 LIBS
="$LIBICONV $LIBS"
29677 ac_cpp
='$CPP $CPPFLAGS'
29678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29683 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29685 for ac_func
in sigaction
29687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29688 echo "$as_me:$LINENO: checking for $ac_func" >&5
29689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29690 if eval "test \"\${$as_ac_var+set}\" = set"; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 cat >conftest.
$ac_ext <<_ACEOF
29696 cat confdefs.h
>>conftest.
$ac_ext
29697 cat >>conftest.
$ac_ext <<_ACEOF
29698 /* end confdefs.h. */
29699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29701 #define $ac_func innocuous_$ac_func
29703 /* System header to define __stub macros and hopefully few prototypes,
29704 which can conflict with char $ac_func (); below.
29705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29706 <limits.h> exists even on freestanding compilers. */
29709 # include <limits.h>
29711 # include <assert.h>
29716 /* Override any gcc2 internal prototype to avoid an error. */
29721 /* We use char because int might match the return type of a gcc2
29722 builtin and then its argument prototype would still apply. */
29724 /* The GNU C library defines this for functions which it implements
29725 to always fail with ENOSYS. Some functions are actually named
29726 something starting with __ and the normal name is an alias. */
29727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29730 char (*f) () = $ac_func;
29739 return f != $ac_func;
29744 rm -f conftest.
$ac_objext conftest
$ac_exeext
29745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29746 (eval $ac_link) 2>conftest.er1
29748 grep -v '^ *+' conftest.er1
>conftest.err
29750 cat conftest.err
>&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); } &&
29753 { ac_try
='test -z "$ac_c_werror_flag"
29754 || test ! -s conftest.err'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; } &&
29760 { ac_try
='test -s conftest$ac_exeext'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; }; then
29766 eval "$as_ac_var=yes"
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.
$ac_ext >&5
29771 eval "$as_ac_var=no"
29773 rm -f conftest.err conftest.
$ac_objext \
29774 conftest
$ac_exeext conftest.
$ac_ext
29776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29778 if test `eval echo '${'$as_ac_var'}'` = yes; then
29779 cat >>confdefs.h
<<_ACEOF
29780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29787 if test "$ac_cv_func_sigaction" = "no"; then
29788 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29789 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29790 wxUSE_ON_FATAL_EXCEPTION
=no
29793 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29797 ac_cpp
='$CXXCPP $CPPFLAGS'
29798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29803 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29804 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29805 if test "${wx_cv_type_sa_handler+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 cat >conftest.
$ac_ext <<_ACEOF
29812 cat confdefs.h
>>conftest.
$ac_ext
29813 cat >>conftest.
$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815 #include <signal.h>
29820 extern void testSigHandler(int);
29822 struct sigaction sa;
29823 sa.sa_handler = testSigHandler;
29829 rm -f conftest.
$ac_objext
29830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29831 (eval $ac_compile) 2>conftest.er1
29833 grep -v '^ *+' conftest.er1
>conftest.err
29835 cat conftest.err
>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } &&
29838 { ac_try
='test -z "$ac_cxx_werror_flag"
29839 || test ! -s conftest.err'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; } &&
29845 { ac_try
='test -s conftest.$ac_objext'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; }; then
29852 wx_cv_type_sa_handler
=int
29855 echo "$as_me: failed program was:" >&5
29856 sed 's/^/| /' conftest.
$ac_ext >&5
29859 wx_cv_type_sa_handler
=void
29862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29865 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29866 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29869 ac_cpp
='$CPP $CPPFLAGS'
29870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29875 cat >>confdefs.h
<<_ACEOF
29876 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29884 for ac_func
in mkstemp mktemp
29886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29887 echo "$as_me:$LINENO: checking for $ac_func" >&5
29888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29889 if eval "test \"\${$as_ac_var+set}\" = set"; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 cat >conftest.
$ac_ext <<_ACEOF
29895 cat confdefs.h
>>conftest.
$ac_ext
29896 cat >>conftest.
$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29900 #define $ac_func innocuous_$ac_func
29902 /* System header to define __stub macros and hopefully few prototypes,
29903 which can conflict with char $ac_func (); below.
29904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29905 <limits.h> exists even on freestanding compilers. */
29908 # include <limits.h>
29910 # include <assert.h>
29915 /* Override any gcc2 internal prototype to avoid an error. */
29920 /* We use char because int might match the return type of a gcc2
29921 builtin and then its argument prototype would still apply. */
29923 /* The GNU C library defines this for functions which it implements
29924 to always fail with ENOSYS. Some functions are actually named
29925 something starting with __ and the normal name is an alias. */
29926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29929 char (*f) () = $ac_func;
29938 return f != $ac_func;
29943 rm -f conftest.
$ac_objext conftest
$ac_exeext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>conftest.er1
29947 grep -v '^ *+' conftest.er1
>conftest.err
29949 cat conftest.err
>&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); } &&
29952 { ac_try
='test -z "$ac_c_werror_flag"
29953 || test ! -s conftest.err'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; } &&
29959 { ac_try
='test -s conftest$ac_exeext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965 eval "$as_ac_var=yes"
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.
$ac_ext >&5
29970 eval "$as_ac_var=no"
29972 rm -f conftest.err conftest.
$ac_objext \
29973 conftest
$ac_exeext conftest.
$ac_ext
29975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29977 if test `eval echo '${'$as_ac_var'}'` = yes; then
29978 cat >>confdefs.h
<<_ACEOF
29979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29986 echo "$as_me:$LINENO: checking for statfs" >&5
29987 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29988 if test "${wx_cv_func_statfs+set}" = set; then
29989 echo $ECHO_N "(cached) $ECHO_C" >&6
29991 cat >conftest.
$ac_ext <<_ACEOF
29994 cat confdefs.h
>>conftest.
$ac_ext
29995 cat >>conftest.
$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29998 #if defined(__BSD__)
29999 #include <sys/param.h>
30000 #include <sys/mount.h>
30002 #include <sys/vfs.h>
30020 rm -f conftest.
$ac_objext
30021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30022 (eval $ac_compile) 2>conftest.er1
30024 grep -v '^ *+' conftest.er1
>conftest.err
30026 cat conftest.err
>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); } &&
30029 { ac_try
='test -z "$ac_c_werror_flag"
30030 || test ! -s conftest.err'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; } &&
30036 { ac_try
='test -s conftest.$ac_objext'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; }; then
30043 wx_cv_func_statfs
=yes
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.
$ac_ext >&5
30050 wx_cv_func_statfs
=no
30054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30057 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30058 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30060 if test "$wx_cv_func_statfs" = "yes"; then
30061 wx_cv_type_statvfs_t
="struct statfs"
30062 cat >>confdefs.h
<<\_ACEOF
30063 #define HAVE_STATFS 1
30067 echo "$as_me:$LINENO: checking for statvfs" >&5
30068 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30069 if test "${wx_cv_func_statvfs+set}" = set; then
30070 echo $ECHO_N "(cached) $ECHO_C" >&6
30072 cat >conftest.
$ac_ext <<_ACEOF
30075 cat confdefs.h
>>conftest.
$ac_ext
30076 cat >>conftest.
$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30079 #include <stddef.h>
30080 #include <sys/statvfs.h>
30086 statvfs("/", NULL);
30092 rm -f conftest.
$ac_objext
30093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30094 (eval $ac_compile) 2>conftest.er1
30096 grep -v '^ *+' conftest.er1
>conftest.err
30098 cat conftest.err
>&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); } &&
30101 { ac_try
='test -z "$ac_c_werror_flag"
30102 || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try
='test -s conftest.$ac_objext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 wx_cv_func_statvfs
=yes
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.
$ac_ext >&5
30119 wx_cv_func_statvfs
=no
30122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30125 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30126 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30128 if test "$wx_cv_func_statvfs" = "yes"; then
30132 ac_cpp
='$CXXCPP $CPPFLAGS'
30133 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30134 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30135 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30138 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30139 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30140 if test "${wx_cv_type_statvfs_t+set}" = set; then
30141 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 cat >conftest.
$ac_ext <<_ACEOF
30146 cat confdefs.h
>>conftest.
$ac_ext
30147 cat >>conftest.
$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30150 #include <sys/statvfs.h>
30167 rm -f conftest.
$ac_objext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30169 (eval $ac_compile) 2>conftest.er1
30171 grep -v '^ *+' conftest.er1
>conftest.err
30173 cat conftest.err
>&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try
='test -z "$ac_cxx_werror_flag"
30177 || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try
='test -s conftest.$ac_objext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 wx_cv_type_statvfs_t
=statvfs_t
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.
$ac_ext >&5
30195 cat >conftest.
$ac_ext <<_ACEOF
30198 cat confdefs.h
>>conftest.
$ac_ext
30199 cat >>conftest.
$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30202 #include <sys/statvfs.h>
30219 rm -f conftest.
$ac_objext
30220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30221 (eval $ac_compile) 2>conftest.er1
30223 grep -v '^ *+' conftest.er1
>conftest.err
30225 cat conftest.err
>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try
='test -z "$ac_cxx_werror_flag"
30229 || test ! -s conftest.err'
30230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30231 (eval $ac_try) 2>&5
30233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30234 (exit $ac_status); }; } &&
30235 { ac_try
='test -s conftest.$ac_objext'
30236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237 (eval $ac_try) 2>&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; }; then
30241 wx_cv_type_statvfs_t
="struct statvfs"
30243 echo "$as_me: failed program was:" >&5
30244 sed 's/^/| /' conftest.
$ac_ext >&5
30246 wx_cv_type_statvfs_t
="unknown"
30249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30256 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30257 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30260 ac_cpp
='$CPP $CPPFLAGS'
30261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30266 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30267 cat >>confdefs.h
<<\_ACEOF
30268 #define HAVE_STATVFS 1
30273 wx_cv_type_statvfs_t
="unknown"
30277 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30278 cat >>confdefs.h
<<_ACEOF
30279 #define WX_STATFS_T $wx_cv_type_statvfs_t
30283 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30284 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30287 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30290 for ac_func
in fcntl flock
30292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30293 echo "$as_me:$LINENO: checking for $ac_func" >&5
30294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30295 if eval "test \"\${$as_ac_var+set}\" = set"; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 cat >conftest.
$ac_ext <<_ACEOF
30301 cat confdefs.h
>>conftest.
$ac_ext
30302 cat >>conftest.
$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30306 #define $ac_func innocuous_$ac_func
30308 /* System header to define __stub macros and hopefully few prototypes,
30309 which can conflict with char $ac_func (); below.
30310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30311 <limits.h> exists even on freestanding compilers. */
30314 # include <limits.h>
30316 # include <assert.h>
30321 /* Override any gcc2 internal prototype to avoid an error. */
30326 /* We use char because int might match the return type of a gcc2
30327 builtin and then its argument prototype would still apply. */
30329 /* The GNU C library defines this for functions which it implements
30330 to always fail with ENOSYS. Some functions are actually named
30331 something starting with __ and the normal name is an alias. */
30332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30335 char (*f) () = $ac_func;
30344 return f != $ac_func;
30349 rm -f conftest.
$ac_objext conftest
$ac_exeext
30350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30351 (eval $ac_link) 2>conftest.er1
30353 grep -v '^ *+' conftest.er1
>conftest.err
30355 cat conftest.err
>&5
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try
='test -z "$ac_c_werror_flag"
30359 || test ! -s conftest.err'
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); }; } &&
30365 { ac_try
='test -s conftest$ac_exeext'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; }; then
30371 eval "$as_ac_var=yes"
30373 echo "$as_me: failed program was:" >&5
30374 sed 's/^/| /' conftest.
$ac_ext >&5
30376 eval "$as_ac_var=no"
30378 rm -f conftest.err conftest.
$ac_objext \
30379 conftest
$ac_exeext conftest.
$ac_ext
30381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30383 if test `eval echo '${'$as_ac_var'}'` = yes; then
30384 cat >>confdefs.h
<<_ACEOF
30385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30392 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30393 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30394 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30395 wxUSE_SNGLINST_CHECKER
=no
30400 for ac_func
in timegm
30402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30403 echo "$as_me:$LINENO: checking for $ac_func" >&5
30404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30405 if eval "test \"\${$as_ac_var+set}\" = set"; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30408 cat >conftest.
$ac_ext <<_ACEOF
30411 cat confdefs.h
>>conftest.
$ac_ext
30412 cat >>conftest.
$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30416 #define $ac_func innocuous_$ac_func
30418 /* System header to define __stub macros and hopefully few prototypes,
30419 which can conflict with char $ac_func (); below.
30420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30421 <limits.h> exists even on freestanding compilers. */
30424 # include <limits.h>
30426 # include <assert.h>
30431 /* Override any gcc2 internal prototype to avoid an error. */
30436 /* We use char because int might match the return type of a gcc2
30437 builtin and then its argument prototype would still apply. */
30439 /* The GNU C library defines this for functions which it implements
30440 to always fail with ENOSYS. Some functions are actually named
30441 something starting with __ and the normal name is an alias. */
30442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30445 char (*f) () = $ac_func;
30454 return f != $ac_func;
30459 rm -f conftest.
$ac_objext conftest
$ac_exeext
30460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30461 (eval $ac_link) 2>conftest.er1
30463 grep -v '^ *+' conftest.er1
>conftest.err
30465 cat conftest.err
>&5
30466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30467 (exit $ac_status); } &&
30468 { ac_try
='test -z "$ac_c_werror_flag"
30469 || test ! -s conftest.err'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; } &&
30475 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30481 eval "$as_ac_var=yes"
30483 echo "$as_me: failed program was:" >&5
30484 sed 's/^/| /' conftest.
$ac_ext >&5
30486 eval "$as_ac_var=no"
30488 rm -f conftest.err conftest.
$ac_objext \
30489 conftest
$ac_exeext conftest.
$ac_ext
30491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30493 if test `eval echo '${'$as_ac_var'}'` = yes; then
30494 cat >>confdefs.h
<<_ACEOF
30495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30504 for ac_func
in putenv setenv
30506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30507 echo "$as_me:$LINENO: checking for $ac_func" >&5
30508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30509 if eval "test \"\${$as_ac_var+set}\" = set"; then
30510 echo $ECHO_N "(cached) $ECHO_C" >&6
30512 cat >conftest.
$ac_ext <<_ACEOF
30515 cat confdefs.h
>>conftest.
$ac_ext
30516 cat >>conftest.
$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30520 #define $ac_func innocuous_$ac_func
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char $ac_func (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30528 # include <limits.h>
30530 # include <assert.h>
30535 /* Override any gcc2 internal prototype to avoid an error. */
30540 /* We use char because int might match the return type of a gcc2
30541 builtin and then its argument prototype would still apply. */
30543 /* The GNU C library defines this for functions which it implements
30544 to always fail with ENOSYS. Some functions are actually named
30545 something starting with __ and the normal name is an alias. */
30546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30549 char (*f) () = $ac_func;
30558 return f != $ac_func;
30563 rm -f conftest.
$ac_objext conftest
$ac_exeext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30565 (eval $ac_link) 2>conftest.er1
30567 grep -v '^ *+' conftest.er1
>conftest.err
30569 cat conftest.err
>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } &&
30572 { ac_try
='test -z "$ac_c_werror_flag"
30573 || test ! -s conftest.err'
30574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575 (eval $ac_try) 2>&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); }; } &&
30579 { ac_try
='test -s conftest$ac_exeext'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; }; then
30585 eval "$as_ac_var=yes"
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.
$ac_ext >&5
30590 eval "$as_ac_var=no"
30592 rm -f conftest.err conftest.
$ac_objext \
30593 conftest
$ac_exeext conftest.
$ac_ext
30595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30597 if test `eval echo '${'$as_ac_var'}'` = yes; then
30598 cat >>confdefs.h
<<_ACEOF
30599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30606 HAVE_SOME_SLEEP_FUNC
=0
30607 if test "$USE_BEOS" = 1; then
30608 cat >>confdefs.h
<<\_ACEOF
30609 #define HAVE_SLEEP 1
30612 HAVE_SOME_SLEEP_FUNC
=1
30615 if test "$USE_DARWIN" = 1; then
30616 cat >>confdefs.h
<<\_ACEOF
30617 #define HAVE_USLEEP 1
30620 HAVE_SOME_SLEEP_FUNC
=1
30623 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30626 for ac_func
in nanosleep
30628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30629 echo "$as_me:$LINENO: checking for $ac_func" >&5
30630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30631 if eval "test \"\${$as_ac_var+set}\" = set"; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30634 cat >conftest.
$ac_ext <<_ACEOF
30637 cat confdefs.h
>>conftest.
$ac_ext
30638 cat >>conftest.
$ac_ext <<_ACEOF
30639 /* end confdefs.h. */
30640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30642 #define $ac_func innocuous_$ac_func
30644 /* System header to define __stub macros and hopefully few prototypes,
30645 which can conflict with char $ac_func (); below.
30646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30647 <limits.h> exists even on freestanding compilers. */
30650 # include <limits.h>
30652 # include <assert.h>
30657 /* Override any gcc2 internal prototype to avoid an error. */
30662 /* We use char because int might match the return type of a gcc2
30663 builtin and then its argument prototype would still apply. */
30665 /* The GNU C library defines this for functions which it implements
30666 to always fail with ENOSYS. Some functions are actually named
30667 something starting with __ and the normal name is an alias. */
30668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30671 char (*f) () = $ac_func;
30680 return f != $ac_func;
30685 rm -f conftest.
$ac_objext conftest
$ac_exeext
30686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30687 (eval $ac_link) 2>conftest.er1
30689 grep -v '^ *+' conftest.er1
>conftest.err
30691 cat conftest.err
>&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try
='test -z "$ac_c_werror_flag"
30695 || test ! -s conftest.err'
30696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30697 (eval $ac_try) 2>&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); }; } &&
30701 { ac_try
='test -s conftest$ac_exeext'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; }; then
30707 eval "$as_ac_var=yes"
30709 echo "$as_me: failed program was:" >&5
30710 sed 's/^/| /' conftest.
$ac_ext >&5
30712 eval "$as_ac_var=no"
30714 rm -f conftest.err conftest.
$ac_objext \
30715 conftest
$ac_exeext conftest.
$ac_ext
30717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30719 if test `eval echo '${'$as_ac_var'}'` = yes; then
30720 cat >>confdefs.h
<<_ACEOF
30721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30723 cat >>confdefs.h
<<\_ACEOF
30724 #define HAVE_NANOSLEEP 1
30729 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30730 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30731 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30732 echo $ECHO_N "(cached) $ECHO_C" >&6
30734 ac_check_lib_save_LIBS
=$LIBS
30735 LIBS
="-lposix4 $LIBS"
30736 cat >conftest.
$ac_ext <<_ACEOF
30739 cat confdefs.h
>>conftest.
$ac_ext
30740 cat >>conftest.
$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30743 /* Override any gcc2 internal prototype to avoid an error. */
30747 /* We use char because int might match the return type of a gcc2
30748 builtin and then its argument prototype would still apply. */
30758 rm -f conftest.
$ac_objext conftest
$ac_exeext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30760 (eval $ac_link) 2>conftest.er1
30762 grep -v '^ *+' conftest.er1
>conftest.err
30764 cat conftest.err
>&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try
='test -z "$ac_c_werror_flag"
30768 || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
30780 ac_cv_lib_posix4_nanosleep
=yes
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.
$ac_ext >&5
30785 ac_cv_lib_posix4_nanosleep
=no
30787 rm -f conftest.err conftest.
$ac_objext \
30788 conftest
$ac_exeext conftest.
$ac_ext
30789 LIBS
=$ac_check_lib_save_LIBS
30791 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30792 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30793 if test $ac_cv_lib_posix4_nanosleep = yes; then
30795 cat >>confdefs.h
<<\_ACEOF
30796 #define HAVE_NANOSLEEP 1
30799 POSIX4_LINK
=" -lposix4"
30804 for ac_func
in usleep
30806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30807 echo "$as_me:$LINENO: checking for $ac_func" >&5
30808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30809 if eval "test \"\${$as_ac_var+set}\" = set"; then
30810 echo $ECHO_N "(cached) $ECHO_C" >&6
30812 cat >conftest.
$ac_ext <<_ACEOF
30815 cat confdefs.h
>>conftest.
$ac_ext
30816 cat >>conftest.
$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30820 #define $ac_func innocuous_$ac_func
30822 /* System header to define __stub macros and hopefully few prototypes,
30823 which can conflict with char $ac_func (); below.
30824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30825 <limits.h> exists even on freestanding compilers. */
30828 # include <limits.h>
30830 # include <assert.h>
30835 /* Override any gcc2 internal prototype to avoid an error. */
30840 /* We use char because int might match the return type of a gcc2
30841 builtin and then its argument prototype would still apply. */
30843 /* The GNU C library defines this for functions which it implements
30844 to always fail with ENOSYS. Some functions are actually named
30845 something starting with __ and the normal name is an alias. */
30846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30849 char (*f) () = $ac_func;
30858 return f != $ac_func;
30863 rm -f conftest.
$ac_objext conftest
$ac_exeext
30864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30865 (eval $ac_link) 2>conftest.er1
30867 grep -v '^ *+' conftest.er1
>conftest.err
30869 cat conftest.err
>&5
30870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30871 (exit $ac_status); } &&
30872 { ac_try
='test -z "$ac_c_werror_flag"
30873 || test ! -s conftest.err'
30874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30875 (eval $ac_try) 2>&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); }; } &&
30879 { ac_try
='test -s conftest$ac_exeext'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; }; then
30885 eval "$as_ac_var=yes"
30887 echo "$as_me: failed program was:" >&5
30888 sed 's/^/| /' conftest.
$ac_ext >&5
30890 eval "$as_ac_var=no"
30892 rm -f conftest.err conftest.
$ac_objext \
30893 conftest
$ac_exeext conftest.
$ac_ext
30895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30897 if test `eval echo '${'$as_ac_var'}'` = yes; then
30898 cat >>confdefs.h
<<_ACEOF
30899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30901 cat >>confdefs.h
<<\_ACEOF
30902 #define HAVE_USLEEP 1
30906 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30907 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30925 for ac_func
in uname gethostname
30927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30928 echo "$as_me:$LINENO: checking for $ac_func" >&5
30929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30930 if eval "test \"\${$as_ac_var+set}\" = set"; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30933 cat >conftest.
$ac_ext <<_ACEOF
30936 cat confdefs.h
>>conftest.
$ac_ext
30937 cat >>conftest.
$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30941 #define $ac_func innocuous_$ac_func
30943 /* System header to define __stub macros and hopefully few prototypes,
30944 which can conflict with char $ac_func (); below.
30945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30946 <limits.h> exists even on freestanding compilers. */
30949 # include <limits.h>
30951 # include <assert.h>
30956 /* Override any gcc2 internal prototype to avoid an error. */
30961 /* We use char because int might match the return type of a gcc2
30962 builtin and then its argument prototype would still apply. */
30964 /* The GNU C library defines this for functions which it implements
30965 to always fail with ENOSYS. Some functions are actually named
30966 something starting with __ and the normal name is an alias. */
30967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30970 char (*f) () = $ac_func;
30979 return f != $ac_func;
30984 rm -f conftest.
$ac_objext conftest
$ac_exeext
30985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30986 (eval $ac_link) 2>conftest.er1
30988 grep -v '^ *+' conftest.er1
>conftest.err
30990 cat conftest.err
>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); } &&
30993 { ac_try
='test -z "$ac_c_werror_flag"
30994 || test ! -s conftest.err'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; } &&
31000 { ac_try
='test -s conftest$ac_exeext'
31001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31002 (eval $ac_try) 2>&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; }; then
31006 eval "$as_ac_var=yes"
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.
$ac_ext >&5
31011 eval "$as_ac_var=no"
31013 rm -f conftest.err conftest.
$ac_objext \
31014 conftest
$ac_exeext conftest.
$ac_ext
31016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31018 if test `eval echo '${'$as_ac_var'}'` = yes; then
31019 cat >>confdefs.h
<<_ACEOF
31020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31030 ac_cpp
='$CXXCPP $CPPFLAGS'
31031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31037 for ac_func
in strtok_r
31039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31040 echo "$as_me:$LINENO: checking for $ac_func" >&5
31041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31042 if eval "test \"\${$as_ac_var+set}\" = set"; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 cat >conftest.
$ac_ext <<_ACEOF
31048 cat confdefs.h
>>conftest.
$ac_ext
31049 cat >>conftest.
$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31053 #define $ac_func innocuous_$ac_func
31055 /* System header to define __stub macros and hopefully few prototypes,
31056 which can conflict with char $ac_func (); below.
31057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31058 <limits.h> exists even on freestanding compilers. */
31061 # include <limits.h>
31063 # include <assert.h>
31068 /* Override any gcc2 internal prototype to avoid an error. */
31073 /* We use char because int might match the return type of a gcc2
31074 builtin and then its argument prototype would still apply. */
31076 /* The GNU C library defines this for functions which it implements
31077 to always fail with ENOSYS. Some functions are actually named
31078 something starting with __ and the normal name is an alias. */
31079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31082 char (*f) () = $ac_func;
31091 return f != $ac_func;
31096 rm -f conftest.
$ac_objext conftest
$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>conftest.er1
31100 grep -v '^ *+' conftest.er1
>conftest.err
31102 cat conftest.err
>&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try
='test -z "$ac_cxx_werror_flag"
31106 || test ! -s conftest.err'
31107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31108 (eval $ac_try) 2>&5
31110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31111 (exit $ac_status); }; } &&
31112 { ac_try
='test -s conftest$ac_exeext'
31113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31114 (eval $ac_try) 2>&5
31116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31117 (exit $ac_status); }; }; then
31118 eval "$as_ac_var=yes"
31120 echo "$as_me: failed program was:" >&5
31121 sed 's/^/| /' conftest.
$ac_ext >&5
31123 eval "$as_ac_var=no"
31125 rm -f conftest.err conftest.
$ac_objext \
31126 conftest
$ac_exeext conftest.
$ac_ext
31128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31130 if test `eval echo '${'$as_ac_var'}'` = yes; then
31131 cat >>confdefs.h
<<_ACEOF
31132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31140 ac_cpp
='$CPP $CPPFLAGS'
31141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31148 for ac_func
in inet_addr
31150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31151 echo "$as_me:$LINENO: checking for $ac_func" >&5
31152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31153 if eval "test \"\${$as_ac_var+set}\" = set"; then
31154 echo $ECHO_N "(cached) $ECHO_C" >&6
31156 cat >conftest.
$ac_ext <<_ACEOF
31159 cat confdefs.h
>>conftest.
$ac_ext
31160 cat >>conftest.
$ac_ext <<_ACEOF
31161 /* end confdefs.h. */
31162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31164 #define $ac_func innocuous_$ac_func
31166 /* System header to define __stub macros and hopefully few prototypes,
31167 which can conflict with char $ac_func (); below.
31168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31169 <limits.h> exists even on freestanding compilers. */
31172 # include <limits.h>
31174 # include <assert.h>
31179 /* Override any gcc2 internal prototype to avoid an error. */
31184 /* We use char because int might match the return type of a gcc2
31185 builtin and then its argument prototype would still apply. */
31187 /* The GNU C library defines this for functions which it implements
31188 to always fail with ENOSYS. Some functions are actually named
31189 something starting with __ and the normal name is an alias. */
31190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31193 char (*f) () = $ac_func;
31202 return f != $ac_func;
31207 rm -f conftest.
$ac_objext conftest
$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>conftest.er1
31211 grep -v '^ *+' conftest.er1
>conftest.err
31213 cat conftest.err
>&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try
='test -z "$ac_c_werror_flag"
31217 || test ! -s conftest.err'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; } &&
31223 { ac_try
='test -s conftest$ac_exeext'
31224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 (eval $ac_try) 2>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31229 eval "$as_ac_var=yes"
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.
$ac_ext >&5
31234 eval "$as_ac_var=no"
31236 rm -f conftest.err conftest.
$ac_objext \
31237 conftest
$ac_exeext conftest.
$ac_ext
31239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31241 if test `eval echo '${'$as_ac_var'}'` = yes; then
31242 cat >>confdefs.h
<<_ACEOF
31243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31245 cat >>confdefs.h
<<\_ACEOF
31246 #define HAVE_INET_ADDR 1
31251 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31252 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31253 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31254 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 ac_check_lib_save_LIBS
=$LIBS
31258 cat >conftest.
$ac_ext <<_ACEOF
31261 cat confdefs.h
>>conftest.
$ac_ext
31262 cat >>conftest.
$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31265 /* Override any gcc2 internal prototype to avoid an error. */
31269 /* We use char because int might match the return type of a gcc2
31270 builtin and then its argument prototype would still apply. */
31280 rm -f conftest.
$ac_objext conftest
$ac_exeext
31281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31282 (eval $ac_link) 2>conftest.er1
31284 grep -v '^ *+' conftest.er1
>conftest.err
31286 cat conftest.err
>&5
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); } &&
31289 { ac_try
='test -z "$ac_c_werror_flag"
31290 || test ! -s conftest.err'
31291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292 (eval $ac_try) 2>&5
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; } &&
31296 { ac_try
='test -s conftest$ac_exeext'
31297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31298 (eval $ac_try) 2>&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); }; }; then
31302 ac_cv_lib_nsl_inet_addr
=yes
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.
$ac_ext >&5
31307 ac_cv_lib_nsl_inet_addr
=no
31309 rm -f conftest.err conftest.
$ac_objext \
31310 conftest
$ac_exeext conftest.
$ac_ext
31311 LIBS
=$ac_check_lib_save_LIBS
31313 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31314 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31315 if test $ac_cv_lib_nsl_inet_addr = yes; then
31319 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31320 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31321 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31322 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 ac_check_lib_save_LIBS
=$LIBS
31325 LIBS
="-lresolv $LIBS"
31326 cat >conftest.
$ac_ext <<_ACEOF
31329 cat confdefs.h
>>conftest.
$ac_ext
31330 cat >>conftest.
$ac_ext <<_ACEOF
31331 /* end confdefs.h. */
31333 /* Override any gcc2 internal prototype to avoid an error. */
31337 /* We use char because int might match the return type of a gcc2
31338 builtin and then its argument prototype would still apply. */
31348 rm -f conftest.
$ac_objext conftest
$ac_exeext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31350 (eval $ac_link) 2>conftest.er1
31352 grep -v '^ *+' conftest.er1
>conftest.err
31354 cat conftest.err
>&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); } &&
31357 { ac_try
='test -z "$ac_c_werror_flag"
31358 || test ! -s conftest.err'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; } &&
31364 { ac_try
='test -s conftest$ac_exeext'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; }; then
31370 ac_cv_lib_resolv_inet_addr
=yes
31372 echo "$as_me: failed program was:" >&5
31373 sed 's/^/| /' conftest.
$ac_ext >&5
31375 ac_cv_lib_resolv_inet_addr
=no
31377 rm -f conftest.err conftest.
$ac_objext \
31378 conftest
$ac_exeext conftest.
$ac_ext
31379 LIBS
=$ac_check_lib_save_LIBS
31381 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31382 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31383 if test $ac_cv_lib_resolv_inet_addr = yes; then
31387 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31388 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31389 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31390 echo $ECHO_N "(cached) $ECHO_C" >&6
31392 ac_check_lib_save_LIBS
=$LIBS
31393 LIBS
="-lsocket $LIBS"
31394 cat >conftest.
$ac_ext <<_ACEOF
31397 cat confdefs.h
>>conftest.
$ac_ext
31398 cat >>conftest.
$ac_ext <<_ACEOF
31399 /* end confdefs.h. */
31401 /* Override any gcc2 internal prototype to avoid an error. */
31405 /* We use char because int might match the return type of a gcc2
31406 builtin and then its argument prototype would still apply. */
31416 rm -f conftest.
$ac_objext conftest
$ac_exeext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31418 (eval $ac_link) 2>conftest.er1
31420 grep -v '^ *+' conftest.er1
>conftest.err
31422 cat conftest.err
>&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } &&
31425 { ac_try
='test -z "$ac_c_werror_flag"
31426 || test ! -s conftest.err'
31427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31428 (eval $ac_try) 2>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; } &&
31432 { ac_try
='test -s conftest$ac_exeext'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; }; then
31438 ac_cv_lib_socket_inet_addr
=yes
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.
$ac_ext >&5
31443 ac_cv_lib_socket_inet_addr
=no
31445 rm -f conftest.err conftest.
$ac_objext \
31446 conftest
$ac_exeext conftest.
$ac_ext
31447 LIBS
=$ac_check_lib_save_LIBS
31449 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31450 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31451 if test $ac_cv_lib_socket_inet_addr = yes; then
31471 for ac_func
in inet_aton
31473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31474 echo "$as_me:$LINENO: checking for $ac_func" >&5
31475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31476 if eval "test \"\${$as_ac_var+set}\" = set"; then
31477 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 cat >conftest.
$ac_ext <<_ACEOF
31482 cat confdefs.h
>>conftest.
$ac_ext
31483 cat >>conftest.
$ac_ext <<_ACEOF
31484 /* end confdefs.h. */
31485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31487 #define $ac_func innocuous_$ac_func
31489 /* System header to define __stub macros and hopefully few prototypes,
31490 which can conflict with char $ac_func (); below.
31491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31492 <limits.h> exists even on freestanding compilers. */
31495 # include <limits.h>
31497 # include <assert.h>
31502 /* Override any gcc2 internal prototype to avoid an error. */
31507 /* We use char because int might match the return type of a gcc2
31508 builtin and then its argument prototype would still apply. */
31510 /* The GNU C library defines this for functions which it implements
31511 to always fail with ENOSYS. Some functions are actually named
31512 something starting with __ and the normal name is an alias. */
31513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31516 char (*f) () = $ac_func;
31525 return f != $ac_func;
31530 rm -f conftest.
$ac_objext conftest
$ac_exeext
31531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31532 (eval $ac_link) 2>conftest.er1
31534 grep -v '^ *+' conftest.er1
>conftest.err
31536 cat conftest.err
>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -z "$ac_c_werror_flag"
31540 || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try
='test -s conftest$ac_exeext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 eval "$as_ac_var=yes"
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.
$ac_ext >&5
31557 eval "$as_ac_var=no"
31559 rm -f conftest.err conftest.
$ac_objext \
31560 conftest
$ac_exeext conftest.
$ac_ext
31562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31564 if test `eval echo '${'$as_ac_var'}'` = yes; then
31565 cat >>confdefs.h
<<_ACEOF
31566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31568 cat >>confdefs.h
<<\_ACEOF
31569 #define HAVE_INET_ATON 1
31574 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31575 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31576 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31577 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31580 ac_check_lib_save_LIBS
=$LIBS
31581 LIBS
="-l$INET_LINK $LIBS"
31582 cat >conftest.
$ac_ext <<_ACEOF
31585 cat confdefs.h
>>conftest.
$ac_ext
31586 cat >>conftest.
$ac_ext <<_ACEOF
31587 /* end confdefs.h. */
31589 /* Override any gcc2 internal prototype to avoid an error. */
31593 /* We use char because int might match the return type of a gcc2
31594 builtin and then its argument prototype would still apply. */
31604 rm -f conftest.
$ac_objext conftest
$ac_exeext
31605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31606 (eval $ac_link) 2>conftest.er1
31608 grep -v '^ *+' conftest.er1
>conftest.err
31610 cat conftest.err
>&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } &&
31613 { ac_try
='test -z "$ac_c_werror_flag"
31614 || test ! -s conftest.err'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; } &&
31620 { ac_try
='test -s conftest$ac_exeext'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; }; then
31626 eval "$as_ac_Lib=yes"
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.
$ac_ext >&5
31631 eval "$as_ac_Lib=no"
31633 rm -f conftest.err conftest.
$ac_objext \
31634 conftest
$ac_exeext conftest.
$ac_ext
31635 LIBS
=$ac_check_lib_save_LIBS
31637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31638 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31639 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31640 cat >>confdefs.h
<<\_ACEOF
31641 #define HAVE_INET_ATON 1
31651 if test "x$INET_LINK" != "x"; then
31652 cat >>confdefs.h
<<\_ACEOF
31653 #define HAVE_INET_ADDR 1
31656 INET_LINK
=" -l$INET_LINK"
31664 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31665 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31666 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31667 echo $ECHO_N "(cached) $ECHO_C" >&6
31669 ac_check_lib_save_LIBS
=$LIBS
31671 cat >conftest.
$ac_ext <<_ACEOF
31674 cat confdefs.h
>>conftest.
$ac_ext
31675 cat >>conftest.
$ac_ext <<_ACEOF
31676 /* end confdefs.h. */
31678 /* Override any gcc2 internal prototype to avoid an error. */
31682 /* We use char because int might match the return type of a gcc2
31683 builtin and then its argument prototype would still apply. */
31693 rm -f conftest.
$ac_objext conftest
$ac_exeext
31694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31695 (eval $ac_link) 2>conftest.er1
31697 grep -v '^ *+' conftest.er1
>conftest.err
31699 cat conftest.err
>&5
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); } &&
31702 { ac_try
='test -z "$ac_c_werror_flag"
31703 || test ! -s conftest.err'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; } &&
31709 { ac_try
='test -s conftest$ac_exeext'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; }; then
31715 ac_cv_lib_esd_esd_close
=yes
31717 echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.
$ac_ext >&5
31720 ac_cv_lib_esd_esd_close
=no
31722 rm -f conftest.err conftest.
$ac_objext \
31723 conftest
$ac_exeext conftest.
$ac_ext
31724 LIBS
=$ac_check_lib_save_LIBS
31726 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31727 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31728 if test $ac_cv_lib_esd_esd_close = yes; then
31731 for ac_header
in esd.h
31733 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31735 echo "$as_me:$LINENO: checking for $ac_header" >&5
31736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31738 echo $ECHO_N "(cached) $ECHO_C" >&6
31740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31743 # Is the header compilable?
31744 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31746 cat >conftest.
$ac_ext <<_ACEOF
31749 cat confdefs.h
>>conftest.
$ac_ext
31750 cat >>conftest.
$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752 $ac_includes_default
31753 #include <$ac_header>
31755 rm -f conftest.
$ac_objext
31756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31757 (eval $ac_compile) 2>conftest.er1
31759 grep -v '^ *+' conftest.er1
>conftest.err
31761 cat conftest.err
>&5
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); } &&
31764 { ac_try
='test -z "$ac_c_werror_flag"
31765 || test ! -s conftest.err'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; } &&
31771 { ac_try
='test -s conftest.$ac_objext'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; }; then
31777 ac_header_compiler
=yes
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.
$ac_ext >&5
31782 ac_header_compiler
=no
31784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31786 echo "${ECHO_T}$ac_header_compiler" >&6
31788 # Is the header present?
31789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31791 cat >conftest.
$ac_ext <<_ACEOF
31794 cat confdefs.h
>>conftest.
$ac_ext
31795 cat >>conftest.
$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31797 #include <$ac_header>
31799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31802 grep -v '^ *+' conftest.er1
>conftest.err
31804 cat conftest.err
>&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); } >/dev
/null
; then
31807 if test -s conftest.err
; then
31808 ac_cpp_err
=$ac_c_preproc_warn_flag
31809 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31816 if test -z "$ac_cpp_err"; then
31817 ac_header_preproc
=yes
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.
$ac_ext >&5
31822 ac_header_preproc
=no
31824 rm -f conftest.err conftest.
$ac_ext
31825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31826 echo "${ECHO_T}$ac_header_preproc" >&6
31828 # So? What about this header?
31829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31834 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31835 ac_header_preproc
=yes
31838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31842 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31843 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31844 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31845 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31848 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31849 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31852 ## ----------------------------------------- ##
31853 ## Report this to wx-dev@lists.wxwindows.org ##
31854 ## ----------------------------------------- ##
31857 sed "s/^/$as_me: WARNING: /" >&2
31860 echo "$as_me:$LINENO: checking for $ac_header" >&5
31861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31863 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 eval "$as_ac_Header=\$ac_header_preproc"
31867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31872 cat >>confdefs.h
<<_ACEOF
31873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31876 EXTRALIBS_ESD
="-lesd"
31887 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31888 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31889 cat >conftest.
$ac_ext <<_ACEOF
31892 cat confdefs.h
>>conftest.
$ac_ext
31893 cat >>conftest.
$ac_ext <<_ACEOF
31894 /* end confdefs.h. */
31896 #include <linux/cdrom.h>
31899 #include <sys/cdio.h>
31905 struct cdrom_tocentry entry, old_entry;
31910 rm -f conftest.
$ac_objext
31911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31912 (eval $ac_compile) 2>conftest.er1
31914 grep -v '^ *+' conftest.er1
>conftest.err
31916 cat conftest.err
>&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); } &&
31919 { ac_try
='test -z "$ac_c_werror_flag"
31920 || test ! -s conftest.err'
31921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922 (eval $ac_try) 2>&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; } &&
31926 { ac_try
='test -s conftest.$ac_objext'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; }; then
31932 echo "$as_me:$LINENO: result: yes" >&5
31933 echo "${ECHO_T}yes" >&6
31934 cat >>confdefs.h
<<\_ACEOF
31935 #define HAVE_KNOWN_CDROM_INTERFACE 1
31939 echo "$as_me: failed program was:" >&5
31940 sed 's/^/| /' conftest.
$ac_ext >&5
31942 echo "$as_me:$LINENO: result: no" >&5
31943 echo "${ECHO_T}no" >&6
31945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31948 cat >confcache
<<\_ACEOF
31949 # This file is a shell script that caches the results of configure
31950 # tests run on this system so they can be shared between configure
31951 # scripts and configure runs, see configure's option --config-cache.
31952 # It is not useful on other systems. If it contains results you don't
31953 # want to keep, you may remove or edit it.
31955 # config.status only pays attention to the cache file if you give it
31956 # the --recheck option to rerun configure.
31958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31960 # following values.
31964 # The following way of writing the cache mishandles newlines in values,
31965 # but we know of no workaround that is simple, portable, and efficient.
31966 # So, don't put newlines in cache variables' values.
31967 # Ultrix sh set writes to stderr and can't be redirected directly,
31968 # and sets the high bit in the cache file unless we assign to the vars.
31971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31973 # `set' does not quote correctly, so add quotes (double-quote
31974 # substitution turns \\\\ into \\, and sed turns \\ into \).
31977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31980 # `set' quotes correctly as required by POSIX, so do not add quotes.
31982 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31991 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31993 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31994 if test -w $cache_file; then
31995 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31996 cat confcache
>$cache_file
31998 echo "not updating unwritable cache $cache_file"
32005 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32011 if test "$wxUSE_THREADS" = "yes" ; then
32012 if test "$USE_BEOS" = 1; then
32013 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32014 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32019 if test "$wxUSE_THREADS" = "yes" ; then
32022 THREAD_OPTS
="-pthread"
32024 *-*-solaris2* | *-*-sunos4* )
32025 if test "x$GCC" = "xyes"; then
32026 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32028 THREAD_OPTS
="-mt $THREAD_OPTS"
32032 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32034 *-*-darwin* | *-*-cygwin* )
32038 THREAD_OPTS
="pthreads"
32041 if test "x$GCC" != "xyes"; then
32047 if test "x$GCC" = "xyes"; then
32053 if test "x$GCC" != "xyes"; then
32054 THREAD_OPTS
="-Ethread"
32059 THREAD_OPTS
="$THREAD_OPTS pthread none"
32062 for flag
in $THREAD_OPTS; do
32065 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32066 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32070 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32071 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32072 THREADS_CFLAGS
="$flag"
32076 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32077 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32078 THREADS_LINK
="-l$flag"
32083 save_CFLAGS
="$CFLAGS"
32084 LIBS
="$THREADS_LINK $LIBS"
32085 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32087 cat >conftest.
$ac_ext <<_ACEOF
32090 cat confdefs.h
>>conftest.
$ac_ext
32091 cat >>conftest.
$ac_ext <<_ACEOF
32092 /* end confdefs.h. */
32093 #include <pthread.h>
32097 pthread_create(0,0,0,0);
32102 rm -f conftest.
$ac_objext conftest
$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>conftest.er1
32106 grep -v '^ *+' conftest.er1
>conftest.err
32108 cat conftest.err
>&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } &&
32111 { ac_try
='test -z "$ac_c_werror_flag"
32112 || test ! -s conftest.err'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; } &&
32118 { ac_try
='test -s conftest$ac_exeext'
32119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120 (eval $ac_try) 2>&5
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); }; }; then
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.
$ac_ext >&5
32130 rm -f conftest.err conftest.
$ac_objext \
32131 conftest
$ac_exeext conftest.
$ac_ext
32134 CFLAGS
="$save_CFLAGS"
32136 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32137 echo "${ECHO_T}$THREADS_OK" >&6
32138 if test "x$THREADS_OK" = "xyes"; then
32146 if test "x$THREADS_OK" != "xyes"; then
32148 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32149 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32151 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32152 LIBS
="$THREADS_LINK $LIBS"
32154 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32155 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32159 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32160 flag
="-D_THREAD_SAFE"
32163 flag
="-D_THREAD_SAFE"
32166 flag
="-D_REENTRANT"
32167 if test "x$GCC" != "xyes"; then
32168 flag
="$flag -D_RWSTD_MULTI_THREAD"
32171 *solaris
* | alpha
*-osf*)
32172 flag
="-D_REENTRANT"
32175 echo "$as_me:$LINENO: result: ${flag}" >&5
32176 echo "${ECHO_T}${flag}" >&6
32177 if test "x$flag" != xno
; then
32178 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32181 if test "x$THREADS_CFLAGS" != "x"; then
32182 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32183 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32188 if test "$wxUSE_THREADS" = "yes" ; then
32190 for ac_func
in thr_setconcurrency
32192 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32193 echo "$as_me:$LINENO: checking for $ac_func" >&5
32194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32195 if eval "test \"\${$as_ac_var+set}\" = set"; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 cat >conftest.
$ac_ext <<_ACEOF
32201 cat confdefs.h
>>conftest.
$ac_ext
32202 cat >>conftest.
$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32206 #define $ac_func innocuous_$ac_func
32208 /* System header to define __stub macros and hopefully few prototypes,
32209 which can conflict with char $ac_func (); below.
32210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32211 <limits.h> exists even on freestanding compilers. */
32214 # include <limits.h>
32216 # include <assert.h>
32221 /* Override any gcc2 internal prototype to avoid an error. */
32226 /* We use char because int might match the return type of a gcc2
32227 builtin and then its argument prototype would still apply. */
32229 /* The GNU C library defines this for functions which it implements
32230 to always fail with ENOSYS. Some functions are actually named
32231 something starting with __ and the normal name is an alias. */
32232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32235 char (*f) () = $ac_func;
32244 return f != $ac_func;
32249 rm -f conftest.
$ac_objext conftest
$ac_exeext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32251 (eval $ac_link) 2>conftest.er1
32253 grep -v '^ *+' conftest.er1
>conftest.err
32255 cat conftest.err
>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try
='test -z "$ac_c_werror_flag"
32259 || test ! -s conftest.err'
32260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32261 (eval $ac_try) 2>&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); }; } &&
32265 { ac_try
='test -s conftest$ac_exeext'
32266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32267 (eval $ac_try) 2>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); }; }; then
32271 eval "$as_ac_var=yes"
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.
$ac_ext >&5
32276 eval "$as_ac_var=no"
32278 rm -f conftest.err conftest.
$ac_objext \
32279 conftest
$ac_exeext conftest.
$ac_ext
32281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32283 if test `eval echo '${'$as_ac_var'}'` = yes; then
32284 cat >>confdefs.h
<<_ACEOF
32285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32293 for ac_header
in sched.h
32295 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32297 echo "$as_me:$LINENO: checking for $ac_header" >&5
32298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32300 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32305 # Is the header compilable?
32306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32308 cat >conftest.
$ac_ext <<_ACEOF
32311 cat confdefs.h
>>conftest.
$ac_ext
32312 cat >>conftest.
$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 $ac_includes_default
32315 #include <$ac_header>
32317 rm -f conftest.
$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32321 grep -v '^ *+' conftest.er1
>conftest.err
32323 cat conftest.err
>&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try
='test -z "$ac_c_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try
='test -s conftest.$ac_objext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 ac_header_compiler
=yes
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.
$ac_ext >&5
32344 ac_header_compiler
=no
32346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32348 echo "${ECHO_T}$ac_header_compiler" >&6
32350 # Is the header present?
32351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32353 cat >conftest.
$ac_ext <<_ACEOF
32356 cat confdefs.h
>>conftest.
$ac_ext
32357 cat >>conftest.
$ac_ext <<_ACEOF
32358 /* end confdefs.h. */
32359 #include <$ac_header>
32361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32364 grep -v '^ *+' conftest.er1
>conftest.err
32366 cat conftest.err
>&5
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); } >/dev
/null
; then
32369 if test -s conftest.err
; then
32370 ac_cpp_err
=$ac_c_preproc_warn_flag
32371 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32378 if test -z "$ac_cpp_err"; then
32379 ac_header_preproc
=yes
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.
$ac_ext >&5
32384 ac_header_preproc
=no
32386 rm -f conftest.err conftest.
$ac_ext
32387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32388 echo "${ECHO_T}$ac_header_preproc" >&6
32390 # So? What about this header?
32391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32397 ac_header_preproc
=yes
32400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32414 ## ----------------------------------------- ##
32415 ## Report this to wx-dev@lists.wxwindows.org ##
32416 ## ----------------------------------------- ##
32419 sed "s/^/$as_me: WARNING: /" >&2
32422 echo "$as_me:$LINENO: checking for $ac_header" >&5
32423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 eval "$as_ac_Header=\$ac_header_preproc"
32429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32434 cat >>confdefs.h
<<_ACEOF
32435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32442 if test "$ac_cv_header_sched_h" = "yes"; then
32443 echo "$as_me:$LINENO: checking for sched_yield" >&5
32444 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32445 if test "${ac_cv_func_sched_yield+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32448 cat >conftest.
$ac_ext <<_ACEOF
32451 cat confdefs.h
>>conftest.
$ac_ext
32452 cat >>conftest.
$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32456 #define sched_yield innocuous_sched_yield
32458 /* System header to define __stub macros and hopefully few prototypes,
32459 which can conflict with char sched_yield (); below.
32460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32461 <limits.h> exists even on freestanding compilers. */
32464 # include <limits.h>
32466 # include <assert.h>
32471 /* Override any gcc2 internal prototype to avoid an error. */
32476 /* We use char because int might match the return type of a gcc2
32477 builtin and then its argument prototype would still apply. */
32478 char sched_yield ();
32479 /* The GNU C library defines this for functions which it implements
32480 to always fail with ENOSYS. Some functions are actually named
32481 something starting with __ and the normal name is an alias. */
32482 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32485 char (*f) () = sched_yield;
32494 return f != sched_yield;
32499 rm -f conftest.
$ac_objext conftest
$ac_exeext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32501 (eval $ac_link) 2>conftest.er1
32503 grep -v '^ *+' conftest.er1
>conftest.err
32505 cat conftest.err
>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); } &&
32508 { ac_try
='test -z "$ac_c_werror_flag"
32509 || test ! -s conftest.err'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; } &&
32515 { ac_try
='test -s conftest$ac_exeext'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; }; then
32521 ac_cv_func_sched_yield
=yes
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.
$ac_ext >&5
32526 ac_cv_func_sched_yield
=no
32528 rm -f conftest.err conftest.
$ac_objext \
32529 conftest
$ac_exeext conftest.
$ac_ext
32531 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32532 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32533 if test $ac_cv_func_sched_yield = yes; then
32534 cat >>confdefs.h
<<\_ACEOF
32535 #define HAVE_SCHED_YIELD 1
32540 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32541 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32542 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 ac_check_lib_save_LIBS
=$LIBS
32546 LIBS
="-lposix4 $LIBS"
32547 cat >conftest.
$ac_ext <<_ACEOF
32550 cat confdefs.h
>>conftest.
$ac_ext
32551 cat >>conftest.
$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32554 /* Override any gcc2 internal prototype to avoid an error. */
32558 /* We use char because int might match the return type of a gcc2
32559 builtin and then its argument prototype would still apply. */
32560 char sched_yield ();
32569 rm -f conftest.
$ac_objext conftest
$ac_exeext
32570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32571 (eval $ac_link) 2>conftest.er1
32573 grep -v '^ *+' conftest.er1
>conftest.err
32575 cat conftest.err
>&5
32576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32577 (exit $ac_status); } &&
32578 { ac_try
='test -z "$ac_c_werror_flag"
32579 || test ! -s conftest.err'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; } &&
32585 { ac_try
='test -s conftest$ac_exeext'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; }; then
32591 ac_cv_lib_posix4_sched_yield
=yes
32593 echo "$as_me: failed program was:" >&5
32594 sed 's/^/| /' conftest.
$ac_ext >&5
32596 ac_cv_lib_posix4_sched_yield
=no
32598 rm -f conftest.err conftest.
$ac_objext \
32599 conftest
$ac_exeext conftest.
$ac_ext
32600 LIBS
=$ac_check_lib_save_LIBS
32602 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32603 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32604 if test $ac_cv_lib_posix4_sched_yield = yes; then
32605 cat >>confdefs.h
<<\_ACEOF
32606 #define HAVE_SCHED_YIELD 1
32608 POSIX4_LINK
=" -lposix4"
32610 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32611 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32622 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32623 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32624 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32625 echo $ECHO_N "(cached) $ECHO_C" >&6
32627 cat >conftest.
$ac_ext <<_ACEOF
32630 cat confdefs.h
>>conftest.
$ac_ext
32631 cat >>conftest.
$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32635 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32637 /* System header to define __stub macros and hopefully few prototypes,
32638 which can conflict with char pthread_attr_getschedpolicy (); below.
32639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32640 <limits.h> exists even on freestanding compilers. */
32643 # include <limits.h>
32645 # include <assert.h>
32648 #undef pthread_attr_getschedpolicy
32650 /* Override any gcc2 internal prototype to avoid an error. */
32655 /* We use char because int might match the return type of a gcc2
32656 builtin and then its argument prototype would still apply. */
32657 char pthread_attr_getschedpolicy ();
32658 /* The GNU C library defines this for functions which it implements
32659 to always fail with ENOSYS. Some functions are actually named
32660 something starting with __ and the normal name is an alias. */
32661 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32664 char (*f) () = pthread_attr_getschedpolicy;
32673 return f != pthread_attr_getschedpolicy;
32678 rm -f conftest.
$ac_objext conftest
$ac_exeext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32680 (eval $ac_link) 2>conftest.er1
32682 grep -v '^ *+' conftest.er1
>conftest.err
32684 cat conftest.err
>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try
='test -z "$ac_c_werror_flag"
32688 || test ! -s conftest.err'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; } &&
32694 { ac_try
='test -s conftest$ac_exeext'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; }; then
32700 ac_cv_func_pthread_attr_getschedpolicy
=yes
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.
$ac_ext >&5
32705 ac_cv_func_pthread_attr_getschedpolicy
=no
32707 rm -f conftest.err conftest.
$ac_objext \
32708 conftest
$ac_exeext conftest.
$ac_ext
32710 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32711 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32712 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32713 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32714 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32715 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32716 echo $ECHO_N "(cached) $ECHO_C" >&6
32718 cat >conftest.
$ac_ext <<_ACEOF
32721 cat confdefs.h
>>conftest.
$ac_ext
32722 cat >>conftest.
$ac_ext <<_ACEOF
32723 /* end confdefs.h. */
32724 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32726 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32728 /* System header to define __stub macros and hopefully few prototypes,
32729 which can conflict with char pthread_attr_setschedparam (); below.
32730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32731 <limits.h> exists even on freestanding compilers. */
32734 # include <limits.h>
32736 # include <assert.h>
32739 #undef pthread_attr_setschedparam
32741 /* Override any gcc2 internal prototype to avoid an error. */
32746 /* We use char because int might match the return type of a gcc2
32747 builtin and then its argument prototype would still apply. */
32748 char pthread_attr_setschedparam ();
32749 /* The GNU C library defines this for functions which it implements
32750 to always fail with ENOSYS. Some functions are actually named
32751 something starting with __ and the normal name is an alias. */
32752 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32755 char (*f) () = pthread_attr_setschedparam;
32764 return f != pthread_attr_setschedparam;
32769 rm -f conftest.
$ac_objext conftest
$ac_exeext
32770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32771 (eval $ac_link) 2>conftest.er1
32773 grep -v '^ *+' conftest.er1
>conftest.err
32775 cat conftest.err
>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); } &&
32778 { ac_try
='test -z "$ac_c_werror_flag"
32779 || test ! -s conftest.err'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; } &&
32785 { ac_try
='test -s conftest$ac_exeext'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; }; then
32791 ac_cv_func_pthread_attr_setschedparam
=yes
32793 echo "$as_me: failed program was:" >&5
32794 sed 's/^/| /' conftest.
$ac_ext >&5
32796 ac_cv_func_pthread_attr_setschedparam
=no
32798 rm -f conftest.err conftest.
$ac_objext \
32799 conftest
$ac_exeext conftest.
$ac_ext
32801 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32802 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32803 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32804 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32805 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32806 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32809 cat >conftest.
$ac_ext <<_ACEOF
32812 cat confdefs.h
>>conftest.
$ac_ext
32813 cat >>conftest.
$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32817 #define sched_get_priority_max innocuous_sched_get_priority_max
32819 /* System header to define __stub macros and hopefully few prototypes,
32820 which can conflict with char sched_get_priority_max (); below.
32821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32822 <limits.h> exists even on freestanding compilers. */
32825 # include <limits.h>
32827 # include <assert.h>
32830 #undef sched_get_priority_max
32832 /* Override any gcc2 internal prototype to avoid an error. */
32837 /* We use char because int might match the return type of a gcc2
32838 builtin and then its argument prototype would still apply. */
32839 char sched_get_priority_max ();
32840 /* The GNU C library defines this for functions which it implements
32841 to always fail with ENOSYS. Some functions are actually named
32842 something starting with __ and the normal name is an alias. */
32843 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32846 char (*f) () = sched_get_priority_max;
32855 return f != sched_get_priority_max;
32860 rm -f conftest.
$ac_objext conftest
$ac_exeext
32861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32862 (eval $ac_link) 2>conftest.er1
32864 grep -v '^ *+' conftest.er1
>conftest.err
32866 cat conftest.err
>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); } &&
32869 { ac_try
='test -z "$ac_c_werror_flag"
32870 || test ! -s conftest.err'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; } &&
32876 { ac_try
='test -s conftest$ac_exeext'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; }; then
32882 ac_cv_func_sched_get_priority_max
=yes
32884 echo "$as_me: failed program was:" >&5
32885 sed 's/^/| /' conftest.
$ac_ext >&5
32887 ac_cv_func_sched_get_priority_max
=no
32889 rm -f conftest.err conftest.
$ac_objext \
32890 conftest
$ac_exeext conftest.
$ac_ext
32892 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32893 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32894 if test $ac_cv_func_sched_get_priority_max = yes; then
32897 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32898 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32899 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 ac_check_lib_save_LIBS
=$LIBS
32903 LIBS
="-lposix4 $LIBS"
32904 cat >conftest.
$ac_ext <<_ACEOF
32907 cat confdefs.h
>>conftest.
$ac_ext
32908 cat >>conftest.
$ac_ext <<_ACEOF
32909 /* end confdefs.h. */
32911 /* Override any gcc2 internal prototype to avoid an error. */
32915 /* We use char because int might match the return type of a gcc2
32916 builtin and then its argument prototype would still apply. */
32917 char sched_get_priority_max ();
32921 sched_get_priority_max ();
32926 rm -f conftest.
$ac_objext conftest
$ac_exeext
32927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32928 (eval $ac_link) 2>conftest.er1
32930 grep -v '^ *+' conftest.er1
>conftest.err
32932 cat conftest.err
>&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } &&
32935 { ac_try
='test -z "$ac_c_werror_flag"
32936 || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try
='test -s conftest$ac_exeext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32948 ac_cv_lib_posix4_sched_get_priority_max
=yes
32950 echo "$as_me: failed program was:" >&5
32951 sed 's/^/| /' conftest.
$ac_ext >&5
32953 ac_cv_lib_posix4_sched_get_priority_max
=no
32955 rm -f conftest.err conftest.
$ac_objext \
32956 conftest
$ac_exeext conftest.
$ac_ext
32957 LIBS
=$ac_check_lib_save_LIBS
32959 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32960 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32961 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32964 POSIX4_LINK
=" -lposix4"
32978 if test "$HAVE_PRIOR_FUNCS" = 1; then
32979 cat >>confdefs.h
<<\_ACEOF
32980 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32984 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32985 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32988 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32989 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32990 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32993 cat >conftest.
$ac_ext <<_ACEOF
32996 cat confdefs.h
>>conftest.
$ac_ext
32997 cat >>conftest.
$ac_ext <<_ACEOF
32998 /* end confdefs.h. */
32999 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33001 #define pthread_cancel innocuous_pthread_cancel
33003 /* System header to define __stub macros and hopefully few prototypes,
33004 which can conflict with char pthread_cancel (); below.
33005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33006 <limits.h> exists even on freestanding compilers. */
33009 # include <limits.h>
33011 # include <assert.h>
33014 #undef pthread_cancel
33016 /* Override any gcc2 internal prototype to avoid an error. */
33021 /* We use char because int might match the return type of a gcc2
33022 builtin and then its argument prototype would still apply. */
33023 char pthread_cancel ();
33024 /* The GNU C library defines this for functions which it implements
33025 to always fail with ENOSYS. Some functions are actually named
33026 something starting with __ and the normal name is an alias. */
33027 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33030 char (*f) () = pthread_cancel;
33039 return f != pthread_cancel;
33044 rm -f conftest.
$ac_objext conftest
$ac_exeext
33045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33046 (eval $ac_link) 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_exeext'
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 ac_cv_func_pthread_cancel
=yes
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.
$ac_ext >&5
33071 ac_cv_func_pthread_cancel
=no
33073 rm -f conftest.err conftest.
$ac_objext \
33074 conftest
$ac_exeext conftest.
$ac_ext
33076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33077 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33078 if test $ac_cv_func_pthread_cancel = yes; then
33079 cat >>confdefs.h
<<\_ACEOF
33080 #define HAVE_PTHREAD_CANCEL 1
33084 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33085 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33091 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33092 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33093 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 cat >conftest.
$ac_ext <<_ACEOF
33100 cat confdefs.h
>>conftest.
$ac_ext
33101 cat >>conftest.
$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 #include <pthread.h>
33108 pthread_mutexattr_t attr;
33109 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33115 rm -f conftest.
$ac_objext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33117 (eval $ac_compile) 2>conftest.er1
33119 grep -v '^ *+' conftest.er1
>conftest.err
33121 cat conftest.err
>&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try
='test -z "$ac_c_werror_flag"
33125 || test ! -s conftest.err'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; } &&
33131 { ac_try
='test -s conftest.$ac_objext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33138 wx_cv_type_pthread_mutexattr_t
=yes
33141 echo "$as_me: failed program was:" >&5
33142 sed 's/^/| /' conftest.
$ac_ext >&5
33145 wx_cv_type_pthread_mutexattr_t
=no
33149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33152 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33153 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33155 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33156 cat >>confdefs.h
<<\_ACEOF
33157 #define HAVE_PTHREAD_MUTEXATTR_T 1
33161 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33162 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33163 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 cat >conftest.
$ac_ext <<_ACEOF
33170 cat confdefs.h
>>conftest.
$ac_ext
33171 cat >>conftest.
$ac_ext <<_ACEOF
33172 /* end confdefs.h. */
33173 #include <pthread.h>
33178 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33184 rm -f conftest.
$ac_objext
33185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33186 (eval $ac_compile) 2>conftest.er1
33188 grep -v '^ *+' conftest.er1
>conftest.err
33190 cat conftest.err
>&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); } &&
33193 { ac_try
='test -z "$ac_c_werror_flag"
33194 || test ! -s conftest.err'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; } &&
33200 { ac_try
='test -s conftest.$ac_objext'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; }; then
33207 wx_cv_type_pthread_rec_mutex_init
=yes
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.
$ac_ext >&5
33214 wx_cv_type_pthread_rec_mutex_init
=no
33218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33221 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33222 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33223 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33224 cat >>confdefs.h
<<\_ACEOF
33225 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33229 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33230 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33236 if test "$wxUSE_THREADS" = "yes" ; then
33239 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33240 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33241 if test "${wx_cv_cflags_mthread+set}" = set; then
33242 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 CFLAGS_OLD
="$CFLAGS"
33246 CFLAGS
="$CFLAGS -mthreads"
33247 cat >conftest.
$ac_ext <<_ACEOF
33250 cat confdefs.h
>>conftest.
$ac_ext
33251 cat >>conftest.
$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33262 rm -f conftest.
$ac_objext
33263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33264 (eval $ac_compile) 2>conftest.er1
33266 grep -v '^ *+' conftest.er1
>conftest.err
33268 cat conftest.err
>&5
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); } &&
33271 { ac_try
='test -z "$ac_c_werror_flag"
33272 || test ! -s conftest.err'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; } &&
33278 { ac_try
='test -s conftest.$ac_objext'
33279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33280 (eval $ac_try) 2>&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); }; }; then
33284 wx_cv_cflags_mthread
=yes
33286 echo "$as_me: failed program was:" >&5
33287 sed 's/^/| /' conftest.
$ac_ext >&5
33289 wx_cv_cflags_mthread
=no
33292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33296 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33297 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33299 if test "$wx_cv_cflags_mthread" = "yes"; then
33300 CXXFLAGS
="$CXXFLAGS -mthreads"
33301 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33302 LDFLAGS
="$LDFLAGS -mthreads"
33304 CFLAGS
="$CFLAGS_OLD"
33308 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33309 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33310 LDFLAGS
="$LDFLAGS -Zmt"
33316 if test "$wxUSE_THREADS" = "yes"; then
33317 cat >>confdefs.h
<<\_ACEOF
33318 #define wxUSE_THREADS 1
33322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33324 if test "$ac_cv_func_strtok_r" = "yes"; then
33325 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33326 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33327 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33328 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33329 echo "$as_me:$LINENO: result: yes" >&5
33330 echo "${ECHO_T}yes" >&6
33332 echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6
33338 if test "$WXGTK20" = 1 ; then
33339 cat >>confdefs.h
<<_ACEOF
33340 #define __WXGTK20__ $WXGTK20
33346 if test "$WXGTK12" = 1 ; then
33347 cat >>confdefs.h
<<_ACEOF
33348 #define __WXGTK12__ $WXGTK12
33353 if test "$WXGTK127" = 1 ; then
33354 cat >>confdefs.h
<<_ACEOF
33355 #define __WXGTK127__ $WXGTK127
33360 if test "$WXGPE" = 1 ; then
33361 cat >>confdefs.h
<<_ACEOF
33362 #define __WXGPE__ $WXGPE
33369 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33374 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33375 wxUSE_DEBUG_INFO
=yes
33379 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33380 cat >>confdefs.h
<<\_ACEOF
33384 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33386 if test "$wxUSE_GTK" = 1 ; then
33387 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33391 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33392 cat >>confdefs.h
<<\_ACEOF
33393 #define wxUSE_MEMORY_TRACING 1
33396 cat >>confdefs.h
<<\_ACEOF
33397 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33400 cat >>confdefs.h
<<\_ACEOF
33401 #define wxUSE_DEBUG_NEW_ALWAYS 1
33404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33407 if test "$wxUSE_DMALLOC" = "yes" ; then
33408 DMALLOC_LIBS
="-ldmalloc"
33412 if test "$wxUSE_PROFILE" = "yes" ; then
33417 CODE_GEN_FLAGS_CXX
=
33418 if test "$GCC" = "yes" ; then
33419 if test "$wxUSE_NO_RTTI" = "yes" ; then
33420 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33422 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33423 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33425 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33426 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33431 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33434 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33440 if test "$wxUSE_OPTIMISE" = "no" ; then
33441 if test "$GCC" = yes ; then
33445 if test "$GCC" = yes ; then
33449 i586
-*-*|i686
-*-* )
33450 OPTIMISE
="${OPTIMISE} "
33459 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33460 cat >>confdefs.h
<<\_ACEOF
33461 #define WXWIN_COMPATIBILITY_2_2 1
33465 WXWIN_COMPATIBILITY_2_4
="yes"
33468 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33469 cat >>confdefs.h
<<\_ACEOF
33470 #define WXWIN_COMPATIBILITY_2_4 1
33476 if test "$wxUSE_GUI" = "yes"; then
33477 cat >>confdefs.h
<<\_ACEOF
33478 #define wxUSE_GUI 1
33483 cat >>confdefs.h
<<\_ACEOF
33484 #define wxUSE_NOGUI 1
33490 if test "$wxUSE_UNIX" = "yes"; then
33491 cat >>confdefs.h
<<\_ACEOF
33492 #define wxUSE_UNIX 1
33498 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33502 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33503 if test "$USE_DARWIN" = 1; then
33507 for ac_func
in dlopen
33509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33510 echo "$as_me:$LINENO: checking for $ac_func" >&5
33511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33512 if eval "test \"\${$as_ac_var+set}\" = set"; then
33513 echo $ECHO_N "(cached) $ECHO_C" >&6
33515 cat >conftest.
$ac_ext <<_ACEOF
33518 cat confdefs.h
>>conftest.
$ac_ext
33519 cat >>conftest.
$ac_ext <<_ACEOF
33520 /* end confdefs.h. */
33521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33523 #define $ac_func innocuous_$ac_func
33525 /* System header to define __stub macros and hopefully few prototypes,
33526 which can conflict with char $ac_func (); below.
33527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33528 <limits.h> exists even on freestanding compilers. */
33531 # include <limits.h>
33533 # include <assert.h>
33538 /* Override any gcc2 internal prototype to avoid an error. */
33543 /* We use char because int might match the return type of a gcc2
33544 builtin and then its argument prototype would still apply. */
33546 /* The GNU C library defines this for functions which it implements
33547 to always fail with ENOSYS. Some functions are actually named
33548 something starting with __ and the normal name is an alias. */
33549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33552 char (*f) () = $ac_func;
33561 return f != $ac_func;
33566 rm -f conftest.
$ac_objext conftest
$ac_exeext
33567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33568 (eval $ac_link) 2>conftest.er1
33570 grep -v '^ *+' conftest.er1
>conftest.err
33572 cat conftest.err
>&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); } &&
33575 { ac_try
='test -z "$ac_c_werror_flag"
33576 || test ! -s conftest.err'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; } &&
33582 { ac_try
='test -s conftest$ac_exeext'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; }; then
33588 eval "$as_ac_var=yes"
33590 echo "$as_me: failed program was:" >&5
33591 sed 's/^/| /' conftest.
$ac_ext >&5
33593 eval "$as_ac_var=no"
33595 rm -f conftest.err conftest.
$ac_objext \
33596 conftest
$ac_exeext conftest.
$ac_ext
33598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33600 if test `eval echo '${'$as_ac_var'}'` = yes; then
33601 cat >>confdefs.h
<<_ACEOF
33602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 cat >>confdefs.h
<<\_ACEOF
33606 #define HAVE_DLOPEN 1
33613 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33614 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33615 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33618 ac_check_lib_save_LIBS
=$LIBS
33620 cat >conftest.
$ac_ext <<_ACEOF
33623 cat confdefs.h
>>conftest.
$ac_ext
33624 cat >>conftest.
$ac_ext <<_ACEOF
33625 /* end confdefs.h. */
33627 /* Override any gcc2 internal prototype to avoid an error. */
33631 /* We use char because int might match the return type of a gcc2
33632 builtin and then its argument prototype would still apply. */
33642 rm -f conftest.
$ac_objext conftest
$ac_exeext
33643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33644 (eval $ac_link) 2>conftest.er1
33646 grep -v '^ *+' conftest.er1
>conftest.err
33648 cat conftest.err
>&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } &&
33651 { ac_try
='test -z "$ac_c_werror_flag"
33652 || test ! -s conftest.err'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; } &&
33658 { ac_try
='test -s conftest$ac_exeext'
33659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33660 (eval $ac_try) 2>&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); }; }; then
33664 ac_cv_lib_dl_dlopen
=yes
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.
$ac_ext >&5
33669 ac_cv_lib_dl_dlopen
=no
33671 rm -f conftest.err conftest.
$ac_objext \
33672 conftest
$ac_exeext conftest.
$ac_ext
33673 LIBS
=$ac_check_lib_save_LIBS
33675 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33676 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33677 if test $ac_cv_lib_dl_dlopen = yes; then
33679 cat >>confdefs.h
<<\_ACEOF
33680 #define HAVE_DLOPEN 1
33684 DL_LINK
=" -ldl$DL_LINK"
33689 for ac_func
in shl_load
33691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33692 echo "$as_me:$LINENO: checking for $ac_func" >&5
33693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33694 if eval "test \"\${$as_ac_var+set}\" = set"; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 cat >conftest.
$ac_ext <<_ACEOF
33700 cat confdefs.h
>>conftest.
$ac_ext
33701 cat >>conftest.
$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33705 #define $ac_func innocuous_$ac_func
33707 /* System header to define __stub macros and hopefully few prototypes,
33708 which can conflict with char $ac_func (); below.
33709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33710 <limits.h> exists even on freestanding compilers. */
33713 # include <limits.h>
33715 # include <assert.h>
33720 /* Override any gcc2 internal prototype to avoid an error. */
33725 /* We use char because int might match the return type of a gcc2
33726 builtin and then its argument prototype would still apply. */
33728 /* The GNU C library defines this for functions which it implements
33729 to always fail with ENOSYS. Some functions are actually named
33730 something starting with __ and the normal name is an alias. */
33731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33734 char (*f) () = $ac_func;
33743 return f != $ac_func;
33748 rm -f conftest.
$ac_objext conftest
$ac_exeext
33749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33750 (eval $ac_link) 2>conftest.er1
33752 grep -v '^ *+' conftest.er1
>conftest.err
33754 cat conftest.err
>&5
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); } &&
33757 { ac_try
='test -z "$ac_c_werror_flag"
33758 || test ! -s conftest.err'
33759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33760 (eval $ac_try) 2>&5
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); }; } &&
33764 { ac_try
='test -s conftest$ac_exeext'
33765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33766 (eval $ac_try) 2>&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); }; }; then
33770 eval "$as_ac_var=yes"
33772 echo "$as_me: failed program was:" >&5
33773 sed 's/^/| /' conftest.
$ac_ext >&5
33775 eval "$as_ac_var=no"
33777 rm -f conftest.err conftest.
$ac_objext \
33778 conftest
$ac_exeext conftest.
$ac_ext
33780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33782 if test `eval echo '${'$as_ac_var'}'` = yes; then
33783 cat >>confdefs.h
<<_ACEOF
33784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33787 cat >>confdefs.h
<<\_ACEOF
33788 #define HAVE_SHL_LOAD 1
33795 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33796 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33797 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33798 echo $ECHO_N "(cached) $ECHO_C" >&6
33800 ac_check_lib_save_LIBS
=$LIBS
33801 LIBS
="-lshl_load $LIBS"
33802 cat >conftest.
$ac_ext <<_ACEOF
33805 cat confdefs.h
>>conftest.
$ac_ext
33806 cat >>conftest.
$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33809 /* Override any gcc2 internal prototype to avoid an error. */
33813 /* We use char because int might match the return type of a gcc2
33814 builtin and then its argument prototype would still apply. */
33824 rm -f conftest.
$ac_objext conftest
$ac_exeext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33826 (eval $ac_link) 2>conftest.er1
33828 grep -v '^ *+' conftest.er1
>conftest.err
33830 cat conftest.err
>&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try
='test -z "$ac_c_werror_flag"
33834 || test ! -s conftest.err'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; } &&
33840 { ac_try
='test -s conftest$ac_exeext'
33841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33842 (eval $ac_try) 2>&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); }; }; then
33846 ac_cv_lib_shl_load_dld
=yes
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.
$ac_ext >&5
33851 ac_cv_lib_shl_load_dld
=no
33853 rm -f conftest.err conftest.
$ac_objext \
33854 conftest
$ac_exeext conftest.
$ac_ext
33855 LIBS
=$ac_check_lib_save_LIBS
33857 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33858 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33859 if test $ac_cv_lib_shl_load_dld = yes; then
33862 DL_LINK
=" -ldld$DL_LINK"
33878 if test "$HAVE_DL_FUNCS" = 1; then
33880 for ac_func
in dlerror
33882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33883 echo "$as_me:$LINENO: checking for $ac_func" >&5
33884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33885 if eval "test \"\${$as_ac_var+set}\" = set"; then
33886 echo $ECHO_N "(cached) $ECHO_C" >&6
33888 cat >conftest.
$ac_ext <<_ACEOF
33891 cat confdefs.h
>>conftest.
$ac_ext
33892 cat >>conftest.
$ac_ext <<_ACEOF
33893 /* end confdefs.h. */
33894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33896 #define $ac_func innocuous_$ac_func
33898 /* System header to define __stub macros and hopefully few prototypes,
33899 which can conflict with char $ac_func (); below.
33900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33901 <limits.h> exists even on freestanding compilers. */
33904 # include <limits.h>
33906 # include <assert.h>
33911 /* Override any gcc2 internal prototype to avoid an error. */
33916 /* We use char because int might match the return type of a gcc2
33917 builtin and then its argument prototype would still apply. */
33919 /* The GNU C library defines this for functions which it implements
33920 to always fail with ENOSYS. Some functions are actually named
33921 something starting with __ and the normal name is an alias. */
33922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33925 char (*f) () = $ac_func;
33934 return f != $ac_func;
33939 rm -f conftest.
$ac_objext conftest
$ac_exeext
33940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33941 (eval $ac_link) 2>conftest.er1
33943 grep -v '^ *+' conftest.er1
>conftest.err
33945 cat conftest.err
>&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); } &&
33948 { ac_try
='test -z "$ac_c_werror_flag"
33949 || test ! -s conftest.err'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; } &&
33955 { ac_try
='test -s conftest$ac_exeext'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; }; then
33961 eval "$as_ac_var=yes"
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.
$ac_ext >&5
33966 eval "$as_ac_var=no"
33968 rm -f conftest.err conftest.
$ac_objext \
33969 conftest
$ac_exeext conftest.
$ac_ext
33971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33973 if test `eval echo '${'$as_ac_var'}'` = yes; then
33974 cat >>confdefs.h
<<_ACEOF
33975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33977 cat >>confdefs.h
<<\_ACEOF
33978 #define HAVE_DLERROR 1
33983 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33984 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33985 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33988 ac_check_lib_save_LIBS
=$LIBS
33990 cat >conftest.
$ac_ext <<_ACEOF
33993 cat confdefs.h
>>conftest.
$ac_ext
33994 cat >>conftest.
$ac_ext <<_ACEOF
33995 /* end confdefs.h. */
33997 /* Override any gcc2 internal prototype to avoid an error. */
34001 /* We use char because int might match the return type of a gcc2
34002 builtin and then its argument prototype would still apply. */
34012 rm -f conftest.
$ac_objext conftest
$ac_exeext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34014 (eval $ac_link) 2>conftest.er1
34016 grep -v '^ *+' conftest.er1
>conftest.err
34018 cat conftest.err
>&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try
='test -z "$ac_c_werror_flag"
34022 || test ! -s conftest.err'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; } &&
34028 { ac_try
='test -s conftest$ac_exeext'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; }; then
34034 ac_cv_lib_dl_dlerror
=yes
34036 echo "$as_me: failed program was:" >&5
34037 sed 's/^/| /' conftest.
$ac_ext >&5
34039 ac_cv_lib_dl_dlerror
=no
34041 rm -f conftest.err conftest.
$ac_objext \
34042 conftest
$ac_exeext conftest.
$ac_ext
34043 LIBS
=$ac_check_lib_save_LIBS
34045 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34046 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34047 if test $ac_cv_lib_dl_dlerror = yes; then
34048 cat >>confdefs.h
<<\_ACEOF
34049 #define HAVE_DLERROR 1
34062 if test "$HAVE_DL_FUNCS" = 0; then
34063 if test "$HAVE_SHL_FUNCS" = 0; then
34064 if test "$USE_UNIX" = 1; then
34065 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34066 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34067 wxUSE_DYNAMIC_LOADER
=no
34068 wxUSE_DYNLIB_CLASS
=no
34070 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34071 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34078 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34079 cat >>confdefs.h
<<\_ACEOF
34080 #define wxUSE_DYNAMIC_LOADER 1
34084 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34085 cat >>confdefs.h
<<\_ACEOF
34086 #define wxUSE_DYNLIB_CLASS 1
34093 if test "$wxUSE_PLUGINS" = "yes" ; then
34094 if test "$wxUSE_SHARED" = "no" ; then
34095 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34096 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34099 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34100 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34101 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34104 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34105 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34106 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34109 if test "$wxUSE_PLUGINS" = "yes" ; then
34110 cat >>confdefs.h
<<\_ACEOF
34111 #define wxUSE_PLUGINS 1
34118 if test "$wxUSE_STL" = "yes"; then
34119 cat >>confdefs.h
<<\_ACEOF
34120 #define wxUSE_STL 1
34125 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34126 cat >>confdefs.h
<<\_ACEOF
34127 #define wxUSE_APPLE_IEEE 1
34132 if test "$wxUSE_TIMER" = "yes"; then
34133 cat >>confdefs.h
<<\_ACEOF
34134 #define wxUSE_TIMER 1
34140 if test "$wxUSE_SOUND" = "yes"; then
34141 if test "$USE_UNIX" = "1" ; then
34143 for ac_header
in sys
/soundcard.h
34145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34147 echo "$as_me:$LINENO: checking for $ac_header" >&5
34148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34155 # Is the header compilable?
34156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34158 cat >conftest.
$ac_ext <<_ACEOF
34161 cat confdefs.h
>>conftest.
$ac_ext
34162 cat >>conftest.
$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 $ac_includes_default
34165 #include <$ac_header>
34167 rm -f conftest.
$ac_objext
34168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34169 (eval $ac_compile) 2>conftest.er1
34171 grep -v '^ *+' conftest.er1
>conftest.err
34173 cat conftest.err
>&5
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); } &&
34176 { ac_try
='test -z "$ac_c_werror_flag"
34177 || test ! -s conftest.err'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; } &&
34183 { ac_try
='test -s conftest.$ac_objext'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; }; then
34189 ac_header_compiler
=yes
34191 echo "$as_me: failed program was:" >&5
34192 sed 's/^/| /' conftest.
$ac_ext >&5
34194 ac_header_compiler
=no
34196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34198 echo "${ECHO_T}$ac_header_compiler" >&6
34200 # Is the header present?
34201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34203 cat >conftest.
$ac_ext <<_ACEOF
34206 cat confdefs.h
>>conftest.
$ac_ext
34207 cat >>conftest.
$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 #include <$ac_header>
34211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34214 grep -v '^ *+' conftest.er1
>conftest.err
34216 cat conftest.err
>&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } >/dev
/null
; then
34219 if test -s conftest.err
; then
34220 ac_cpp_err
=$ac_c_preproc_warn_flag
34221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34228 if test -z "$ac_cpp_err"; then
34229 ac_header_preproc
=yes
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34234 ac_header_preproc
=no
34236 rm -f conftest.err conftest.
$ac_ext
34237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34238 echo "${ECHO_T}$ac_header_preproc" >&6
34240 # So? What about this header?
34241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34247 ac_header_preproc
=yes
34250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34264 ## ----------------------------------------- ##
34265 ## Report this to wx-dev@lists.wxwindows.org ##
34266 ## ----------------------------------------- ##
34269 sed "s/^/$as_me: WARNING: /" >&2
34272 echo "$as_me:$LINENO: checking for $ac_header" >&5
34273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 eval "$as_ac_Header=\$ac_header_preproc"
34279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34284 cat >>confdefs.h
<<_ACEOF
34285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34293 if test "$wxUSE_LIBSDL" != "no"; then
34295 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34296 if test "${with_sdl_prefix+set}" = set; then
34297 withval
="$with_sdl_prefix"
34298 sdl_prefix
="$withval"
34303 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34304 if test "${with_sdl_exec_prefix+set}" = set; then
34305 withval
="$with_sdl_exec_prefix"
34306 sdl_exec_prefix
="$withval"
34310 # Check whether --enable-sdltest or --disable-sdltest was given.
34311 if test "${enable_sdltest+set}" = set; then
34312 enableval
="$enable_sdltest"
34318 if test x
$sdl_exec_prefix != x
; then
34319 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34320 if test x
${SDL_CONFIG+set} != xset
; then
34321 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34324 if test x
$sdl_prefix != x
; then
34325 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34326 if test x
${SDL_CONFIG+set} != xset
; then
34327 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34332 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34333 # Extract the first word of "sdl-config", so it can be a program name with args.
34334 set dummy sdl
-config; ac_word
=$2
34335 echo "$as_me:$LINENO: checking for $ac_word" >&5
34336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34337 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34340 case $SDL_CONFIG in
34342 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34346 for as_dir
in $PATH
34349 test -z "$as_dir" && as_dir
=.
34350 for ac_exec_ext
in '' $ac_executable_extensions; do
34351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34352 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34359 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34363 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34365 if test -n "$SDL_CONFIG"; then
34366 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34367 echo "${ECHO_T}$SDL_CONFIG" >&6
34369 echo "$as_me:$LINENO: result: no" >&5
34370 echo "${ECHO_T}no" >&6
34373 min_sdl_version
=1.2.0
34374 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34375 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34377 if test "$SDL_CONFIG" = "no" ; then
34380 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34381 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34383 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34385 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34387 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34389 if test "x$enable_sdltest" = "xyes" ; then
34390 ac_save_CFLAGS
="$CFLAGS"
34391 ac_save_LIBS
="$LIBS"
34392 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34393 LIBS
="$LIBS $SDL_LIBS"
34395 if test "$cross_compiling" = yes; then
34396 echo $ac_n "cross compiling; assumed OK... $ac_c"
34398 cat >conftest.
$ac_ext <<_ACEOF
34401 cat confdefs.h
>>conftest.
$ac_ext
34402 cat >>conftest.
$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34406 #include <stdlib.h>
34407 #include <string.h>
34411 my_strdup (char *str)
34417 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34418 strcpy (new_str, str);
34426 int main (int argc, char *argv[])
34428 int major, minor, micro;
34431 /* This hangs on some systems (?)
34432 system ("touch conf.sdltest");
34434 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34436 /* HP/UX 9 (%@#!) writes to sscanf strings */
34437 tmp_version = my_strdup("$min_sdl_version");
34438 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34439 printf("%s, bad version string\n", "$min_sdl_version");
34443 if (($sdl_major_version > major) ||
34444 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34445 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34451 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34452 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34453 printf("*** best to upgrade to the required version.\n");
34454 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34455 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34456 printf("*** config.cache before re-running configure\n");
34463 rm -f conftest
$ac_exeext
34464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34465 (eval $ac_link) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34470 (eval $ac_try) 2>&5
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); }; }; then
34476 echo "$as_me: program exited with status $ac_status" >&5
34477 echo "$as_me: failed program was:" >&5
34478 sed 's/^/| /' conftest.
$ac_ext >&5
34480 ( exit $ac_status )
34483 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34485 CFLAGS
="$ac_save_CFLAGS"
34486 LIBS
="$ac_save_LIBS"
34489 if test "x$no_sdl" = x
; then
34490 echo "$as_me:$LINENO: result: yes" >&5
34491 echo "${ECHO_T}yes" >&6
34493 EXTRALIBS_SDL
="$SDL_LIBS"
34494 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34495 cat >>confdefs.h
<<\_ACEOF
34496 #define wxUSE_LIBSDL 1
34501 echo "$as_me:$LINENO: result: no" >&5
34502 echo "${ECHO_T}no" >&6
34503 if test "$SDL_CONFIG" = "no" ; then
34504 echo "*** The sdl-config script installed by SDL could not be found"
34505 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34506 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34507 echo "*** full path to sdl-config."
34509 if test -f conf.sdltest
; then
34512 echo "*** Could not run SDL test program, checking why..."
34513 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34514 LIBS
="$LIBS $SDL_LIBS"
34515 cat >conftest.
$ac_ext <<_ACEOF
34518 cat confdefs.h
>>conftest.
$ac_ext
34519 cat >>conftest.
$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34525 int main(int argc, char *argv[])
34528 #define main K_and_R_C_main
34538 rm -f conftest.
$ac_objext conftest
$ac_exeext
34539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34540 (eval $ac_link) 2>conftest.er1
34542 grep -v '^ *+' conftest.er1
>conftest.err
34544 cat conftest.err
>&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); } &&
34547 { ac_try
='test -z "$ac_c_werror_flag"
34548 || test ! -s conftest.err'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; } &&
34554 { ac_try
='test -s conftest$ac_exeext'
34555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556 (eval $ac_try) 2>&5
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); }; }; then
34560 echo "*** The test program compiled, but did not run. This usually means"
34561 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34562 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34563 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34564 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34565 echo "*** is required on your system"
34567 echo "*** If you have an old version installed, it is best to remove it, although"
34568 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34570 echo "$as_me: failed program was:" >&5
34571 sed 's/^/| /' conftest.
$ac_ext >&5
34573 echo "*** The test program failed to compile or link. See the file config.log for the"
34574 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34575 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34576 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34578 rm -f conftest.err conftest.
$ac_objext \
34579 conftest
$ac_exeext conftest.
$ac_ext
34580 CFLAGS
="$ac_save_CFLAGS"
34581 LIBS
="$ac_save_LIBS"
34592 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34598 cat >>confdefs.h
<<\_ACEOF
34599 #define wxUSE_SOUND 1
34602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34605 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34606 cat >>confdefs.h
<<\_ACEOF
34607 #define wxUSE_CMDLINE_PARSER 1
34612 if test "$wxUSE_STOPWATCH" = "yes"; then
34613 cat >>confdefs.h
<<\_ACEOF
34614 #define wxUSE_STOPWATCH 1
34619 if test "$wxUSE_DATETIME" = "yes"; then
34620 cat >>confdefs.h
<<\_ACEOF
34621 #define wxUSE_DATETIME 1
34626 if test "$wxUSE_FILE" = "yes"; then
34627 cat >>confdefs.h
<<\_ACEOF
34628 #define wxUSE_FILE 1
34633 if test "$wxUSE_FFILE" = "yes"; then
34634 cat >>confdefs.h
<<\_ACEOF
34635 #define wxUSE_FFILE 1
34640 if test "$wxUSE_FILESYSTEM" = "yes"; then
34641 cat >>confdefs.h
<<\_ACEOF
34642 #define wxUSE_FILESYSTEM 1
34647 if test "$wxUSE_FS_ZIP" = "yes"; then
34648 cat >>confdefs.h
<<\_ACEOF
34649 #define wxUSE_FS_ZIP 1
34654 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34655 cat >>confdefs.h
<<\_ACEOF
34656 #define wxUSE_ZIPSTREAM 1
34661 if test "$wxUSE_GZSTREAM" = "yes"; then
34662 cat >>confdefs.h
<<\_ACEOF
34663 #define wxUSE_GZSTREAM 1
34668 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34669 cat >>confdefs.h
<<\_ACEOF
34670 #define wxUSE_ON_FATAL_EXCEPTION 1
34675 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34676 cat >>confdefs.h
<<\_ACEOF
34677 #define wxUSE_SNGLINST_CHECKER 1
34682 if test "$wxUSE_BUSYINFO" = "yes"; then
34683 cat >>confdefs.h
<<\_ACEOF
34684 #define wxUSE_BUSYINFO 1
34689 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34690 cat >>confdefs.h
<<\_ACEOF
34691 #define wxUSE_STD_IOSTREAM 1
34696 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34697 cat >>confdefs.h
<<\_ACEOF
34698 #define wxUSE_TEXTBUFFER 1
34703 if test "$wxUSE_TEXTFILE" = "yes"; then
34704 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34705 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34706 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34708 cat >>confdefs.h
<<\_ACEOF
34709 #define wxUSE_TEXTFILE 1
34715 if test "$wxUSE_CONFIG" = "yes" ; then
34716 if test "$wxUSE_TEXTFILE" != "yes"; then
34717 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34718 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34720 cat >>confdefs.h
<<\_ACEOF
34721 #define wxUSE_CONFIG 1
34724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34728 if test "$wxUSE_INTL" = "yes" ; then
34729 if test "$wxUSE_FILE" != "yes"; then
34730 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34731 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34733 cat >>confdefs.h
<<\_ACEOF
34734 #define wxUSE_INTL 1
34737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34738 GUIDIST
="$GUIDIST INTL_DIST"
34742 if test "$wxUSE_LOG" = "yes"; then
34743 cat >>confdefs.h
<<\_ACEOF
34744 #define wxUSE_LOG 1
34748 if test "$wxUSE_LOGGUI" = "yes"; then
34749 cat >>confdefs.h
<<\_ACEOF
34750 #define wxUSE_LOGGUI 1
34755 if test "$wxUSE_LOGWINDOW" = "yes"; then
34756 cat >>confdefs.h
<<\_ACEOF
34757 #define wxUSE_LOGWINDOW 1
34762 if test "$wxUSE_LOGDIALOG" = "yes"; then
34763 cat >>confdefs.h
<<\_ACEOF
34764 #define wxUSE_LOG_DIALOG 1
34770 if test "$wxUSE_LONGLONG" = "yes"; then
34771 cat >>confdefs.h
<<\_ACEOF
34772 #define wxUSE_LONGLONG 1
34777 if test "$wxUSE_GEOMETRY" = "yes"; then
34778 cat >>confdefs.h
<<\_ACEOF
34779 #define wxUSE_GEOMETRY 1
34784 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34785 cat >>confdefs.h
<<\_ACEOF
34786 #define wxUSE_DIALUP_MANAGER 1
34789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34792 if test "$wxUSE_STREAMS" = "yes" ; then
34793 cat >>confdefs.h
<<\_ACEOF
34794 #define wxUSE_STREAMS 1
34800 if test "$wxUSE_DATETIME" = "yes"; then
34802 for ac_func
in strptime
34804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34805 echo "$as_me:$LINENO: checking for $ac_func" >&5
34806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34807 if eval "test \"\${$as_ac_var+set}\" = set"; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34810 cat >conftest.
$ac_ext <<_ACEOF
34813 cat confdefs.h
>>conftest.
$ac_ext
34814 cat >>conftest.
$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34818 #define $ac_func innocuous_$ac_func
34820 /* System header to define __stub macros and hopefully few prototypes,
34821 which can conflict with char $ac_func (); below.
34822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34823 <limits.h> exists even on freestanding compilers. */
34826 # include <limits.h>
34828 # include <assert.h>
34833 /* Override any gcc2 internal prototype to avoid an error. */
34838 /* We use char because int might match the return type of a gcc2
34839 builtin and then its argument prototype would still apply. */
34841 /* The GNU C library defines this for functions which it implements
34842 to always fail with ENOSYS. Some functions are actually named
34843 something starting with __ and the normal name is an alias. */
34844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34847 char (*f) () = $ac_func;
34856 return f != $ac_func;
34861 rm -f conftest.
$ac_objext conftest
$ac_exeext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34863 (eval $ac_link) 2>conftest.er1
34865 grep -v '^ *+' conftest.er1
>conftest.err
34867 cat conftest.err
>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try
='test -z "$ac_c_werror_flag"
34871 || test ! -s conftest.err'
34872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34873 (eval $ac_try) 2>&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); }; } &&
34877 { ac_try
='test -s conftest$ac_exeext'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; }; then
34883 eval "$as_ac_var=yes"
34885 echo "$as_me: failed program was:" >&5
34886 sed 's/^/| /' conftest.
$ac_ext >&5
34888 eval "$as_ac_var=no"
34890 rm -f conftest.err conftest.
$ac_objext \
34891 conftest
$ac_exeext conftest.
$ac_ext
34893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896 cat >>confdefs.h
<<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34904 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34905 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34906 if test "${wx_cv_var_timezone+set}" = set; then
34907 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 cat >conftest.
$ac_ext <<_ACEOF
34913 cat confdefs.h
>>conftest.
$ac_ext
34914 cat >>conftest.
$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34930 rm -f conftest.
$ac_objext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34932 (eval $ac_compile) 2>conftest.er1
34934 grep -v '^ *+' conftest.er1
>conftest.err
34936 cat conftest.err
>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try
='test -z "$ac_c_werror_flag"
34940 || test ! -s conftest.err'
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); }; } &&
34946 { ac_try
='test -s conftest.$ac_objext'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; }; then
34953 wx_cv_var_timezone
=timezone
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.
$ac_ext >&5
34960 cat >conftest.
$ac_ext <<_ACEOF
34963 cat confdefs.h
>>conftest.
$ac_ext
34964 cat >>conftest.
$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34980 rm -f conftest.
$ac_objext
34981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34982 (eval $ac_compile) 2>conftest.er1
34984 grep -v '^ *+' conftest.er1
>conftest.err
34986 cat conftest.err
>&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); } &&
34989 { ac_try
='test -z "$ac_c_werror_flag"
34990 || test ! -s conftest.err'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; } &&
34996 { ac_try
='test -s conftest.$ac_objext'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; }; then
35003 wx_cv_var_timezone
=_timezone
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.
$ac_ext >&5
35010 cat >conftest.
$ac_ext <<_ACEOF
35013 cat confdefs.h
>>conftest.
$ac_ext
35014 cat >>conftest.
$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35030 rm -f conftest.
$ac_objext
35031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35032 (eval $ac_compile) 2>conftest.er1
35034 grep -v '^ *+' conftest.er1
>conftest.err
35036 cat conftest.err
>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); } &&
35039 { ac_try
='test -z "$ac_c_werror_flag"
35040 || test ! -s conftest.err'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; } &&
35046 { ac_try
='test -s conftest.$ac_objext'
35047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35048 (eval $ac_try) 2>&5
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); }; }; then
35053 wx_cv_var_timezone
=__timezone
35056 echo "$as_me: failed program was:" >&5
35057 sed 's/^/| /' conftest.
$ac_ext >&5
35060 if test "$USE_DOS" = 0 ; then
35061 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35062 echo "$as_me: WARNING: no timezone variable" >&2;}
35067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35079 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35080 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35082 if test "x$wx_cv_var_timezone" != x
; then
35083 cat >>confdefs.h
<<_ACEOF
35084 #define WX_TIMEZONE $wx_cv_var_timezone
35090 for ac_func
in localtime
35092 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35093 echo "$as_me:$LINENO: checking for $ac_func" >&5
35094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35095 if eval "test \"\${$as_ac_var+set}\" = set"; then
35096 echo $ECHO_N "(cached) $ECHO_C" >&6
35098 cat >conftest.
$ac_ext <<_ACEOF
35101 cat confdefs.h
>>conftest.
$ac_ext
35102 cat >>conftest.
$ac_ext <<_ACEOF
35103 /* end confdefs.h. */
35104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35106 #define $ac_func innocuous_$ac_func
35108 /* System header to define __stub macros and hopefully few prototypes,
35109 which can conflict with char $ac_func (); below.
35110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35111 <limits.h> exists even on freestanding compilers. */
35114 # include <limits.h>
35116 # include <assert.h>
35121 /* Override any gcc2 internal prototype to avoid an error. */
35126 /* We use char because int might match the return type of a gcc2
35127 builtin and then its argument prototype would still apply. */
35129 /* The GNU C library defines this for functions which it implements
35130 to always fail with ENOSYS. Some functions are actually named
35131 something starting with __ and the normal name is an alias. */
35132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35135 char (*f) () = $ac_func;
35144 return f != $ac_func;
35149 rm -f conftest.
$ac_objext conftest
$ac_exeext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35151 (eval $ac_link) 2>conftest.er1
35153 grep -v '^ *+' conftest.er1
>conftest.err
35155 cat conftest.err
>&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try
='test -z "$ac_c_werror_flag"
35159 || test ! -s conftest.err'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try
='test -s conftest$ac_exeext'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; }; then
35171 eval "$as_ac_var=yes"
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.
$ac_ext >&5
35176 eval "$as_ac_var=no"
35178 rm -f conftest.err conftest.
$ac_objext \
35179 conftest
$ac_exeext conftest.
$ac_ext
35181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35183 if test `eval echo '${'$as_ac_var'}'` = yes; then
35184 cat >>confdefs.h
<<_ACEOF
35185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35192 if test "$ac_cv_func_localtime" = "yes"; then
35193 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35194 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35195 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35196 echo $ECHO_N "(cached) $ECHO_C" >&6
35199 cat >conftest.
$ac_ext <<_ACEOF
35202 cat confdefs.h
>>conftest.
$ac_ext
35203 cat >>conftest.
$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35219 rm -f conftest.
$ac_objext
35220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35221 (eval $ac_compile) 2>conftest.er1
35223 grep -v '^ *+' conftest.er1
>conftest.err
35225 cat conftest.err
>&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } &&
35228 { ac_try
='test -z "$ac_c_werror_flag"
35229 || test ! -s conftest.err'
35230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35231 (eval $ac_try) 2>&5
35233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 (exit $ac_status); }; } &&
35235 { ac_try
='test -s conftest.$ac_objext'
35236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 (eval $ac_try) 2>&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); }; }; then
35242 wx_cv_struct_tm_has_gmtoff
=yes
35245 echo "$as_me: failed program was:" >&5
35246 sed 's/^/| /' conftest.
$ac_ext >&5
35248 wx_cv_struct_tm_has_gmtoff
=no
35251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35254 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35255 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35258 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35259 cat >>confdefs.h
<<\_ACEOF
35260 #define WX_GMTOFF_IN_TM 1
35267 for ac_func
in gettimeofday ftime
35269 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35270 echo "$as_me:$LINENO: checking for $ac_func" >&5
35271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35272 if eval "test \"\${$as_ac_var+set}\" = set"; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 cat >conftest.
$ac_ext <<_ACEOF
35278 cat confdefs.h
>>conftest.
$ac_ext
35279 cat >>conftest.
$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define $ac_func innocuous_$ac_func
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char $ac_func (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35291 # include <limits.h>
35293 # include <assert.h>
35298 /* Override any gcc2 internal prototype to avoid an error. */
35303 /* We use char because int might match the return type of a gcc2
35304 builtin and then its argument prototype would still apply. */
35306 /* The GNU C library defines this for functions which it implements
35307 to always fail with ENOSYS. Some functions are actually named
35308 something starting with __ and the normal name is an alias. */
35309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35312 char (*f) () = $ac_func;
35321 return f != $ac_func;
35326 rm -f conftest.
$ac_objext conftest
$ac_exeext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35328 (eval $ac_link) 2>conftest.er1
35330 grep -v '^ *+' conftest.er1
>conftest.err
35332 cat conftest.err
>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try
='test -z "$ac_c_werror_flag"
35336 || test ! -s conftest.err'
35337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35338 (eval $ac_try) 2>&5
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); }; } &&
35342 { ac_try
='test -s conftest$ac_exeext'
35343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35344 (eval $ac_try) 2>&5
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); }; }; then
35348 eval "$as_ac_var=yes"
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.
$ac_ext >&5
35353 eval "$as_ac_var=no"
35355 rm -f conftest.err conftest.
$ac_objext \
35356 conftest
$ac_exeext conftest.
$ac_ext
35358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35360 if test `eval echo '${'$as_ac_var'}'` = yes; then
35361 cat >>confdefs.h
<<_ACEOF
35362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35369 if test "$ac_cv_func_gettimeofday" = "yes"; then
35370 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35371 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35372 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35373 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 ac_cpp
='$CXXCPP $CPPFLAGS'
35380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35385 cat >conftest.
$ac_ext <<_ACEOF
35388 cat confdefs.h
>>conftest.
$ac_ext
35389 cat >>conftest.
$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35392 #include <sys/time.h>
35393 #include <unistd.h>
35400 gettimeofday(&tv, NULL);
35406 rm -f conftest.
$ac_objext
35407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35408 (eval $ac_compile) 2>conftest.er1
35410 grep -v '^ *+' conftest.er1
>conftest.err
35412 cat conftest.err
>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } &&
35415 { ac_try
='test -z "$ac_cxx_werror_flag"
35416 || test ! -s conftest.err'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; } &&
35422 { ac_try
='test -s conftest.$ac_objext'
35423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35424 (eval $ac_try) 2>&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); }; }; then
35428 wx_cv_func_gettimeofday_has_2_args
=yes
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.
$ac_ext >&5
35433 cat >conftest.
$ac_ext <<_ACEOF
35436 cat confdefs.h
>>conftest.
$ac_ext
35437 cat >>conftest.
$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35440 #include <sys/time.h>
35441 #include <unistd.h>
35454 rm -f conftest.
$ac_objext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35456 (eval $ac_compile) 2>conftest.er1
35458 grep -v '^ *+' conftest.er1
>conftest.err
35460 cat conftest.err
>&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try
='test -z "$ac_cxx_werror_flag"
35464 || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try
='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 wx_cv_func_gettimeofday_has_2_args
=no
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.
$ac_ext >&5
35482 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35483 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35484 wx_cv_func_gettimeofday_has_2_args
=unknown
35488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35493 ac_cpp
='$CPP $CPPFLAGS'
35494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35500 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35501 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35503 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35504 cat >>confdefs.h
<<\_ACEOF
35505 #define WX_GETTIMEOFDAY_NO_TZ 1
35511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35515 if test "$wxUSE_SOCKETS" = "yes"; then
35516 if test "$wxUSE_MGL" = "1"; then
35517 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35518 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35523 if test "$wxUSE_SOCKETS" = "yes"; then
35524 if test "$TOOLKIT" != "MSW"; then
35525 echo "$as_me:$LINENO: checking for socket" >&5
35526 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35527 if test "${ac_cv_func_socket+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 cat >conftest.
$ac_ext <<_ACEOF
35533 cat confdefs.h
>>conftest.
$ac_ext
35534 cat >>conftest.
$ac_ext <<_ACEOF
35535 /* end confdefs.h. */
35536 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35538 #define socket innocuous_socket
35540 /* System header to define __stub macros and hopefully few prototypes,
35541 which can conflict with char socket (); below.
35542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35543 <limits.h> exists even on freestanding compilers. */
35546 # include <limits.h>
35548 # include <assert.h>
35553 /* Override any gcc2 internal prototype to avoid an error. */
35558 /* We use char because int might match the return type of a gcc2
35559 builtin and then its argument prototype would still apply. */
35561 /* The GNU C library defines this for functions which it implements
35562 to always fail with ENOSYS. Some functions are actually named
35563 something starting with __ and the normal name is an alias. */
35564 #if defined (__stub_socket) || defined (__stub___socket)
35567 char (*f) () = socket;
35576 return f != socket;
35581 rm -f conftest.
$ac_objext conftest
$ac_exeext
35582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35583 (eval $ac_link) 2>conftest.er1
35585 grep -v '^ *+' conftest.er1
>conftest.err
35587 cat conftest.err
>&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } &&
35590 { ac_try
='test -z "$ac_c_werror_flag"
35591 || test ! -s conftest.err'
35592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35593 (eval $ac_try) 2>&5
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; } &&
35597 { ac_try
='test -s conftest$ac_exeext'
35598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35599 (eval $ac_try) 2>&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); }; }; then
35603 ac_cv_func_socket
=yes
35605 echo "$as_me: failed program was:" >&5
35606 sed 's/^/| /' conftest.
$ac_ext >&5
35608 ac_cv_func_socket
=no
35610 rm -f conftest.err conftest.
$ac_objext \
35611 conftest
$ac_exeext conftest.
$ac_ext
35613 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35614 echo "${ECHO_T}$ac_cv_func_socket" >&6
35615 if test $ac_cv_func_socket = yes; then
35619 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35620 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35621 if test "${ac_cv_lib_socket_socket+set}" = set; then
35622 echo $ECHO_N "(cached) $ECHO_C" >&6
35624 ac_check_lib_save_LIBS
=$LIBS
35625 LIBS
="-lsocket $LIBS"
35626 cat >conftest.
$ac_ext <<_ACEOF
35629 cat confdefs.h
>>conftest.
$ac_ext
35630 cat >>conftest.
$ac_ext <<_ACEOF
35631 /* end confdefs.h. */
35633 /* Override any gcc2 internal prototype to avoid an error. */
35637 /* We use char because int might match the return type of a gcc2
35638 builtin and then its argument prototype would still apply. */
35648 rm -f conftest.
$ac_objext conftest
$ac_exeext
35649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35650 (eval $ac_link) 2>conftest.er1
35652 grep -v '^ *+' conftest.er1
>conftest.err
35654 cat conftest.err
>&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } &&
35657 { ac_try
='test -z "$ac_c_werror_flag"
35658 || test ! -s conftest.err'
35659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35660 (eval $ac_try) 2>&5
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); }; } &&
35664 { ac_try
='test -s conftest$ac_exeext'
35665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35666 (eval $ac_try) 2>&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); }; }; then
35670 ac_cv_lib_socket_socket
=yes
35672 echo "$as_me: failed program was:" >&5
35673 sed 's/^/| /' conftest.
$ac_ext >&5
35675 ac_cv_lib_socket_socket
=no
35677 rm -f conftest.err conftest.
$ac_objext \
35678 conftest
$ac_exeext conftest.
$ac_ext
35679 LIBS
=$ac_check_lib_save_LIBS
35681 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35682 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35683 if test $ac_cv_lib_socket_socket = yes; then
35684 if test "$INET_LINK" != " -lsocket"; then
35685 INET_LINK
="$INET_LINK -lsocket"
35689 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35690 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35703 if test "$wxUSE_SOCKETS" = "yes" ; then
35704 if test "$TOOLKIT" != "MSW"; then
35705 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35706 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35707 if test "${wx_cv_type_getsockname3+set}" = set; then
35708 echo $ECHO_N "(cached) $ECHO_C" >&6
35711 cat >conftest.
$ac_ext <<_ACEOF
35714 cat confdefs.h
>>conftest.
$ac_ext
35715 cat >>conftest.
$ac_ext <<_ACEOF
35716 /* end confdefs.h. */
35718 #include <sys/types.h>
35719 #include <sys/socket.h>
35726 getsockname(0, 0, &len);
35732 rm -f conftest.
$ac_objext
35733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35734 (eval $ac_compile) 2>conftest.er1
35736 grep -v '^ *+' conftest.er1
>conftest.err
35738 cat conftest.err
>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); } &&
35741 { ac_try
='test -z "$ac_c_werror_flag"
35742 || test ! -s conftest.err'
35743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35744 (eval $ac_try) 2>&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); }; } &&
35748 { ac_try
='test -s conftest.$ac_objext'
35749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35750 (eval $ac_try) 2>&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); }; }; then
35754 wx_cv_type_getsockname3
=socklen_t
35756 echo "$as_me: failed program was:" >&5
35757 sed 's/^/| /' conftest.
$ac_ext >&5
35760 CFLAGS_OLD
="$CFLAGS"
35761 if test "$GCC" = yes ; then
35762 CFLAGS
="$CFLAGS -Werror"
35765 cat >conftest.
$ac_ext <<_ACEOF
35768 cat confdefs.h
>>conftest.
$ac_ext
35769 cat >>conftest.
$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35772 #include <sys/types.h>
35773 #include <sys/socket.h>
35780 getsockname(0, 0, &len);
35786 rm -f conftest.
$ac_objext
35787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35788 (eval $ac_compile) 2>conftest.er1
35790 grep -v '^ *+' conftest.er1
>conftest.err
35792 cat conftest.err
>&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } &&
35795 { ac_try
='test -z "$ac_c_werror_flag"
35796 || test ! -s conftest.err'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; } &&
35802 { ac_try
='test -s conftest.$ac_objext'
35803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35804 (eval $ac_try) 2>&5
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); }; }; then
35808 wx_cv_type_getsockname3
=size_t
35810 echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.
$ac_ext >&5
35813 cat >conftest.
$ac_ext <<_ACEOF
35816 cat confdefs.h
>>conftest.
$ac_ext
35817 cat >>conftest.
$ac_ext <<_ACEOF
35818 /* end confdefs.h. */
35820 #include <sys/types.h>
35821 #include <sys/socket.h>
35828 getsockname(0, 0, &len);
35834 rm -f conftest.
$ac_objext
35835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35836 (eval $ac_compile) 2>conftest.er1
35838 grep -v '^ *+' conftest.er1
>conftest.err
35840 cat conftest.err
>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } &&
35843 { ac_try
='test -z "$ac_c_werror_flag"
35844 || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try
='test -s conftest.$ac_objext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 wx_cv_type_getsockname3
=int
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.
$ac_ext >&5
35861 wx_cv_type_getsockname3
=unknown
35864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35869 CFLAGS
="$CFLAGS_OLD"
35873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35876 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35877 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35879 if test "$wx_cv_type_getsockname3" = "unknown"; then
35881 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35882 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35884 cat >>confdefs.h
<<_ACEOF
35885 #define SOCKLEN_T $wx_cv_type_getsockname3
35892 if test "$wxUSE_SOCKETS" = "yes" ; then
35893 cat >>confdefs.h
<<\_ACEOF
35894 #define wxUSE_SOCKETS 1
35897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35900 if test "$wxUSE_PROTOCOL" = "yes"; then
35901 if test "$wxUSE_SOCKETS" != "yes"; then
35902 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35903 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35908 if test "$wxUSE_PROTOCOL" = "yes"; then
35909 cat >>confdefs.h
<<\_ACEOF
35910 #define wxUSE_PROTOCOL 1
35914 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35915 cat >>confdefs.h
<<\_ACEOF
35916 #define wxUSE_PROTOCOL_HTTP 1
35920 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35921 cat >>confdefs.h
<<\_ACEOF
35922 #define wxUSE_PROTOCOL_FTP 1
35926 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35927 cat >>confdefs.h
<<\_ACEOF
35928 #define wxUSE_PROTOCOL_FILE 1
35933 if test "$wxUSE_FS_INET" = "yes"; then
35934 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35935 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35940 if test "$wxUSE_URL" = "yes"; then
35941 if test "$wxUSE_PROTOCOL" != "yes"; then
35942 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35943 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35946 if test "$wxUSE_URL" = "yes"; then
35947 cat >>confdefs.h
<<\_ACEOF
35948 #define wxUSE_URL 1
35954 if test "$wxUSE_FS_INET" = "yes"; then
35955 cat >>confdefs.h
<<\_ACEOF
35956 #define wxUSE_FS_INET 1
35962 if test "$wxUSE_GUI" = "yes"; then
35964 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35965 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35966 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35970 if test "$TOOLKIT" != "MSW"; then
35971 if test "$wxUSE_JOYSTICK" = "yes"; then
35973 for ac_header
in linux
/joystick.h
35975 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35977 echo "$as_me:$LINENO: checking for $ac_header" >&5
35978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35985 # Is the header compilable?
35986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35988 cat >conftest.
$ac_ext <<_ACEOF
35991 cat confdefs.h
>>conftest.
$ac_ext
35992 cat >>conftest.
$ac_ext <<_ACEOF
35993 /* end confdefs.h. */
35994 $ac_includes_default
35995 #include <$ac_header>
35997 rm -f conftest.
$ac_objext
35998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35999 (eval $ac_compile) 2>conftest.er1
36001 grep -v '^ *+' conftest.er1
>conftest.err
36003 cat conftest.err
>&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } &&
36006 { ac_try
='test -z "$ac_c_werror_flag"
36007 || test ! -s conftest.err'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; } &&
36013 { ac_try
='test -s conftest.$ac_objext'
36014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36015 (eval $ac_try) 2>&5
36017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018 (exit $ac_status); }; }; then
36019 ac_header_compiler
=yes
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.
$ac_ext >&5
36024 ac_header_compiler
=no
36026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36028 echo "${ECHO_T}$ac_header_compiler" >&6
36030 # Is the header present?
36031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36033 cat >conftest.
$ac_ext <<_ACEOF
36036 cat confdefs.h
>>conftest.
$ac_ext
36037 cat >>conftest.
$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039 #include <$ac_header>
36041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36044 grep -v '^ *+' conftest.er1
>conftest.err
36046 cat conftest.err
>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } >/dev
/null
; then
36049 if test -s conftest.err
; then
36050 ac_cpp_err
=$ac_c_preproc_warn_flag
36051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36058 if test -z "$ac_cpp_err"; then
36059 ac_header_preproc
=yes
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.
$ac_ext >&5
36064 ac_header_preproc
=no
36066 rm -f conftest.err conftest.
$ac_ext
36067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36068 echo "${ECHO_T}$ac_header_preproc" >&6
36070 # So? What about this header?
36071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36077 ac_header_preproc
=yes
36080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36094 ## ----------------------------------------- ##
36095 ## Report this to wx-dev@lists.wxwindows.org ##
36096 ## ----------------------------------------- ##
36099 sed "s/^/$as_me: WARNING: /" >&2
36102 echo "$as_me:$LINENO: checking for $ac_header" >&5
36103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36105 echo $ECHO_N "(cached) $ECHO_C" >&6
36107 eval "$as_ac_Header=\$ac_header_preproc"
36109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36114 cat >>confdefs.h
<<_ACEOF
36115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36122 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36124 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36125 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36130 if test "$wxUSE_JOYSTICK" = "yes"; then
36131 cat >>confdefs.h
<<\_ACEOF
36132 #define wxUSE_JOYSTICK 1
36135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36142 if test "$wxUSE_FONTMAP" = "yes" ; then
36143 cat >>confdefs.h
<<\_ACEOF
36144 #define wxUSE_FONTMAP 1
36149 if test "$wxUSE_UNICODE" = "yes" ; then
36150 cat >>confdefs.h
<<\_ACEOF
36151 #define wxUSE_UNICODE 1
36155 if test "$USE_WIN32" != 1; then
36156 wxUSE_UNICODE_MSLU
=no
36159 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36160 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36161 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36162 if test "${ac_cv_lib_unicows_main+set}" = set; then
36163 echo $ECHO_N "(cached) $ECHO_C" >&6
36165 ac_check_lib_save_LIBS
=$LIBS
36166 LIBS
="-lunicows $LIBS"
36167 cat >conftest.
$ac_ext <<_ACEOF
36170 cat confdefs.h
>>conftest.
$ac_ext
36171 cat >>conftest.
$ac_ext <<_ACEOF
36172 /* end confdefs.h. */
36183 rm -f conftest.
$ac_objext conftest
$ac_exeext
36184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36185 (eval $ac_link) 2>conftest.er1
36187 grep -v '^ *+' conftest.er1
>conftest.err
36189 cat conftest.err
>&5
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); } &&
36192 { ac_try
='test -z "$ac_c_werror_flag"
36193 || test ! -s conftest.err'
36194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195 (eval $ac_try) 2>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); }; } &&
36199 { ac_try
='test -s conftest$ac_exeext'
36200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36201 (eval $ac_try) 2>&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); }; }; then
36205 ac_cv_lib_unicows_main
=yes
36207 echo "$as_me: failed program was:" >&5
36208 sed 's/^/| /' conftest.
$ac_ext >&5
36210 ac_cv_lib_unicows_main
=no
36212 rm -f conftest.err conftest.
$ac_objext \
36213 conftest
$ac_exeext conftest.
$ac_ext
36214 LIBS
=$ac_check_lib_save_LIBS
36216 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36217 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36218 if test $ac_cv_lib_unicows_main = yes; then
36220 cat >>confdefs.h
<<\_ACEOF
36221 #define wxUSE_UNICODE_MSLU 1
36227 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36228 Applications will only run on Windows NT/2000/XP!" >&5
36229 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36230 Applications will only run on Windows NT/2000/XP!" >&2;}
36231 wxUSE_UNICODE_MSLU
=no
36238 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36239 cat >>confdefs.h
<<\_ACEOF
36240 #define wxUSE_EXPERIMENTAL_PRINTF 1
36246 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36247 cat >>confdefs.h
<<\_ACEOF
36248 #define wxUSE_POSTSCRIPT 1
36253 cat >>confdefs.h
<<\_ACEOF
36254 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36258 cat >>confdefs.h
<<\_ACEOF
36259 #define wxUSE_NORMALIZED_PS_FONTS 1
36264 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36265 cat >>confdefs.h
<<\_ACEOF
36266 #define wxUSE_CONSTRAINTS 1
36269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36272 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36273 cat >>confdefs.h
<<\_ACEOF
36274 #define wxUSE_MDI_ARCHITECTURE 1
36277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36280 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36281 cat >>confdefs.h
<<\_ACEOF
36282 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36286 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36291 if test "$wxUSE_HELP" = "yes"; then
36292 cat >>confdefs.h
<<\_ACEOF
36293 #define wxUSE_HELP 1
36296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36298 if test "$wxUSE_MSW" = 1; then
36299 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36300 cat >>confdefs.h
<<\_ACEOF
36301 #define wxUSE_MS_HTML_HELP 1
36307 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36308 if test "$wxUSE_HTML" = "yes"; then
36309 cat >>confdefs.h
<<\_ACEOF
36310 #define wxUSE_WXHTML_HELP 1
36314 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36315 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36316 wxUSE_WXHTML_HELP
=no
36321 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36322 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36323 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36324 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36326 cat >>confdefs.h
<<\_ACEOF
36327 #define wxUSE_PRINTING_ARCHITECTURE 1
36331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36334 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36335 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36336 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36337 { (exit 1); exit 1; }; }
36341 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36342 -o "$wxUSE_CLIPBOARD" = "yes" \
36343 -o "$wxUSE_OLE" = "yes" \
36344 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36346 for ac_header
in ole2.h
36348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36350 echo "$as_me:$LINENO: checking for $ac_header" >&5
36351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36353 echo $ECHO_N "(cached) $ECHO_C" >&6
36355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36358 # Is the header compilable?
36359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36361 cat >conftest.
$ac_ext <<_ACEOF
36364 cat confdefs.h
>>conftest.
$ac_ext
36365 cat >>conftest.
$ac_ext <<_ACEOF
36366 /* end confdefs.h. */
36367 $ac_includes_default
36368 #include <$ac_header>
36370 rm -f conftest.
$ac_objext
36371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36372 (eval $ac_compile) 2>conftest.er1
36374 grep -v '^ *+' conftest.er1
>conftest.err
36376 cat conftest.err
>&5
36377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36378 (exit $ac_status); } &&
36379 { ac_try
='test -z "$ac_c_werror_flag"
36380 || test ! -s conftest.err'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; } &&
36386 { ac_try
='test -s conftest.$ac_objext'
36387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36388 (eval $ac_try) 2>&5
36390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391 (exit $ac_status); }; }; then
36392 ac_header_compiler
=yes
36394 echo "$as_me: failed program was:" >&5
36395 sed 's/^/| /' conftest.
$ac_ext >&5
36397 ac_header_compiler
=no
36399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36401 echo "${ECHO_T}$ac_header_compiler" >&6
36403 # Is the header present?
36404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36406 cat >conftest.
$ac_ext <<_ACEOF
36409 cat confdefs.h
>>conftest.
$ac_ext
36410 cat >>conftest.
$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 #include <$ac_header>
36414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36417 grep -v '^ *+' conftest.er1
>conftest.err
36419 cat conftest.err
>&5
36420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 (exit $ac_status); } >/dev
/null
; then
36422 if test -s conftest.err
; then
36423 ac_cpp_err
=$ac_c_preproc_warn_flag
36424 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36431 if test -z "$ac_cpp_err"; then
36432 ac_header_preproc
=yes
36434 echo "$as_me: failed program was:" >&5
36435 sed 's/^/| /' conftest.
$ac_ext >&5
36437 ac_header_preproc
=no
36439 rm -f conftest.err conftest.
$ac_ext
36440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36441 echo "${ECHO_T}$ac_header_preproc" >&6
36443 # So? What about this header?
36444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36450 ac_header_preproc
=yes
36453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36467 ## ----------------------------------------- ##
36468 ## Report this to wx-dev@lists.wxwindows.org ##
36469 ## ----------------------------------------- ##
36472 sed "s/^/$as_me: WARNING: /" >&2
36475 echo "$as_me:$LINENO: checking for $ac_header" >&5
36476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36478 echo $ECHO_N "(cached) $ECHO_C" >&6
36480 eval "$as_ac_Header=\$ac_header_preproc"
36482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36487 cat >>confdefs.h
<<_ACEOF
36488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36496 if test "$ac_cv_header_ole2_h" = "yes" ; then
36497 if test "$GCC" = yes ; then
36501 ac_cpp
='$CXXCPP $CPPFLAGS'
36502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36507 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36508 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36509 cat >conftest.
$ac_ext <<_ACEOF
36512 cat confdefs.h
>>conftest.
$ac_ext
36513 cat >>conftest.
$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36515 #include <windows.h>
36525 rm -f conftest.
$ac_objext
36526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36527 (eval $ac_compile) 2>conftest.er1
36529 grep -v '^ *+' conftest.er1
>conftest.err
36531 cat conftest.err
>&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); } &&
36534 { ac_try
='test -z "$ac_cxx_werror_flag"
36535 || test ! -s conftest.err'
36536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36537 (eval $ac_try) 2>&5
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; } &&
36541 { ac_try
='test -s conftest.$ac_objext'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; }; then
36547 echo "$as_me:$LINENO: result: no" >&5
36548 echo "${ECHO_T}no" >&6
36550 echo "$as_me: failed program was:" >&5
36551 sed 's/^/| /' conftest.
$ac_ext >&5
36553 echo "$as_me:$LINENO: result: yes" >&5
36554 echo "${ECHO_T}yes" >&6
36555 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36559 ac_cpp
='$CPP $CPPFLAGS'
36560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36564 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36565 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36566 if test "$wxUSE_OLE" = "yes" ; then
36567 cat >>confdefs.h
<<\_ACEOF
36568 #define wxUSE_OLE 1
36574 if test "$wxUSE_DATAOBJ" = "yes" ; then
36575 cat >>confdefs.h
<<\_ACEOF
36576 #define wxUSE_DATAOBJ 1
36581 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36582 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36585 wxUSE_DRAG_AND_DROP
=no
36590 if test "$wxUSE_METAFILE" = "yes"; then
36591 cat >>confdefs.h
<<\_ACEOF
36592 #define wxUSE_METAFILE 1
36596 cat >>confdefs.h
<<\_ACEOF
36597 #define wxUSE_ENH_METAFILE 1
36603 if test "$wxUSE_IPC" = "yes"; then
36604 if test "$wxUSE_SOCKETS" != "yes"; then
36605 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36606 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36609 cat >>confdefs.h
<<\_ACEOF
36610 #define wxUSE_IPC 1
36615 if test "$wxUSE_CLIPBOARD" = "yes"; then
36616 if test "$wxUSE_MGL" = 1; then
36617 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36618 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36622 if test "$wxUSE_CLIPBOARD" = "yes"; then
36623 cat >>confdefs.h
<<\_ACEOF
36624 #define wxUSE_CLIPBOARD 1
36628 cat >>confdefs.h
<<\_ACEOF
36629 #define wxUSE_DATAOBJ 1
36635 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36636 if test "$wxUSE_GTK" = 1; then
36637 if test "$WXGTK12" != 1; then
36638 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36639 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36640 wxUSE_DRAG_AND_DROP
=no
36644 if test "$wxUSE_MOTIF" = 1; then
36645 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36646 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36647 wxUSE_DRAG_AND_DROP
=no
36650 if test "$wxUSE_X11" = 1; then
36651 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36652 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36653 wxUSE_DRAG_AND_DROP
=no
36656 if test "$wxUSE_MGL" = 1; then
36657 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36658 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36659 wxUSE_DRAG_AND_DROP
=no
36662 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36663 cat >>confdefs.h
<<\_ACEOF
36664 #define wxUSE_DRAG_AND_DROP 1
36667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36672 if test "$wxUSE_SPLINES" = "yes" ; then
36673 cat >>confdefs.h
<<\_ACEOF
36674 #define wxUSE_SPLINES 1
36681 if test "$wxUSE_CONTROLS" = "yes"; then
36685 if test "$wxUSE_ACCEL" = "yes"; then
36686 cat >>confdefs.h
<<\_ACEOF
36687 #define wxUSE_ACCEL 1
36693 if test "$wxUSE_BUTTON" = "yes"; then
36694 cat >>confdefs.h
<<\_ACEOF
36695 #define wxUSE_BUTTON 1
36701 if test "$wxUSE_BMPBUTTON" = "yes"; then
36702 cat >>confdefs.h
<<\_ACEOF
36703 #define wxUSE_BMPBUTTON 1
36709 if test "$wxUSE_CALCTRL" = "yes"; then
36710 cat >>confdefs.h
<<\_ACEOF
36711 #define wxUSE_CALENDARCTRL 1
36715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36718 if test "$wxUSE_CARET" = "yes"; then
36719 cat >>confdefs.h
<<\_ACEOF
36720 #define wxUSE_CARET 1
36724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36727 if test "$wxUSE_COMBOBOX" = "yes"; then
36728 cat >>confdefs.h
<<\_ACEOF
36729 #define wxUSE_COMBOBOX 1
36735 if test "$wxUSE_CHOICE" = "yes"; then
36736 cat >>confdefs.h
<<\_ACEOF
36737 #define wxUSE_CHOICE 1
36743 if test "$wxUSE_CHECKBOX" = "yes"; then
36744 cat >>confdefs.h
<<\_ACEOF
36745 #define wxUSE_CHECKBOX 1
36751 if test "$wxUSE_CHECKLST" = "yes"; then
36752 cat >>confdefs.h
<<\_ACEOF
36753 #define wxUSE_CHECKLISTBOX 1
36757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36760 if test "$wxUSE_DISPLAY" = "yes"; then
36761 cat >>confdefs.h
<<\_ACEOF
36762 #define wxUSE_DISPLAY 1
36765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36768 if test "$wxUSE_GAUGE" = "yes"; then
36769 cat >>confdefs.h
<<\_ACEOF
36770 #define wxUSE_GAUGE 1
36776 if test "$wxUSE_GRID" = "yes"; then
36777 cat >>confdefs.h
<<\_ACEOF
36778 #define wxUSE_GRID 1
36782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36785 if test "$wxUSE_IMAGLIST" = "yes"; then
36786 cat >>confdefs.h
<<\_ACEOF
36787 #define wxUSE_IMAGLIST 1
36792 if test "$wxUSE_LISTBOOK" = "yes"; then
36793 cat >>confdefs.h
<<\_ACEOF
36794 #define wxUSE_LISTBOOK 1
36800 if test "$wxUSE_LISTBOX" = "yes"; then
36801 cat >>confdefs.h
<<\_ACEOF
36802 #define wxUSE_LISTBOX 1
36808 if test "$wxUSE_LISTCTRL" = "yes"; then
36809 if test "$wxUSE_IMAGLIST" = "yes"; then
36810 cat >>confdefs.h
<<\_ACEOF
36811 #define wxUSE_LISTCTRL 1
36815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36817 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36818 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36822 if test "$wxUSE_NOTEBOOK" = "yes"; then
36823 cat >>confdefs.h
<<\_ACEOF
36824 #define wxUSE_NOTEBOOK 1
36828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36832 if test "$wxUSE_RADIOBOX" = "yes"; then
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define wxUSE_RADIOBOX 1
36840 if test "$wxUSE_RADIOBTN" = "yes"; then
36841 cat >>confdefs.h
<<\_ACEOF
36842 #define wxUSE_RADIOBTN 1
36848 if test "$wxUSE_SASH" = "yes"; then
36849 cat >>confdefs.h
<<\_ACEOF
36850 #define wxUSE_SASH 1
36853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36856 if test "$wxUSE_SCROLLBAR" = "yes"; then
36857 cat >>confdefs.h
<<\_ACEOF
36858 #define wxUSE_SCROLLBAR 1
36862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36865 if test "$wxUSE_SLIDER" = "yes"; then
36866 cat >>confdefs.h
<<\_ACEOF
36867 #define wxUSE_SLIDER 1
36873 if test "$wxUSE_SPINBTN" = "yes"; then
36874 cat >>confdefs.h
<<\_ACEOF
36875 #define wxUSE_SPINBTN 1
36881 if test "$wxUSE_SPINCTRL" = "yes"; then
36882 cat >>confdefs.h
<<\_ACEOF
36883 #define wxUSE_SPINCTRL 1
36889 if test "$wxUSE_SPLITTER" = "yes"; then
36890 cat >>confdefs.h
<<\_ACEOF
36891 #define wxUSE_SPLITTER 1
36894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36897 if test "$wxUSE_STATBMP" = "yes"; then
36898 cat >>confdefs.h
<<\_ACEOF
36899 #define wxUSE_STATBMP 1
36905 if test "$wxUSE_STATBOX" = "yes"; then
36906 cat >>confdefs.h
<<\_ACEOF
36907 #define wxUSE_STATBOX 1
36913 if test "$wxUSE_STATTEXT" = "yes"; then
36914 cat >>confdefs.h
<<\_ACEOF
36915 #define wxUSE_STATTEXT 1
36921 if test "$wxUSE_STATLINE" = "yes"; then
36922 cat >>confdefs.h
<<\_ACEOF
36923 #define wxUSE_STATLINE 1
36929 if test "$wxUSE_STATUSBAR" = "yes"; then
36930 cat >>confdefs.h
<<\_ACEOF
36931 #define wxUSE_STATUSBAR 1
36936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36939 if test "$wxUSE_TABDIALOG" = "yes"; then
36940 cat >>confdefs.h
<<\_ACEOF
36941 #define wxUSE_TAB_DIALOG 1
36944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36947 if test "$wxUSE_TEXTCTRL" = "yes"; then
36948 cat >>confdefs.h
<<\_ACEOF
36949 #define wxUSE_TEXTCTRL 1
36953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36956 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36957 if test "$wxUSE_COCOA" = 1 ; then
36958 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36959 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36962 if test "$wxUSE_UNIVERSAL" = "yes"; then
36963 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36964 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36968 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36969 cat >>confdefs.h
<<\_ACEOF
36970 #define wxUSE_TOGGLEBTN 1
36977 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36978 cat >>confdefs.h
<<\_ACEOF
36979 #define wxUSE_TOOLBAR_SIMPLE 1
36982 wxUSE_TOOLBAR
="yes"
36986 if test "$wxUSE_TOOLBAR" = "yes"; then
36987 cat >>confdefs.h
<<\_ACEOF
36988 #define wxUSE_TOOLBAR 1
36993 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36994 wxUSE_TOOLBAR_NATIVE
="yes"
36997 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36998 cat >>confdefs.h
<<\_ACEOF
36999 #define wxUSE_TOOLBAR_NATIVE 1
37005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37008 if test "$wxUSE_TOOLTIPS" = "yes"; then
37009 if test "$wxUSE_MOTIF" = 1; then
37010 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37011 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37013 if test "$wxUSE_UNIVERSAL" = "yes"; then
37014 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37015 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37017 cat >>confdefs.h
<<\_ACEOF
37018 #define wxUSE_TOOLTIPS 1
37025 if test "$wxUSE_TREECTRL" = "yes"; then
37026 if test "$wxUSE_IMAGLIST" = "yes"; then
37027 cat >>confdefs.h
<<\_ACEOF
37028 #define wxUSE_TREECTRL 1
37032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37034 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37035 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37039 if test "$wxUSE_POPUPWIN" = "yes"; then
37040 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37041 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37042 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37044 if test "$wxUSE_PM" = 1; then
37045 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37046 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37048 cat >>confdefs.h
<<\_ACEOF
37049 #define wxUSE_POPUPWIN 1
37058 if test "$wxUSE_TIPWINDOW" = "yes"; then
37059 if test "$wxUSE_PM" = 1; then
37060 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37061 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37063 cat >>confdefs.h
<<\_ACEOF
37064 #define wxUSE_TIPWINDOW 1
37070 if test "$USES_CONTROLS" = 1; then
37071 cat >>confdefs.h
<<\_ACEOF
37072 #define wxUSE_CONTROLS 1
37078 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37079 cat >>confdefs.h
<<\_ACEOF
37080 #define wxUSE_ACCESSIBILITY 1
37083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37086 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37087 cat >>confdefs.h
<<\_ACEOF
37088 #define wxUSE_DRAGIMAGE 1
37091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37094 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37095 cat >>confdefs.h
<<\_ACEOF
37096 #define wxUSE_EXCEPTIONS 1
37102 if test "$wxUSE_HTML" = "yes"; then
37103 cat >>confdefs.h
<<\_ACEOF
37104 #define wxUSE_HTML 1
37108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37111 if test "$wxUSE_MENUS" = "yes"; then
37112 cat >>confdefs.h
<<\_ACEOF
37113 #define wxUSE_MENUS 1
37116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37119 if test "$wxUSE_METAFILE" = "yes"; then
37120 cat >>confdefs.h
<<\_ACEOF
37121 #define wxUSE_METAFILE 1
37126 if test "$wxUSE_MIMETYPE" = "yes"; then
37127 cat >>confdefs.h
<<\_ACEOF
37128 #define wxUSE_MIMETYPE 1
37133 if test "$wxUSE_MINIFRAME" = "yes"; then
37134 cat >>confdefs.h
<<\_ACEOF
37135 #define wxUSE_MINIFRAME 1
37138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37141 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37142 cat >>confdefs.h
<<\_ACEOF
37143 #define wxUSE_SYSTEM_OPTIONS 1
37146 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37147 "$TOOLKIT" = "MOTIF"; then
37148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37153 if test "$wxUSE_VALIDATORS" = "yes"; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define wxUSE_VALIDATORS 1
37158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37161 if test "$wxUSE_PALETTE" = "yes" ; then
37162 cat >>confdefs.h
<<\_ACEOF
37163 #define wxUSE_PALETTE 1
37168 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37169 LIBS
=" -lunicows $LIBS"
37173 if test "$wxUSE_IMAGE" = "yes" ; then
37174 cat >>confdefs.h
<<\_ACEOF
37175 #define wxUSE_IMAGE 1
37179 if test "$wxUSE_GIF" = "yes" ; then
37180 cat >>confdefs.h
<<\_ACEOF
37181 #define wxUSE_GIF 1
37186 if test "$wxUSE_PCX" = "yes" ; then
37187 cat >>confdefs.h
<<\_ACEOF
37188 #define wxUSE_PCX 1
37193 if test "$wxUSE_IFF" = "yes" ; then
37194 cat >>confdefs.h
<<\_ACEOF
37195 #define wxUSE_IFF 1
37200 if test "$wxUSE_PNM" = "yes" ; then
37201 cat >>confdefs.h
<<\_ACEOF
37202 #define wxUSE_PNM 1
37207 if test "$wxUSE_XPM" = "yes" ; then
37208 cat >>confdefs.h
<<\_ACEOF
37209 #define wxUSE_XPM 1
37214 if test "$wxUSE_ICO_CUR" = "yes" ; then
37215 cat >>confdefs.h
<<\_ACEOF
37216 #define wxUSE_ICO_CUR 1
37223 if test "$wxUSE_CHOICEDLG" = "yes"; then
37224 cat >>confdefs.h
<<\_ACEOF
37225 #define wxUSE_CHOICEDLG 1
37230 if test "$wxUSE_COLOURDLG" = "yes"; then
37231 cat >>confdefs.h
<<\_ACEOF
37232 #define wxUSE_COLOURDLG 1
37237 if test "$wxUSE_FILEDLG" = "yes"; then
37238 cat >>confdefs.h
<<\_ACEOF
37239 #define wxUSE_FILEDLG 1
37244 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37245 cat >>confdefs.h
<<\_ACEOF
37246 #define wxUSE_FINDREPLDLG 1
37251 if test "$wxUSE_FONTDLG" = "yes"; then
37252 cat >>confdefs.h
<<\_ACEOF
37253 #define wxUSE_FONTDLG 1
37258 if test "$wxUSE_DIRDLG" = "yes"; then
37259 if test "$wxUSE_TREECTRL" != "yes"; then
37260 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37261 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37263 cat >>confdefs.h
<<\_ACEOF
37264 #define wxUSE_DIRDLG 1
37270 if test "$wxUSE_MSGDLG" = "yes"; then
37271 cat >>confdefs.h
<<\_ACEOF
37272 #define wxUSE_MSGDLG 1
37277 if test "$wxUSE_NUMBERDLG" = "yes"; then
37278 cat >>confdefs.h
<<\_ACEOF
37279 #define wxUSE_NUMBERDLG 1
37284 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37285 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37286 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37287 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37289 cat >>confdefs.h
<<\_ACEOF
37290 #define wxUSE_PROGRESSDLG 1
37296 if test "$wxUSE_SPLASH" = "yes"; then
37297 cat >>confdefs.h
<<\_ACEOF
37298 #define wxUSE_SPLASH 1
37303 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37304 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37305 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37306 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37308 cat >>confdefs.h
<<\_ACEOF
37309 #define wxUSE_STARTUP_TIPS 1
37315 if test "$wxUSE_TEXTDLG" = "yes"; then
37316 cat >>confdefs.h
<<\_ACEOF
37317 #define wxUSE_TEXTDLG 1
37322 if test "$wxUSE_WIZARDDLG" = "yes"; then
37323 cat >>confdefs.h
<<\_ACEOF
37324 #define wxUSE_WIZARDDLG 1
37327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37331 if test "$cross_compiling" = "yes"; then
37334 OSINFO
=`uname -s -r -m`
37335 OSINFO
="\"$OSINFO\""
37338 cat >>confdefs.h
<<_ACEOF
37339 #define WXWIN_OS_DESCRIPTION $OSINFO
37344 if test "x$prefix" != "xNONE"; then
37347 wxPREFIX
=$ac_default_prefix
37350 cat >>confdefs.h
<<_ACEOF
37351 #define wxINSTALL_PREFIX "$wxPREFIX"
37355 top_builddir_wxconfig
=`pwd`
37359 CORE_BASE_LIBS
="net base"
37360 CORE_GUI_LIBS
="adv core"
37362 if test "$wxUSE_XML" = "yes" ; then
37363 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37365 if test "$wxUSE_ODBC" != "no" ; then
37366 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37367 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37369 if test "$wxUSE_HTML" = "yes" ; then
37370 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37373 if test "$wxUSE_GUI" != "yes"; then
37384 if test "$wxUSE_MAC" = 1 ; then
37385 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37387 if test "$wxUSE_COCOA" = 1 ; then
37388 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37392 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37400 echo "$as_me:$LINENO: checking for $ac_func" >&5
37401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37402 if eval "test \"\${$as_ac_var+set}\" = set"; then
37403 echo $ECHO_N "(cached) $ECHO_C" >&6
37405 cat >conftest.
$ac_ext <<_ACEOF
37408 cat confdefs.h
>>conftest.
$ac_ext
37409 cat >>conftest.
$ac_ext <<_ACEOF
37410 /* end confdefs.h. */
37411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37413 #define $ac_func innocuous_$ac_func
37415 /* System header to define __stub macros and hopefully few prototypes,
37416 which can conflict with char $ac_func (); below.
37417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37418 <limits.h> exists even on freestanding compilers. */
37421 # include <limits.h>
37423 # include <assert.h>
37428 /* Override any gcc2 internal prototype to avoid an error. */
37433 /* We use char because int might match the return type of a gcc2
37434 builtin and then its argument prototype would still apply. */
37436 /* The GNU C library defines this for functions which it implements
37437 to always fail with ENOSYS. Some functions are actually named
37438 something starting with __ and the normal name is an alias. */
37439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37442 char (*f) () = $ac_func;
37451 return f != $ac_func;
37456 rm -f conftest.
$ac_objext conftest
$ac_exeext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37458 (eval $ac_link) 2>conftest.er1
37460 grep -v '^ *+' conftest.er1
>conftest.err
37462 cat conftest.err
>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try
='test -z "$ac_c_werror_flag"
37466 || test ! -s conftest.err'
37467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37468 (eval $ac_try) 2>&5
37470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 (exit $ac_status); }; } &&
37472 { ac_try
='test -s conftest$ac_exeext'
37473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37474 (eval $ac_try) 2>&5
37476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37477 (exit $ac_status); }; }; then
37478 eval "$as_ac_var=yes"
37480 echo "$as_me: failed program was:" >&5
37481 sed 's/^/| /' conftest.
$ac_ext >&5
37483 eval "$as_ac_var=no"
37485 rm -f conftest.err conftest.
$ac_objext \
37486 conftest
$ac_exeext conftest.
$ac_ext
37488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37490 if test `eval echo '${'$as_ac_var'}'` = yes; then
37491 cat >>confdefs.h
<<_ACEOF
37492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37499 for ac_func
in floor
37501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37502 echo "$as_me:$LINENO: checking for $ac_func" >&5
37503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37504 if eval "test \"\${$as_ac_var+set}\" = set"; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37507 cat >conftest.
$ac_ext <<_ACEOF
37510 cat confdefs.h
>>conftest.
$ac_ext
37511 cat >>conftest.
$ac_ext <<_ACEOF
37512 /* end confdefs.h. */
37513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37515 #define $ac_func innocuous_$ac_func
37517 /* System header to define __stub macros and hopefully few prototypes,
37518 which can conflict with char $ac_func (); below.
37519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37520 <limits.h> exists even on freestanding compilers. */
37523 # include <limits.h>
37525 # include <assert.h>
37530 /* Override any gcc2 internal prototype to avoid an error. */
37535 /* We use char because int might match the return type of a gcc2
37536 builtin and then its argument prototype would still apply. */
37538 /* The GNU C library defines this for functions which it implements
37539 to always fail with ENOSYS. Some functions are actually named
37540 something starting with __ and the normal name is an alias. */
37541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37544 char (*f) () = $ac_func;
37553 return f != $ac_func;
37558 rm -f conftest.
$ac_objext conftest
$ac_exeext
37559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37560 (eval $ac_link) 2>conftest.er1
37562 grep -v '^ *+' conftest.er1
>conftest.err
37564 cat conftest.err
>&5
37565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566 (exit $ac_status); } &&
37567 { ac_try
='test -z "$ac_c_werror_flag"
37568 || test ! -s conftest.err'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; } &&
37574 { ac_try
='test -s conftest$ac_exeext'
37575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576 (eval $ac_try) 2>&5
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); }; }; then
37580 eval "$as_ac_var=yes"
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.
$ac_ext >&5
37585 eval "$as_ac_var=no"
37587 rm -f conftest.err conftest.
$ac_objext \
37588 conftest
$ac_exeext conftest.
$ac_ext
37590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37592 if test `eval echo '${'$as_ac_var'}'` = yes; then
37593 cat >>confdefs.h
<<_ACEOF
37594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37600 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37601 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37602 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37603 echo "$as_me:$LINENO: result: yes" >&5
37604 echo "${ECHO_T}yes" >&6
37606 echo "$as_me:$LINENO: result: no" >&5
37607 echo "${ECHO_T}no" >&6
37609 # use different functions to avoid configure caching
37615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37616 echo "$as_me:$LINENO: checking for $ac_func" >&5
37617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37618 if eval "test \"\${$as_ac_var+set}\" = set"; then
37619 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 cat >conftest.
$ac_ext <<_ACEOF
37624 cat confdefs.h
>>conftest.
$ac_ext
37625 cat >>conftest.
$ac_ext <<_ACEOF
37626 /* end confdefs.h. */
37627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37629 #define $ac_func innocuous_$ac_func
37631 /* System header to define __stub macros and hopefully few prototypes,
37632 which can conflict with char $ac_func (); below.
37633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37634 <limits.h> exists even on freestanding compilers. */
37637 # include <limits.h>
37639 # include <assert.h>
37644 /* Override any gcc2 internal prototype to avoid an error. */
37649 /* We use char because int might match the return type of a gcc2
37650 builtin and then its argument prototype would still apply. */
37652 /* The GNU C library defines this for functions which it implements
37653 to always fail with ENOSYS. Some functions are actually named
37654 something starting with __ and the normal name is an alias. */
37655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37658 char (*f) () = $ac_func;
37667 return f != $ac_func;
37672 rm -f conftest.
$ac_objext conftest
$ac_exeext
37673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37674 (eval $ac_link) 2>conftest.er1
37676 grep -v '^ *+' conftest.er1
>conftest.err
37678 cat conftest.err
>&5
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); } &&
37681 { ac_try
='test -z "$ac_c_werror_flag"
37682 || test ! -s conftest.err'
37683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37684 (eval $ac_try) 2>&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); }; } &&
37688 { ac_try
='test -s conftest$ac_exeext'
37689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37690 (eval $ac_try) 2>&5
37692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693 (exit $ac_status); }; }; then
37694 eval "$as_ac_var=yes"
37696 echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.
$ac_ext >&5
37699 eval "$as_ac_var=no"
37701 rm -f conftest.err conftest.
$ac_objext \
37702 conftest
$ac_exeext conftest.
$ac_ext
37704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37706 if test `eval echo '${'$as_ac_var'}'` = yes; then
37707 cat >>confdefs.h
<<_ACEOF
37708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37715 for ac_func
in ceil
37717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37718 echo "$as_me:$LINENO: checking for $ac_func" >&5
37719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37720 if eval "test \"\${$as_ac_var+set}\" = set"; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37723 cat >conftest.
$ac_ext <<_ACEOF
37726 cat confdefs.h
>>conftest.
$ac_ext
37727 cat >>conftest.
$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37731 #define $ac_func innocuous_$ac_func
37733 /* System header to define __stub macros and hopefully few prototypes,
37734 which can conflict with char $ac_func (); below.
37735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37736 <limits.h> exists even on freestanding compilers. */
37739 # include <limits.h>
37741 # include <assert.h>
37746 /* Override any gcc2 internal prototype to avoid an error. */
37751 /* We use char because int might match the return type of a gcc2
37752 builtin and then its argument prototype would still apply. */
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37760 char (*f) () = $ac_func;
37769 return f != $ac_func;
37774 rm -f conftest.
$ac_objext conftest
$ac_exeext
37775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37776 (eval $ac_link) 2>conftest.er1
37778 grep -v '^ *+' conftest.er1
>conftest.err
37780 cat conftest.err
>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } &&
37783 { ac_try
='test -z "$ac_c_werror_flag"
37784 || test ! -s conftest.err'
37785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37786 (eval $ac_try) 2>&5
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); }; } &&
37790 { ac_try
='test -s conftest$ac_exeext'
37791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37792 (eval $ac_try) 2>&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); }; }; then
37796 eval "$as_ac_var=yes"
37798 echo "$as_me: failed program was:" >&5
37799 sed 's/^/| /' conftest.
$ac_ext >&5
37801 eval "$as_ac_var=no"
37803 rm -f conftest.err conftest.
$ac_objext \
37804 conftest
$ac_exeext conftest.
$ac_ext
37806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37808 if test `eval echo '${'$as_ac_var'}'` = yes; then
37809 cat >>confdefs.h
<<_ACEOF
37810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37816 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37817 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37818 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37819 echo "$as_me:$LINENO: result: yes" >&5
37820 echo "${ECHO_T}yes" >&6
37822 echo "$as_me:$LINENO: result: no" >&5
37823 echo "${ECHO_T}no" >&6
37824 # not sure we should warn the user, crash, etc.
37828 if test "$wxUSE_GUI" = "yes"; then
37831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37832 drawing dynamic erase event exec font image \
37833 minimal propsize rotate shaped widgets render"
37835 if test "$wxUSE_MONOLITHIC" != "yes"; then
37836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37839 SAMPLES_SUBDIRS
="console"
37843 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37844 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37846 if test "$GXX" = yes ; then
37847 CXXWARNINGS
="-Wall"
37850 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37852 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37853 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37854 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37857 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37858 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37859 EXTRALIBS_XML
="$EXPAT_LINK"
37860 EXTRALIBS_HTML
="$MSPACK_LINK"
37861 EXTRALIBS_ODBC
="$ODBC_LINK"
37862 if test "$wxUSE_GUI" = "yes"; then
37863 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37865 if test "$wxUSE_OPENGL" = "yes"; then
37866 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37869 LDFLAGS
="$LDFLAGS $PROFILE"
37871 if test "$wxUSE_GTK" = 1; then
37874 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37877 WXCONFIG_EXTRALIBS
="$LIBS"
37879 if test "$wxUSE_REGEX" = "builtin" ; then
37880 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37882 if test "$wxUSE_EXPAT" = "builtin" ; then
37883 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37885 if test "$wxUSE_ODBC" = "builtin" ; then
37886 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37888 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37889 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37891 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37892 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37894 if test "$wxUSE_LIBPNG" = "builtin" ; then
37895 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37897 if test "$wxUSE_ZLIB" = "builtin" ; then
37898 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37900 if test "$wxUSE_ODBC" = "builtin" ; then
37901 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37904 for i
in $wxconfig_3rdparty ; do
37905 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37909 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37923 if test $wxUSE_MONOLITHIC = "yes" ; then
37929 if test $wxUSE_PLUGINS = "yes" ; then
37935 if test $wxUSE_ODBC != "no" ; then
37941 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37967 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37975 if test "x$BAKEFILE_HOST" = "x"; then
37976 BAKEFILE_HOST
="${host}"
37979 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37981 if test -n "$ac_tool_prefix"; then
37982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37983 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37984 echo "$as_me:$LINENO: checking for $ac_word" >&5
37985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37986 if test "${ac_cv_prog_RANLIB+set}" = set; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 if test -n "$RANLIB"; then
37990 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37993 for as_dir
in $PATH
37996 test -z "$as_dir" && as_dir
=.
37997 for ac_exec_ext
in '' $ac_executable_extensions; do
37998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37999 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38008 RANLIB
=$ac_cv_prog_RANLIB
38009 if test -n "$RANLIB"; then
38010 echo "$as_me:$LINENO: result: $RANLIB" >&5
38011 echo "${ECHO_T}$RANLIB" >&6
38013 echo "$as_me:$LINENO: result: no" >&5
38014 echo "${ECHO_T}no" >&6
38018 if test -z "$ac_cv_prog_RANLIB"; then
38019 ac_ct_RANLIB
=$RANLIB
38020 # Extract the first word of "ranlib", so it can be a program name with args.
38021 set dummy ranlib
; ac_word
=$2
38022 echo "$as_me:$LINENO: checking for $ac_word" >&5
38023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38025 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 if test -n "$ac_ct_RANLIB"; then
38028 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38031 for as_dir
in $PATH
38034 test -z "$as_dir" && as_dir
=.
38035 for ac_exec_ext
in '' $ac_executable_extensions; do
38036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38037 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38044 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38047 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38048 if test -n "$ac_ct_RANLIB"; then
38049 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38052 echo "$as_me:$LINENO: result: no" >&5
38053 echo "${ECHO_T}no" >&6
38056 RANLIB
=$ac_ct_RANLIB
38058 RANLIB
="$ac_cv_prog_RANLIB"
38061 # Find a good install program. We prefer a C program (faster),
38062 # so one script is as good as another. But avoid the broken or
38063 # incompatible versions:
38064 # SysV /etc/install, /usr/sbin/install
38065 # SunOS /usr/etc/install
38066 # IRIX /sbin/install
38068 # AmigaOS /C/install, which installs bootblocks on floppy discs
38069 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38070 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38071 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38072 # OS/2's system install, which has a completely different semantic
38073 # ./install, which can be erroneously created by make from ./install.sh.
38074 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38075 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38076 if test -z "$INSTALL"; then
38077 if test "${ac_cv_path_install+set}" = set; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38081 for as_dir
in $PATH
38084 test -z "$as_dir" && as_dir
=.
38085 # Account for people who put trailing slashes in PATH elements.
38087 .
/ | .
// | /cC
/* | \
38088 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38089 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38092 # OSF1 and SCO ODT 3.0 have their own names for install.
38093 # Don't use installbsd from OSF since it installs stuff as root
38095 for ac_prog
in ginstall scoinst
install; do
38096 for ac_exec_ext
in '' $ac_executable_extensions; do
38097 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38098 if test $ac_prog = install &&
38099 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38100 # AIX install. It has an incompatible calling convention.
38102 elif test $ac_prog = install &&
38103 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38104 # program-specific install script used by HP pwplus--don't use.
38107 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38119 if test "${ac_cv_path_install+set}" = set; then
38120 INSTALL
=$ac_cv_path_install
38122 # As a last resort, use the slow shell script. We don't cache a
38123 # path for INSTALL within a source directory, because that will
38124 # break other packages using the cache if that directory is
38125 # removed, or if the path is relative.
38126 INSTALL
=$ac_install_sh
38129 echo "$as_me:$LINENO: result: $INSTALL" >&5
38130 echo "${ECHO_T}$INSTALL" >&6
38132 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38133 # It thinks the first close brace ends the variable substitution.
38134 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38136 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38138 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38140 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38141 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38143 if test "$LN_S" = "ln -s"; then
38144 echo "$as_me:$LINENO: result: yes" >&5
38145 echo "${ECHO_T}yes" >&6
38147 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38148 echo "${ECHO_T}no, using $LN_S" >&6
38152 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38153 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38154 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38155 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 cat >conftest.
make <<\_ACEOF
38160 @
echo 'ac_maketemp="$(MAKE)"'
38162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38163 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38164 if test -n "$ac_maketemp"; then
38165 eval ac_cv_prog_make_
${ac_make}_set
=yes
38167 eval ac_cv_prog_make_
${ac_make}_set
=no
38169 rm -f conftest.
make
38171 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38172 echo "$as_me:$LINENO: result: yes" >&5
38173 echo "${ECHO_T}yes" >&6
38176 echo "$as_me:$LINENO: result: no" >&5
38177 echo "${ECHO_T}no" >&6
38178 SET_MAKE
="MAKE=${MAKE-make}"
38183 if test -n "$ac_tool_prefix"; then
38184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38185 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38186 echo "$as_me:$LINENO: checking for $ac_word" >&5
38187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38188 if test "${ac_cv_prog_AR+set}" = set; then
38189 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 if test -n "$AR"; then
38192 ac_cv_prog_AR
="$AR" # Let the user override the test.
38194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38195 for as_dir
in $PATH
38198 test -z "$as_dir" && as_dir
=.
38199 for ac_exec_ext
in '' $ac_executable_extensions; do
38200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38201 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38211 if test -n "$AR"; then
38212 echo "$as_me:$LINENO: result: $AR" >&5
38213 echo "${ECHO_T}$AR" >&6
38215 echo "$as_me:$LINENO: result: no" >&5
38216 echo "${ECHO_T}no" >&6
38220 if test -z "$ac_cv_prog_AR"; then
38222 # Extract the first word of "ar", so it can be a program name with args.
38223 set dummy
ar; ac_word
=$2
38224 echo "$as_me:$LINENO: checking for $ac_word" >&5
38225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38226 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 if test -n "$ac_ct_AR"; then
38230 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38233 for as_dir
in $PATH
38236 test -z "$as_dir" && as_dir
=.
38237 for ac_exec_ext
in '' $ac_executable_extensions; do
38238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38239 ac_cv_prog_ac_ct_AR
="ar"
38240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38246 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38249 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38250 if test -n "$ac_ct_AR"; then
38251 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38252 echo "${ECHO_T}$ac_ct_AR" >&6
38254 echo "$as_me:$LINENO: result: no" >&5
38255 echo "${ECHO_T}no" >&6
38260 AR
="$ac_cv_prog_AR"
38263 if test -n "$ac_tool_prefix"; then
38264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38265 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38266 echo "$as_me:$LINENO: checking for $ac_word" >&5
38267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38268 if test "${ac_cv_prog_STRIP+set}" = set; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38271 if test -n "$STRIP"; then
38272 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38275 for as_dir
in $PATH
38278 test -z "$as_dir" && as_dir
=.
38279 for ac_exec_ext
in '' $ac_executable_extensions; do
38280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38281 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38290 STRIP
=$ac_cv_prog_STRIP
38291 if test -n "$STRIP"; then
38292 echo "$as_me:$LINENO: result: $STRIP" >&5
38293 echo "${ECHO_T}$STRIP" >&6
38295 echo "$as_me:$LINENO: result: no" >&5
38296 echo "${ECHO_T}no" >&6
38300 if test -z "$ac_cv_prog_STRIP"; then
38302 # Extract the first word of "strip", so it can be a program name with args.
38303 set dummy strip
; ac_word
=$2
38304 echo "$as_me:$LINENO: checking for $ac_word" >&5
38305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38307 echo $ECHO_N "(cached) $ECHO_C" >&6
38309 if test -n "$ac_ct_STRIP"; then
38310 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38313 for as_dir
in $PATH
38316 test -z "$as_dir" && as_dir
=.
38317 for ac_exec_ext
in '' $ac_executable_extensions; do
38318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38319 ac_cv_prog_ac_ct_STRIP
="strip"
38320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38326 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38329 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38330 if test -n "$ac_ct_STRIP"; then
38331 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38332 echo "${ECHO_T}$ac_ct_STRIP" >&6
38334 echo "$as_me:$LINENO: result: no" >&5
38335 echo "${ECHO_T}no" >&6
38340 STRIP
="$ac_cv_prog_STRIP"
38343 if test -n "$ac_tool_prefix"; then
38344 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38345 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38346 echo "$as_me:$LINENO: checking for $ac_word" >&5
38347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38348 if test "${ac_cv_prog_NM+set}" = set; then
38349 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 if test -n "$NM"; then
38352 ac_cv_prog_NM
="$NM" # Let the user override the test.
38354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38355 for as_dir
in $PATH
38358 test -z "$as_dir" && as_dir
=.
38359 for ac_exec_ext
in '' $ac_executable_extensions; do
38360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38361 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38371 if test -n "$NM"; then
38372 echo "$as_me:$LINENO: result: $NM" >&5
38373 echo "${ECHO_T}$NM" >&6
38375 echo "$as_me:$LINENO: result: no" >&5
38376 echo "${ECHO_T}no" >&6
38380 if test -z "$ac_cv_prog_NM"; then
38382 # Extract the first word of "nm", so it can be a program name with args.
38383 set dummy nm
; ac_word
=$2
38384 echo "$as_me:$LINENO: checking for $ac_word" >&5
38385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38386 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 if test -n "$ac_ct_NM"; then
38390 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38393 for as_dir
in $PATH
38396 test -z "$as_dir" && as_dir
=.
38397 for ac_exec_ext
in '' $ac_executable_extensions; do
38398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38399 ac_cv_prog_ac_ct_NM
="nm"
38400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38406 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38409 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38410 if test -n "$ac_ct_NM"; then
38411 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38412 echo "${ECHO_T}$ac_ct_NM" >&6
38414 echo "$as_me:$LINENO: result: no" >&5
38415 echo "${ECHO_T}no" >&6
38420 NM
="$ac_cv_prog_NM"
38424 case ${BAKEFILE_HOST} in
38426 INSTALL_DIR
="mkdir"
38428 *) INSTALL_DIR
="$INSTALL -d"
38434 case ${BAKEFILE_HOST} in
38435 *-*-cygwin* | *-*-mingw32* )
38436 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
38442 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38443 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38444 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38449 egrep -s GNU
> /dev
/null
); then
38450 bakefile_cv_prog_makeisgnu
="yes"
38452 bakefile_cv_prog_makeisgnu
="no"
38456 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38457 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38459 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38474 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38475 case "${BAKEFILE_HOST}" in
38476 *-*-cygwin* | *-*-mingw32* )
38482 *-pc-os2_emx | *-pc-os2-emx )
38485 powerpc
-*-darwin* )
38494 case "$BAKEFILE_FORCE_PLATFORM" in
38512 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38513 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38514 { (exit 1); exit 1; }; }
38528 SO_SUFFIX_MODULE
="so"
38534 case "${BAKEFILE_HOST}" in
38537 SO_SUFFIX_MODULE
="sl"
38541 SO_SUFFIX_MODULE
="a"
38543 *-*-cygwin* | *-*-mingw32* )
38545 SO_SUFFIX_MODULE
="dll"
38553 *-pc-os2_emx | *-pc-os2-emx )
38558 powerpc
-*-darwin* )
38560 SO_SUFFIX_MODULE
="bundle"
38572 SHARED_LD_CC
="\$(CC) -shared -o"
38573 SHARED_LD_CXX
="\$(CXX) -shared -o"
38575 if test "x$GCC" = "xyes"; then
38579 case "${BAKEFILE_HOST}" in
38581 if test "x$GCC" = "xyes"; then
38582 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38583 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38585 LDFLAGS
="$LDFLAGS -L/usr/lib"
38587 SHARED_LD_CC
="${CC} -b -o"
38588 SHARED_LD_CXX
="${CXX} -b -o"
38594 if test "x$GCC" != "xyes"; then
38595 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38596 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38597 if test "${bakefile_cv_prog_icc+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 #ifndef __INTEL_COMPILER
38620 rm -f conftest.
$ac_objext
38621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38622 (eval $ac_compile) 2>conftest.er1
38624 grep -v '^ *+' conftest.er1
>conftest.err
38626 cat conftest.err
>&5
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); } &&
38629 { ac_try
='test -z "$ac_c_werror_flag"
38630 || test ! -s conftest.err'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; } &&
38636 { ac_try
='test -s conftest.$ac_objext'
38637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638 (eval $ac_try) 2>&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); }; }; then
38642 bakefile_cv_prog_icc
=yes
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.
$ac_ext >&5
38647 bakefile_cv_prog_icc
=no
38650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38653 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38654 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38655 if test "$bakefile_cv_prog_icc" = "yes"; then
38662 if test "x$GCC" != xyes
; then
38663 SHARED_LD_CC
="${CC} -G -o"
38664 SHARED_LD_CXX
="${CXX} -G -o"
38670 CFLAGS
="$CFLAGS -fno-common"
38671 CXXFLAGS
="$CXXFLAGS -fno-common"
38674 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38675 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38676 if test "${wx_cv_gcc31+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38680 cat >conftest.
$ac_ext <<_ACEOF
38683 cat confdefs.h
>>conftest.
$ac_ext
38684 cat >>conftest.
$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38691 #if (__GNUC__ < 3) || \
38692 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38700 rm -f conftest.
$ac_objext
38701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38702 (eval $ac_compile) 2>conftest.er1
38704 grep -v '^ *+' conftest.er1
>conftest.err
38706 cat conftest.err
>&5
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); } &&
38709 { ac_try
='test -z "$ac_c_werror_flag"
38710 || test ! -s conftest.err'
38711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38712 (eval $ac_try) 2>&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); }; } &&
38716 { ac_try
='test -s conftest.$ac_objext'
38717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38718 (eval $ac_try) 2>&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); }; }; then
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.
$ac_ext >&5
38734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38737 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38738 echo "${ECHO_T}$wx_cv_gcc31" >&6
38739 if test "$wx_cv_gcc31" = "no"; then
38740 cat <<EOF >shared-ld-sh
38742 #-----------------------------------------------------------------------------
38743 #-- Name: distrib/mac/shared-ld-sh
38744 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38745 #-- Author: Gilles Depeyrot
38746 #-- Copyright: (c) 2002 Gilles Depeyrot
38747 #-- Licence: any use permitted
38748 #-----------------------------------------------------------------------------
38753 linking_flag="-dynamiclib"
38755 while test \${#} -gt 0; do
38762 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38763 # collect these options and values
38764 args="\${args} \${1} \${2}"
38768 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38769 # collect these options
38770 args="\${args} \${1}"
38773 -dynamiclib|-bundle)
38774 linking_flag="\${1}"
38778 echo "shared-ld: unhandled option '\${1}'"
38782 *.o | *.a | *.dylib)
38783 # collect object files
38784 objects="\${objects} \${1}"
38788 echo "shared-ld: unhandled argument '\${1}'"
38797 # Link one module containing all the others
38799 if test \${verbose} = 1; then
38800 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38802 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38804 if test \${status} != 0; then
38809 # Link the shared library from the single module created
38811 if test \${verbose} = 1; then
38812 echo "cc \${linking_flag} master.\$\$.o \${args}"
38814 c++ \${linking_flag} master.\$\$.o \${args}
38816 if test \${status} != 0; then
38821 # Remove intermediate module
38823 rm -f master.\$\$.o
38827 chmod +x shared
-ld-sh
38829 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38830 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38831 SHARED_LD_CXX
="$SHARED_LD_CC"
38832 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38834 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38835 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38836 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38837 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38840 PIC_FLAG
="-dynamic -fPIC"
38844 if test "x$GCC" != "xyes"; then
38845 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38846 set dummy makeC
++SharedLib
; ac_word
=$2
38847 echo "$as_me:$LINENO: checking for $ac_word" >&5
38848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38849 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38850 echo $ECHO_N "(cached) $ECHO_C" >&6
38852 if test -n "$AIX_CXX_LD"; then
38853 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38856 for as_dir
in $PATH
38859 test -z "$as_dir" && as_dir
=.
38860 for ac_exec_ext
in '' $ac_executable_extensions; do
38861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38862 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38869 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38872 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38873 if test -n "$AIX_CXX_LD"; then
38874 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38875 echo "${ECHO_T}$AIX_CXX_LD" >&6
38877 echo "$as_me:$LINENO: result: no" >&5
38878 echo "${ECHO_T}no" >&6
38881 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38882 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38887 SHARED_LD_CC
="${LD} -shared -o"
38888 SHARED_LD_CXX
="${LD} -shared -o"
38892 if test "x$GCC" != "xyes"; then
38897 *-*-cygwin* | *-*-mingw32* )
38901 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38905 *-pc-os2_emx | *-pc-os2-emx | \
38910 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38911 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38912 { (exit 1); exit 1; }; }
38915 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38916 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38918 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38919 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38936 case "${BAKEFILE_HOST}" in
38938 SONAME_FLAG
="-Wl,-soname,"
38966 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38967 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38970 if test "x$GCC" = "xyes"; then
38973 case "${BAKEFILE_HOST}" in
38974 powerpc
-*-darwin* )
38975 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
38978 DEPSFLAG_GCC
="-MMD"
38981 echo "$as_me:$LINENO: result: gcc" >&5
38982 echo "${ECHO_T}gcc" >&6
38984 echo "$as_me:$LINENO: result: none" >&5
38985 echo "${ECHO_T}none" >&6
38988 if test $DEPS_TRACKING = 1 ; then
38992 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38993 # script. It is used to track C/C++ files dependencies in portable way.
38995 # Permission is given to use this file in any way.
38999 DEPSFLAG_GCC="$DEPSFLAG_GCC"
39003 if test \$DEPSMODE = gcc ; then
39004 \${*} \${DEPSFLAG_GCC}
39006 if test \${status} != 0 ; then
39009 # move created file to the location we want it in:
39010 while test \${#} -gt 0; do
39024 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
39025 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
39026 if test -f \$depfile ; then
39027 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39030 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
39031 if test -f \$depfile ; then
39032 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
39051 case ${BAKEFILE_HOST} in
39052 *-*-cygwin* | *-*-mingw32* )
39053 if test "$build" != "$host" ; then
39054 RESCOMP
=$host_alias-windres
39056 # Extract the first word of "windres", so it can be a program name with args.
39057 set dummy windres
; ac_word
=$2
39058 echo "$as_me:$LINENO: checking for $ac_word" >&5
39059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39060 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39061 echo $ECHO_N "(cached) $ECHO_C" >&6
39063 if test -n "$RESCOMP"; then
39064 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39067 for as_dir
in $PATH
39070 test -z "$as_dir" && as_dir
=.
39071 for ac_exec_ext
in '' $ac_executable_extensions; do
39072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39073 ac_cv_prog_RESCOMP
="windres"
39074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39080 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39083 RESCOMP
=$ac_cv_prog_RESCOMP
39084 if test -n "$RESCOMP"; then
39085 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39086 echo "${ECHO_T}$RESCOMP" >&6
39088 echo "$as_me:$LINENO: result: no" >&5
39089 echo "${ECHO_T}no" >&6
39096 # Extract the first word of "Rez", so it can be a program name with args.
39097 set dummy Rez
; ac_word
=$2
39098 echo "$as_me:$LINENO: checking for $ac_word" >&5
39099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39100 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39101 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 if test -n "$RESCOMP"; then
39104 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39107 for as_dir
in $PATH
39110 test -z "$as_dir" && as_dir
=.
39111 for ac_exec_ext
in '' $ac_executable_extensions; do
39112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39113 ac_cv_prog_RESCOMP
="Rez"
39114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39120 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39123 RESCOMP
=$ac_cv_prog_RESCOMP
39124 if test -n "$RESCOMP"; then
39125 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39126 echo "${ECHO_T}$RESCOMP" >&6
39128 echo "$as_me:$LINENO: result: no" >&5
39129 echo "${ECHO_T}no" >&6
39132 # Extract the first word of "SetFile", so it can be a program name with args.
39133 set dummy SetFile
; ac_word
=$2
39134 echo "$as_me:$LINENO: checking for $ac_word" >&5
39135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39136 if test "${ac_cv_prog_SETFILE+set}" = set; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 if test -n "$SETFILE"; then
39140 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39143 for as_dir
in $PATH
39146 test -z "$as_dir" && as_dir
=.
39147 for ac_exec_ext
in '' $ac_executable_extensions; do
39148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39149 ac_cv_prog_SETFILE
="SetFile"
39150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39156 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39159 SETFILE
=$ac_cv_prog_SETFILE
39160 if test -n "$SETFILE"; then
39161 echo "$as_me:$LINENO: result: $SETFILE" >&5
39162 echo "${ECHO_T}$SETFILE" >&6
39164 echo "$as_me:$LINENO: result: no" >&5
39165 echo "${ECHO_T}no" >&6
39180 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39181 if test "${enable_precomp_headers+set}" = set; then
39182 enableval
="$enable_precomp_headers"
39183 bk_use_pch
="$enableval"
39188 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39189 if test "x$GCC" = "xyes"; then
39190 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39191 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39192 cat >conftest.
$ac_ext <<_ACEOF
39195 cat confdefs.h
>>conftest.
$ac_ext
39196 cat >>conftest.
$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39203 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39204 #error "no pch support"
39207 #error "no pch support"
39209 #if (__GNUC__ == 3) && \
39210 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39211 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39212 #error "no pch support"
39219 rm -f conftest.
$ac_objext
39220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39221 (eval $ac_compile) 2>conftest.er1
39223 grep -v '^ *+' conftest.er1
>conftest.err
39225 cat conftest.err
>&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } &&
39228 { ac_try
='test -z "$ac_c_werror_flag"
39229 || test ! -s conftest.err'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; } &&
39235 { ac_try
='test -s conftest.$ac_objext'
39236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39237 (eval $ac_try) 2>&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); }; }; then
39242 echo "$as_me:$LINENO: result: yes" >&5
39243 echo "${ECHO_T}yes" >&6
39244 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.
$ac_ext >&5
39252 echo "$as_me:$LINENO: result: no" >&5
39253 echo "${ECHO_T}no" >&6
39256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39257 if test $GCC_PCH = 1 ; then
39258 cat <<EOF >bk-make-pch
39261 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39262 # script. It is used to generated precompiled headers.
39264 # Permission is given to use this file in any way.
39273 while test \${#} -gt 0; do
39276 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39277 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39278 headerfile="\${incdir}/\${header}"
39282 compiler="\${compiler} \${1}"
39286 if test "x\${headerfile}" = "x" ; then
39287 echo "error: can't find header \${header} in include paths" >2
39289 if test -f \${outfile} ; then
39292 mkdir -p \`dirname \${outfile}\`
39294 depsfile=".deps/\`basename \${outfile}\`.d"
39296 # can do this because gcc is >= 3.4:
39297 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39301 chmod +x bk
-make-pch
39310 COND_BUILD_DEBUG
="#"
39311 if test "x$BUILD" = "xdebug" ; then
39312 COND_BUILD_DEBUG
=""
39315 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39316 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39317 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39320 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39321 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39322 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39325 COND_BUILD_DEBUG_UNICODE_0
="#"
39326 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39327 COND_BUILD_DEBUG_UNICODE_0
=""
39330 COND_BUILD_DEBUG_UNICODE_1
="#"
39331 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39332 COND_BUILD_DEBUG_UNICODE_1
=""
39335 COND_BUILD_RELEASE
="#"
39336 if test "x$BUILD" = "xrelease" ; then
39337 COND_BUILD_RELEASE
=""
39340 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39341 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39342 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39345 COND_BUILD_RELEASE_UNICODE_0
="#"
39346 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39347 COND_BUILD_RELEASE_UNICODE_0
=""
39350 COND_BUILD_RELEASE_UNICODE_1
="#"
39351 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39352 COND_BUILD_RELEASE_UNICODE_1
=""
39355 COND_DEBUG_FLAG_1
="#"
39356 if test "x$DEBUG_FLAG" = "x1" ; then
39357 COND_DEBUG_FLAG_1
=""
39360 COND_DEBUG_INFO_0
="#"
39361 if test "x$DEBUG_INFO" = "x0" ; then
39362 COND_DEBUG_INFO_0
=""
39365 COND_DEBUG_INFO_1
="#"
39366 if test "x$DEBUG_INFO" = "x1" ; then
39367 COND_DEBUG_INFO_1
=""
39370 COND_DEPS_TRACKING_0
="#"
39371 if test "x$DEPS_TRACKING" = "x0" ; then
39372 COND_DEPS_TRACKING_0
=""
39375 COND_DEPS_TRACKING_1
="#"
39376 if test "x$DEPS_TRACKING" = "x1" ; then
39377 COND_DEPS_TRACKING_1
=""
39381 if test "x$GCC_PCH" = "x1" ; then
39385 COND_MONOLITHIC_0
="#"
39386 if test "x$MONOLITHIC" = "x0" ; then
39387 COND_MONOLITHIC_0
=""
39390 COND_MONOLITHIC_0_SHARED_0
="#"
39391 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39392 COND_MONOLITHIC_0_SHARED_0
=""
39395 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39396 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39400 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39401 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39405 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39406 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39407 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39410 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39411 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39412 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39415 COND_MONOLITHIC_0_SHARED_1
="#"
39416 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39417 COND_MONOLITHIC_0_SHARED_1
=""
39420 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39421 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39422 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39425 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39426 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39427 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39430 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39431 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39432 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39435 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39436 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39437 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39440 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39441 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39442 COND_MONOLITHIC_0_USE_ODBC_1
=""
39445 COND_MONOLITHIC_1
="#"
39446 if test "x$MONOLITHIC" = "x1" ; then
39447 COND_MONOLITHIC_1
=""
39450 COND_MONOLITHIC_1_SHARED_0
="#"
39451 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39452 COND_MONOLITHIC_1_SHARED_0
=""
39455 COND_MONOLITHIC_1_SHARED_1
="#"
39456 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39457 COND_MONOLITHIC_1_SHARED_1
=""
39460 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39461 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39462 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39465 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39466 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39467 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39470 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39471 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39472 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39475 COND_PLATFORM_MACOSX_1
="#"
39476 if test "x$PLATFORM_MACOSX" = "x1" ; then
39477 COND_PLATFORM_MACOSX_1
=""
39480 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39481 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39482 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39485 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39486 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39487 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39490 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39492 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39495 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39497 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39500 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39502 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39505 COND_PLATFORM_MAC_1
="#"
39506 if test "x$PLATFORM_MAC" = "x1" ; then
39507 COND_PLATFORM_MAC_1
=""
39510 COND_PLATFORM_OS2_1
="#"
39511 if test "x$PLATFORM_OS2" = "x1" ; then
39512 COND_PLATFORM_OS2_1
=""
39515 COND_PLATFORM_UNIX_0
="#"
39516 if test "x$PLATFORM_UNIX" = "x0" ; then
39517 COND_PLATFORM_UNIX_0
=""
39520 COND_PLATFORM_UNIX_1
="#"
39521 if test "x$PLATFORM_UNIX" = "x1" ; then
39522 COND_PLATFORM_UNIX_1
=""
39525 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39526 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39527 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39530 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39531 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39532 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39535 COND_PLATFORM_WIN32_0
="#"
39536 if test "x$PLATFORM_WIN32" = "x0" ; then
39537 COND_PLATFORM_WIN32_0
=""
39540 COND_PLATFORM_WIN32_1
="#"
39541 if test "x$PLATFORM_WIN32" = "x1" ; then
39542 COND_PLATFORM_WIN32_1
=""
39546 if test "x$SHARED" = "x0" ; then
39550 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39551 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39552 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39555 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39556 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39557 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39560 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39561 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39562 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39565 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39566 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39567 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39570 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39571 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39572 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39575 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39576 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39577 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39580 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39581 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39582 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39585 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39586 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39587 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39591 if test "x$SHARED" = "x1" ; then
39595 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39596 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39597 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39600 COND_TOOLKIT_COCOA
="#"
39601 if test "x$TOOLKIT" = "xCOCOA" ; then
39602 COND_TOOLKIT_COCOA
=""
39605 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39606 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39607 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39610 COND_TOOLKIT_GTK
="#"
39611 if test "x$TOOLKIT" = "xGTK" ; then
39612 COND_TOOLKIT_GTK
=""
39615 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39616 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39617 COND_TOOLKIT_GTK_USE_GUI_1
=""
39620 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39621 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39622 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39625 COND_TOOLKIT_MAC
="#"
39626 if test "x$TOOLKIT" = "xMAC" ; then
39627 COND_TOOLKIT_MAC
=""
39630 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39631 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39632 COND_TOOLKIT_MAC_USE_GUI_1
=""
39635 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39636 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39637 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39640 COND_TOOLKIT_MGL
="#"
39641 if test "x$TOOLKIT" = "xMGL" ; then
39642 COND_TOOLKIT_MGL
=""
39645 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39646 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39647 COND_TOOLKIT_MGL_USE_GUI_1
=""
39650 COND_TOOLKIT_MOTIF
="#"
39651 if test "x$TOOLKIT" = "xMOTIF" ; then
39652 COND_TOOLKIT_MOTIF
=""
39655 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39656 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39657 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39660 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39661 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39662 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39665 COND_TOOLKIT_MSW
="#"
39666 if test "x$TOOLKIT" = "xMSW" ; then
39667 COND_TOOLKIT_MSW
=""
39670 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39671 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39672 COND_TOOLKIT_MSW_USE_GUI_1
=""
39675 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39676 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39677 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39680 COND_TOOLKIT_PM
="#"
39681 if test "x$TOOLKIT" = "xPM" ; then
39685 COND_TOOLKIT_PM_USE_GUI_1
="#"
39686 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39687 COND_TOOLKIT_PM_USE_GUI_1
=""
39690 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39691 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39692 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39695 COND_TOOLKIT_X11
="#"
39696 if test "x$TOOLKIT" = "xX11" ; then
39697 COND_TOOLKIT_X11
=""
39700 COND_TOOLKIT_X11_USE_GUI_1
="#"
39701 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39702 COND_TOOLKIT_X11_USE_GUI_1
=""
39706 if test "x$UNICODE" = "x1" ; then
39710 COND_USE_EXCEPTIONS_0
="#"
39711 if test "x$USE_EXCEPTIONS" = "x0" ; then
39712 COND_USE_EXCEPTIONS_0
=""
39715 COND_USE_EXCEPTIONS_1
="#"
39716 if test "x$USE_EXCEPTIONS" = "x1" ; then
39717 COND_USE_EXCEPTIONS_1
=""
39721 if test "x$USE_GUI" = "x0" ; then
39726 if test "x$USE_GUI" = "x1" ; then
39730 COND_USE_GUI_1_WXUNIV_0
="#"
39731 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39732 COND_USE_GUI_1_WXUNIV_0
=""
39735 COND_USE_GUI_1_WXUNIV_1
="#"
39736 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39737 COND_USE_GUI_1_WXUNIV_1
=""
39740 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39741 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39742 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39745 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39746 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39747 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39750 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39751 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39752 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39755 COND_USE_ODBC_1
="#"
39756 if test "x$USE_ODBC" = "x1" ; then
39760 COND_USE_PLUGINS_0
="#"
39761 if test "x$USE_PLUGINS" = "x0" ; then
39762 COND_USE_PLUGINS_0
=""
39765 COND_USE_SOSYMLINKS_1
="#"
39766 if test "x$USE_SOSYMLINKS" = "x1" ; then
39767 COND_USE_SOSYMLINKS_1
=""
39770 COND_USE_SOVERLINUX_1
="#"
39771 if test "x$USE_SOVERLINUX" = "x1" ; then
39772 COND_USE_SOVERLINUX_1
=""
39775 COND_USE_SOVERSION_0
="#"
39776 if test "x$USE_SOVERSION" = "x0" ; then
39777 COND_USE_SOVERSION_0
=""
39780 COND_USE_SOVERSOLARIS_1
="#"
39781 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39782 COND_USE_SOVERSOLARIS_1
=""
39785 COND_WITH_PLUGIN_SDL_1
="#"
39786 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39787 COND_WITH_PLUGIN_SDL_1
=""
39790 COND_WITH_SDL_1
="#"
39791 if test "x$WITH_SDL" = "x1" ; then
39796 if test "x$WXUNIV" = "x1" ; then
39800 COND_WXUSE_EXPAT_BUILTIN
="#"
39801 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39802 COND_WXUSE_EXPAT_BUILTIN
=""
39805 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39806 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39807 COND_WXUSE_LIBJPEG_BUILTIN
=""
39810 COND_WXUSE_LIBPNG_BUILTIN
="#"
39811 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39812 COND_WXUSE_LIBPNG_BUILTIN
=""
39815 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39816 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39817 COND_WXUSE_LIBTIFF_BUILTIN
=""
39820 COND_WXUSE_ODBC_BUILTIN
="#"
39821 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39822 COND_WXUSE_ODBC_BUILTIN
=""
39825 COND_WXUSE_REGEX_BUILTIN
="#"
39826 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39827 COND_WXUSE_REGEX_BUILTIN
=""
39830 COND_WXUSE_ZLIB_BUILTIN
="#"
39831 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39832 COND_WXUSE_ZLIB_BUILTIN
=""
39839 if test $GCC_PCH = 1 ; then
39840 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39841 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39844 powerpc
-*-darwin* )
39845 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39846 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39852 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39955 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39957 echo $ECHO_N "(cached) $ECHO_C" >&6
39959 cat >conftest.
make <<\_ACEOF
39961 @
echo 'ac_maketemp="$(MAKE)"'
39963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39965 if test -n "$ac_maketemp"; then
39966 eval ac_cv_prog_make_
${ac_make}_set
=yes
39968 eval ac_cv_prog_make_
${ac_make}_set
=no
39970 rm -f conftest.
make
39972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39973 echo "$as_me:$LINENO: result: yes" >&5
39974 echo "${ECHO_T}yes" >&6
39977 echo "$as_me:$LINENO: result: no" >&5
39978 echo "${ECHO_T}no" >&6
39979 SET_MAKE
="MAKE=${MAKE-make}"
39983 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
39984 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
39987 ac_config_headers
="$ac_config_headers setup.h"
39990 ac_config_files
="$ac_config_files wx-config version-script Makefile"
39993 ac_config_commands
="$ac_config_commands default"
39997 if test "$wxUSE_GUI" = "yes"; then
39998 SUBDIRS
="samples demos utils contrib"
39999 else SUBDIRS
="samples utils"
40002 for subdir
in `echo $SUBDIRS`; do
40003 if test -d ${srcdir}/${subdir} ; then
40004 if test "$wxUSE_GUI" = "yes"; then
40005 if test ${subdir} = "samples"; then
40006 makefiles
="samples/Makefile.in $makefiles"
40007 for sample
in `echo $SAMPLES_SUBDIRS`; do
40008 if test -d $srcdir/samples
/$sample; then
40009 makefiles
="samples/$sample/Makefile.in $makefiles"
40012 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
40014 else if test ${subdir} = "samples"; then
40015 makefiles
="samples/Makefile.in samples/console/Makefile.in"
40016 else makefiles
="utils/HelpGen/Makefile.in \
40017 utils/HelpGen/src/Makefile.in \
40018 utils/tex2rtf/Makefile.in \
40019 utils/tex2rtf/src/Makefile.in"
40023 for mkin
in $makefiles ; do
40024 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40025 ac_config_files
="$ac_config_files $mk"
40032 cat >confcache
<<\_ACEOF
40033 # This file is a shell script that caches the results of configure
40034 # tests run on this system so they can be shared between configure
40035 # scripts and configure runs, see configure's option --config-cache.
40036 # It is not useful on other systems. If it contains results you don't
40037 # want to keep, you may remove or edit it.
40039 # config.status only pays attention to the cache file if you give it
40040 # the --recheck option to rerun configure.
40042 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40043 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40044 # following values.
40048 # The following way of writing the cache mishandles newlines in values,
40049 # but we know of no workaround that is simple, portable, and efficient.
40050 # So, don't put newlines in cache variables' values.
40051 # Ultrix sh set writes to stderr and can't be redirected directly,
40052 # and sets the high bit in the cache file unless we assign to the vars.
40055 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40057 # `set' does not quote correctly, so add quotes (double-quote
40058 # substitution turns \\\\ into \\, and sed turns \\ into \).
40061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40064 # `set' quotes correctly as required by POSIX, so do not add quotes.
40066 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40075 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40077 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40078 if test -w $cache_file; then
40079 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40080 cat confcache
>$cache_file
40082 echo "not updating unwritable cache $cache_file"
40087 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40088 # Let make expand exec_prefix.
40089 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40091 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40092 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40093 # trailing colons and then remove the whole line if VPATH becomes empty
40094 # (actually we leave an empty line to preserve line numbers).
40095 if test "x$srcdir" = x.
; then
40096 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40097 s/:*\$(srcdir):*/:/;
40098 s/:*\${srcdir}:*/:/;
40100 s/^\([^=]*=[ ]*\):*/\1/;
40106 DEFS
=-DHAVE_CONFIG_H
40110 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40111 # 1. Remove the extension, and $U if already installed.
40112 ac_i
=`echo "$ac_i" |
40113 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40115 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
40116 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
40118 LIBOBJS
=$ac_libobjs
40120 LTLIBOBJS
=$ac_ltlibobjs
40124 : ${CONFIG_STATUS=./config.status}
40125 ac_clean_files_save
=$ac_clean_files
40126 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40127 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40128 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40129 cat >$CONFIG_STATUS <<_ACEOF
40131 # Generated by $as_me.
40132 # Run this file to recreate the current configuration.
40133 # Compiler output produced by configure, useful for debugging
40134 # configure, is in config.log if it exists.
40137 ac_cs_recheck=false
40139 SHELL=\${CONFIG_SHELL-$SHELL}
40142 cat >>$CONFIG_STATUS <<\_ACEOF
40143 ## --------------------- ##
40144 ## M4sh Initialization. ##
40145 ## --------------------- ##
40147 # Be Bourne compatible
40148 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40151 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40152 # is contrary to our usage. Disable this feature.
40153 alias -g '${1+"$@"}'='"$@"'
40154 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40157 DUALCASE
=1; export DUALCASE
# for MKS sh
40159 # Support unset when possible.
40160 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40167 # Work around bugs in pre-3.0 UWIN ksh.
40168 $as_unset ENV MAIL MAILPATH
40175 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40176 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40177 LC_TELEPHONE LC_TIME
40179 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40180 eval $as_var=C
; export $as_var
40186 # Required to use basename.
40187 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40193 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40194 as_basename
=basename
40200 # Name of the executable.
40201 as_me
=`$as_basename "$0" ||
40202 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40203 X"$0" : 'X\(//\)$' \| \
40204 X"$0" : 'X\(/\)$' \| \
40205 . : '\(.\)' 2>/dev/null ||
40207 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40208 /^X\/\(\/\/\)$/{ s//\1/; q; }
40209 /^X\/\(\/\).*/{ s//\1/; q; }
40213 # PATH needs CR, and LINENO needs CR and PATH.
40214 # Avoid depending upon Character Ranges.
40215 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40216 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40217 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40218 as_cr_digits
='0123456789'
40219 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40221 # The user is always right.
40222 if test "${PATH_SEPARATOR+set}" != set; then
40223 echo "#! /bin/sh" >conf$$.sh
40224 echo "exit 0" >>conf$$.sh
40226 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40235 as_lineno_1
=$LINENO
40236 as_lineno_2
=$LINENO
40237 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40238 test "x$as_lineno_1" != "x$as_lineno_2" &&
40239 test "x$as_lineno_3" = "x$as_lineno_2" || {
40240 # Find who we are. Look in the path if we contain no path at all
40243 *[\\/]* ) as_myself
=$0 ;;
40244 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40245 for as_dir
in $PATH
40248 test -z "$as_dir" && as_dir
=.
40249 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40254 # We did not find ourselves, most probably we were run as `sh COMMAND'
40255 # in which case we are not to be found in the path.
40256 if test "x$as_myself" = x
; then
40259 if test ! -f "$as_myself"; then
40260 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40261 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40262 { (exit 1); exit 1; }; }
40264 case $CONFIG_SHELL in
40266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40267 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40270 test -z "$as_dir" && as_dir
=.
40271 for as_base
in sh bash ksh sh5
; do
40274 if ("$as_dir/$as_base" -c '
40275 as_lineno_1=$LINENO
40276 as_lineno_2=$LINENO
40277 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40278 test "x$as_lineno_1" != "x$as_lineno_2" &&
40279 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40280 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40281 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40282 CONFIG_SHELL
=$as_dir/$as_base
40283 export CONFIG_SHELL
40284 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40292 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40293 # uniformly replaced by the line number. The first 'sed' inserts a
40294 # line-number line before each line; the second 'sed' does the real
40295 # work. The second script uses 'N' to pair each line-number line
40296 # with the numbered line, and appends trailing '-' during
40297 # substitution so that $LINENO is not a special case at line end.
40298 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40299 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40300 sed '=' <$as_myself |
40305 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40308 s,^['$as_cr_digits']*\n,,
40309 ' >$as_me.lineno
&&
40310 chmod +x
$as_me.lineno
||
40311 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40312 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40313 { (exit 1); exit 1; }; }
40315 # Don't try to exec as it changes $[0], causing all sort of problems
40316 # (the dirname of $[0] is not the place where we might find the
40317 # original and so on. Autoconf is especially sensible to this).
40319 # Exit status is that of the last command.
40324 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40325 *c
*,-n*) ECHO_N
= ECHO_C
='
40327 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40328 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40331 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40337 rm -f conf$$ conf$$.exe conf$$.
file
40339 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40340 # We could just check for DJGPP; but this test a) works b) is more generic
40341 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40342 if test -f conf$$.exe
; then
40343 # Don't use ln at all; we don't have any links
40348 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40353 rm -f conf$$ conf$$.exe conf$$.
file
40355 if mkdir -p .
2>/dev
/null
; then
40358 test -d .
/-p && rmdir .
/-p
40362 as_executable_p
="test -f"
40364 # Sed expression to map a string onto a valid CPP name.
40365 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40367 # Sed expression to map a string onto a valid variable name.
40368 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40372 # We need space, tab and new line, in precisely that order.
40382 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40383 # report actual input values of CONFIG_FILES etc. instead of their
40384 # values after options handling. Logging --version etc. is OK.
40388 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40389 ## Running $as_me. ##
40394 This file was extended by wxWindows $as_me 2.5.1, which was
40395 generated by GNU Autoconf 2.59. Invocation command line was
40397 CONFIG_FILES = $CONFIG_FILES
40398 CONFIG_HEADERS = $CONFIG_HEADERS
40399 CONFIG_LINKS = $CONFIG_LINKS
40400 CONFIG_COMMANDS = $CONFIG_COMMANDS
40404 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40408 # Files that config.status was made for.
40409 if test -n "$ac_config_files"; then
40410 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40413 if test -n "$ac_config_headers"; then
40414 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40417 if test -n "$ac_config_links"; then
40418 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40421 if test -n "$ac_config_commands"; then
40422 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40425 cat >>$CONFIG_STATUS <<\_ACEOF
40428 \`$as_me' instantiates files from templates according to the
40429 current configuration.
40431 Usage: $0 [OPTIONS] [FILE]...
40433 -h, --help print this help, then exit
40434 -V, --version print version number, then exit
40435 -q, --quiet do not print progress messages
40436 -d, --debug don't remove temporary files
40437 --recheck update $as_me by reconfiguring in the same conditions
40438 --file=FILE[:TEMPLATE]
40439 instantiate the configuration file FILE
40440 --header=FILE[:TEMPLATE]
40441 instantiate the configuration header FILE
40443 Configuration files:
40446 Configuration headers:
40449 Configuration commands:
40452 Report bugs to <bug-autoconf@gnu.org>."
40455 cat >>$CONFIG_STATUS <<_ACEOF
40457 wxWindows config.status 2.5.1
40458 configured by $0, generated by GNU Autoconf 2.59,
40459 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40461 Copyright (C) 2003 Free Software Foundation, Inc.
40462 This config.status script is free software; the Free Software Foundation
40463 gives unlimited permission to copy, distribute and modify it."
40468 cat >>$CONFIG_STATUS <<\_ACEOF
40469 # If no file are specified by the user, then we need to provide default
40470 # value. By we need to know if files were specified by the user.
40476 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40477 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40485 *) # This is not an option, so the user has probably given explicit
40488 ac_need_defaults
=false
;;
40492 # Handling of the options.
40494 cat >>$CONFIG_STATUS <<\_ACEOF
40495 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40497 --version | --vers* | -V )
40498 echo "$ac_cs_version"; exit 0 ;;
40500 # Conflict between --help and --header
40501 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40502 Try \`$0 --help' for more information." >&5
40503 echo "$as_me: error: ambiguous option: $1
40504 Try \`$0 --help' for more information." >&2;}
40505 { (exit 1); exit 1; }; };;
40506 --help | --hel | -h )
40507 echo "$ac_cs_usage"; exit 0 ;;
40508 --debug | --d* | -d )
40510 --file | --fil | --fi | --f )
40512 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40513 ac_need_defaults
=false
;;
40514 --header | --heade | --head | --hea )
40516 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40517 ac_need_defaults
=false
;;
40518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40522 # This is an error.
40523 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40524 Try \`$0 --help' for more information." >&5
40525 echo "$as_me: error: unrecognized option: $1
40526 Try \`$0 --help' for more information." >&2;}
40527 { (exit 1); exit 1; }; } ;;
40529 *) ac_config_targets
="$ac_config_targets $1" ;;
40535 ac_configure_extra_args
=
40537 if $ac_cs_silent; then
40539 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40543 cat >>$CONFIG_STATUS <<_ACEOF
40544 if \$ac_cs_recheck; then
40545 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40546 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40551 cat >>$CONFIG_STATUS <<_ACEOF
40553 # INIT-COMMANDS section.
40557 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40566 cat >>$CONFIG_STATUS <<\_ACEOF
40567 for ac_config_target
in $ac_config_targets
40569 case "$ac_config_target" in
40570 # Handling of arguments.
40571 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40572 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40573 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40574 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40575 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40576 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40577 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40578 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40579 { (exit 1); exit 1; }; };;
40583 # If the user did not use the arguments to specify the items to instantiate,
40584 # then the envvar interface is used. Set only those that are not.
40585 # We use the long form for the default assignment because of an extremely
40586 # bizarre bug on SunOS 4.1.3.
40587 if $ac_need_defaults; then
40588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40590 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40593 # Have a temporary directory for convenience. Make it in the build tree
40594 # simply because there is no reason to put it here, and in addition,
40595 # creating and moving files from /tmp can sometimes cause problems.
40596 # Create a temporary directory, and hook for its removal unless debugging.
40599 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40600 trap '{ (exit 1); exit 1; }' 1 2 13 15
40603 # Create a (secure) tmp directory for tmp files.
40606 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40607 test -n "$tmp" && test -d "$tmp"
40610 tmp
=.
/confstat$$
-$RANDOM
40611 (umask 077 && mkdir $tmp)
40614 echo "$me: cannot create a temporary directory in ." >&2
40615 { (exit 1); exit 1; }
40620 cat >>$CONFIG_STATUS <<_ACEOF
40623 # CONFIG_FILES section.
40626 # No need to generate the scripts if there are no CONFIG_FILES.
40627 # This happens for instance when ./config.status config.h
40628 if test -n "\$CONFIG_FILES"; then
40629 # Protect against being on the right side of a sed subst in config.status.
40630 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40631 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40632 s,@SHELL@,$SHELL,;t t
40633 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40634 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40635 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40636 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40637 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40638 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40639 s,@exec_prefix@,$exec_prefix,;t t
40640 s,@prefix@,$prefix,;t t
40641 s,@program_transform_name@,$program_transform_name,;t t
40642 s,@bindir@,$bindir,;t t
40643 s,@sbindir@,$sbindir,;t t
40644 s,@libexecdir@,$libexecdir,;t t
40645 s,@datadir@,$datadir,;t t
40646 s,@sysconfdir@,$sysconfdir,;t t
40647 s,@sharedstatedir@,$sharedstatedir,;t t
40648 s,@localstatedir@,$localstatedir,;t t
40649 s,@libdir@,$libdir,;t t
40650 s,@includedir@,$includedir,;t t
40651 s,@oldincludedir@,$oldincludedir,;t t
40652 s,@infodir@,$infodir,;t t
40653 s,@mandir@,$mandir,;t t
40654 s,@build_alias@,$build_alias,;t t
40655 s,@host_alias@,$host_alias,;t t
40656 s,@target_alias@,$target_alias,;t t
40657 s,@DEFS@,$DEFS,;t t
40658 s,@ECHO_C@,$ECHO_C,;t t
40659 s,@ECHO_N@,$ECHO_N,;t t
40660 s,@ECHO_T@,$ECHO_T,;t t
40661 s,@LIBS@,$LIBS,;t t
40662 s,@build@,$build,;t t
40663 s,@build_cpu@,$build_cpu,;t t
40664 s,@build_vendor@,$build_vendor,;t t
40665 s,@build_os@,$build_os,;t t
40666 s,@host@,$host,;t t
40667 s,@host_cpu@,$host_cpu,;t t
40668 s,@host_vendor@,$host_vendor,;t t
40669 s,@host_os@,$host_os,;t t
40670 s,@target@,$target,;t t
40671 s,@target_cpu@,$target_cpu,;t t
40672 s,@target_vendor@,$target_vendor,;t t
40673 s,@target_os@,$target_os,;t t
40675 s,@CFLAGS@,$CFLAGS,;t t
40676 s,@LDFLAGS@,$LDFLAGS,;t t
40677 s,@CPPFLAGS@,$CPPFLAGS,;t t
40678 s,@ac_ct_CC@,$ac_ct_CC,;t t
40679 s,@EXEEXT@,$EXEEXT,;t t
40680 s,@OBJEXT@,$OBJEXT,;t t
40682 s,@EGREP@,$EGREP,;t t
40684 s,@CXXFLAGS@,$CXXFLAGS,;t t
40685 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40686 s,@RANLIB@,$RANLIB,;t t
40687 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40689 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40690 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40691 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40692 s,@STRIP@,$STRIP,;t t
40693 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40694 s,@LN_S@,$LN_S,;t t
40695 s,@CXXCPP@,$CXXCPP,;t t
40696 s,@subdirs@,$subdirs,;t t
40697 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40698 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40699 s,@GTK_LIBS@,$GTK_LIBS,;t t
40700 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40701 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40702 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40703 s,@X_CFLAGS@,$X_CFLAGS,;t t
40704 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40705 s,@X_LIBS@,$X_LIBS,;t t
40706 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40707 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40708 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40709 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40710 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40711 s,@RESCOMP@,$RESCOMP,;t t
40712 s,@DEREZ@,$DEREZ,;t t
40713 s,@SETFILE@,$SETFILE,;t t
40714 s,@LIBICONV@,$LIBICONV,;t t
40715 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40716 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40717 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40718 s,@SDL_LIBS@,$SDL_LIBS,;t t
40719 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40720 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40721 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40722 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40723 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40724 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40725 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40726 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40727 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40728 s,@VENDOR@,$VENDOR,;t t
40729 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40730 s,@WXUNIV@,$WXUNIV,;t t
40731 s,@MONOLITHIC@,$MONOLITHIC,;t t
40732 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40733 s,@EXTRALIBS@,$EXTRALIBS,;t t
40734 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40735 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40736 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40737 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40738 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40739 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40740 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40741 s,@UNICODE@,$UNICODE,;t t
40742 s,@BUILD@,$BUILD,;t t
40743 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40744 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40745 s,@SHARED@,$SHARED,;t t
40746 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40747 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40748 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40749 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40750 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40751 s,@SET_MAKE@,$SET_MAKE,;t t
40752 s,@MAKE_SET@,$MAKE_SET,;t t
40753 s,@ac_ct_AR@,$ac_ct_AR,;t t
40754 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40756 s,@ac_ct_NM@,$ac_ct_NM,;t t
40757 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40758 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40759 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40760 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40761 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40762 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40763 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40764 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40765 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40766 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40767 s,@LIBPREFIX@,$LIBPREFIX,;t t
40768 s,@DLLPREFIX@,$DLLPREFIX,;t t
40769 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40770 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40771 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40772 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40773 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40774 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40775 s,@PIC_FLAG@,$PIC_FLAG,;t t
40776 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40777 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40778 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40779 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40780 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40781 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40782 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40783 s,@GCC_PCH@,$GCC_PCH,;t t
40784 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40785 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40786 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40787 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40788 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40789 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40790 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40791 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40792 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40793 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40794 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40795 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40796 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40797 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40798 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40799 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40800 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40801 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40802 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
40803 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40804 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40805 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40806 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40807 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
40808 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40809 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40810 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40811 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40812 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40813 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40814 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40815 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40816 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40817 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40818 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40819 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40820 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40821 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40822 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40823 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40824 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40825 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40826 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40827 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40828 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40829 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40830 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40831 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40832 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40833 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40834 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40835 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40836 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40837 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40838 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40839 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40840 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40841 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40842 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40843 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40844 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40845 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40846 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40847 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40848 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40849 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40850 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40851 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40852 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40853 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40854 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40855 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40856 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40857 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40858 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40859 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40860 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40861 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40862 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40863 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40864 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40865 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40866 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40867 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40868 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40869 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40870 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40871 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40872 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40873 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40874 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40875 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40876 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40877 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40878 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40879 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40880 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40881 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40882 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40883 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40884 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40885 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40886 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40887 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40888 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40889 s,@PATH_IFS@,$PATH_IFS,;t t
40890 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40891 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40892 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40893 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40894 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40895 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40896 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40897 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40898 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40899 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40900 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40901 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40902 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40903 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40904 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40905 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40906 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40907 s,@WX_ALL@,$WX_ALL,;t t
40908 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40909 s,@SHARED_LD@,$SHARED_LD,;t t
40910 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40911 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40912 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40913 s,@USE_GUI@,$USE_GUI,;t t
40914 s,@AFMINSTALL@,$AFMINSTALL,;t t
40915 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40916 s,@TOOLKIT@,$TOOLKIT,;t t
40917 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40918 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40919 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40920 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40921 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40922 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40923 s,@cross_compiling@,$cross_compiling,;t t
40924 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40925 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40926 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40927 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40928 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40929 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40930 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40931 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40932 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40933 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40934 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40935 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40936 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40937 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40938 s,@GUIDIST@,$GUIDIST,;t t
40939 s,@PORT_FILES@,$PORT_FILES,;t t
40940 s,@DISTDIR@,$DISTDIR,;t t
40941 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40942 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40943 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40944 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40945 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40946 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40947 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40948 s,@RESFLAGS@,$RESFLAGS,;t t
40949 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40950 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40951 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40952 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40953 s,@MACRESCOMP@,$MACRESCOMP,;t t
40954 s,@MACSETFILE@,$MACSETFILE,;t t
40955 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40957 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40958 s,@DLLTOOL@,$DLLTOOL,;t t
40961 s,@MAKEINFO@,$MAKEINFO,;t t
40962 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40963 s,@LIBOBJS@,$LIBOBJS,;t t
40964 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40969 cat >>$CONFIG_STATUS <<\_ACEOF
40970 # Split the substitutions into bite-sized pieces for seds with
40971 # small command number limits, like on Digital OSF/1 and HP-UX.
40972 ac_max_sed_lines
=48
40973 ac_sed_frag
=1 # Number of current file.
40974 ac_beg
=1 # First line for current file.
40975 ac_end
=$ac_max_sed_lines # Line after last line for current file.
40978 while $ac_more_lines; do
40979 if test $ac_beg -gt 1; then
40980 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40982 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40984 if test ! -s $tmp/subs.frag
; then
40985 ac_more_lines
=false
40987 # The purpose of the label and of the branching condition is to
40988 # speed up the sed processing (if there are no `@' at all, there
40989 # is no need to browse any of the substitutions).
40990 # These are the two extra sed commands mentioned above.
40992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
40993 if test -z "$ac_sed_cmds"; then
40994 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
40996 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40998 ac_sed_frag
=`expr $ac_sed_frag + 1`
41000 ac_end
=`expr $ac_end + $ac_max_sed_lines`
41003 if test -z "$ac_sed_cmds"; then
41006 fi # test -n "$CONFIG_FILES"
41009 cat >>$CONFIG_STATUS <<\_ACEOF
41010 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
41011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41013 - | *:- | *:-:* ) # input from stdin
41015 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41016 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41017 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41018 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41019 * ) ac_file_in
=$ac_file.
in ;;
41022 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41023 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41025 X"$ac_file" : 'X\(//\)[^/]' \| \
41026 X"$ac_file" : 'X\(//\)$' \| \
41027 X"$ac_file" : 'X\(/\)' \| \
41028 . : '\(.\)' 2>/dev/null ||
41030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41032 /^X\(\/\/\)$/{ s//\1/; q; }
41033 /^X\(\/\).*/{ s//\1/; q; }
41035 { if $as_mkdir_p; then
41040 while test ! -d "$as_dir"; do
41041 as_dirs
="$as_dir $as_dirs"
41042 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41044 X"$as_dir" : 'X\(//\)[^/]' \| \
41045 X"$as_dir" : 'X\(//\)$' \| \
41046 X"$as_dir" : 'X\(/\)' \| \
41047 . : '\(.\)' 2>/dev/null ||
41049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41051 /^X\(\/\/\)$/{ s//\1/; q; }
41052 /^X\(\/\).*/{ s//\1/; q; }
41055 test ! -n "$as_dirs" || mkdir $as_dirs
41056 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41057 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41058 { (exit 1); exit 1; }; }; }
41062 if test "$ac_dir" != .
; then
41063 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41064 # A "../" for each directory in $ac_dir_suffix.
41065 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41067 ac_dir_suffix
= ac_top_builddir
=
41071 .
) # No --srcdir option. We are building in place.
41073 if test -z "$ac_top_builddir"; then
41076 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41078 [\\/]* | ?
:[\\/]* ) # Absolute path.
41079 ac_srcdir
=$srcdir$ac_dir_suffix;
41080 ac_top_srcdir
=$srcdir ;;
41081 *) # Relative path.
41082 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41083 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41086 # Do not use `cd foo && pwd` to compute absolute paths, because
41087 # the directories may not exist.
41089 .
) ac_abs_builddir
="$ac_dir";;
41092 .
) ac_abs_builddir
=`pwd`;;
41093 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41094 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41097 case $ac_abs_builddir in
41098 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41100 case ${ac_top_builddir}.
in
41101 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41102 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41103 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41106 case $ac_abs_builddir in
41107 .
) ac_abs_srcdir
=$ac_srcdir;;
41110 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41111 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41112 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41115 case $ac_abs_builddir in
41116 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41118 case $ac_top_srcdir in
41119 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41120 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41121 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41127 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41128 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
41131 if test x
"$ac_file" != x
-; then
41132 { echo "$as_me:$LINENO: creating $ac_file" >&5
41133 echo "$as_me: creating $ac_file" >&6;}
41136 # Let's still pretend it is `configure' which instantiates (i.e., don't
41137 # use $as_me), people would be surprised to read:
41138 # /* config.h. Generated by config.status. */
41139 if test x
"$ac_file" = x
-; then
41142 configure_input
="$ac_file. "
41144 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41145 sed 's,.*/,,'` by configure."
41147 # First look for the input files in the build tree, otherwise in the
41149 ac_file_inputs
=`IFS=:
41150 for f in $ac_file_in; do
41152 -) echo $tmp/stdin ;;
41154 # Absolute (can't be DOS-style, as IFS=:)
41155 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41156 echo "$as_me: error: cannot find input file: $f" >&2;}
41157 { (exit 1); exit 1; }; }
41160 if test -f "$f"; then
41163 elif test -f "$srcdir/$f"; then
41168 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41169 echo "$as_me: error: cannot find input file: $f" >&2;}
41170 { (exit 1); exit 1; }; }
41173 done` || { (exit 1); exit 1; }
41175 cat >>$CONFIG_STATUS <<_ACEOF
41179 cat >>$CONFIG_STATUS <<\_ACEOF
41181 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41182 s
,@configure_input@
,$configure_input,;t t
41183 s
,@srcdir@
,$ac_srcdir,;t t
41184 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41185 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41186 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41187 s
,@builddir@
,$ac_builddir,;t t
41188 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41189 s
,@top_builddir@
,$ac_top_builddir,;t t
41190 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41191 s
,@INSTALL@
,$ac_INSTALL,;t t
41192 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41194 if test x"$ac_file" != x-; then
41195 mv $tmp/out $ac_file
41203 cat >>$CONFIG_STATUS <<\_ACEOF
41206 # CONFIG_HEADER section.
41209 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41210 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41212 # ac_d sets the value in "#define NAME VALUE" lines.
41213 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41214 ac_dB
='[ ].*$,\1#\2'
41217 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41218 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41219 ac_uB
='$,\1#\2define\3'
41223 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41224 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41226 - | *:- | *:-:* ) # input from stdin
41228 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41229 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41230 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41231 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41232 * ) ac_file_in
=$ac_file.
in ;;
41235 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41236 echo "$as_me: creating $ac_file" >&6;}
41238 # First look for the input files in the build tree, otherwise in the
41240 ac_file_inputs
=`IFS=:
41241 for f in $ac_file_in; do
41243 -) echo $tmp/stdin ;;
41245 # Absolute (can't be DOS-style, as IFS=:)
41246 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41247 echo "$as_me: error: cannot find input file: $f" >&2;}
41248 { (exit 1); exit 1; }; }
41249 # Do quote $f, to prevent DOS paths from being IFS'd.
41252 if test -f "$f"; then
41255 elif test -f "$srcdir/$f"; then
41260 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41261 echo "$as_me: error: cannot find input file: $f" >&2;}
41262 { (exit 1); exit 1; }; }
41265 done` || { (exit 1); exit 1; }
41266 # Remove the trailing spaces.
41267 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41271 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41272 # `conftest.undefs', that substitutes the proper values into
41273 # config.h.in to produce config.h. The first handles `#define'
41274 # templates, and the second `#undef' templates.
41275 # And first: Protect against being on the right side of a sed subst in
41276 # config.status. Protect against being in an unquoted here document
41277 # in config.status.
41278 rm -f conftest.defines conftest.undefs
41279 # Using a here document instead of a string reduces the quoting nightmare.
41280 # Putting comments in sed scripts is not portable.
41282 # `end' is used to avoid that the second main sed command (meant for
41283 # 0-ary CPP macros) applies to n-ary macro definitions.
41284 # See the Autoconf documentation for `clear'.
41285 cat >confdef2sed.
sed <<\_ACEOF
41290 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41292 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41295 # If some macros were called several times there might be several times
41296 # the same #defines, which is useless. Nevertheless, we may not want to
41297 # sort them, since we want the *last* AC-DEFINE to be honored.
41298 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41299 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41300 rm -f confdef2sed.sed
41302 # This sed command replaces #undef with comments. This is necessary, for
41303 # example, in the case of _POSIX_SOURCE, which is predefined and required
41304 # on some systems where configure will not decide to define it.
41305 cat >>conftest.undefs <<\_ACEOF
41306 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41309 # Break up conftest.defines because some shells have a limit on the size
41310 # of here documents, and old seds have small limits too (100 cmds).
41311 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41312 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41313 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41314 echo ' :' >>$CONFIG_STATUS
41315 rm -f conftest.tail
41316 while grep . conftest.defines >/dev/null
41318 # Write a limited-size here document to $tmp/defines.sed.
41319 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41320 # Speed up: don't consider the non `#define' lines.
41321 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41322 # Work around the forget-to-reset-the-flag bug.
41323 echo 't clr' >>$CONFIG_STATUS
41324 echo ': clr' >>$CONFIG_STATUS
41325 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41327 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41329 mv $tmp/out $tmp/in
41331 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41332 rm -f conftest.defines
41333 mv conftest.
tail conftest.defines
41335 rm -f conftest.defines
41336 echo ' fi # grep' >>$CONFIG_STATUS
41337 echo >>$CONFIG_STATUS
41339 # Break up conftest.undefs because some shells have a limit on the size
41340 # of here documents, and old seds have small limits too (100 cmds).
41341 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41342 rm -f conftest.
tail
41343 while grep . conftest.undefs
>/dev
/null
41345 # Write a limited-size here document to $tmp/undefs.sed.
41346 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41347 # Speed up: don't consider the non
`#undef'
41348 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41349 # Work around the forget-to-reset-the-flag bug.
41350 echo 't clr' >>$CONFIG_STATUS
41351 echo ': clr' >>$CONFIG_STATUS
41352 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41354 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41356 mv $tmp/out $tmp/in
41358 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41359 rm -f conftest.undefs
41360 mv conftest.tail conftest.undefs
41362 rm -f conftest.undefs
41364 cat >>$CONFIG_STATUS <<\_ACEOF
41365 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41366 # use $as_me), people would be surprised to read:
41367 # /* config.h. Generated by config.status. */
41368 if test x
"$ac_file" = x
-; then
41369 echo "/* Generated by configure. */" >$tmp/config.h
41371 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41373 cat $tmp/in >>$tmp/config.h
41375 if test x
"$ac_file" != x
-; then
41376 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41377 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41378 echo "$as_me: $ac_file is unchanged" >&6;}
41380 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41382 X"$ac_file" : 'X\(//\)[^/]' \| \
41383 X"$ac_file" : 'X\(//\)$' \| \
41384 X"$ac_file" : 'X\(/\)' \| \
41385 . : '\(.\)' 2>/dev/null ||
41387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41389 /^X\(\/\/\)$/{ s//\1/; q; }
41390 /^X\(\/\).*/{ s//\1/; q; }
41392 { if $as_mkdir_p; then
41397 while test ! -d "$as_dir"; do
41398 as_dirs
="$as_dir $as_dirs"
41399 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41401 X"$as_dir" : 'X\(//\)[^/]' \| \
41402 X"$as_dir" : 'X\(//\)$' \| \
41403 X"$as_dir" : 'X\(/\)' \| \
41404 . : '\(.\)' 2>/dev/null ||
41406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41407 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41408 /^X\(\/\/\)$/{ s//\1/; q; }
41409 /^X\(\/\).*/{ s//\1/; q; }
41412 test ! -n "$as_dirs" || mkdir $as_dirs
41413 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41414 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41415 { (exit 1); exit 1; }; }; }
41418 mv $tmp/config.h
$ac_file
41422 rm -f $tmp/config.h
41426 cat >>$CONFIG_STATUS <<\_ACEOF
41429 # CONFIG_COMMANDS section.
41431 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41432 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41433 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41434 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41435 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41436 X"$ac_dest" : 'X\(//\)[^/]' \| \
41437 X"$ac_dest" : 'X\(//\)$' \| \
41438 X"$ac_dest" : 'X\(/\)' \| \
41439 . : '\(.\)' 2>/dev/null ||
41441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41443 /^X\(\/\/\)$/{ s//\1/; q; }
41444 /^X\(\/\).*/{ s//\1/; q; }
41446 { if $as_mkdir_p; then
41451 while test ! -d "$as_dir"; do
41452 as_dirs
="$as_dir $as_dirs"
41453 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41455 X"$as_dir" : 'X\(//\)[^/]' \| \
41456 X"$as_dir" : 'X\(//\)$' \| \
41457 X"$as_dir" : 'X\(/\)' \| \
41458 . : '\(.\)' 2>/dev/null ||
41460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41462 /^X\(\/\/\)$/{ s//\1/; q; }
41463 /^X\(\/\).*/{ s//\1/; q; }
41466 test ! -n "$as_dirs" || mkdir $as_dirs
41467 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41468 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41469 { (exit 1); exit 1; }; }; }
41473 if test "$ac_dir" != .
; then
41474 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41475 # A "../" for each directory in $ac_dir_suffix.
41476 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41478 ac_dir_suffix
= ac_top_builddir
=
41482 .
) # No --srcdir option. We are building in place.
41484 if test -z "$ac_top_builddir"; then
41487 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41489 [\\/]* | ?
:[\\/]* ) # Absolute path.
41490 ac_srcdir
=$srcdir$ac_dir_suffix;
41491 ac_top_srcdir
=$srcdir ;;
41492 *) # Relative path.
41493 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41494 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41497 # Do not use `cd foo && pwd` to compute absolute paths, because
41498 # the directories may not exist.
41500 .
) ac_abs_builddir
="$ac_dir";;
41503 .
) ac_abs_builddir
=`pwd`;;
41504 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41505 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41508 case $ac_abs_builddir in
41509 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41511 case ${ac_top_builddir}.
in
41512 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41513 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41514 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41517 case $ac_abs_builddir in
41518 .
) ac_abs_srcdir
=$ac_srcdir;;
41521 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41522 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41523 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41526 case $ac_abs_builddir in
41527 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41529 case $ac_top_srcdir in
41530 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41531 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41532 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41537 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41538 echo "$as_me: executing $ac_dest commands" >&6;}
41541 if test ! -h wx
-config; then
41543 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41544 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41547 if test ! -d lib
; then
41550 if test ! -d lib
/wx
; then
41553 if test ! -d lib
/wx
/include
; then
41554 mkdir lib
/wx
/include
41556 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41557 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41559 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41560 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41562 if test -f setup.h
; then
41563 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41570 cat >>$CONFIG_STATUS <<\_ACEOF
41572 { (exit 0); exit 0; }
41574 chmod +x
$CONFIG_STATUS
41575 ac_clean_files
=$ac_clean_files_save
41578 # configure is writing to config.log, and then calls config.status.
41579 # config.status does its own redirection, appending to config.log.
41580 # Unfortunately, on DOS this fails, as config.log is still kept open
41581 # by configure, so config.status won't be able to write to it; its
41582 # output is simply discarded. So we exec the FD to /dev/null,
41583 # effectively closing config.log, so it can be properly (re)opened and
41584 # appended to by config.status. When coming back to configure, we
41585 # need to make the FD available again.
41586 if test "$no_create" != yes; then
41588 ac_config_status_args
=
41589 test "$silent" = yes &&
41590 ac_config_status_args
="$ac_config_status_args --quiet"
41592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41595 # would make configure fail if this is the last instruction.
41596 $ac_cs_success || { (exit 1); exit 1; }
41600 # CONFIG_SUBDIRS section.
41602 if test "$no_recursion" != yes; then
41604 # Remove --cache-file and --srcdir arguments so they do not pile up.
41605 ac_sub_configure_args
=
41607 for ac_arg
in $ac_configure_args; do
41608 if test -n "$ac_prev"; then
41613 -cache-file | --cache-file | --cache-fil | --cache-fi \
41614 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41615 ac_prev
=cache_file
;;
41616 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41617 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41620 --config-cache | -C)
41622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41626 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41628 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41630 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41634 # Always prepend --prefix to ensure using the same prefix
41635 # in subdir configurations.
41636 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41639 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41641 # Do not complain, so a configure script can configure whichever
41642 # parts of a large source tree are present.
41643 test -d $srcdir/$ac_dir || continue
41645 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41646 echo "$as_me: configuring in $ac_dir" >&6;}
41647 { if $as_mkdir_p; then
41652 while test ! -d "$as_dir"; do
41653 as_dirs
="$as_dir $as_dirs"
41654 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41656 X"$as_dir" : 'X\(//\)[^/]' \| \
41657 X"$as_dir" : 'X\(//\)$' \| \
41658 X"$as_dir" : 'X\(/\)' \| \
41659 . : '\(.\)' 2>/dev/null ||
41661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41663 /^X\(\/\/\)$/{ s//\1/; q; }
41664 /^X\(\/\).*/{ s//\1/; q; }
41667 test ! -n "$as_dirs" || mkdir $as_dirs
41668 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41669 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41670 { (exit 1); exit 1; }; }; }
41674 if test "$ac_dir" != .
; then
41675 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41676 # A "../" for each directory in $ac_dir_suffix.
41677 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41679 ac_dir_suffix
= ac_top_builddir
=
41683 .
) # No --srcdir option. We are building in place.
41685 if test -z "$ac_top_builddir"; then
41688 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41690 [\\/]* | ?
:[\\/]* ) # Absolute path.
41691 ac_srcdir
=$srcdir$ac_dir_suffix;
41692 ac_top_srcdir
=$srcdir ;;
41693 *) # Relative path.
41694 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41695 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41698 # Do not use `cd foo && pwd` to compute absolute paths, because
41699 # the directories may not exist.
41701 .
) ac_abs_builddir
="$ac_dir";;
41704 .
) ac_abs_builddir
=`pwd`;;
41705 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41706 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41709 case $ac_abs_builddir in
41710 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41712 case ${ac_top_builddir}.
in
41713 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41714 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41715 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41718 case $ac_abs_builddir in
41719 .
) ac_abs_srcdir
=$ac_srcdir;;
41722 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41723 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41724 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41727 case $ac_abs_builddir in
41728 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41730 case $ac_top_srcdir in
41731 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41732 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41733 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41740 # Check for guested configure; otherwise get Cygnus style configure.
41741 if test -f $ac_srcdir/configure.gnu
; then
41742 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41743 elif test -f $ac_srcdir/configure
; then
41744 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41745 elif test -f $ac_srcdir/configure.
in; then
41746 ac_sub_configure
=$ac_configure
41748 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41749 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41753 # The recursion is here.
41754 if test -n "$ac_sub_configure"; then
41755 # Make the cache file name correct relative to the subdirectory.
41756 case $cache_file in
41757 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41758 *) # Relative path.
41759 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41762 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41763 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41764 # The eval makes quoting arguments work.
41765 eval $ac_sub_configure $ac_sub_configure_args \
41766 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41767 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41768 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41769 { (exit 1); exit 1; }; }
41778 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41780 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41781 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41783 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41784 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41785 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41787 echo " What level of wxWindows compatibility should be enabled?"
41788 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41789 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41791 echo " Which libraries should wxWindows use?"
41792 echo " jpeg ${wxUSE_LIBJPEG-none}"
41793 echo " png ${wxUSE_LIBPNG-none}"
41794 echo " regex ${wxUSE_REGEX}"
41795 echo " tiff ${wxUSE_LIBTIFF-none}"
41796 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41797 echo " xpm ${wxUSE_LIBXPM-none}"
41799 echo " zlib ${wxUSE_ZLIB}"
41800 echo " odbc ${wxUSE_ODBC}"
41801 echo " expat ${wxUSE_EXPAT}"
41802 echo " libmspack ${wxUSE_LIBMSPACK}"
41803 echo " sdl ${wxUSE_LIBSDL}"