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-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL
for containers
880 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
881 --enable-debug_info create code with debugging information
882 --enable-debug_gdb create code with extra GDB debugging information
883 --enable-debug_cntxt use wxDebugContext
884 --enable-mem_tracing create code with memory tracing
885 --enable-profile create code with profiling information
886 --enable-no_rtti create code without RTTI information
887 --enable-no_exceptions create code without C
++ exceptions handling
888 --enable-permissive compile code disregarding strict ANSI
889 --enable-no_deps create code without dependency information
890 --enable-compat22 enable wxWindows
2.2 compatibility
891 --disable-compat24 disable wxWindows
2.4 compatibility
892 --enable-rpath=DIR output the rpath flag from wx
-config
893 --enable-intl use internationalization system
894 --enable-config use wxConfig
(and derived
) classes
895 --enable-protocols use wxProtocol and derived classes
896 --enable-ftp use wxFTP
(requires wxProtocol
897 --enable-http use wxHTTP
(requires wxProtocol
898 --enable-fileproto use wxFileProto class
(requires wxProtocol
899 --enable-sockets use socket
/network classes
900 --enable-ole use OLE classes
(Win32 only
)
901 --enable-dataobj use data object classes
902 --enable-ipc use interprocess communication
(wxSocket etc.
)
903 --enable-apple_ieee use the Apple IEEE codec
904 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
905 --enable-cmdline use wxCmdLineParser class
906 --enable-datetime use wxDateTime class
907 --enable-dialupman use dialup network classes
908 --enable-dynlib use wxLibrary class
for DLL loading
909 --enable-dynamicloader use
(new
) wxDynamicLibrary class
910 --enable-exceptions build exception
-safe library
911 --enable-ffile use wxFFile class
912 --enable-file use wxFile class
913 --enable-filesystem use virtual
file systems classes
914 --enable-fontmap use font encodings conversion classes
915 --enable-fs_inet use virtual HTTP
/FTP filesystems
916 --enable-fs_zip use virtual ZIP filesystems
917 --enable-geometry use geometry class
918 --enable-log use logging system
919 --enable-longlong use wxLongLong class
920 --enable-mimetype use wxMimeTypesManager
921 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
922 --enable-snglinst use wxSingleInstanceChecker class
923 --enable-streams use wxStream etc classes
924 --enable-std_iostreams use standard C
++ stream classes
925 --enable-stopwatch use wxStopWatch class
926 --enable-sysoptions use wxSystemOptions
927 --enable-textbuf use wxTextBuffer class
928 --enable-textfile use wxTextFile class
929 --enable-timer use wxTimer class
930 --enable-unicode compile wxString with Unicode support
931 --enable-sound use wxSound class
932 --enable-wxprintfv use wxWindows implementation of vprintf
()
933 --enable-zipstream use wxZipInputStream
934 --enable-gzstream use wxGzipInputStream
935 --enable-url use wxURL class
936 --enable-protocol use wxProtocol class
937 --enable-protocol-http HTTP support
in wxProtocol
938 --enable-protocol-ftp FTP support
in wxProtocol
939 --enable-protocol-file FILE support
in wxProtocol
940 --enable-threads use threads
941 --enable-docview use document view architecture
942 --enable-help use
help subsystem
943 --enable-mshtmlhelp use MS HTML Help
(win32
)
944 --enable-html use wxHTML sub
-library
945 --enable-htmlhelp use wxHTML
-based help
946 --enable-constraints use layout
-constraints system
947 --enable-printarch use printing architecture
948 --enable-mdi use multiple document interface architecture
949 --enable-loggui use standard GUI logger
950 --enable-logwin use wxLogWindow
951 --enable-logdialog use wxLogDialog
952 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
953 --enable-prologio not available
; see contrib
954 --enable-resources not available
; see contrib
955 --enable-clipboard use wxClipboard class
956 --enable-dnd use Drag
'n'Drop classes
957 --enable-metafile use win32 metafiles
958 --enable-controls use all usual controls
959 --enable-accel use accelerators
960 --enable-button use wxButton class
961 --enable-bmpbutton use wxBitmapButton class
962 --enable-calendar use wxCalendarCtrl class
963 --enable-caret use wxCaret class
964 --enable-checkbox use wxCheckBox class
965 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
966 --enable-choice use wxChoice class
967 --enable-combobox use wxComboBox class
968 --enable-display use wxDisplay class
969 --enable-gauge use wxGauge class
970 --enable-grid use wxGrid class
971 --enable-imaglist use wxImageList class
972 --enable-listbook use wxListbook class
973 --enable-listbox use wxListBox class
974 --enable-listctrl use wxListCtrl class
975 --enable-notebook use wxNotebook class
976 --enable-radiobox use wxRadioBox class
977 --enable-radiobtn use wxRadioButton class
978 --enable-sash use wxSashWindow class
979 --enable-scrollbar use wxScrollBar class and scrollable windows
980 --enable-slider use wxSlider class
981 --enable-spinbtn use wxSpinButton class
982 --enable-spinctrl use wxSpinCtrl class
983 --enable-splitter use wxSplitterWindow class
984 --enable-statbmp use wxStaticBitmap class
985 --enable-statbox use wxStaticBox class
986 --enable-statline use wxStaticLine class
987 --enable-stattext use wxStaticText class
988 --enable-statusbar use wxStatusBar class
989 --enable-tabdialog use wxTabControl class
990 --enable-textctrl use wxTextCtrl class
991 --enable-togglebtn use wxToggleButton class
992 --enable-toolbar use wxToolBar class
993 --enable-tbarnative use native wxToolBar class
994 --enable-tbarsmpl use wxToolBarSimple class
995 --enable-treectrl use wxTreeCtrl class
996 --enable-tipwindow use wxTipWindow class
997 --enable-popupwin use wxPopUpWindow class
998 --enable-commondlg use all common dialogs
999 --enable-choicedlg use wxChoiceDialog
1000 --enable-coldlg use wxColourDialog
1001 --enable-filedlg use wxFileDialog
1002 --enable-finddlg use wxFindReplaceDialog
1003 --enable-fontdlg use wxFontDialog
1004 --enable-dirdlg use wxDirDialog
1005 --enable-msgdlg use wxMessageDialog
1006 --enable-numberdlg use wxNumberEntryDialog
1007 --enable-splash use wxSplashScreen
1008 --enable-textdlg use wxTextDialog
1009 --enable-tipdlg use startup tips
1010 --enable-progressdlg use wxProgressDialog
1011 --enable-wizarddlg use wxWizard
1012 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1013 --enable-miniframe use wxMiniFrame class
1014 --enable-tooltips use wxToolTip class
1015 --enable-splines use spline drawing code
1016 --enable-validators use wxValidator and derived classes
1017 --enable-busyinfo use wxBusyInfo
1018 --enable-joystick use wxJoystick
(Linux only
)
1019 --enable-metafiles use wxMetaFile
(Windows only
)
1020 --enable-dragimage use wxDragImage
1021 --enable-accessibility enable accessibility support
1022 --enable-palette use wxPalette class
1023 --enable-image use wxImage class
1024 --enable-gif use gif images
(GIF
file format
)
1025 --enable-pcx use pcx images
(PCX
file format
)
1026 --enable-iff use iff images
(IFF
file format
)
1027 --enable-pnm use pnm images
(PNM
file format
)
1028 --enable-xpm use xpm images
(XPM
file format
)
1029 --enable-icocur use Windows ICO and CUR formats
1030 --enable-official_build official build of wxWindows
(win32 DLL only
)
1031 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1032 --disable-largefile omit support
for large files
1033 --disable-gtktest do not try to compile and run a
test GTK
+ program
1034 --disable-gtktest Do not try to compile and run a
test GTK program
1035 --disable-sdltest Do not try to compile and run a
test SDL program
1036 --disable-precomp-headers don
't use precompiled headers even if compiler can
1039 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1040 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1042 --with-motif use Motif/Lesstif
1043 --with-mac use Mac OS X
1044 --with-cocoa use Cocoa
1045 --with-wine use Wine
1046 --with-msw use MS-Windows
1047 --with-pm use OS/2 Presentation Manager
1048 --with-mgl use SciTech MGL
1049 --with-microwin use MicroWindows
1051 --with-libpng use libpng (PNG image format)
1052 --with-libjpeg use libjpeg (JPEG file format)
1053 --with-libtiff use libtiff (TIFF file format)
1054 --with-libxpm use libxpm (XPM file format)
1055 --with-libmspack use libmspack (CHM help files loading)
1056 --with-sdl use SDL for audio on Unix
1057 --with-opengl use OpenGL (or Mesa)
1058 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1059 --with-regex enable support for wxRegEx class
1060 --with-zlib use zlib for LZW compression
1061 --with-odbc use the IODBC and wxODBC classes
1062 --with-expat enable XML support using expat parser
1063 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1064 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1065 --with-x use the X Window System
1066 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1067 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1068 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1070 Some influential environment variables:
1071 CC C compiler command
1072 CFLAGS C compiler flags
1073 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1074 nonstandard directory <lib dir>
1075 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1076 headers in a nonstandard directory <include dir>
1078 CXX C++ compiler command
1079 CXXFLAGS C++ compiler flags
1080 CXXCPP C++ preprocessor
1082 Use these variables to override the choices made by `configure' or to
help
1083 it to
find libraries and programs with nonstandard names
/locations.
1085 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1089 if test "$ac_init_help" = "recursive"; then
1090 # If there are subdirs, report their specific --help.
1092 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1093 test -d $ac_dir || continue
1096 if test "$ac_dir" != .
; then
1097 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1098 # A "../" for each directory in $ac_dir_suffix.
1099 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1101 ac_dir_suffix
= ac_top_builddir
=
1105 .
) # No --srcdir option. We are building in place.
1107 if test -z "$ac_top_builddir"; then
1110 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1112 [\\/]* | ?
:[\\/]* ) # Absolute path.
1113 ac_srcdir
=$srcdir$ac_dir_suffix;
1114 ac_top_srcdir
=$srcdir ;;
1116 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1117 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1120 # Do not use `cd foo && pwd` to compute absolute paths, because
1121 # the directories may not exist.
1123 .
) ac_abs_builddir
="$ac_dir";;
1126 .
) ac_abs_builddir
=`pwd`;;
1127 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1128 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1131 case $ac_abs_builddir in
1132 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1134 case ${ac_top_builddir}.
in
1135 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1136 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1137 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1140 case $ac_abs_builddir in
1141 .
) ac_abs_srcdir
=$ac_srcdir;;
1144 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1145 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1146 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1149 case $ac_abs_builddir in
1150 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1152 case $ac_top_srcdir in
1153 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1154 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1155 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1160 # Check for guested configure; otherwise get Cygnus style configure.
1161 if test -f $ac_srcdir/configure.gnu
; then
1163 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1164 elif test -f $ac_srcdir/configure
; then
1166 $SHELL $ac_srcdir/configure
--help=recursive
1167 elif test -f $ac_srcdir/configure.ac
||
1168 test -f $ac_srcdir/configure.
in; then
1170 $ac_configure --help
1172 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1178 test -n "$ac_init_help" && exit 0
1179 if $ac_init_version; then
1181 wxWindows configure
2.5.1
1182 generated by GNU Autoconf
2.59
1184 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1185 This configure
script is free software
; the Free Software Foundation
1186 gives unlimited permission to copy
, distribute and modify it.
1192 This file contains any messages produced by compilers while
1193 running configure, to aid debugging if configure makes a mistake.
1195 It was created by wxWindows $as_me 2.5.1, which was
1196 generated by GNU Autoconf 2.59. Invocation command line was
1207 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1208 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1209 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1210 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1211 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1213 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1214 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1216 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1217 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1218 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1219 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1220 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1221 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1222 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1230 test -z "$as_dir" && as_dir
=.
1231 echo "PATH: $as_dir"
1246 # Keep a trace of the command line.
1247 # Strip out --no-create and --no-recursion so they do not pile up.
1248 # Strip out --silent because we don't want to record it for future runs.
1249 # Also quote any args containing shell meta-characters.
1250 # Make two passes to allow for proper duplicate-argument suppression.
1255 ac_must_keep_next
=false
1261 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1263 | -silent | --silent | --silen | --sile | --sil)
1265 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1269 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1271 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1272 if test $ac_must_keep_next = true
; then
1273 ac_must_keep_next
=false
# Got value, back to normal.
1276 *=* | --config-cache | -C | -disable-* | --disable-* \
1277 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1278 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1279 | -with-* | --with-* | -without-* | --without-* | --x)
1280 case "$ac_configure_args0 " in
1281 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1284 -* ) ac_must_keep_next
=true
;;
1287 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1288 # Get rid of the leading space.
1294 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1295 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1297 # When interrupted or exit'd, cleanup temporary files, and complete
1298 # config.log. We remove comments because anyway the quotes in there
1299 # would cause problems or look ugly.
1300 # WARNING: Be sure not to use single quotes in there, as some shells,
1301 # such as our DU 5.0 friend, will then `close' the trap.
1302 trap 'exit_status=$?
1303 # Save into config.log some information that might help in debugging.
1308 ## ---------------- ##
1309 ## Cache variables. ##
1310 ## ---------------- ##
1313 # The following way of writing the cache mishandles newlines in values,
1316 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1319 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1324 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1331 ## ----------------- ##
1332 ## Output variables. ##
1333 ## ----------------- ##
1336 for ac_var in $ac_subst_vars
1338 eval ac_val=$`echo $ac_var`
1339 echo "$ac_var='"'"'$ac_val'"'"'"
1343 if test -n "$ac_subst_files"; then
1350 for ac_var in $ac_subst_files
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1358 if test -s confdefs.h; then
1365 sed "/^$/d" confdefs.h | sort
1368 test "$ac_signal" != 0 &&
1369 echo "$as_me: caught signal $ac_signal"
1370 echo "$as_me: exit $exit_status"
1372 rm -f core *.core &&
1373 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1376 for ac_signal
in 1 2 13 15; do
1377 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1381 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1382 rm -rf conftest
* confdefs.h
1383 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1386 # Predefined preprocessor variables.
1388 cat >>confdefs.h
<<_ACEOF
1389 #define PACKAGE_NAME "$PACKAGE_NAME"
1393 cat >>confdefs.h
<<_ACEOF
1394 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_STRING "$PACKAGE_STRING"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1413 # Let the site file select an alternate cache file if it wants to.
1414 # Prefer explicitly selected file to automatically selected ones.
1415 if test -z "$CONFIG_SITE"; then
1416 if test "x$prefix" != xNONE
; then
1417 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1419 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1422 for ac_site_file
in $CONFIG_SITE; do
1423 if test -r "$ac_site_file"; then
1424 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1425 echo "$as_me: loading site script $ac_site_file" >&6;}
1426 sed 's/^/| /' "$ac_site_file" >&5
1431 if test -r "$cache_file"; then
1432 # Some versions of bash will fail to source /dev/null (special
1433 # files actually), so we avoid doing that.
1434 if test -f "$cache_file"; then
1435 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1436 echo "$as_me: loading cache $cache_file" >&6;}
1438 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1439 *) . .
/$cache_file;;
1443 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1444 echo "$as_me: creating cache $cache_file" >&6;}
1448 # Check that the precious variables saved in the cache have kept the same
1450 ac_cache_corrupted
=false
1451 for ac_var
in `(set) 2>&1 |
1452 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1453 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1454 eval ac_new_set
=\
$ac_env_${ac_var}_set
1455 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1456 eval ac_new_val
="\$ac_env_${ac_var}_value"
1457 case $ac_old_set,$ac_new_set in
1459 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1460 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1461 ac_cache_corrupted
=: ;;
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1465 ac_cache_corrupted
=: ;;
1468 if test "x$ac_old_val" != "x$ac_new_val"; then
1469 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1470 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1471 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1472 echo "$as_me: former value: $ac_old_val" >&2;}
1473 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1474 echo "$as_me: current value: $ac_new_val" >&2;}
1475 ac_cache_corrupted
=:
1478 # Pass precious variables to config.status.
1479 if test "$ac_new_set" = set; then
1481 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1482 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1483 *) ac_arg
=$ac_var=$ac_new_val ;;
1485 case " $ac_configure_args " in
1486 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1487 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1491 if $ac_cache_corrupted; then
1492 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1493 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1494 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1495 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1496 { (exit 1); exit 1; }; }
1500 ac_cpp
='$CPP $CPPFLAGS'
1501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1535 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1536 if test -f $ac_dir/install-sh; then
1538 ac_install_sh
="$ac_aux_dir/install-sh -c"
1540 elif test -f $ac_dir/install.sh
; then
1542 ac_install_sh
="$ac_aux_dir/install.sh -c"
1544 elif test -f $ac_dir/shtool
; then
1546 ac_install_sh
="$ac_aux_dir/shtool install -c"
1550 if test -z "$ac_aux_dir"; then
1551 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1552 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1553 { (exit 1); exit 1; }; }
1555 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1556 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1557 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1559 # Make sure we can run config.sub.
1560 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1561 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1562 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1563 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: checking build system type" >&5
1566 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1567 if test "${ac_cv_build+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 ac_cv_build_alias
=$build_alias
1571 test -z "$ac_cv_build_alias" &&
1572 ac_cv_build_alias
=`$ac_config_guess`
1573 test -z "$ac_cv_build_alias" &&
1574 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1575 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1576 { (exit 1); exit 1; }; }
1577 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1578 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1579 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1580 { (exit 1); exit 1; }; }
1583 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1584 echo "${ECHO_T}$ac_cv_build" >&6
1586 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1587 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1588 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591 echo "$as_me:$LINENO: checking host system type" >&5
1592 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1593 if test "${ac_cv_host+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1596 ac_cv_host_alias
=$host_alias
1597 test -z "$ac_cv_host_alias" &&
1598 ac_cv_host_alias
=$ac_cv_build_alias
1599 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1600 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1601 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1602 { (exit 1); exit 1; }; }
1605 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1606 echo "${ECHO_T}$ac_cv_host" >&6
1608 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1609 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1610 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1613 echo "$as_me:$LINENO: checking target system type" >&5
1614 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1615 if test "${ac_cv_target+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 ac_cv_target_alias
=$target_alias
1619 test "x$ac_cv_target_alias" = "x" &&
1620 ac_cv_target_alias
=$ac_cv_host_alias
1621 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1622 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1623 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1624 { (exit 1); exit 1; }; }
1627 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1628 echo "${ECHO_T}$ac_cv_target" >&6
1629 target
=$ac_cv_target
1630 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1631 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1632 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1635 # The aliases save the names the user supplied, while $host etc.
1636 # will get canonicalized.
1637 test -n "$target_alias" &&
1638 test "$program_prefix$program_suffix$program_transform_name" = \
1640 program_prefix
=${target_alias}-
1644 WX_MAJOR_VERSION_NUMBER
=2
1645 WX_MINOR_VERSION_NUMBER
=5
1648 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1649 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1651 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1667 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1673 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1679 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1681 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1683 DEFAULT_wxUSE_COCOA
=0
1687 DEFAULT_wxUSE_MICROWIN
=0
1688 DEFAULT_wxUSE_MOTIF
=0
1693 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1694 DEFAULT_DEFAULT_wxUSE_GTK
=0
1695 DEFAULT_DEFAULT_wxUSE_MAC
=0
1696 DEFAULT_DEFAULT_wxUSE_MGL
=0
1697 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1698 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1699 DEFAULT_DEFAULT_wxUSE_MSW
=0
1700 DEFAULT_DEFAULT_wxUSE_PM
=0
1701 DEFAULT_DEFAULT_wxUSE_X11
=0
1706 SAMPLES_RPATH_POSTLINK
=
1711 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1712 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1714 cat >>confdefs.h
<<\_ACEOF
1721 cat >>confdefs.h
<<\_ACEOF
1726 if test "x$TMP" = "xalpha"; then
1728 cat >>confdefs.h
<<\_ACEOF
1733 DEFAULT_DEFAULT_wxUSE_GTK
=1
1737 cat >>confdefs.h
<<\_ACEOF
1742 if test "x$TMP" = "xalpha"; then
1744 cat >>confdefs.h
<<\_ACEOF
1749 DEFAULT_DEFAULT_wxUSE_GTK
=1
1751 *-*-irix5* | *-*-irix6* )
1754 cat >>confdefs.h
<<\_ACEOF
1758 cat >>confdefs.h
<<\_ACEOF
1762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1768 cat >>confdefs.h
<<\_ACEOF
1772 cat >>confdefs.h
<<\_ACEOF
1773 #define __SOLARIS__ 1
1776 cat >>confdefs.h
<<\_ACEOF
1780 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1781 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1787 cat >>confdefs.h
<<\_ACEOF
1791 cat >>confdefs.h
<<\_ACEOF
1795 cat >>confdefs.h
<<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1804 cat >>confdefs.h
<<\_ACEOF
1805 #define __FREEBSD__ 1
1808 cat >>confdefs.h
<<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_GTK
=1
1817 cat >>confdefs.h
<<\_ACEOF
1818 #define __OPENBSD__ 1
1821 cat >>confdefs.h
<<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_GTK
=1
1830 cat >>confdefs.h
<<\_ACEOF
1831 #define __NETBSD__ 1
1834 cat >>confdefs.h
<<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_GTK
=1
1843 cat >>confdefs.h
<<\_ACEOF
1847 cat >>confdefs.h
<<\_ACEOF
1851 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1857 cat >>confdefs.h
<<\_ACEOF
1861 cat >>confdefs.h
<<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1870 cat >>confdefs.h
<<\_ACEOF
1874 cat >>confdefs.h
<<\_ACEOF
1878 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 cat >>confdefs.h
<<\_ACEOF
1897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1904 cat >>confdefs.h
<<\_ACEOF
1905 #define __UNIXWARE__ 1
1910 *-*-cygwin* | *-*-mingw32* )
1914 DEFAULT_DEFAULT_wxUSE_MSW
=1
1920 cat >>confdefs.h
<<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MGL
=1
1926 LIBS
="$LIBS -lstdc++"
1929 *-pc-os2_emx | *-pc-os2-emx )
1930 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_PM
=1
1942 LDFLAGS
="$LDFLAGS -Zcrtdll -Zsysv-signals"
1943 ac_executable_extensions
=".exe"
1944 export ac_executable_extensions
1948 for ac_dir
in $PATH; do
1950 if test -z "$ac_TEMP_PATH"; then
1951 ac_TEMP_PATH
="$ac_dir"
1953 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1956 export PATH
="$ac_TEMP_PATH"
1964 cat >>confdefs.h
<<\_ACEOF
1968 cat >>confdefs.h
<<\_ACEOF
1969 #define __DARWIN__ 1
1972 cat >>confdefs.h
<<\_ACEOF
1973 #define __POWERPC__ 1
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define TARGET_CARBON 1
1980 DEFAULT_DEFAULT_wxUSE_MAC
=1
1985 cat >>confdefs.h
<<\_ACEOF
1992 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1993 echo "$as_me: error: unknown system type ${host}." >&2;}
1994 { (exit 1); exit 1; }; }
2000 wx_arg_cache_file
="configarg.cache"
2001 echo "loading argument cache $wx_arg_cache_file"
2002 rm -f ${wx_arg_cache_file}.tmp
2003 touch ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}
2008 if test $DEBUG_CONFIGURE = 1; then
2009 DEFAULT_wxUSE_UNIVERSAL
=no
2010 DEFAULT_wxUSE_STL
=no
2012 DEFAULT_wxUSE_NANOX
=no
2014 DEFAULT_wxUSE_THREADS
=yes
2016 DEFAULT_wxUSE_SHARED
=yes
2017 DEFAULT_wxUSE_OPTIMISE
=no
2018 DEFAULT_wxUSE_PROFILE
=no
2019 DEFAULT_wxUSE_NO_DEPS
=no
2020 DEFAULT_wxUSE_NO_RTTI
=no
2021 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2022 DEFAULT_wxUSE_PERMISSIVE
=no
2023 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2024 DEFAULT_wxUSE_DEBUG_INFO
=yes
2025 DEFAULT_wxUSE_DEBUG_GDB
=yes
2026 DEFAULT_wxUSE_MEM_TRACING
=no
2027 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2028 DEFAULT_wxUSE_DMALLOC
=no
2029 DEFAULT_wxUSE_APPLE_IEEE
=no
2031 DEFAULT_wxUSE_EXCEPTIONS
=no
2032 DEFAULT_wxUSE_LOG
=yes
2033 DEFAULT_wxUSE_LOGWINDOW
=no
2034 DEFAULT_wxUSE_LOGGUI
=no
2035 DEFAULT_wxUSE_LOGDIALOG
=no
2037 DEFAULT_wxUSE_GUI
=yes
2038 DEFAULT_wxUSE_CONTROLS
=no
2040 DEFAULT_wxUSE_REGEX
=no
2041 DEFAULT_wxUSE_XML
=no
2042 DEFAULT_wxUSE_EXPAT
=no
2043 DEFAULT_wxUSE_ZLIB
=no
2044 DEFAULT_wxUSE_LIBPNG
=no
2045 DEFAULT_wxUSE_LIBJPEG
=no
2046 DEFAULT_wxUSE_LIBTIFF
=no
2047 DEFAULT_wxUSE_LIBXPM
=no
2048 DEFAULT_wxUSE_LIBMSPACK
=no
2049 DEFAULT_wxUSE_LIBSDL
=no
2050 DEFAULT_wxUSE_ODBC
=no
2051 DEFAULT_wxUSE_OPENGL
=no
2053 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2054 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2055 DEFAULT_wxUSE_STD_IOSTREAM
=no
2056 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2057 DEFAULT_wxUSE_DATETIME
=no
2058 DEFAULT_wxUSE_TIMER
=no
2059 DEFAULT_wxUSE_STOPWATCH
=no
2060 DEFAULT_wxUSE_FILE
=no
2061 DEFAULT_wxUSE_FFILE
=no
2062 DEFAULT_wxUSE_TEXTBUFFER
=no
2063 DEFAULT_wxUSE_TEXTFILE
=no
2064 DEFAULT_wxUSE_SOUND
=no
2065 DEFAULT_wxUSE_INTL
=no
2066 DEFAULT_wxUSE_CONFIG
=no
2067 DEFAULT_wxUSE_FONTMAP
=no
2068 DEFAULT_wxUSE_STREAMS
=no
2069 DEFAULT_wxUSE_SOCKETS
=no
2070 DEFAULT_wxUSE_OLE
=no
2071 DEFAULT_wxUSE_DATAOBJ
=no
2072 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2073 DEFAULT_wxUSE_JOYSTICK
=no
2074 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2075 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2076 DEFAULT_wxUSE_LONGLONG
=no
2077 DEFAULT_wxUSE_GEOMETRY
=no
2079 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2080 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2081 DEFAULT_wxUSE_POSTSCRIPT
=no
2083 DEFAULT_wxUSE_CLIPBOARD
=no
2084 DEFAULT_wxUSE_TOOLTIPS
=no
2085 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2086 DEFAULT_wxUSE_DRAGIMAGE
=no
2087 DEFAULT_wxUSE_SPLINES
=no
2089 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2090 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2091 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2093 DEFAULT_wxUSE_RESOURCES
=no
2094 DEFAULT_wxUSE_CONSTRAINTS
=no
2095 DEFAULT_wxUSE_IPC
=no
2096 DEFAULT_wxUSE_HELP
=no
2097 DEFAULT_wxUSE_MS_HTML_HELP
=no
2098 DEFAULT_wxUSE_WXHTML_HELP
=no
2099 DEFAULT_wxUSE_TREELAYOUT
=no
2100 DEFAULT_wxUSE_METAFILE
=no
2101 DEFAULT_wxUSE_MIMETYPE
=no
2102 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2103 DEFAULT_wxUSE_PROTOCOL
=no
2104 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2105 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2106 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2107 DEFAULT_wxUSE_URL
=no
2109 DEFAULT_wxUSE_COMMONDLGS
=no
2110 DEFAULT_wxUSE_CHOICEDLG
=no
2111 DEFAULT_wxUSE_COLOURDLG
=no
2112 DEFAULT_wxUSE_DIRDLG
=no
2113 DEFAULT_wxUSE_FILEDLG
=no
2114 DEFAULT_wxUSE_FINDREPLDLG
=no
2115 DEFAULT_wxUSE_FONTDLG
=no
2116 DEFAULT_wxUSE_MSGDLG
=no
2117 DEFAULT_wxUSE_NUMBERDLG
=no
2118 DEFAULT_wxUSE_TEXTDLG
=no
2119 DEFAULT_wxUSE_SPLASH
=no
2120 DEFAULT_wxUSE_STARTUP_TIPS
=no
2121 DEFAULT_wxUSE_PROGRESSDLG
=no
2122 DEFAULT_wxUSE_WIZARDDLG
=no
2124 DEFAULT_wxUSE_MENUS
=no
2125 DEFAULT_wxUSE_MINIFRAME
=no
2126 DEFAULT_wxUSE_HTML
=no
2127 DEFAULT_wxUSE_FILESYSTEM
=no
2128 DEFAULT_wxUSE_FS_INET
=no
2129 DEFAULT_wxUSE_FS_ZIP
=no
2130 DEFAULT_wxUSE_BUSYINFO
=no
2131 DEFAULT_wxUSE_ZIPSTREAM
=no
2132 DEFAULT_wxUSE_GZSTREAM
=no
2133 DEFAULT_wxUSE_VALIDATORS
=no
2135 DEFAULT_wxUSE_ACCEL
=no
2136 DEFAULT_wxUSE_BUTTON
=no
2137 DEFAULT_wxUSE_BMPBUTTON
=no
2138 DEFAULT_wxUSE_CALCTRL
=no
2139 DEFAULT_wxUSE_CARET
=no
2140 DEFAULT_wxUSE_CHECKBOX
=no
2141 DEFAULT_wxUSE_CHECKLST
=no
2142 DEFAULT_wxUSE_CHOICE
=no
2143 DEFAULT_wxUSE_COMBOBOX
=no
2144 DEFAULT_wxUSE_DISPLAY
=no
2145 DEFAULT_wxUSE_GAUGE
=no
2146 DEFAULT_wxUSE_GRID
=no
2147 DEFAULT_wxUSE_IMAGLIST
=no
2148 DEFAULT_wxUSE_LISTBOOK
=no
2149 DEFAULT_wxUSE_LISTBOX
=no
2150 DEFAULT_wxUSE_LISTCTRL
=no
2151 DEFAULT_wxUSE_NOTEBOOK
=no
2152 DEFAULT_wxUSE_RADIOBOX
=no
2153 DEFAULT_wxUSE_RADIOBTN
=no
2154 DEFAULT_wxUSE_SASH
=no
2155 DEFAULT_wxUSE_SCROLLBAR
=no
2156 DEFAULT_wxUSE_SLIDER
=no
2157 DEFAULT_wxUSE_SPINBTN
=no
2158 DEFAULT_wxUSE_SPINCTRL
=no
2159 DEFAULT_wxUSE_SPLITTER
=no
2160 DEFAULT_wxUSE_STATBMP
=no
2161 DEFAULT_wxUSE_STATBOX
=no
2162 DEFAULT_wxUSE_STATLINE
=no
2163 DEFAULT_wxUSE_STATTEXT
=no
2164 DEFAULT_wxUSE_STATUSBAR
=yes
2165 DEFAULT_wxUSE_TABDIALOG
=no
2166 DEFAULT_wxUSE_TEXTCTRL
=no
2167 DEFAULT_wxUSE_TOGGLEBTN
=no
2168 DEFAULT_wxUSE_TOOLBAR
=no
2169 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2170 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2171 DEFAULT_wxUSE_TREECTRL
=no
2172 DEFAULT_wxUSE_POPUPWIN
=no
2173 DEFAULT_wxUSE_TIPWINDOW
=no
2175 DEFAULT_wxUSE_UNICODE
=no
2176 DEFAULT_wxUSE_UNICODE_MSLU
=no
2177 DEFAULT_wxUSE_WCSRTOMBS
=no
2179 DEFAULT_wxUSE_PALETTE
=no
2180 DEFAULT_wxUSE_IMAGE
=no
2181 DEFAULT_wxUSE_GIF
=no
2182 DEFAULT_wxUSE_PCX
=no
2183 DEFAULT_wxUSE_PNM
=no
2184 DEFAULT_wxUSE_IFF
=no
2185 DEFAULT_wxUSE_XPM
=no
2186 DEFAULT_wxUSE_ICO_CUR
=no
2187 DEFAULT_wxUSE_ACCESSIBILITY
=no
2189 DEFAULT_wxUSE_MONOLITHIC
=no
2190 DEFAULT_wxUSE_PLUGINS
=no
2191 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2193 DEFAULT_wxUSE_UNIVERSAL
=no
2194 DEFAULT_wxUSE_STL
=no
2196 DEFAULT_wxUSE_NANOX
=no
2198 DEFAULT_wxUSE_THREADS
=yes
2200 DEFAULT_wxUSE_SHARED
=yes
2201 DEFAULT_wxUSE_OPTIMISE
=yes
2202 DEFAULT_wxUSE_PROFILE
=no
2203 DEFAULT_wxUSE_NO_DEPS
=no
2204 DEFAULT_wxUSE_NO_RTTI
=no
2205 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2206 DEFAULT_wxUSE_PERMISSIVE
=no
2207 DEFAULT_wxUSE_DEBUG_FLAG
=no
2208 DEFAULT_wxUSE_DEBUG_INFO
=no
2209 DEFAULT_wxUSE_DEBUG_GDB
=no
2210 DEFAULT_wxUSE_MEM_TRACING
=no
2211 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2212 DEFAULT_wxUSE_DMALLOC
=no
2213 DEFAULT_wxUSE_APPLE_IEEE
=yes
2215 DEFAULT_wxUSE_EXCEPTIONS
=yes
2216 DEFAULT_wxUSE_LOG
=yes
2217 DEFAULT_wxUSE_LOGWINDOW
=yes
2218 DEFAULT_wxUSE_LOGGUI
=yes
2219 DEFAULT_wxUSE_LOGDIALOG
=yes
2221 DEFAULT_wxUSE_GUI
=yes
2223 DEFAULT_wxUSE_REGEX
=yes
2224 DEFAULT_wxUSE_XML
=yes
2225 DEFAULT_wxUSE_EXPAT
=yes
2226 DEFAULT_wxUSE_ZLIB
=yes
2227 DEFAULT_wxUSE_LIBPNG
=yes
2228 DEFAULT_wxUSE_LIBJPEG
=yes
2229 DEFAULT_wxUSE_LIBTIFF
=yes
2230 DEFAULT_wxUSE_LIBXPM
=yes
2231 DEFAULT_wxUSE_LIBMSPACK
=yes
2232 DEFAULT_wxUSE_LIBSDL
=no
2233 DEFAULT_wxUSE_ODBC
=no
2234 DEFAULT_wxUSE_OPENGL
=no
2236 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2237 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2238 DEFAULT_wxUSE_STD_IOSTREAM
=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2240 DEFAULT_wxUSE_DATETIME
=yes
2241 DEFAULT_wxUSE_TIMER
=yes
2242 DEFAULT_wxUSE_STOPWATCH
=yes
2243 DEFAULT_wxUSE_FILE
=yes
2244 DEFAULT_wxUSE_FFILE
=yes
2245 DEFAULT_wxUSE_TEXTBUFFER
=yes
2246 DEFAULT_wxUSE_TEXTFILE
=yes
2247 DEFAULT_wxUSE_SOUND
=yes
2248 DEFAULT_wxUSE_INTL
=yes
2249 DEFAULT_wxUSE_CONFIG
=yes
2250 DEFAULT_wxUSE_FONTMAP
=yes
2251 DEFAULT_wxUSE_STREAMS
=yes
2252 DEFAULT_wxUSE_SOCKETS
=yes
2253 DEFAULT_wxUSE_OLE
=yes
2254 DEFAULT_wxUSE_DATAOBJ
=yes
2255 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2256 DEFAULT_wxUSE_JOYSTICK
=yes
2257 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2258 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2259 DEFAULT_wxUSE_LONGLONG
=yes
2260 DEFAULT_wxUSE_GEOMETRY
=yes
2262 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2263 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2264 DEFAULT_wxUSE_POSTSCRIPT
=yes
2266 DEFAULT_wxUSE_CLIPBOARD
=yes
2267 DEFAULT_wxUSE_TOOLTIPS
=yes
2268 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2269 DEFAULT_wxUSE_DRAGIMAGE
=yes
2270 DEFAULT_wxUSE_SPLINES
=yes
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2276 DEFAULT_wxUSE_RESOURCES
=no
2277 DEFAULT_wxUSE_CONSTRAINTS
=yes
2278 DEFAULT_wxUSE_IPC
=yes
2279 DEFAULT_wxUSE_HELP
=yes
2280 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2281 DEFAULT_wxUSE_WXHTML_HELP
=yes
2282 DEFAULT_wxUSE_TREELAYOUT
=yes
2283 DEFAULT_wxUSE_METAFILE
=yes
2284 DEFAULT_wxUSE_MIMETYPE
=yes
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2286 DEFAULT_wxUSE_PROTOCOL
=yes
2287 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2288 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2289 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2290 DEFAULT_wxUSE_URL
=yes
2292 DEFAULT_wxUSE_COMMONDLGS
=yes
2293 DEFAULT_wxUSE_CHOICEDLG
=yes
2294 DEFAULT_wxUSE_COLOURDLG
=yes
2295 DEFAULT_wxUSE_DIRDLG
=yes
2296 DEFAULT_wxUSE_FILEDLG
=yes
2297 DEFAULT_wxUSE_FINDREPLDLG
=yes
2298 DEFAULT_wxUSE_FONTDLG
=yes
2299 DEFAULT_wxUSE_MSGDLG
=yes
2300 DEFAULT_wxUSE_NUMBERDLG
=yes
2301 DEFAULT_wxUSE_TEXTDLG
=yes
2302 DEFAULT_wxUSE_SPLASH
=yes
2303 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2304 DEFAULT_wxUSE_PROGRESSDLG
=yes
2305 DEFAULT_wxUSE_WIZARDDLG
=yes
2307 DEFAULT_wxUSE_MENUS
=yes
2308 DEFAULT_wxUSE_MINIFRAME
=yes
2309 DEFAULT_wxUSE_HTML
=yes
2310 DEFAULT_wxUSE_FILESYSTEM
=yes
2311 DEFAULT_wxUSE_FS_INET
=yes
2312 DEFAULT_wxUSE_FS_ZIP
=yes
2313 DEFAULT_wxUSE_BUSYINFO
=yes
2314 DEFAULT_wxUSE_ZIPSTREAM
=yes
2315 DEFAULT_wxUSE_GZSTREAM
=yes
2316 DEFAULT_wxUSE_VALIDATORS
=yes
2318 DEFAULT_wxUSE_ACCEL
=yes
2319 DEFAULT_wxUSE_BUTTON
=yes
2320 DEFAULT_wxUSE_BMPBUTTON
=yes
2321 DEFAULT_wxUSE_CALCTRL
=yes
2322 DEFAULT_wxUSE_CARET
=yes
2323 DEFAULT_wxUSE_CHECKBOX
=yes
2324 DEFAULT_wxUSE_CHECKLST
=yes
2325 DEFAULT_wxUSE_CHOICE
=yes
2326 DEFAULT_wxUSE_COMBOBOX
=yes
2327 DEFAULT_wxUSE_DISPLAY
=no
2328 DEFAULT_wxUSE_GAUGE
=yes
2329 DEFAULT_wxUSE_GRID
=yes
2330 DEFAULT_wxUSE_IMAGLIST
=yes
2331 DEFAULT_wxUSE_LISTBOOK
=yes
2332 DEFAULT_wxUSE_LISTBOX
=yes
2333 DEFAULT_wxUSE_LISTCTRL
=yes
2334 DEFAULT_wxUSE_NOTEBOOK
=yes
2335 DEFAULT_wxUSE_RADIOBOX
=yes
2336 DEFAULT_wxUSE_RADIOBTN
=yes
2337 DEFAULT_wxUSE_SASH
=yes
2338 DEFAULT_wxUSE_SCROLLBAR
=yes
2339 DEFAULT_wxUSE_SLIDER
=yes
2340 DEFAULT_wxUSE_SPINBTN
=yes
2341 DEFAULT_wxUSE_SPINCTRL
=yes
2342 DEFAULT_wxUSE_SPLITTER
=yes
2343 DEFAULT_wxUSE_STATBMP
=yes
2344 DEFAULT_wxUSE_STATBOX
=yes
2345 DEFAULT_wxUSE_STATLINE
=yes
2346 DEFAULT_wxUSE_STATTEXT
=yes
2347 DEFAULT_wxUSE_STATUSBAR
=yes
2348 DEFAULT_wxUSE_TABDIALOG
=no
2349 DEFAULT_wxUSE_TEXTCTRL
=yes
2350 DEFAULT_wxUSE_TOGGLEBTN
=yes
2351 DEFAULT_wxUSE_TOOLBAR
=yes
2352 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2353 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2354 DEFAULT_wxUSE_TREECTRL
=yes
2355 DEFAULT_wxUSE_POPUPWIN
=yes
2356 DEFAULT_wxUSE_TIPWINDOW
=yes
2358 DEFAULT_wxUSE_UNICODE
=no
2359 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2360 DEFAULT_wxUSE_WCSRTOMBS
=no
2362 DEFAULT_wxUSE_PALETTE
=yes
2363 DEFAULT_wxUSE_IMAGE
=yes
2364 DEFAULT_wxUSE_GIF
=yes
2365 DEFAULT_wxUSE_PCX
=yes
2366 DEFAULT_wxUSE_IFF
=no
2367 DEFAULT_wxUSE_PNM
=yes
2368 DEFAULT_wxUSE_XPM
=yes
2369 DEFAULT_wxUSE_ICO_CUR
=yes
2370 DEFAULT_wxUSE_ACCESSIBILITY
=no
2372 DEFAULT_wxUSE_MONOLITHIC
=no
2373 DEFAULT_wxUSE_PLUGINS
=no
2374 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2379 for toolkit
in `echo $ALL_TOOLKITS`; do
2380 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2381 if test "x$LINE" != "x" ; then
2382 has_toolkit_in_cache
=1
2383 eval "DEFAULT_$LINE"
2384 eval "CACHE_$toolkit=1"
2391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2392 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2394 # Check whether --enable-gui or --disable-gui was given.
2395 if test "${enable_gui+set}" = set; then
2396 enableval
="$enable_gui"
2398 if test "$enableval" = yes; then
2399 ac_cv_use_gui
='wxUSE_GUI=yes'
2401 ac_cv_use_gui
='wxUSE_GUI=no'
2406 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x
; then
2408 eval "DEFAULT_$LINE"
2413 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2417 eval "$ac_cv_use_gui"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_GUI" = yes; then
2423 echo "$as_me:$LINENO: result: yes" >&5
2424 echo "${ECHO_T}yes" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2433 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2435 # Check whether --enable-monolithic or --disable-monolithic was given.
2436 if test "${enable_monolithic+set}" = set; then
2437 enableval
="$enable_monolithic"
2439 if test "$enableval" = yes; then
2440 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2442 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2447 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x
; then
2449 eval "DEFAULT_$LINE"
2454 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2458 eval "$ac_cv_use_monolithic"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_MONOLITHIC" = yes; then
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2467 echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6
2473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2474 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2476 # Check whether --enable-plugins or --disable-plugins was given.
2477 if test "${enable_plugins+set}" = set; then
2478 enableval
="$enable_plugins"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2483 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2488 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2499 eval "$ac_cv_use_plugins"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2504 if test "$wxUSE_PLUGINS" = yes; then
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2508 echo "$as_me:$LINENO: result: no" >&5
2509 echo "${ECHO_T}no" >&6
2513 if test "$wxUSE_GUI" = "yes"; then
2517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2518 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2520 # Check whether --enable-universal or --disable-universal was given.
2521 if test "${enable_universal+set}" = set; then
2522 enableval
="$enable_universal"
2524 if test "$enableval" = yes; then
2525 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2527 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2532 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x
; then
2534 eval "DEFAULT_$LINE"
2539 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2543 eval "$ac_cv_use_universal"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2548 if test "$wxUSE_UNIVERSAL" = yes; then
2549 echo "$as_me:$LINENO: result: yes" >&5
2550 echo "${ECHO_T}yes" >&6
2552 echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2557 # Check whether --with-gtk or --without-gtk was given.
2558 if test "${with_gtk+set}" = set; then
2560 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2563 # Check whether --with-motif or --without-motif was given.
2564 if test "${with_motif+set}" = set; then
2565 withval
="$with_motif"
2566 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2569 # Check whether --with-mac or --without-mac was given.
2570 if test "${with_mac+set}" = set; then
2572 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2575 # Check whether --with-cocoa or --without-cocoa was given.
2576 if test "${with_cocoa+set}" = set; then
2577 withval
="$with_cocoa"
2578 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2581 # Check whether --with-wine or --without-wine was given.
2582 if test "${with_wine+set}" = set; then
2583 withval
="$with_wine"
2584 wxUSE_WINE
="$withval" CACHE_WINE
=1
2587 # Check whether --with-msw or --without-msw was given.
2588 if test "${with_msw+set}" = set; then
2590 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2593 # Check whether --with-pm or --without-pm was given.
2594 if test "${with_pm+set}" = set; then
2596 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-mgl or --without-mgl was given.
2600 if test "${with_mgl+set}" = set; then
2602 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2605 # Check whether --with-microwin or --without-microwin was given.
2606 if test "${with_microwin+set}" = set; then
2607 withval
="$with_microwin"
2608 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-x11 or --without-x11 was given.
2612 if test "${with_x11+set}" = set; then
2614 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2619 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2621 # Check whether --enable-nanox or --disable-nanox was given.
2622 if test "${enable_nanox+set}" = set; then
2623 enableval
="$enable_nanox"
2625 if test "$enableval" = yes; then
2626 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2628 ac_cv_use_nanox
='wxUSE_NANOX=no'
2633 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2644 eval "$ac_cv_use_nanox"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_NANOX" = yes; then
2650 echo "$as_me:$LINENO: result: yes" >&5
2651 echo "${ECHO_T}yes" >&6
2653 echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2663 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2664 if test "${enable_gtk2+set}" = set; then
2665 enableval
="$enable_gtk2"
2667 if test "$enableval" = yes; then
2668 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2670 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2675 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x
; then
2677 eval "DEFAULT_$LINE"
2682 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2686 eval "$ac_cv_use_gtk2"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_GTK2" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2701 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2702 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2705 # Check whether --with-libpng or --without-libpng was given.
2706 if test "${with_libpng+set}" = set; then
2707 withval
="$with_libpng"
2709 if test "$withval" = yes; then
2710 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2711 elif test "$withval" = no
; then
2712 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2713 elif test "$withval" = sys
; then
2714 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2715 elif test "$withval" = builtin; then
2716 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2718 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2719 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2720 { (exit 1); exit 1; }; }
2725 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x
; then
2727 eval "DEFAULT_$LINE"
2732 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2736 eval "$ac_cv_use_libpng"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2741 if test "$wxUSE_LIBPNG" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2744 elif test "$wxUSE_LIBPNG" = no
; then
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 elif test "$wxUSE_LIBPNG" = sys
; then
2748 echo "$as_me:$LINENO: result: system version" >&5
2749 echo "${ECHO_T}system version" >&6
2750 elif test "$wxUSE_LIBPNG" = builtin; then
2751 echo "$as_me:$LINENO: result: builtin version" >&5
2752 echo "${ECHO_T}builtin version" >&6
2754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2755 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2756 { (exit 1); exit 1; }; }
2760 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2761 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2764 # Check whether --with-libjpeg or --without-libjpeg was given.
2765 if test "${with_libjpeg+set}" = set; then
2766 withval
="$with_libjpeg"
2768 if test "$withval" = yes; then
2769 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2770 elif test "$withval" = no
; then
2771 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2772 elif test "$withval" = sys
; then
2773 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2774 elif test "$withval" = builtin; then
2775 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2784 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x
; then
2786 eval "DEFAULT_$LINE"
2791 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2795 eval "$ac_cv_use_libjpeg"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_LIBJPEG" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2803 elif test "$wxUSE_LIBJPEG" = no
; then
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 elif test "$wxUSE_LIBJPEG" = sys
; then
2807 echo "$as_me:$LINENO: result: system version" >&5
2808 echo "${ECHO_T}system version" >&6
2809 elif test "$wxUSE_LIBJPEG" = builtin; then
2810 echo "$as_me:$LINENO: result: builtin version" >&5
2811 echo "${ECHO_T}builtin version" >&6
2813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2814 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2815 { (exit 1); exit 1; }; }
2819 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2820 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2823 # Check whether --with-libtiff or --without-libtiff was given.
2824 if test "${with_libtiff+set}" = set; then
2825 withval
="$with_libtiff"
2827 if test "$withval" = yes; then
2828 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2829 elif test "$withval" = no
; then
2830 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2831 elif test "$withval" = sys
; then
2832 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2843 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2854 eval "$ac_cv_use_libtiff"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2859 if test "$wxUSE_LIBTIFF" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBTIFF" = no
; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBTIFF" = sys
; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBTIFF" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2878 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2879 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2882 # Check whether --with-libxpm or --without-libxpm was given.
2883 if test "${with_libxpm+set}" = set; then
2884 withval
="$with_libxpm"
2886 if test "$withval" = yes; then
2887 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2888 elif test "$withval" = no
; then
2889 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2890 elif test "$withval" = sys
; then
2891 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2902 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2913 eval "$ac_cv_use_libxpm"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2918 if test "$wxUSE_LIBXPM" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBXPM" = no
; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBXPM" = sys
; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBXPM" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2937 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2938 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2941 # Check whether --with-libmspack or --without-libmspack was given.
2942 if test "${with_libmspack+set}" = set; then
2943 withval
="$with_libmspack"
2945 if test "$withval" = yes; then
2946 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2948 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2953 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x
; then
2955 eval "DEFAULT_$LINE"
2960 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2964 eval "$ac_cv_use_libmspack"
2965 if test "$no_cache" != 1; then
2966 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2969 if test "$wxUSE_LIBMSPACK" = yes; then
2970 echo "$as_me:$LINENO: result: yes" >&5
2971 echo "${ECHO_T}yes" >&6
2973 echo "$as_me:$LINENO: result: no" >&5
2974 echo "${ECHO_T}no" >&6
2978 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2979 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2982 # Check whether --with-sdl or --without-sdl was given.
2983 if test "${with_sdl+set}" = set; then
2986 if test "$withval" = yes; then
2987 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
2989 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
2994 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x
; then
2996 eval "DEFAULT_$LINE"
3001 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3005 eval "$ac_cv_use_sdl"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3010 if test "$wxUSE_LIBSDL" = yes; then
3011 echo "$as_me:$LINENO: result: yes" >&5
3012 echo "${ECHO_T}yes" >&6
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3019 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3020 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3023 # Check whether --with-opengl or --without-opengl was given.
3024 if test "${with_opengl+set}" = set; then
3025 withval
="$with_opengl"
3027 if test "$withval" = yes; then
3028 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3030 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3035 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x
; then
3037 eval "DEFAULT_$LINE"
3042 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3046 eval "$ac_cv_use_opengl"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3051 if test "$wxUSE_OPENGL" = yes; then
3052 echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3063 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3064 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3067 # Check whether --with-dmalloc or --without-dmalloc was given.
3068 if test "${with_dmalloc+set}" = set; then
3069 withval
="$with_dmalloc"
3071 if test "$withval" = yes; then
3072 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3074 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3079 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x
; then
3081 eval "DEFAULT_$LINE"
3086 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3090 eval "$ac_cv_use_dmalloc"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3095 if test "$wxUSE_DMALLOC" = yes; then
3096 echo "$as_me:$LINENO: result: yes" >&5
3097 echo "${ECHO_T}yes" >&6
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3104 echo "$as_me:$LINENO: checking for --with-regex" >&5
3105 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3108 # Check whether --with-regex or --without-regex was given.
3109 if test "${with_regex+set}" = set; then
3110 withval
="$with_regex"
3112 if test "$withval" = yes; then
3113 ac_cv_use_regex
='wxUSE_REGEX=yes'
3114 elif test "$withval" = no
; then
3115 ac_cv_use_regex
='wxUSE_REGEX=no'
3116 elif test "$withval" = sys
; then
3117 ac_cv_use_regex
='wxUSE_REGEX=sys'
3118 elif test "$withval" = builtin; then
3119 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3121 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3122 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3123 { (exit 1); exit 1; }; }
3128 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x
; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3139 eval "$ac_cv_use_regex"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_REGEX" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3147 elif test "$wxUSE_REGEX" = no
; then
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3150 elif test "$wxUSE_REGEX" = sys
; then
3151 echo "$as_me:$LINENO: result: system version" >&5
3152 echo "${ECHO_T}system version" >&6
3153 elif test "$wxUSE_REGEX" = builtin; then
3154 echo "$as_me:$LINENO: result: builtin version" >&5
3155 echo "${ECHO_T}builtin version" >&6
3157 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3158 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3159 { (exit 1); exit 1; }; }
3163 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3164 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3167 # Check whether --with-zlib or --without-zlib was given.
3168 if test "${with_zlib+set}" = set; then
3169 withval
="$with_zlib"
3171 if test "$withval" = yes; then
3172 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3173 elif test "$withval" = no
; then
3174 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3175 elif test "$withval" = sys
; then
3176 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3177 elif test "$withval" = builtin; then
3178 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3187 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3198 eval "$ac_cv_use_zlib"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3203 if test "$wxUSE_ZLIB" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 elif test "$wxUSE_ZLIB" = no
; then
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 elif test "$wxUSE_ZLIB" = sys
; then
3210 echo "$as_me:$LINENO: result: system version" >&5
3211 echo "${ECHO_T}system version" >&6
3212 elif test "$wxUSE_ZLIB" = builtin; then
3213 echo "$as_me:$LINENO: result: builtin version" >&5
3214 echo "${ECHO_T}builtin version" >&6
3216 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3217 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3218 { (exit 1); exit 1; }; }
3222 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3223 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3226 # Check whether --with-odbc or --without-odbc was given.
3227 if test "${with_odbc+set}" = set; then
3228 withval
="$with_odbc"
3230 if test "$withval" = yes; then
3231 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3232 elif test "$withval" = no
; then
3233 ac_cv_use_odbc
='wxUSE_ODBC=no'
3234 elif test "$withval" = sys
; then
3235 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3236 elif test "$withval" = builtin; then
3237 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3246 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3257 eval "$ac_cv_use_odbc"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3262 if test "$wxUSE_ODBC" = yes; then
3263 echo "$as_me:$LINENO: result: yes" >&5
3264 echo "${ECHO_T}yes" >&6
3265 elif test "$wxUSE_ODBC" = no
; then
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3268 elif test "$wxUSE_ODBC" = sys
; then
3269 echo "$as_me:$LINENO: result: system version" >&5
3270 echo "${ECHO_T}system version" >&6
3271 elif test "$wxUSE_ODBC" = builtin; then
3272 echo "$as_me:$LINENO: result: builtin version" >&5
3273 echo "${ECHO_T}builtin version" >&6
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3281 echo "$as_me:$LINENO: checking for --with-expat" >&5
3282 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3285 # Check whether --with-expat or --without-expat was given.
3286 if test "${with_expat+set}" = set; then
3287 withval
="$with_expat"
3289 if test "$withval" = yes; then
3290 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3291 elif test "$withval" = no
; then
3292 ac_cv_use_expat
='wxUSE_EXPAT=no'
3293 elif test "$withval" = sys
; then
3294 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3305 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3316 eval "$ac_cv_use_expat"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_EXPAT" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_EXPAT" = no
; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_EXPAT" = sys
; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_EXPAT" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3344 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3346 # Check whether --enable-shared or --disable-shared was given.
3347 if test "${enable_shared+set}" = set; then
3348 enableval
="$enable_shared"
3350 if test "$enableval" = yes; then
3351 ac_cv_use_shared
='wxUSE_SHARED=yes'
3353 ac_cv_use_shared
='wxUSE_SHARED=no'
3358 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x
; then
3360 eval "DEFAULT_$LINE"
3365 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3369 eval "$ac_cv_use_shared"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3374 if test "$wxUSE_SHARED" = yes; then
3375 echo "$as_me:$LINENO: result: yes" >&5
3376 echo "${ECHO_T}yes" >&6
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3385 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3387 # Check whether --enable-optimise or --disable-optimise was given.
3388 if test "${enable_optimise+set}" = set; then
3389 enableval
="$enable_optimise"
3391 if test "$enableval" = yes; then
3392 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3394 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3399 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3410 eval "$ac_cv_use_optimise"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_OPTIMISE" = yes; then
3416 echo "$as_me:$LINENO: result: yes" >&5
3417 echo "${ECHO_T}yes" >&6
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3426 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3428 # Check whether --enable-debug or --disable-debug was given.
3429 if test "${enable_debug+set}" = set; then
3430 enableval
="$enable_debug"
3432 if test "$enableval" = yes; then
3433 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3435 ac_cv_use_debug
='wxUSE_DEBUG=no'
3440 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x
; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3451 eval "$ac_cv_use_debug"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_DEBUG" = yes; then
3457 echo "$as_me:$LINENO: result: yes" >&5
3458 echo "${ECHO_T}yes" >&6
3460 echo "$as_me:$LINENO: result: no" >&5
3461 echo "${ECHO_T}no" >&6
3466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3467 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3469 # Check whether --enable-stl or --disable-stl was given.
3470 if test "${enable_stl+set}" = set; then
3471 enableval
="$enable_stl"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_stl
='wxUSE_STL=yes'
3476 ac_cv_use_stl
='wxUSE_STL=no'
3481 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3492 eval "$ac_cv_use_stl"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_STL" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3506 if test "$wxUSE_DEBUG" = "yes"; then
3507 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3508 DEFAULT_wxUSE_DEBUG_INFO
=yes
3510 elif test "$wxUSE_DEBUG" = "no"; then
3511 DEFAULT_wxUSE_DEBUG_FLAG
=no
3512 DEFAULT_wxUSE_DEBUG_INFO
=no
3518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3521 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3522 if test "${enable_debug_flag+set}" = set; then
3523 enableval
="$enable_debug_flag"
3525 if test "$enableval" = yes; then
3526 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3528 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3533 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x
; then
3535 eval "DEFAULT_$LINE"
3540 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3544 eval "$ac_cv_use_debug_flag"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3549 if test "$wxUSE_DEBUG_FLAG" = yes; then
3550 echo "$as_me:$LINENO: result: yes" >&5
3551 echo "${ECHO_T}yes" >&6
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3560 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3562 # Check whether --enable-debug_info or --disable-debug_info was given.
3563 if test "${enable_debug_info+set}" = set; then
3564 enableval
="$enable_debug_info"
3566 if test "$enableval" = yes; then
3567 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3569 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3574 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3575 if test "x$LINE" != x
; then
3576 eval "DEFAULT_$LINE"
3581 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3585 eval "$ac_cv_use_debug_info"
3586 if test "$no_cache" != 1; then
3587 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3590 if test "$wxUSE_DEBUG_INFO" = yes; then
3591 echo "$as_me:$LINENO: result: yes" >&5
3592 echo "${ECHO_T}yes" >&6
3594 echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6
3600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3601 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3603 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3604 if test "${enable_debug_gdb+set}" = set; then
3605 enableval
="$enable_debug_gdb"
3607 if test "$enableval" = yes; then
3608 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3610 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3615 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3622 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3626 eval "$ac_cv_use_debug_gdb"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_DEBUG_GDB" = yes; then
3632 echo "$as_me:$LINENO: result: yes" >&5
3633 echo "${ECHO_T}yes" >&6
3635 echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3644 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3645 if test "${enable_debug_cntxt+set}" = set; then
3646 enableval
="$enable_debug_cntxt"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3651 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3656 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x
; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3667 eval "$ac_cv_use_debug_cntxt"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3672 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3685 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3686 if test "${enable_mem_tracing+set}" = set; then
3687 enableval
="$enable_mem_tracing"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3692 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3697 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3708 eval "$ac_cv_use_mem_tracing"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_MEM_TRACING" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3726 # Check whether --enable-profile or --disable-profile was given.
3727 if test "${enable_profile+set}" = set; then
3728 enableval
="$enable_profile"
3730 if test "$enableval" = yes; then
3731 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3733 ac_cv_use_profile
='wxUSE_PROFILE=no'
3738 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x
; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3749 eval "$ac_cv_use_profile"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3754 if test "$wxUSE_PROFILE" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3765 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3767 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3768 if test "${enable_no_rtti+set}" = set; then
3769 enableval
="$enable_no_rtti"
3771 if test "$enableval" = yes; then
3772 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3774 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3779 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3780 if test "x$LINE" != x
; then
3781 eval "DEFAULT_$LINE"
3786 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3790 eval "$ac_cv_use_no_rtti"
3791 if test "$no_cache" != 1; then
3792 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3795 if test "$wxUSE_NO_RTTI" = yes; then
3796 echo "$as_me:$LINENO: result: yes" >&5
3797 echo "${ECHO_T}yes" >&6
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3808 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3809 if test "${enable_no_exceptions+set}" = set; then
3810 enableval
="$enable_no_exceptions"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3815 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3820 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x
; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3831 eval "$ac_cv_use_no_exceptions"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3849 # Check whether --enable-permissive or --disable-permissive was given.
3850 if test "${enable_permissive+set}" = set; then
3851 enableval
="$enable_permissive"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3856 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3861 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x
; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3872 eval "$ac_cv_use_permissive"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_PERMISSIVE" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3890 # Check whether --enable-no_deps or --disable-no_deps was given.
3891 if test "${enable_no_deps+set}" = set; then
3892 enableval
="$enable_no_deps"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3897 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3902 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x
; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3913 eval "$ac_cv_use_no_deps"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3918 if test "$wxUSE_NO_DEPS" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3932 # Check whether --enable-compat22 or --disable-compat22 was given.
3933 if test "${enable_compat22+set}" = set; then
3934 enableval
="$enable_compat22"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3939 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3944 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3955 eval "$ac_cv_use_compat22"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3960 if test "$WXWIN_COMPATIBILITY_2_2" = 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
3969 enablestring
=disable
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3973 # Check whether --enable-compat24 or --disable-compat24 was given.
3974 if test "${enable_compat24+set}" = set; then
3975 enableval
="$enable_compat24"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3980 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3985 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x
; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3996 eval "$ac_cv_use_compat24"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4001 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4010 # Check whether --enable-rpath or --disable-rpath was given.
4011 if test "${enable_rpath+set}" = set; then
4012 enableval
="$enable_rpath"
4013 wxRPATH_DIR
="$enableval"
4016 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4017 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4027 # Check whether --enable-intl or --disable-intl was given.
4028 if test "${enable_intl+set}" = set; then
4029 enableval
="$enable_intl"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_intl
='wxUSE_INTL=yes'
4034 ac_cv_use_intl
='wxUSE_INTL=no'
4039 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x
; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4050 eval "$ac_cv_use_intl"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4055 if test "$wxUSE_INTL" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4068 # Check whether --enable-config or --disable-config was given.
4069 if test "${enable_config+set}" = set; then
4070 enableval
="$enable_config"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_config
='wxUSE_CONFIG=yes'
4075 ac_cv_use_config
='wxUSE_CONFIG=no'
4080 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4091 eval "$ac_cv_use_config"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_CONFIG" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4108 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4110 # Check whether --enable-protocols or --disable-protocols was given.
4111 if test "${enable_protocols+set}" = set; then
4112 enableval
="$enable_protocols"
4114 if test "$enableval" = yes; then
4115 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4117 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4122 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x
; then
4124 eval "DEFAULT_$LINE"
4129 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4133 eval "$ac_cv_use_protocols"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4138 if test "$wxUSE_PROTOCOL" = 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
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4149 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4151 # Check whether --enable-ftp or --disable-ftp was given.
4152 if test "${enable_ftp+set}" = set; then
4153 enableval
="$enable_ftp"
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4158 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4163 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x
; then
4165 eval "DEFAULT_$LINE"
4170 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4174 eval "$ac_cv_use_ftp"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4190 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4192 # Check whether --enable-http or --disable-http was given.
4193 if test "${enable_http+set}" = set; then
4194 enableval
="$enable_http"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4199 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4204 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4215 eval "$ac_cv_use_http"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4221 echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4231 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4233 # Check whether --enable-fileproto or --disable-fileproto was given.
4234 if test "${enable_fileproto+set}" = set; then
4235 enableval
="$enable_fileproto"
4237 if test "$enableval" = yes; then
4238 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4240 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4245 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4246 if test "x$LINE" != x
; then
4247 eval "DEFAULT_$LINE"
4252 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4256 eval "$ac_cv_use_fileproto"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4261 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4262 echo "$as_me:$LINENO: result: yes" >&5
4263 echo "${ECHO_T}yes" >&6
4265 echo "$as_me:$LINENO: result: no" >&5
4266 echo "${ECHO_T}no" >&6
4271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4272 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4274 # Check whether --enable-sockets or --disable-sockets was given.
4275 if test "${enable_sockets+set}" = set; then
4276 enableval
="$enable_sockets"
4278 if test "$enableval" = yes; then
4279 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4281 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4286 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x
; then
4288 eval "DEFAULT_$LINE"
4293 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4297 eval "$ac_cv_use_sockets"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4302 if test "$wxUSE_SOCKETS" = yes; then
4303 echo "$as_me:$LINENO: result: yes" >&5
4304 echo "${ECHO_T}yes" >&6
4306 echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4315 # Check whether --enable-ole or --disable-ole was given.
4316 if test "${enable_ole+set}" = set; then
4317 enableval
="$enable_ole"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_ole
='wxUSE_OLE=yes'
4322 ac_cv_use_ole
='wxUSE_OLE=no'
4327 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x
; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4338 eval "$ac_cv_use_ole"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_OLE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4356 # Check whether --enable-dataobj or --disable-dataobj was given.
4357 if test "${enable_dataobj+set}" = set; then
4358 enableval
="$enable_dataobj"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4363 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4368 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x
; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4379 eval "$ac_cv_use_dataobj"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_DATAOBJ" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4398 # Check whether --enable-ipc or --disable-ipc was given.
4399 if test "${enable_ipc+set}" = set; then
4400 enableval
="$enable_ipc"
4402 if test "$enableval" = yes; then
4403 ac_cv_use_ipc
='wxUSE_IPC=yes'
4405 ac_cv_use_ipc
='wxUSE_IPC=no'
4410 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x
; then
4412 eval "DEFAULT_$LINE"
4417 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4421 eval "$ac_cv_use_ipc"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4426 if test "$wxUSE_IPC" = 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}-apple_ieee" >&5
4438 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4440 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4441 if test "${enable_apple_ieee+set}" = set; then
4442 enableval
="$enable_apple_ieee"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4447 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4452 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4463 eval "$ac_cv_use_apple_ieee"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_APPLE_IEEE" = 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
4478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4479 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4481 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4482 if test "${enable_catch_segvs+set}" = set; then
4483 enableval
="$enable_catch_segvs"
4485 if test "$enableval" = yes; then
4486 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4488 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4493 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4494 if test "x$LINE" != x
; then
4495 eval "DEFAULT_$LINE"
4500 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4504 eval "$ac_cv_use_catch_segvs"
4505 if test "$no_cache" != 1; then
4506 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4509 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4510 echo "$as_me:$LINENO: result: yes" >&5
4511 echo "${ECHO_T}yes" >&6
4513 echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6
4519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4520 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4522 # Check whether --enable-cmdline or --disable-cmdline was given.
4523 if test "${enable_cmdline+set}" = set; then
4524 enableval
="$enable_cmdline"
4526 if test "$enableval" = yes; then
4527 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4529 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4534 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x
; then
4536 eval "DEFAULT_$LINE"
4541 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4545 eval "$ac_cv_use_cmdline"
4546 if test "$no_cache" != 1; then
4547 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4550 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4551 echo "$as_me:$LINENO: result: yes" >&5
4552 echo "${ECHO_T}yes" >&6
4554 echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6
4560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4561 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4563 # Check whether --enable-datetime or --disable-datetime was given.
4564 if test "${enable_datetime+set}" = set; then
4565 enableval
="$enable_datetime"
4567 if test "$enableval" = yes; then
4568 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4570 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4575 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4582 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4586 eval "$ac_cv_use_datetime"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4591 if test "$wxUSE_DATETIME" = yes; then
4592 echo "$as_me:$LINENO: result: yes" >&5
4593 echo "${ECHO_T}yes" >&6
4595 echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6
4601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4604 # Check whether --enable-dialupman or --disable-dialupman was given.
4605 if test "${enable_dialupman+set}" = set; then
4606 enableval
="$enable_dialupman"
4608 if test "$enableval" = yes; then
4609 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4611 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4616 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4617 if test "x$LINE" != x
; then
4618 eval "DEFAULT_$LINE"
4623 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4627 eval "$ac_cv_use_dialupman"
4628 if test "$no_cache" != 1; then
4629 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4632 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4633 echo "$as_me:$LINENO: result: yes" >&5
4634 echo "${ECHO_T}yes" >&6
4636 echo "$as_me:$LINENO: result: no" >&5
4637 echo "${ECHO_T}no" >&6
4642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4643 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4645 # Check whether --enable-dynlib or --disable-dynlib was given.
4646 if test "${enable_dynlib+set}" = set; then
4647 enableval
="$enable_dynlib"
4649 if test "$enableval" = yes; then
4650 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4652 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4657 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x
; then
4659 eval "DEFAULT_$LINE"
4664 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4668 eval "$ac_cv_use_dynlib"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4673 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4674 echo "$as_me:$LINENO: result: yes" >&5
4675 echo "${ECHO_T}yes" >&6
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4684 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4686 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4687 if test "${enable_dynamicloader+set}" = set; then
4688 enableval
="$enable_dynamicloader"
4690 if test "$enableval" = yes; then
4691 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4693 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4698 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4699 if test "x$LINE" != x
; then
4700 eval "DEFAULT_$LINE"
4705 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4709 eval "$ac_cv_use_dynamicloader"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4714 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4715 echo "$as_me:$LINENO: result: yes" >&5
4716 echo "${ECHO_T}yes" >&6
4718 echo "$as_me:$LINENO: result: no" >&5
4719 echo "${ECHO_T}no" >&6
4724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4725 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4727 # Check whether --enable-exceptions or --disable-exceptions was given.
4728 if test "${enable_exceptions+set}" = set; then
4729 enableval
="$enable_exceptions"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4734 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4739 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4750 eval "$ac_cv_use_exceptions"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4755 if test "$wxUSE_EXCEPTIONS" = yes; then
4756 echo "$as_me:$LINENO: result: yes" >&5
4757 echo "${ECHO_T}yes" >&6
4759 echo "$as_me:$LINENO: result: no" >&5
4760 echo "${ECHO_T}no" >&6
4765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4768 # Check whether --enable-ffile or --disable-ffile was given.
4769 if test "${enable_ffile+set}" = set; then
4770 enableval
="$enable_ffile"
4772 if test "$enableval" = yes; then
4773 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4775 ac_cv_use_ffile
='wxUSE_FFILE=no'
4780 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x
; then
4782 eval "DEFAULT_$LINE"
4787 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4791 eval "$ac_cv_use_ffile"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4796 if test "$wxUSE_FFILE" = yes; then
4797 echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4809 # Check whether --enable-file or --disable-file was given.
4810 if test "${enable_file+set}" = set; then
4811 enableval
="$enable_file"
4813 if test "$enableval" = yes; then
4814 ac_cv_use_file
='wxUSE_FILE=yes'
4816 ac_cv_use_file
='wxUSE_FILE=no'
4821 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x
; then
4823 eval "DEFAULT_$LINE"
4828 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4832 eval "$ac_cv_use_file"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_FILE" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4850 # Check whether --enable-filesystem or --disable-filesystem was given.
4851 if test "${enable_filesystem+set}" = set; then
4852 enableval
="$enable_filesystem"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4857 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4862 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x
; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4873 eval "$ac_cv_use_filesystem"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4878 if test "$wxUSE_FILESYSTEM" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4891 # Check whether --enable-fontmap or --disable-fontmap was given.
4892 if test "${enable_fontmap+set}" = set; then
4893 enableval
="$enable_fontmap"
4895 if test "$enableval" = yes; then
4896 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4898 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4903 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x
; then
4905 eval "DEFAULT_$LINE"
4910 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4914 eval "$ac_cv_use_fontmap"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4919 if test "$wxUSE_FONTMAP" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4932 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4933 if test "${enable_fs_inet+set}" = set; then
4934 enableval
="$enable_fs_inet"
4936 if test "$enableval" = yes; then
4937 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4939 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4944 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x
; then
4946 eval "DEFAULT_$LINE"
4951 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4955 eval "$ac_cv_use_fs_inet"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_FS_INET" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4973 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4974 if test "${enable_fs_zip+set}" = set; then
4975 enableval
="$enable_fs_zip"
4977 if test "$enableval" = yes; then
4978 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4980 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4985 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x
; then
4987 eval "DEFAULT_$LINE"
4992 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4996 eval "$ac_cv_use_fs_zip"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5001 if test "$wxUSE_FS_ZIP" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5014 # Check whether --enable-geometry or --disable-geometry was given.
5015 if test "${enable_geometry+set}" = set; then
5016 enableval
="$enable_geometry"
5018 if test "$enableval" = yes; then
5019 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5021 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5026 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x
; then
5028 eval "DEFAULT_$LINE"
5033 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5037 eval "$ac_cv_use_geometry"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5042 if test "$wxUSE_GEOMETRY" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5055 # Check whether --enable-log or --disable-log was given.
5056 if test "${enable_log+set}" = set; then
5057 enableval
="$enable_log"
5059 if test "$enableval" = yes; then
5060 ac_cv_use_log
='wxUSE_LOG=yes'
5062 ac_cv_use_log
='wxUSE_LOG=no'
5067 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x
; then
5069 eval "DEFAULT_$LINE"
5074 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5078 eval "$ac_cv_use_log"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5083 if test "$wxUSE_LOG" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5096 # Check whether --enable-longlong or --disable-longlong was given.
5097 if test "${enable_longlong+set}" = set; then
5098 enableval
="$enable_longlong"
5100 if test "$enableval" = yes; then
5101 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5103 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5108 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x
; then
5110 eval "DEFAULT_$LINE"
5115 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5119 eval "$ac_cv_use_longlong"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_LONGLONG" = yes; then
5125 echo "$as_me:$LINENO: result: yes" >&5
5126 echo "${ECHO_T}yes" >&6
5128 echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6
5134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5135 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5137 # Check whether --enable-mimetype or --disable-mimetype was given.
5138 if test "${enable_mimetype+set}" = set; then
5139 enableval
="$enable_mimetype"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5144 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5149 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x
; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5160 eval "$ac_cv_use_mimetype"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5165 if test "$wxUSE_MIMETYPE" = yes; then
5166 echo "$as_me:$LINENO: result: yes" >&5
5167 echo "${ECHO_T}yes" >&6
5169 echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5178 # Check whether --enable-mslu or --disable-mslu was given.
5179 if test "${enable_mslu+set}" = set; then
5180 enableval
="$enable_mslu"
5182 if test "$enableval" = yes; then
5183 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5185 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5190 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x
; then
5192 eval "DEFAULT_$LINE"
5197 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5201 eval "$ac_cv_use_mslu"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_UNICODE_MSLU" = yes; then
5207 echo "$as_me:$LINENO: result: yes" >&5
5208 echo "${ECHO_T}yes" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5219 # Check whether --enable-snglinst or --disable-snglinst was given.
5220 if test "${enable_snglinst+set}" = set; then
5221 enableval
="$enable_snglinst"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5226 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5231 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x
; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5242 eval "$ac_cv_use_snglinst"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5260 # Check whether --enable-streams or --disable-streams was given.
5261 if test "${enable_streams+set}" = set; then
5262 enableval
="$enable_streams"
5264 if test "$enableval" = yes; then
5265 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5267 ac_cv_use_streams
='wxUSE_STREAMS=no'
5272 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5273 if test "x$LINE" != x
; then
5274 eval "DEFAULT_$LINE"
5279 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5283 eval "$ac_cv_use_streams"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_STREAMS" = yes; then
5289 echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5301 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5302 if test "${enable_std_iostreams+set}" = set; then
5303 enableval
="$enable_std_iostreams"
5305 if test "$enableval" = yes; then
5306 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5308 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5313 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x
; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5324 eval "$ac_cv_use_std_iostreams"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_STD_IOSTREAM" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5342 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5343 if test "${enable_stopwatch+set}" = set; then
5344 enableval
="$enable_stopwatch"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5349 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5354 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x
; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5365 eval "$ac_cv_use_stopwatch"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_STOPWATCH" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5383 # Check whether --enable-system_options or --disable-system_options was given.
5384 if test "${enable_system_options+set}" = set; then
5385 enableval
="$enable_system_options"
5387 if test "$enableval" = yes; then
5388 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5390 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5395 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x
; then
5397 eval "DEFAULT_$LINE"
5402 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5406 eval "$ac_cv_use_system_options"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5412 echo "$as_me:$LINENO: result: yes" >&5
5413 echo "${ECHO_T}yes" >&6
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5424 # Check whether --enable-textbuf or --disable-textbuf was given.
5425 if test "${enable_textbuf+set}" = set; then
5426 enableval
="$enable_textbuf"
5428 if test "$enableval" = yes; then
5429 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5431 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5436 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x
; then
5438 eval "DEFAULT_$LINE"
5443 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5447 eval "$ac_cv_use_textbuf"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_TEXTBUFFER" = yes; then
5453 echo "$as_me:$LINENO: result: yes" >&5
5454 echo "${ECHO_T}yes" >&6
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5465 # Check whether --enable-textfile or --disable-textfile was given.
5466 if test "${enable_textfile+set}" = set; then
5467 enableval
="$enable_textfile"
5469 if test "$enableval" = yes; then
5470 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5472 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5477 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x
; then
5479 eval "DEFAULT_$LINE"
5484 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5488 eval "$ac_cv_use_textfile"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5493 if test "$wxUSE_TEXTFILE" = yes; then
5494 echo "$as_me:$LINENO: result: yes" >&5
5495 echo "${ECHO_T}yes" >&6
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5506 # Check whether --enable-timer or --disable-timer was given.
5507 if test "${enable_timer+set}" = set; then
5508 enableval
="$enable_timer"
5510 if test "$enableval" = yes; then
5511 ac_cv_use_timer
='wxUSE_TIMER=yes'
5513 ac_cv_use_timer
='wxUSE_TIMER=no'
5518 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x
; then
5520 eval "DEFAULT_$LINE"
5525 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5529 eval "$ac_cv_use_timer"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5534 if test "$wxUSE_TIMER" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5547 # Check whether --enable-unicode or --disable-unicode was given.
5548 if test "${enable_unicode+set}" = set; then
5549 enableval
="$enable_unicode"
5551 if test "$enableval" = yes; then
5552 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5554 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5559 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x
; then
5561 eval "DEFAULT_$LINE"
5566 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5570 eval "$ac_cv_use_unicode"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5575 if test "$wxUSE_UNICODE" = yes; then
5576 echo "$as_me:$LINENO: result: yes" >&5
5577 echo "${ECHO_T}yes" >&6
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5588 # Check whether --enable-sound or --disable-sound was given.
5589 if test "${enable_sound+set}" = set; then
5590 enableval
="$enable_sound"
5592 if test "$enableval" = yes; then
5593 ac_cv_use_sound
='wxUSE_SOUND=yes'
5595 ac_cv_use_sound
='wxUSE_SOUND=no'
5600 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x
; then
5602 eval "DEFAULT_$LINE"
5607 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5611 eval "$ac_cv_use_sound"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5616 if test "$wxUSE_SOUND" = yes; then
5617 echo "$as_me:$LINENO: result: yes" >&5
5618 echo "${ECHO_T}yes" >&6
5620 echo "$as_me:$LINENO: result: no" >&5
5621 echo "${ECHO_T}no" >&6
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5629 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5630 if test "${enable_wxprintfv+set}" = set; then
5631 enableval
="$enable_wxprintfv"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5636 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5641 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x
; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5652 eval "$ac_cv_use_wxprintfv"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5657 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5670 # Check whether --enable-zipstream or --disable-zipstream was given.
5671 if test "${enable_zipstream+set}" = set; then
5672 enableval
="$enable_zipstream"
5674 if test "$enableval" = yes; then
5675 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5677 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5682 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x
; then
5684 eval "DEFAULT_$LINE"
5689 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5693 eval "$ac_cv_use_zipstream"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5698 if test "$wxUSE_ZIPSTREAM" = yes; then
5699 echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5711 # Check whether --enable-gzstream or --disable-gzstream was given.
5712 if test "${enable_gzstream+set}" = set; then
5713 enableval
="$enable_gzstream"
5715 if test "$enableval" = yes; then
5716 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5718 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5723 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x
; then
5725 eval "DEFAULT_$LINE"
5730 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5734 eval "$ac_cv_use_gzstream"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5739 if test "$wxUSE_GZSTREAM" = yes; then
5740 echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5753 # Check whether --enable-url or --disable-url was given.
5754 if test "${enable_url+set}" = set; then
5755 enableval
="$enable_url"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_url
='wxUSE_URL=yes'
5760 ac_cv_use_url
='wxUSE_URL=no'
5765 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5776 eval "$ac_cv_use_url"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5781 if test "$wxUSE_URL" = 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
5791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5794 # Check whether --enable-protocol or --disable-protocol was given.
5795 if test "${enable_protocol+set}" = set; then
5796 enableval
="$enable_protocol"
5798 if test "$enableval" = yes; then
5799 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5801 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5806 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5807 if test "x$LINE" != x
; then
5808 eval "DEFAULT_$LINE"
5813 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5817 eval "$ac_cv_use_protocol"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5822 if test "$wxUSE_PROTOCOL" = yes; then
5823 echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6
5826 echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6
5832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5835 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5836 if test "${enable_protocol_http+set}" = set; then
5837 enableval
="$enable_protocol_http"
5839 if test "$enableval" = yes; then
5840 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5842 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5847 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5848 if test "x$LINE" != x
; then
5849 eval "DEFAULT_$LINE"
5854 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5858 eval "$ac_cv_use_protocol_http"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5863 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5864 echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5876 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5877 if test "${enable_protocol_ftp+set}" = set; then
5878 enableval
="$enable_protocol_ftp"
5880 if test "$enableval" = yes; then
5881 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5883 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5888 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x
; then
5890 eval "DEFAULT_$LINE"
5895 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5899 eval "$ac_cv_use_protocol_ftp"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5904 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5905 echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6
5908 echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6
5914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5917 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5918 if test "${enable_protocol_file+set}" = set; then
5919 enableval
="$enable_protocol_file"
5921 if test "$enableval" = yes; then
5922 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5924 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5929 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5930 if test "x$LINE" != x
; then
5931 eval "DEFAULT_$LINE"
5936 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5940 eval "$ac_cv_use_protocol_file"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5945 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5946 echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6
5949 echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5961 # Check whether --enable-threads or --disable-threads was given.
5962 if test "${enable_threads+set}" = set; then
5963 enableval
="$enable_threads"
5965 if test "$enableval" = yes; then
5966 ac_cv_use_threads
='wxUSE_THREADS=yes'
5968 ac_cv_use_threads
='wxUSE_THREADS=no'
5973 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x
; then
5975 eval "DEFAULT_$LINE"
5980 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5984 eval "$ac_cv_use_threads"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5989 if test "$wxUSE_THREADS" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5998 if test "$wxUSE_GUI" = "yes"; then
6003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6004 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6006 # Check whether --enable-docview or --disable-docview was given.
6007 if test "${enable_docview+set}" = set; then
6008 enableval
="$enable_docview"
6010 if test "$enableval" = yes; then
6011 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6013 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6018 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x
; then
6020 eval "DEFAULT_$LINE"
6025 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6029 eval "$ac_cv_use_docview"
6030 if test "$no_cache" != 1; then
6031 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6034 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6035 echo "$as_me:$LINENO: result: yes" >&5
6036 echo "${ECHO_T}yes" >&6
6038 echo "$as_me:$LINENO: result: no" >&5
6039 echo "${ECHO_T}no" >&6
6044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6045 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6047 # Check whether --enable-help or --disable-help was given.
6048 if test "${enable_help+set}" = set; then
6049 enableval
="$enable_help"
6051 if test "$enableval" = yes; then
6052 ac_cv_use_help
='wxUSE_HELP=yes'
6054 ac_cv_use_help
='wxUSE_HELP=no'
6059 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x
; then
6061 eval "DEFAULT_$LINE"
6066 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6070 eval "$ac_cv_use_help"
6071 if test "$no_cache" != 1; then
6072 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6075 if test "$wxUSE_HELP" = yes; then
6076 echo "$as_me:$LINENO: result: yes" >&5
6077 echo "${ECHO_T}yes" >&6
6079 echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6
6085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6086 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6088 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6089 if test "${enable_mshtmlhelp+set}" = set; then
6090 enableval
="$enable_mshtmlhelp"
6092 if test "$enableval" = yes; then
6093 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6095 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6100 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x
; then
6102 eval "DEFAULT_$LINE"
6107 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6111 eval "$ac_cv_use_mshtmlhelp"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6116 if test "$wxUSE_MS_HTML_HELP" = yes; then
6117 echo "$as_me:$LINENO: result: yes" >&5
6118 echo "${ECHO_T}yes" >&6
6120 echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6
6126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6127 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6129 # Check whether --enable-html or --disable-html was given.
6130 if test "${enable_html+set}" = set; then
6131 enableval
="$enable_html"
6133 if test "$enableval" = yes; then
6134 ac_cv_use_html
='wxUSE_HTML=yes'
6136 ac_cv_use_html
='wxUSE_HTML=no'
6141 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x
; then
6143 eval "DEFAULT_$LINE"
6148 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6152 eval "$ac_cv_use_html"
6153 if test "$no_cache" != 1; then
6154 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6157 if test "$wxUSE_HTML" = yes; then
6158 echo "$as_me:$LINENO: result: yes" >&5
6159 echo "${ECHO_T}yes" >&6
6161 echo "$as_me:$LINENO: result: no" >&5
6162 echo "${ECHO_T}no" >&6
6167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6170 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6171 if test "${enable_htmlhelp+set}" = set; then
6172 enableval
="$enable_htmlhelp"
6174 if test "$enableval" = yes; then
6175 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6177 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6182 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x
; then
6184 eval "DEFAULT_$LINE"
6189 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6193 eval "$ac_cv_use_htmlhelp"
6194 if test "$no_cache" != 1; then
6195 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6198 if test "$wxUSE_WXHTML_HELP" = yes; then
6199 echo "$as_me:$LINENO: result: yes" >&5
6200 echo "${ECHO_T}yes" >&6
6202 echo "$as_me:$LINENO: result: no" >&5
6203 echo "${ECHO_T}no" >&6
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6211 # Check whether --enable-constraints or --disable-constraints was given.
6212 if test "${enable_constraints+set}" = set; then
6213 enableval
="$enable_constraints"
6215 if test "$enableval" = yes; then
6216 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6218 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6223 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x
; then
6225 eval "DEFAULT_$LINE"
6230 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6234 eval "$ac_cv_use_constraints"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6239 if test "$wxUSE_CONSTRAINTS" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6252 # Check whether --enable-printarch or --disable-printarch was given.
6253 if test "${enable_printarch+set}" = set; then
6254 enableval
="$enable_printarch"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6259 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6264 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6275 eval "$ac_cv_use_printarch"
6276 if test "$no_cache" != 1; then
6277 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6280 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6281 echo "$as_me:$LINENO: result: yes" >&5
6282 echo "${ECHO_T}yes" >&6
6284 echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6293 # Check whether --enable-mdi or --disable-mdi was given.
6294 if test "${enable_mdi+set}" = set; then
6295 enableval
="$enable_mdi"
6297 if test "$enableval" = yes; then
6298 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6300 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6305 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x
; then
6307 eval "DEFAULT_$LINE"
6312 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6316 eval "$ac_cv_use_mdi"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6322 echo "$as_me:$LINENO: result: yes" >&5
6323 echo "${ECHO_T}yes" >&6
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6334 # Check whether --enable-loggui or --disable-loggui was given.
6335 if test "${enable_loggui+set}" = set; then
6336 enableval
="$enable_loggui"
6338 if test "$enableval" = yes; then
6339 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6341 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6346 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x
; then
6348 eval "DEFAULT_$LINE"
6353 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6357 eval "$ac_cv_use_loggui"
6358 if test "$no_cache" != 1; then
6359 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6362 if test "$wxUSE_LOGGUI" = yes; then
6363 echo "$as_me:$LINENO: result: yes" >&5
6364 echo "${ECHO_T}yes" >&6
6366 echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6
6372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6375 # Check whether --enable-logwin or --disable-logwin was given.
6376 if test "${enable_logwin+set}" = set; then
6377 enableval
="$enable_logwin"
6379 if test "$enableval" = yes; then
6380 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6382 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6387 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x
; then
6389 eval "DEFAULT_$LINE"
6394 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6398 eval "$ac_cv_use_logwin"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6403 if test "$wxUSE_LOGWINDOW" = yes; then
6404 echo "$as_me:$LINENO: result: yes" >&5
6405 echo "${ECHO_T}yes" >&6
6407 echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6
6413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6414 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6416 # Check whether --enable-logdialog or --disable-logdialog was given.
6417 if test "${enable_logdialog+set}" = set; then
6418 enableval
="$enable_logdialog"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6423 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6428 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6439 eval "$ac_cv_use_logdialog"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6444 if test "$wxUSE_LOGDIALOG" = yes; then
6445 echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6
6448 echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6458 # Check whether --enable-postscript or --disable-postscript was given.
6459 if test "${enable_postscript+set}" = set; then
6460 enableval
="$enable_postscript"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6465 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6470 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6481 eval "$ac_cv_use_postscript"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6486 if test "$wxUSE_POSTSCRIPT" = 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
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6502 # Check whether --enable-prologio or --disable-prologio was given.
6503 if test "${enable_prologio+set}" = set; then
6504 enableval
="$enable_prologio"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6509 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6514 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x
; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6525 eval "$ac_cv_use_prologio"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_PROLOGIO" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6543 # Check whether --enable-resources or --disable-resources was given.
6544 if test "${enable_resources+set}" = set; then
6545 enableval
="$enable_resources"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6550 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6555 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x
; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6566 eval "$ac_cv_use_resources"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_RESOURCES" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6586 # Check whether --enable-clipboard or --disable-clipboard was given.
6587 if test "${enable_clipboard+set}" = set; then
6588 enableval
="$enable_clipboard"
6590 if test "$enableval" = yes; then
6591 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6593 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6598 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x
; then
6600 eval "DEFAULT_$LINE"
6605 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6609 eval "$ac_cv_use_clipboard"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_CLIPBOARD" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6627 # Check whether --enable-dnd or --disable-dnd was given.
6628 if test "${enable_dnd+set}" = set; then
6629 enableval
="$enable_dnd"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6634 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6639 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6650 eval "$ac_cv_use_dnd"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6668 # Check whether --enable-metafile or --disable-metafile was given.
6669 if test "${enable_metafile+set}" = set; then
6670 enableval
="$enable_metafile"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6675 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6680 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x
; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6691 eval "$ac_cv_use_metafile"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6696 if test "$wxUSE_METAFILE" = yes; then
6697 echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6700 echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6712 # Check whether --enable-controls or --disable-controls was given.
6713 if test "${enable_controls+set}" = set; then
6714 enableval
="$enable_controls"
6716 if test "$enableval" = yes; then
6717 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6719 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6724 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x
; then
6726 eval "DEFAULT_$LINE"
6731 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6735 eval "$ac_cv_use_controls"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_CONTROLS" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6749 if test "$wxUSE_CONTROLS" = "yes"; then
6750 DEFAULT_wxUSE_ACCEL
=yes
6751 DEFAULT_wxUSE_BMPBUTTON
=yes
6752 DEFAULT_wxUSE_BUTTON
=yes
6753 DEFAULT_wxUSE_CALCTRL
=no
6754 DEFAULT_wxUSE_CARET
=yes
6755 DEFAULT_wxUSE_COMBOBOX
=yes
6756 DEFAULT_wxUSE_CHECKBOX
=yes
6757 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6758 DEFAULT_wxUSE_CHOICE
=yes
6759 DEFAULT_wxUSE_GAUGE
=yes
6760 DEFAULT_wxUSE_GRID
=yes
6761 DEFAULT_wxUSE_IMAGLIST
=yes
6762 DEFAULT_wxUSE_LISTBOOK
=yes
6763 DEFAULT_wxUSE_LISTBOX
=yes
6764 DEFAULT_wxUSE_LISTCTRL
=yes
6765 DEFAULT_wxUSE_NOTEBOOK
=yes
6766 DEFAULT_wxUSE_RADIOBOX
=yes
6767 DEFAULT_wxUSE_RADIOBTN
=yes
6768 DEFAULT_wxUSE_SASH
=yes
6769 DEFAULT_wxUSE_SCROLLBAR
=yes
6770 DEFAULT_wxUSE_SLIDER
=yes
6771 DEFAULT_wxUSE_SPINBTN
=yes
6772 DEFAULT_wxUSE_SPINCTRL
=yes
6773 DEFAULT_wxUSE_SPLITTER
=yes
6774 DEFAULT_wxUSE_STATBMP
=yes
6775 DEFAULT_wxUSE_STATBOX
=yes
6776 DEFAULT_wxUSE_STATLINE
=yes
6777 DEFAULT_wxUSE_STATUSBAR
=yes
6778 DEFAULT_wxUSE_TAB_DIALOG
=yes
6779 DEFAULT_wxUSE_TOGGLEBTN
=yes
6780 DEFAULT_wxUSE_TOOLBAR
=yes
6781 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6782 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6783 DEFAULT_wxUSE_TOOLTIPS
=yes
6784 DEFAULT_wxUSE_TREECTRL
=yes
6785 DEFAULT_wxUSE_POPUPWIN
=yes
6786 DEFAULT_wxUSE_TIPWINDOW
=yes
6787 elif test "$wxUSE_CONTROLS" = "no"; then
6788 DEFAULT_wxUSE_ACCEL
=no
6789 DEFAULT_wxUSE_BMPBUTTON
=no
6790 DEFAULT_wxUSE_BUTTON
=no
6791 DEFAULT_wxUSE_CALCTRL
=no
6792 DEFAULT_wxUSE_CARET
=no
6793 DEFAULT_wxUSE_COMBOBOX
=no
6794 DEFAULT_wxUSE_CHECKBOX
=no
6795 DEFAULT_wxUSE_CHECKLISTBOX
=no
6796 DEFAULT_wxUSE_CHOICE
=no
6797 DEFAULT_wxUSE_GAUGE
=no
6798 DEFAULT_wxUSE_GRID
=no
6799 DEFAULT_wxUSE_IMAGLIST
=no
6800 DEFAULT_wxUSE_LISTBOOK
=no
6801 DEFAULT_wxUSE_LISTBOX
=no
6802 DEFAULT_wxUSE_LISTCTRL
=no
6803 DEFAULT_wxUSE_NOTEBOOK
=no
6804 DEFAULT_wxUSE_RADIOBOX
=no
6805 DEFAULT_wxUSE_RADIOBTN
=no
6806 DEFAULT_wxUSE_SASH
=no
6807 DEFAULT_wxUSE_SCROLLBAR
=no
6808 DEFAULT_wxUSE_SLIDER
=no
6809 DEFAULT_wxUSE_SPINBTN
=no
6810 DEFAULT_wxUSE_SPINCTRL
=no
6811 DEFAULT_wxUSE_SPLITTER
=no
6812 DEFAULT_wxUSE_STATBMP
=no
6813 DEFAULT_wxUSE_STATBOX
=no
6814 DEFAULT_wxUSE_STATLINE
=no
6815 DEFAULT_wxUSE_STATUSBAR
=no
6816 DEFAULT_wxUSE_TAB_DIALOG
=no
6817 DEFAULT_wxUSE_TOGGLEBTN
=no
6818 DEFAULT_wxUSE_TOOLBAR
=no
6819 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6820 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6821 DEFAULT_wxUSE_TOOLTIPS
=no
6822 DEFAULT_wxUSE_TREECTRL
=no
6823 DEFAULT_wxUSE_POPUPWIN
=no
6824 DEFAULT_wxUSE_TIPWINDOW
=no
6827 ## FIXME: This is a blatant hack
6828 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6829 wxUSE_PRINTING_ARCHITECTURE
=no
6830 wxUSE_DRAG_AND_DROP
=no
6831 # Generic notebook requires tab dialog
6832 DEFAULT_wxUSE_TABDIALOG
=yes
6833 DEFAULT_wxUSE_SCROLLBAR
=no
6834 DEFAULT_wxUSE_TOOLTIPS
=no
6835 DEFAULT_wxUSE_DRAGIMAGE
=no
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6843 # Check whether --enable-accel or --disable-accel was given.
6844 if test "${enable_accel+set}" = set; then
6845 enableval
="$enable_accel"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6850 ac_cv_use_accel
='wxUSE_ACCEL=no'
6855 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6866 eval "$ac_cv_use_accel"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_ACCEL" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6884 # Check whether --enable-button or --disable-button was given.
6885 if test "${enable_button+set}" = set; then
6886 enableval
="$enable_button"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_button
='wxUSE_BUTTON=yes'
6891 ac_cv_use_button
='wxUSE_BUTTON=no'
6896 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6907 eval "$ac_cv_use_button"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_BUTTON" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6925 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6926 if test "${enable_bmpbutton+set}" = set; then
6927 enableval
="$enable_bmpbutton"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6932 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6937 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6948 eval "$ac_cv_use_bmpbutton"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_BMPBUTTON" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6966 # Check whether --enable-calendar or --disable-calendar was given.
6967 if test "${enable_calendar+set}" = set; then
6968 enableval
="$enable_calendar"
6970 if test "$enableval" = yes; then
6971 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6973 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6978 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x
; then
6980 eval "DEFAULT_$LINE"
6985 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6989 eval "$ac_cv_use_calendar"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_CALCTRL" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7007 # Check whether --enable-caret or --disable-caret was given.
7008 if test "${enable_caret+set}" = set; then
7009 enableval
="$enable_caret"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_caret
='wxUSE_CARET=yes'
7014 ac_cv_use_caret
='wxUSE_CARET=no'
7019 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7030 eval "$ac_cv_use_caret"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_CARET" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7048 # Check whether --enable-checkbox or --disable-checkbox was given.
7049 if test "${enable_checkbox+set}" = set; then
7050 enableval
="$enable_checkbox"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7055 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7060 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7071 eval "$ac_cv_use_checkbox"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_CHECKBOX" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7089 # Check whether --enable-checklst or --disable-checklst was given.
7090 if test "${enable_checklst+set}" = set; then
7091 enableval
="$enable_checklst"
7093 if test "$enableval" = yes; then
7094 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7096 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7101 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x
; then
7103 eval "DEFAULT_$LINE"
7108 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7112 eval "$ac_cv_use_checklst"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_CHECKLST" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7130 # Check whether --enable-choice or --disable-choice was given.
7131 if test "${enable_choice+set}" = set; then
7132 enableval
="$enable_choice"
7134 if test "$enableval" = yes; then
7135 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7137 ac_cv_use_choice
='wxUSE_CHOICE=no'
7142 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x
; then
7144 eval "DEFAULT_$LINE"
7149 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7153 eval "$ac_cv_use_choice"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_CHOICE" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7171 # Check whether --enable-combobox or --disable-combobox was given.
7172 if test "${enable_combobox+set}" = set; then
7173 enableval
="$enable_combobox"
7175 if test "$enableval" = yes; then
7176 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7178 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7183 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x
; then
7185 eval "DEFAULT_$LINE"
7190 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7194 eval "$ac_cv_use_combobox"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_COMBOBOX" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7212 # Check whether --enable-display or --disable-display was given.
7213 if test "${enable_display+set}" = set; then
7214 enableval
="$enable_display"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7219 ac_cv_use_display
='wxUSE_DISPLAY=no'
7224 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7235 eval "$ac_cv_use_display"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_DISPLAY" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7253 # Check whether --enable-gauge or --disable-gauge was given.
7254 if test "${enable_gauge+set}" = set; then
7255 enableval
="$enable_gauge"
7257 if test "$enableval" = yes; then
7258 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7260 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7265 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x
; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7276 eval "$ac_cv_use_gauge"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_GAUGE" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7294 # Check whether --enable-grid or --disable-grid was given.
7295 if test "${enable_grid+set}" = set; then
7296 enableval
="$enable_grid"
7298 if test "$enableval" = yes; then
7299 ac_cv_use_grid
='wxUSE_GRID=yes'
7301 ac_cv_use_grid
='wxUSE_GRID=no'
7306 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x
; then
7308 eval "DEFAULT_$LINE"
7313 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7317 eval "$ac_cv_use_grid"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_GRID" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7335 # Check whether --enable-imaglist or --disable-imaglist was given.
7336 if test "${enable_imaglist+set}" = set; then
7337 enableval
="$enable_imaglist"
7339 if test "$enableval" = yes; then
7340 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7342 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7347 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x
; then
7349 eval "DEFAULT_$LINE"
7354 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7358 eval "$ac_cv_use_imaglist"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7363 if test "$wxUSE_IMAGLIST" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7376 # Check whether --enable-listbook or --disable-listbook was given.
7377 if test "${enable_listbook+set}" = set; then
7378 enableval
="$enable_listbook"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7383 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7388 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7399 eval "$ac_cv_use_listbook"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_LISTBOOK" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7417 # Check whether --enable-listbox or --disable-listbox was given.
7418 if test "${enable_listbox+set}" = set; then
7419 enableval
="$enable_listbox"
7421 if test "$enableval" = yes; then
7422 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7424 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7429 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x
; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7440 eval "$ac_cv_use_listbox"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7445 if test "$wxUSE_LISTBOX" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7458 # Check whether --enable-listctrl or --disable-listctrl was given.
7459 if test "${enable_listctrl+set}" = set; then
7460 enableval
="$enable_listctrl"
7462 if test "$enableval" = yes; then
7463 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7465 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7470 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x
; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7481 eval "$ac_cv_use_listctrl"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_LISTCTRL" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7499 # Check whether --enable-notebook or --disable-notebook was given.
7500 if test "${enable_notebook+set}" = set; then
7501 enableval
="$enable_notebook"
7503 if test "$enableval" = yes; then
7504 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7506 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7511 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x
; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7522 eval "$ac_cv_use_notebook"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_NOTEBOOK" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7540 # Check whether --enable-radiobox or --disable-radiobox was given.
7541 if test "${enable_radiobox+set}" = set; then
7542 enableval
="$enable_radiobox"
7544 if test "$enableval" = yes; then
7545 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7547 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7552 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x
; then
7554 eval "DEFAULT_$LINE"
7559 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7563 eval "$ac_cv_use_radiobox"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7568 if test "$wxUSE_RADIOBOX" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7581 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7582 if test "${enable_radiobtn+set}" = set; then
7583 enableval
="$enable_radiobtn"
7585 if test "$enableval" = yes; then
7586 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7588 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7593 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x
; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7604 eval "$ac_cv_use_radiobtn"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7609 if test "$wxUSE_RADIOBTN" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7620 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7622 # Check whether --enable-sash or --disable-sash was given.
7623 if test "${enable_sash+set}" = set; then
7624 enableval
="$enable_sash"
7626 if test "$enableval" = yes; then
7627 ac_cv_use_sash
='wxUSE_SASH=yes'
7629 ac_cv_use_sash
='wxUSE_SASH=no'
7634 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x
; then
7636 eval "DEFAULT_$LINE"
7641 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7645 eval "$ac_cv_use_sash"
7646 if test "$no_cache" != 1; then
7647 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7650 if test "$wxUSE_SASH" = yes; then
7651 echo "$as_me:$LINENO: result: yes" >&5
7652 echo "${ECHO_T}yes" >&6
7654 echo "$as_me:$LINENO: result: no" >&5
7655 echo "${ECHO_T}no" >&6
7660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7663 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7664 if test "${enable_scrollbar+set}" = set; then
7665 enableval
="$enable_scrollbar"
7667 if test "$enableval" = yes; then
7668 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7670 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7675 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7676 if test "x$LINE" != x
; then
7677 eval "DEFAULT_$LINE"
7682 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7686 eval "$ac_cv_use_scrollbar"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7691 if test "$wxUSE_SCROLLBAR" = yes; then
7692 echo "$as_me:$LINENO: result: yes" >&5
7693 echo "${ECHO_T}yes" >&6
7695 echo "$as_me:$LINENO: result: no" >&5
7696 echo "${ECHO_T}no" >&6
7701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7704 # Check whether --enable-slider or --disable-slider was given.
7705 if test "${enable_slider+set}" = set; then
7706 enableval
="$enable_slider"
7708 if test "$enableval" = yes; then
7709 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7711 ac_cv_use_slider
='wxUSE_SLIDER=no'
7716 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x
; then
7718 eval "DEFAULT_$LINE"
7723 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7727 eval "$ac_cv_use_slider"
7728 if test "$no_cache" != 1; then
7729 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7732 if test "$wxUSE_SLIDER" = yes; then
7733 echo "$as_me:$LINENO: result: yes" >&5
7734 echo "${ECHO_T}yes" >&6
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7743 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7745 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7746 if test "${enable_spinbtn+set}" = set; then
7747 enableval
="$enable_spinbtn"
7749 if test "$enableval" = yes; then
7750 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7752 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7757 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7758 if test "x$LINE" != x
; then
7759 eval "DEFAULT_$LINE"
7764 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7768 eval "$ac_cv_use_spinbtn"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7773 if test "$wxUSE_SPINBTN" = yes; then
7774 echo "$as_me:$LINENO: result: yes" >&5
7775 echo "${ECHO_T}yes" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7786 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7787 if test "${enable_spinctrl+set}" = set; then
7788 enableval
="$enable_spinctrl"
7790 if test "$enableval" = yes; then
7791 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7793 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7798 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7799 if test "x$LINE" != x
; then
7800 eval "DEFAULT_$LINE"
7805 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7809 eval "$ac_cv_use_spinctrl"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7814 if test "$wxUSE_SPINCTRL" = yes; then
7815 echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6
7818 echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6
7824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7827 # Check whether --enable-splitter or --disable-splitter was given.
7828 if test "${enable_splitter+set}" = set; then
7829 enableval
="$enable_splitter"
7831 if test "$enableval" = yes; then
7832 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7834 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7839 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x
; then
7841 eval "DEFAULT_$LINE"
7846 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7850 eval "$ac_cv_use_splitter"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7855 if test "$wxUSE_SPLITTER" = yes; then
7856 echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6
7859 echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7868 # Check whether --enable-statbmp or --disable-statbmp was given.
7869 if test "${enable_statbmp+set}" = set; then
7870 enableval
="$enable_statbmp"
7872 if test "$enableval" = yes; then
7873 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7875 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7880 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x
; then
7882 eval "DEFAULT_$LINE"
7887 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7891 eval "$ac_cv_use_statbmp"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7896 if test "$wxUSE_STATBMP" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7909 # Check whether --enable-statbox or --disable-statbox was given.
7910 if test "${enable_statbox+set}" = set; then
7911 enableval
="$enable_statbox"
7913 if test "$enableval" = yes; then
7914 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7916 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7921 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x
; then
7923 eval "DEFAULT_$LINE"
7928 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7932 eval "$ac_cv_use_statbox"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7937 if test "$wxUSE_STATBOX" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7950 # Check whether --enable-statline or --disable-statline was given.
7951 if test "${enable_statline+set}" = set; then
7952 enableval
="$enable_statline"
7954 if test "$enableval" = yes; then
7955 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7957 ac_cv_use_statline
='wxUSE_STATLINE=no'
7962 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x
; then
7964 eval "DEFAULT_$LINE"
7969 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7973 eval "$ac_cv_use_statline"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7978 if test "$wxUSE_STATLINE" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7991 # Check whether --enable-stattext or --disable-stattext was given.
7992 if test "${enable_stattext+set}" = set; then
7993 enableval
="$enable_stattext"
7995 if test "$enableval" = yes; then
7996 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7998 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8003 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x
; then
8005 eval "DEFAULT_$LINE"
8010 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8014 eval "$ac_cv_use_stattext"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8019 if test "$wxUSE_STATTEXT" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8032 # Check whether --enable-statusbar or --disable-statusbar was given.
8033 if test "${enable_statusbar+set}" = set; then
8034 enableval
="$enable_statusbar"
8036 if test "$enableval" = yes; then
8037 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8039 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8044 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x
; then
8046 eval "DEFAULT_$LINE"
8051 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8055 eval "$ac_cv_use_statusbar"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_STATUSBAR" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8073 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8074 if test "${enable_tabdialog+set}" = set; then
8075 enableval
="$enable_tabdialog"
8077 if test "$enableval" = yes; then
8078 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8080 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8085 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x
; then
8087 eval "DEFAULT_$LINE"
8092 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8096 eval "$ac_cv_use_tabdialog"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_TABDIALOG" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8114 # Check whether --enable-textctrl or --disable-textctrl was given.
8115 if test "${enable_textctrl+set}" = set; then
8116 enableval
="$enable_textctrl"
8118 if test "$enableval" = yes; then
8119 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8121 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8126 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x
; then
8128 eval "DEFAULT_$LINE"
8133 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8137 eval "$ac_cv_use_textctrl"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8142 if test "$wxUSE_TEXTCTRL" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8155 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8156 if test "${enable_togglebtn+set}" = set; then
8157 enableval
="$enable_togglebtn"
8159 if test "$enableval" = yes; then
8160 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8162 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8167 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x
; then
8169 eval "DEFAULT_$LINE"
8174 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8178 eval "$ac_cv_use_togglebtn"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8183 if test "$wxUSE_TOGGLEBTN" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8196 # Check whether --enable-toolbar or --disable-toolbar was given.
8197 if test "${enable_toolbar+set}" = set; then
8198 enableval
="$enable_toolbar"
8200 if test "$enableval" = yes; then
8201 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8203 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8208 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x
; then
8210 eval "DEFAULT_$LINE"
8215 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8219 eval "$ac_cv_use_toolbar"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8224 if test "$wxUSE_TOOLBAR" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8237 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8238 if test "${enable_tbarnative+set}" = set; then
8239 enableval
="$enable_tbarnative"
8241 if test "$enableval" = yes; then
8242 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8244 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8249 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x
; then
8251 eval "DEFAULT_$LINE"
8256 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8260 eval "$ac_cv_use_tbarnative"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8265 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8278 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8279 if test "${enable_tbarsmpl+set}" = set; then
8280 enableval
="$enable_tbarsmpl"
8282 if test "$enableval" = yes; then
8283 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8285 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8290 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x
; then
8292 eval "DEFAULT_$LINE"
8297 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8301 eval "$ac_cv_use_tbarsmpl"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8319 # Check whether --enable-treectrl or --disable-treectrl was given.
8320 if test "${enable_treectrl+set}" = set; then
8321 enableval
="$enable_treectrl"
8323 if test "$enableval" = yes; then
8324 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8326 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8331 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x
; then
8333 eval "DEFAULT_$LINE"
8338 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8342 eval "$ac_cv_use_treectrl"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_TREECTRL" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8360 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8361 if test "${enable_tipwindow+set}" = set; then
8362 enableval
="$enable_tipwindow"
8364 if test "$enableval" = yes; then
8365 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8367 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8372 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x
; then
8374 eval "DEFAULT_$LINE"
8379 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8383 eval "$ac_cv_use_tipwindow"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8388 if test "$wxUSE_TIPWINDOW" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8401 # Check whether --enable-popupwin or --disable-popupwin was given.
8402 if test "${enable_popupwin+set}" = set; then
8403 enableval
="$enable_popupwin"
8405 if test "$enableval" = yes; then
8406 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8408 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8413 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x
; then
8415 eval "DEFAULT_$LINE"
8420 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8424 eval "$ac_cv_use_popupwin"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_POPUPWIN" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8444 # Check whether --enable-commondlg or --disable-commondlg was given.
8445 if test "${enable_commondlg+set}" = set; then
8446 enableval
="$enable_commondlg"
8448 if test "$enableval" = yes; then
8449 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8451 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8456 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x
; then
8458 eval "DEFAULT_$LINE"
8463 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8467 eval "$ac_cv_use_commondlg"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_COMMONDLGS" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8485 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8486 if test "${enable_choicedlg+set}" = set; then
8487 enableval
="$enable_choicedlg"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8492 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8497 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x
; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8508 eval "$ac_cv_use_choicedlg"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_CHOICEDLG" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8526 # Check whether --enable-coldlg or --disable-coldlg was given.
8527 if test "${enable_coldlg+set}" = set; then
8528 enableval
="$enable_coldlg"
8530 if test "$enableval" = yes; then
8531 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8533 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8538 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x
; then
8540 eval "DEFAULT_$LINE"
8545 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8549 eval "$ac_cv_use_coldlg"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8554 if test "$wxUSE_COLOURDLG" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8567 # Check whether --enable-filedlg or --disable-filedlg was given.
8568 if test "${enable_filedlg+set}" = set; then
8569 enableval
="$enable_filedlg"
8571 if test "$enableval" = yes; then
8572 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8574 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8579 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x
; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8590 eval "$ac_cv_use_filedlg"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8595 if test "$wxUSE_FILEDLG" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8608 # Check whether --enable-finddlg or --disable-finddlg was given.
8609 if test "${enable_finddlg+set}" = set; then
8610 enableval
="$enable_finddlg"
8612 if test "$enableval" = yes; then
8613 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8615 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8620 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x
; then
8622 eval "DEFAULT_$LINE"
8627 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8631 eval "$ac_cv_use_finddlg"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8636 if test "$wxUSE_FINDREPLDLG" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8649 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8650 if test "${enable_fontdlg+set}" = set; then
8651 enableval
="$enable_fontdlg"
8653 if test "$enableval" = yes; then
8654 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8656 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8661 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x
; then
8663 eval "DEFAULT_$LINE"
8668 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8672 eval "$ac_cv_use_fontdlg"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8677 if test "$wxUSE_FONTDLG" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8690 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8691 if test "${enable_dirdlg+set}" = set; then
8692 enableval
="$enable_dirdlg"
8694 if test "$enableval" = yes; then
8695 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8697 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8702 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x
; then
8704 eval "DEFAULT_$LINE"
8709 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8713 eval "$ac_cv_use_dirdlg"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8718 if test "$wxUSE_DIRDLG" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8731 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8732 if test "${enable_msgdlg+set}" = set; then
8733 enableval
="$enable_msgdlg"
8735 if test "$enableval" = yes; then
8736 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8738 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8743 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x
; then
8745 eval "DEFAULT_$LINE"
8750 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8754 eval "$ac_cv_use_msgdlg"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8759 if test "$wxUSE_MSGDLG" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8772 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8773 if test "${enable_numberdlg+set}" = set; then
8774 enableval
="$enable_numberdlg"
8776 if test "$enableval" = yes; then
8777 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8779 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8784 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x
; then
8786 eval "DEFAULT_$LINE"
8791 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8795 eval "$ac_cv_use_numberdlg"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8800 if test "$wxUSE_NUMBERDLG" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8813 # Check whether --enable-splash or --disable-splash was given.
8814 if test "${enable_splash+set}" = set; then
8815 enableval
="$enable_splash"
8817 if test "$enableval" = yes; then
8818 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8820 ac_cv_use_splash
='wxUSE_SPLASH=no'
8825 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x
; then
8827 eval "DEFAULT_$LINE"
8832 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8836 eval "$ac_cv_use_splash"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8841 if test "$wxUSE_SPLASH" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8854 # Check whether --enable-textdlg or --disable-textdlg was given.
8855 if test "${enable_textdlg+set}" = set; then
8856 enableval
="$enable_textdlg"
8858 if test "$enableval" = yes; then
8859 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8861 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8866 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x
; then
8868 eval "DEFAULT_$LINE"
8873 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8877 eval "$ac_cv_use_textdlg"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8882 if test "$wxUSE_TEXTDLG" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8895 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8896 if test "${enable_tipdlg+set}" = set; then
8897 enableval
="$enable_tipdlg"
8899 if test "$enableval" = yes; then
8900 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8902 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8907 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x
; then
8909 eval "DEFAULT_$LINE"
8914 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8918 eval "$ac_cv_use_tipdlg"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8923 if test "$wxUSE_STARTUP_TIPS" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8936 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8937 if test "${enable_progressdlg+set}" = set; then
8938 enableval
="$enable_progressdlg"
8940 if test "$enableval" = yes; then
8941 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8943 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8948 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x
; then
8950 eval "DEFAULT_$LINE"
8955 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8959 eval "$ac_cv_use_progressdlg"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8964 if test "$wxUSE_PROGRESSDLG" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8977 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8978 if test "${enable_wizarddlg+set}" = set; then
8979 enableval
="$enable_wizarddlg"
8981 if test "$enableval" = yes; then
8982 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8984 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8989 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x
; then
8991 eval "DEFAULT_$LINE"
8996 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9000 eval "$ac_cv_use_wizarddlg"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9005 if test "$wxUSE_WIZARDDLG" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9020 # Check whether --enable-menus or --disable-menus was given.
9021 if test "${enable_menus+set}" = set; then
9022 enableval
="$enable_menus"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_menus
='wxUSE_MENUS=yes'
9027 ac_cv_use_menus
='wxUSE_MENUS=no'
9032 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x
; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9043 eval "$ac_cv_use_menus"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_MENUS" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9061 # Check whether --enable-miniframe or --disable-miniframe was given.
9062 if test "${enable_miniframe+set}" = set; then
9063 enableval
="$enable_miniframe"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9068 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9073 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9084 eval "$ac_cv_use_miniframe"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_MINIFRAME" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9102 # Check whether --enable-tooltips or --disable-tooltips was given.
9103 if test "${enable_tooltips+set}" = set; then
9104 enableval
="$enable_tooltips"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9109 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9114 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x
; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9125 eval "$ac_cv_use_tooltips"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_TOOLTIPS" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9143 # Check whether --enable-splines or --disable-splines was given.
9144 if test "${enable_splines+set}" = set; then
9145 enableval
="$enable_splines"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9150 ac_cv_use_splines
='wxUSE_SPLINES=no'
9155 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x
; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9166 eval "$ac_cv_use_splines"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_SPLINES" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9184 # Check whether --enable-validators or --disable-validators was given.
9185 if test "${enable_validators+set}" = set; then
9186 enableval
="$enable_validators"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9191 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9196 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x
; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9207 eval "$ac_cv_use_validators"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_VALIDATORS" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9225 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9226 if test "${enable_busyinfo+set}" = set; then
9227 enableval
="$enable_busyinfo"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9232 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9237 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x
; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9248 eval "$ac_cv_use_busyinfo"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_BUSYINFO" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9266 # Check whether --enable-joystick or --disable-joystick was given.
9267 if test "${enable_joystick+set}" = set; then
9268 enableval
="$enable_joystick"
9270 if test "$enableval" = yes; then
9271 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9273 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9278 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x
; then
9280 eval "DEFAULT_$LINE"
9285 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9289 eval "$ac_cv_use_joystick"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9294 if test "$wxUSE_JOYSTICK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9307 # Check whether --enable-metafile or --disable-metafile was given.
9308 if test "${enable_metafile+set}" = set; then
9309 enableval
="$enable_metafile"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9314 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9319 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x
; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9330 eval "$ac_cv_use_metafile"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_METAFILE" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9348 # Check whether --enable-dragimage or --disable-dragimage was given.
9349 if test "${enable_dragimage+set}" = set; then
9350 enableval
="$enable_dragimage"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9355 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9360 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x
; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9371 eval "$ac_cv_use_dragimage"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_DRAGIMAGE" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9389 # Check whether --enable-accessibility or --disable-accessibility was given.
9390 if test "${enable_accessibility+set}" = set; then
9391 enableval
="$enable_accessibility"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9396 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9401 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x
; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9412 eval "$ac_cv_use_accessibility"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_ACCESSIBILITY" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9432 # Check whether --enable-palette or --disable-palette was given.
9433 if test "${enable_palette+set}" = set; then
9434 enableval
="$enable_palette"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9439 ac_cv_use_palette
='wxUSE_PALETTE=no'
9444 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9455 eval "$ac_cv_use_palette"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_PALETTE" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9473 # Check whether --enable-image or --disable-image was given.
9474 if test "${enable_image+set}" = set; then
9475 enableval
="$enable_image"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_image
='wxUSE_IMAGE=yes'
9480 ac_cv_use_image
='wxUSE_IMAGE=no'
9485 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9496 eval "$ac_cv_use_image"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_IMAGE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9514 # Check whether --enable-gif or --disable-gif was given.
9515 if test "${enable_gif+set}" = set; then
9516 enableval
="$enable_gif"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_gif
='wxUSE_GIF=yes'
9521 ac_cv_use_gif
='wxUSE_GIF=no'
9526 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9537 eval "$ac_cv_use_gif"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_GIF" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9555 # Check whether --enable-pcx or --disable-pcx was given.
9556 if test "${enable_pcx+set}" = set; then
9557 enableval
="$enable_pcx"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_pcx
='wxUSE_PCX=yes'
9562 ac_cv_use_pcx
='wxUSE_PCX=no'
9567 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9578 eval "$ac_cv_use_pcx"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_PCX" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9596 # Check whether --enable-iff or --disable-iff was given.
9597 if test "${enable_iff+set}" = set; then
9598 enableval
="$enable_iff"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_iff
='wxUSE_IFF=yes'
9603 ac_cv_use_iff
='wxUSE_IFF=no'
9608 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9619 eval "$ac_cv_use_iff"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_IFF" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9637 # Check whether --enable-pnm or --disable-pnm was given.
9638 if test "${enable_pnm+set}" = set; then
9639 enableval
="$enable_pnm"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_pnm
='wxUSE_PNM=yes'
9644 ac_cv_use_pnm
='wxUSE_PNM=no'
9649 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9660 eval "$ac_cv_use_pnm"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_PNM" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9678 # Check whether --enable-xpm or --disable-xpm was given.
9679 if test "${enable_xpm+set}" = set; then
9680 enableval
="$enable_xpm"
9682 if test "$enableval" = yes; then
9683 ac_cv_use_xpm
='wxUSE_XPM=yes'
9685 ac_cv_use_xpm
='wxUSE_XPM=no'
9690 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x
; then
9692 eval "DEFAULT_$LINE"
9697 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9701 eval "$ac_cv_use_xpm"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9706 if test "$wxUSE_XPM" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9719 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9720 if test "${enable_ico_cur+set}" = set; then
9721 enableval
="$enable_ico_cur"
9723 if test "$enableval" = yes; then
9724 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9726 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9731 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x
; then
9733 eval "DEFAULT_$LINE"
9738 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9742 eval "$ac_cv_use_ico_cur"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9747 if test "$wxUSE_ICO_CUR" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9764 # Check whether --enable-official_build or --disable-official_build was given.
9765 if test "${enable_official_build+set}" = set; then
9766 enableval
="$enable_official_build"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9771 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9776 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9787 eval "$ac_cv_use_official_build"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9800 # Check whether --enable-vendor or --disable-vendor was given.
9801 if test "${enable_vendor+set}" = set; then
9802 enableval
="$enable_vendor"
9805 if test "x$VENDOR" = "x"; then
9810 *-pc-os2_emx | *-pc-os2-emx )
9820 echo "saving argument cache $wx_arg_cache_file"
9821 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9825 echo "$as_me:$LINENO: checking for toolkit" >&5
9826 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9828 # In Wine, we need to default to MSW, not GTK or MOTIF
9829 if test "$wxUSE_WINE" = "yes"; then
9830 DEFAULT_DEFAULT_wxUSE_GTK
=0
9831 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9832 DEFAULT_DEFAULT_wxUSE_MSW
=1
9836 if test "$wxUSE_GUI" = "yes"; then
9838 if test "$USE_BEOS" = 1; then
9839 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9840 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9841 { (exit 1); exit 1; }; }
9844 if test "$TOOLKIT_GIVEN" = 1; then
9845 for toolkit
in `echo $ALL_TOOLKITS`; do
9847 eval "value=\$${var}"
9848 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9851 for toolkit
in `echo $ALL_TOOLKITS`; do
9852 if test "$has_toolkit_in_cache" != 1; then
9853 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9855 var
=DEFAULT_wxUSE_
$toolkit
9857 eval "wxUSE_$toolkit=\$${var}"
9861 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9862 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9863 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9866 *-pc-os2_emx | *-pc-os2-emx )
9867 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9870 case "$NUM_TOOLKITS" in
9874 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9875 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9876 { (exit 1); exit 1; }; }
9879 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9880 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9881 { (exit 1); exit 1; }; }
9884 for toolkit
in `echo $ALL_TOOLKITS`; do
9886 eval "value=\$${var}"
9887 if test "x$value" != x
; then
9888 cache_var
=CACHE_
$toolkit
9889 eval "cache=\$${cache_var}"
9890 if test "$cache" = 1; then
9891 echo "$var=$value" >> ${wx_arg_cache_file}
9893 if test "$value" = 1; then
9894 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9895 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9896 echo "${ECHO_T}$toolkit_echo" >&6
9901 if test "x$host_alias" != "x"; then
9902 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9903 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9905 echo "$as_me:$LINENO: result: base only" >&5
9906 echo "${ECHO_T}base only" >&6
9914 if test "$wxUSE_MSW" = 1 ; then
9925 if test "$wxUSE_WINE" = "yes"; then
9930 LDFLAGS_GUI
="-mwindows"
9933 if test "$wants_win32" = 1 ; then
9936 cat >>confdefs.h
<<\_ACEOF
9940 cat >>confdefs.h
<<\_ACEOF
9944 cat >>confdefs.h
<<\_ACEOF
9945 #define __WINDOWS__ 1
9948 cat >>confdefs.h
<<\_ACEOF
9949 #define __GNUWIN32__ 1
9952 cat >>confdefs.h
<<\_ACEOF
9956 cat >>confdefs.h
<<\_ACEOF
9957 #define WINVER 0x0400
9961 if test "$doesnt_want_win32" = 1 ; then
9966 if test "$USE_UNIX" = 1 ; then
9968 cat >>confdefs.h
<<\_ACEOF
9975 cat >confcache
<<\_ACEOF
9976 # This file is a shell script that caches the results of configure
9977 # tests run on this system so they can be shared between configure
9978 # scripts and configure runs, see configure's option --config-cache.
9979 # It is not useful on other systems. If it contains results you don't
9980 # want to keep, you may remove or edit it.
9982 # config.status only pays attention to the cache file if you give it
9983 # the --recheck option to rerun configure.
9985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9991 # The following way of writing the cache mishandles newlines in values,
9992 # but we know of no workaround that is simple, portable, and efficient.
9993 # So, don't put newlines in cache variables' values.
9994 # Ultrix sh set writes to stderr and can't be redirected directly,
9995 # and sets the high bit in the cache file unless we assign to the vars.
9998 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10000 # `set' does not quote correctly, so add quotes (double-quote
10001 # substitution turns \\\\ into \\, and sed turns \\ into \).
10004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10007 # `set' quotes correctly as required by POSIX, so do not add quotes.
10009 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10018 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10020 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10021 if test -w $cache_file; then
10022 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10023 cat confcache
>$cache_file
10025 echo "not updating unwritable cache $cache_file"
10030 if test "$build" != "$host" ; then
10031 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10033 CXX
=$host_alias-c++
10035 RANLIB
=$host_alias-ranlib
10036 DLLTOOL
=$host_alias-dlltool
10037 RESCOMP
=$host_alias-windres
10040 STRIP
=$host_alias-strip
10042 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10043 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10044 { (exit 1); exit 1; }; }
10050 ac_cpp
='$CPP $CPPFLAGS'
10051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10054 if test -n "$ac_tool_prefix"; then
10055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10056 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10057 echo "$as_me:$LINENO: checking for $ac_word" >&5
10058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10059 if test "${ac_cv_prog_CC+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 if test -n "$CC"; then
10063 ac_cv_prog_CC
="$CC" # Let the user override the test.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10072 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 if test -n "$CC"; then
10083 echo "$as_me:$LINENO: result: $CC" >&5
10084 echo "${ECHO_T}$CC" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10091 if test -z "$ac_cv_prog_CC"; then
10093 # Extract the first word of "gcc", so it can be a program name with args.
10094 set dummy gcc
; ac_word
=$2
10095 echo "$as_me:$LINENO: checking for $ac_word" >&5
10096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10098 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 if test -n "$ac_ct_CC"; then
10101 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10110 ac_cv_prog_ac_ct_CC
="gcc"
10111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10119 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10120 if test -n "$ac_ct_CC"; then
10121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10122 echo "${ECHO_T}$ac_ct_CC" >&6
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10130 CC
="$ac_cv_prog_CC"
10133 if test -z "$CC"; then
10134 if test -n "$ac_tool_prefix"; then
10135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10136 set dummy
${ac_tool_prefix}cc
; 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_CC+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 if test -n "$CC"; then
10143 ac_cv_prog_CC
="$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_CC
="${ac_tool_prefix}cc"
10153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10162 if test -n "$CC"; then
10163 echo "$as_me:$LINENO: result: $CC" >&5
10164 echo "${ECHO_T}$CC" >&6
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10171 if test -z "$ac_cv_prog_CC"; then
10173 # Extract the first word of "cc", so it can be a program name with args.
10174 set dummy cc
; ac_word
=$2
10175 echo "$as_me:$LINENO: checking for $ac_word" >&5
10176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10177 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 if test -n "$ac_ct_CC"; then
10181 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10184 for as_dir
in $PATH
10187 test -z "$as_dir" && as_dir
=.
10188 for ac_exec_ext
in '' $ac_executable_extensions; do
10189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10190 ac_cv_prog_ac_ct_CC
="cc"
10191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10199 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10200 if test -n "$ac_ct_CC"; then
10201 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10202 echo "${ECHO_T}$ac_ct_CC" >&6
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10210 CC
="$ac_cv_prog_CC"
10214 if test -z "$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_CC+set}" = set; then
10220 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 if test -n "$CC"; then
10223 ac_cv_prog_CC
="$CC" # Let the user override the test.
10225 ac_prog_rejected
=no
10226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10227 for as_dir
in $PATH
10230 test -z "$as_dir" && as_dir
=.
10231 for ac_exec_ext
in '' $ac_executable_extensions; do
10232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10234 ac_prog_rejected
=yes
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 if test $ac_prog_rejected = yes; then
10245 # We found a bogon in the path, so make sure we never use it.
10246 set dummy
$ac_cv_prog_CC
10248 if test $# != 0; then
10249 # We chose a different compiler from the bogus one.
10250 # However, it has the same basename, so the bogon will be chosen
10251 # first if we set CC to just the basename; use the full file name.
10253 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10259 if test -n "$CC"; then
10260 echo "$as_me:$LINENO: result: $CC" >&5
10261 echo "${ECHO_T}$CC" >&6
10263 echo "$as_me:$LINENO: result: no" >&5
10264 echo "${ECHO_T}no" >&6
10268 if test -z "$CC"; then
10269 if test -n "$ac_tool_prefix"; then
10272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10273 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10274 echo "$as_me:$LINENO: checking for $ac_word" >&5
10275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10276 if test "${ac_cv_prog_CC+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 if test -n "$CC"; then
10280 ac_cv_prog_CC
="$CC" # Let the user override the test.
10282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10283 for as_dir
in $PATH
10286 test -z "$as_dir" && as_dir
=.
10287 for ac_exec_ext
in '' $ac_executable_extensions; do
10288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10289 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10299 if test -n "$CC"; then
10300 echo "$as_me:$LINENO: result: $CC" >&5
10301 echo "${ECHO_T}$CC" >&6
10303 echo "$as_me:$LINENO: result: no" >&5
10304 echo "${ECHO_T}no" >&6
10307 test -n "$CC" && break
10310 if test -z "$CC"; then
10314 # Extract the first word of "$ac_prog", so it can be a program name with args.
10315 set dummy
$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_ac_ct_CC+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 if test -n "$ac_ct_CC"; then
10322 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
10332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10341 if test -n "$ac_ct_CC"; then
10342 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10343 echo "${ECHO_T}$ac_ct_CC" >&6
10345 echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6
10349 test -n "$ac_ct_CC" && break
10358 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10359 See \`config.log' for more details." >&5
10360 echo "$as_me: error: no acceptable C compiler found in \$PATH
10361 See \`config.log' for more details." >&2;}
10362 { (exit 1); exit 1; }; }
10364 # Provide some information about the compiler.
10365 echo "$as_me:$LINENO:" \
10366 "checking for C compiler version" >&5
10367 ac_compiler
=`set X $ac_compile; echo $2`
10368 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10369 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }
10373 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10374 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); }
10378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10379 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }
10384 cat >conftest.
$ac_ext <<_ACEOF
10387 cat confdefs.h
>>conftest.
$ac_ext
10388 cat >>conftest.
$ac_ext <<_ACEOF
10389 /* end confdefs.h. */
10399 ac_clean_files_save
=$ac_clean_files
10400 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10401 # Try to create an executable without -o first, disregard a.out.
10402 # It will help us diagnose broken compilers, and finding out an intuition
10404 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10406 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10407 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10408 (eval $ac_link_default) 2>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; then
10412 # Find the output, starting from the most likely. This scheme is
10413 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10416 # Be careful to initialize this variable, since it used to be cached.
10417 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10419 # b.out is created by i960 compilers.
10420 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10422 test -f "$ac_file" || continue
10424 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10427 # This is the source file.
10430 # We found the default executable, but exeext='' is most
10434 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10435 # FIXME: I believe we export ac_cv_exeext for Libtool,
10436 # but it would be cool to find out if it's true. Does anybody
10437 # maintain Libtool? --akim.
10438 export ac_cv_exeext
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10449 See \`config.log' for more details." >&5
10450 echo "$as_me: error: C compiler cannot create executables
10451 See \`config.log' for more details." >&2;}
10452 { (exit 77); exit 77; }; }
10455 ac_exeext
=$ac_cv_exeext
10456 echo "$as_me:$LINENO: result: $ac_file" >&5
10457 echo "${ECHO_T}$ac_file" >&6
10459 # Check the compiler produces executables we can run. If not, either
10460 # the compiler is broken, or we cross compile.
10461 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10462 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10463 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10464 # If not cross compiling, check that we can run a simple program.
10465 if test "$cross_compiling" != yes; then
10466 if { ac_try
='./$ac_file'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10474 if test "$cross_compiling" = maybe
; then
10475 cross_compiling
=yes
10477 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10478 If you meant to cross compile, use \`--host'.
10479 See \`config.log' for more details." >&5
10480 echo "$as_me: error: cannot run C compiled programs.
10481 If you meant to cross compile, use \`--host'.
10482 See \`config.log' for more details." >&2;}
10483 { (exit 1); exit 1; }; }
10487 echo "$as_me:$LINENO: result: yes" >&5
10488 echo "${ECHO_T}yes" >&6
10490 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10491 ac_clean_files
=$ac_clean_files_save
10492 # Check the compiler produces executables we can run. If not, either
10493 # the compiler is broken, or we cross compile.
10494 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10495 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10496 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10497 echo "${ECHO_T}$cross_compiling" >&6
10499 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10500 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10502 (eval $ac_link) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; then
10506 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10507 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10508 # work properly (i.e., refer to `conftest.exe'), while it won't with
10510 for ac_file
in conftest.exe conftest conftest.
*; do
10511 test -f "$ac_file" || continue
10513 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10514 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10515 export ac_cv_exeext
10521 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10522 See \`config.log' for more details." >&5
10523 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10524 See \`config.log' for more details." >&2;}
10525 { (exit 1); exit 1; }; }
10528 rm -f conftest
$ac_cv_exeext
10529 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10530 echo "${ECHO_T}$ac_cv_exeext" >&6
10532 rm -f conftest.
$ac_ext
10533 EXEEXT
=$ac_cv_exeext
10535 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10536 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10537 if test "${ac_cv_objext+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10540 cat >conftest.
$ac_ext <<_ACEOF
10543 cat confdefs.h
>>conftest.
$ac_ext
10544 cat >>conftest.
$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10555 rm -f conftest.o conftest.obj
10556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10557 (eval $ac_compile) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; then
10561 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10563 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10564 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10572 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10573 See \`config.log' for more details." >&5
10574 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10575 See \`config.log' for more details." >&2;}
10576 { (exit 1); exit 1; }; }
10579 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10581 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10582 echo "${ECHO_T}$ac_cv_objext" >&6
10583 OBJEXT
=$ac_cv_objext
10585 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10586 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10587 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10588 echo $ECHO_N "(cached) $ECHO_C" >&6
10590 cat >conftest.
$ac_ext <<_ACEOF
10593 cat confdefs.h
>>conftest.
$ac_ext
10594 cat >>conftest.
$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10608 rm -f conftest.
$ac_objext
10609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10610 (eval $ac_compile) 2>conftest.er1
10612 grep -v '^ *+' conftest.er1
>conftest.err
10614 cat conftest.err
>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try
='test -z "$ac_c_werror_flag"
10618 || test ! -s conftest.err'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; } &&
10624 { ac_try
='test -s conftest.$ac_objext'
10625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626 (eval $ac_try) 2>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); }; }; then
10630 ac_compiler_gnu
=yes
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.
$ac_ext >&5
10637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10638 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10641 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10642 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10643 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10644 ac_test_CFLAGS
=${CFLAGS+set}
10645 ac_save_CFLAGS
=$CFLAGS
10647 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10648 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10649 if test "${ac_cv_prog_cc_g+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 cat >conftest.
$ac_ext <<_ACEOF
10655 cat confdefs.h
>>conftest.
$ac_ext
10656 cat >>conftest.
$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10667 rm -f conftest.
$ac_objext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10669 (eval $ac_compile) 2>conftest.er1
10671 grep -v '^ *+' conftest.er1
>conftest.err
10673 cat conftest.err
>&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } &&
10676 { ac_try
='test -z "$ac_c_werror_flag"
10677 || test ! -s conftest.err'
10678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 (eval $ac_try) 2>&5
10681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 (exit $ac_status); }; } &&
10683 { ac_try
='test -s conftest.$ac_objext'
10684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685 (eval $ac_try) 2>&5
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; }; then
10689 ac_cv_prog_cc_g
=yes
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.
$ac_ext >&5
10696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10698 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10699 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10700 if test "$ac_test_CFLAGS" = set; then
10701 CFLAGS
=$ac_save_CFLAGS
10702 elif test $ac_cv_prog_cc_g = yes; then
10703 if test "$GCC" = yes; then
10709 if test "$GCC" = yes; then
10715 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10716 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10717 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 ac_cv_prog_cc_stdc
=no
10722 cat >conftest.
$ac_ext <<_ACEOF
10725 cat confdefs.h
>>conftest.
$ac_ext
10726 cat >>conftest.
$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10728 #include <stdarg.h>
10730 #include <sys/types.h>
10731 #include <sys/stat.h>
10732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10733 struct buf { int x; };
10734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10735 static char *e (p, i)
10741 static char *f (char * (*g) (char **, int), char **p, ...)
10746 s = g (p, va_arg (v,int));
10751 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10752 function prototypes and stuff, but not '\xHH' hex character constants.
10753 These don't provoke an error unfortunately, instead are silently treated
10754 as 'x'. The following induces an error, until -std1 is added to get
10755 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10756 array size at least. It's necessary to write '\x00'==0 to get something
10757 that's true only with -std1. */
10758 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10760 int test (int i, double x);
10761 struct s1 {int (*f) (int a);};
10762 struct s2 {int (*f) (double a);};
10763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10774 # Don't try gcc -ansi; that turns off useful extensions and
10775 # breaks some systems' header files.
10776 # AIX -qlanglvl=ansi
10777 # Ultrix and OSF/1 -std1
10778 # HP-UX 10.20 and later -Ae
10779 # HP-UX older versions -Aa -D_HPUX_SOURCE
10780 # SVR4 -Xc -D__EXTENSIONS__
10781 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10783 CC
="$ac_save_CC $ac_arg"
10784 rm -f conftest.
$ac_objext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10786 (eval $ac_compile) 2>conftest.er1
10788 grep -v '^ *+' conftest.er1
>conftest.err
10790 cat conftest.err
>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try
='test -z "$ac_c_werror_flag"
10794 || test ! -s conftest.err'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try
='test -s conftest.$ac_objext'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then
10806 ac_cv_prog_cc_stdc
=$ac_arg
10809 echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.
$ac_ext >&5
10813 rm -f conftest.err conftest.
$ac_objext
10815 rm -f conftest.
$ac_ext conftest.
$ac_objext
10820 case "x$ac_cv_prog_cc_stdc" in
10822 echo "$as_me:$LINENO: result: none needed" >&5
10823 echo "${ECHO_T}none needed" >&6 ;;
10825 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10826 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10827 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10830 # Some people use a C++ compiler to compile C. Since we use `exit',
10831 # in C++ we need to declare it. In case someone uses the same compiler
10832 # for both compiling C and C++ we need to have the C++ compiler decide
10833 # the declaration of exit, since it's the most demanding environment.
10834 cat >conftest.
$ac_ext <<_ACEOF
10835 #ifndef __cplusplus
10839 rm -f conftest.
$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>conftest.er1
10843 grep -v '^ *+' conftest.er1
>conftest.err
10845 cat conftest.err
>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try
='test -z "$ac_c_werror_flag"
10849 || test ! -s conftest.err'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; } &&
10855 { ac_try
='test -s conftest.$ac_objext'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; }; then
10861 for ac_declaration
in \
10863 'extern "C" void std::exit (int) throw (); using std::exit;' \
10864 'extern "C" void std::exit (int); using std::exit;' \
10865 'extern "C" void exit (int) throw ();' \
10866 'extern "C" void exit (int);' \
10869 cat >conftest.
$ac_ext <<_ACEOF
10872 cat confdefs.h
>>conftest.
$ac_ext
10873 cat >>conftest.
$ac_ext <<_ACEOF
10874 /* end confdefs.h. */
10876 #include <stdlib.h>
10885 rm -f conftest.
$ac_objext
10886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10887 (eval $ac_compile) 2>conftest.er1
10889 grep -v '^ *+' conftest.er1
>conftest.err
10891 cat conftest.err
>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } &&
10894 { ac_try
='test -z "$ac_c_werror_flag"
10895 || test ! -s conftest.err'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; } &&
10901 { ac_try
='test -s conftest.$ac_objext'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.
$ac_ext >&5
10914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10915 cat >conftest.
$ac_ext <<_ACEOF
10918 cat confdefs.h
>>conftest.
$ac_ext
10919 cat >>conftest.
$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10930 rm -f conftest.
$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10934 grep -v '^ *+' conftest.er1
>conftest.err
10936 cat conftest.err
>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try
='test -z "$ac_c_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try
='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.
$ac_ext >&5
10958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10961 if test -n "$ac_declaration"; then
10962 echo '#ifdef __cplusplus' >>confdefs.h
10963 echo $ac_declaration >>confdefs.h
10964 echo '#endif' >>confdefs.h
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.
$ac_ext >&5
10972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10974 ac_cpp
='$CPP $CPPFLAGS'
10975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10982 ac_cpp
='$CPP $CPPFLAGS'
10983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10988 # On Suns, sometimes $CPP names a directory.
10989 if test -n "$CPP" && test -d "$CPP"; then
10992 if test -z "$CPP"; then
10993 if test "${ac_cv_prog_CPP+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 # Double quotes because CPP needs to be expanded
10997 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10999 ac_preproc_ok
=false
11000 for ac_c_preproc_warn_flag
in '' yes
11002 # Use a header file that comes with gcc, so configuring glibc
11003 # with a fresh cross-compiler works.
11004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11005 # <limits.h> exists even on freestanding compilers.
11006 # On the NeXT, cc -E runs the code through the compiler's parser,
11007 # not just through cpp. "Syntax error" is here to catch this case.
11008 cat >conftest.
$ac_ext <<_ACEOF
11011 cat confdefs.h
>>conftest.
$ac_ext
11012 cat >>conftest.
$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11015 # include <limits.h>
11017 # include <assert.h>
11021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11024 grep -v '^ *+' conftest.er1
>conftest.err
11026 cat conftest.err
>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } >/dev
/null
; then
11029 if test -s conftest.err
; then
11030 ac_cpp_err
=$ac_c_preproc_warn_flag
11031 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11038 if test -z "$ac_cpp_err"; then
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11044 # Broken: fails on valid input.
11047 rm -f conftest.err conftest.
$ac_ext
11049 # OK, works on sane cases. Now check whether non-existent headers
11050 # can be detected and how.
11051 cat >conftest.
$ac_ext <<_ACEOF
11054 cat confdefs.h
>>conftest.
$ac_ext
11055 cat >>conftest.
$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11057 #include <ac_nonexistent.h>
11059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } >/dev
/null
; then
11067 if test -s conftest.err
; then
11068 ac_cpp_err
=$ac_c_preproc_warn_flag
11069 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11076 if test -z "$ac_cpp_err"; then
11077 # Broken: success on invalid input.
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11083 # Passes both tests.
11087 rm -f conftest.err conftest.
$ac_ext
11090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11091 rm -f conftest.err conftest.
$ac_ext
11092 if $ac_preproc_ok; then
11097 ac_cv_prog_CPP
=$CPP
11100 CPP
=$ac_cv_prog_CPP
11102 ac_cv_prog_CPP
=$CPP
11104 echo "$as_me:$LINENO: result: $CPP" >&5
11105 echo "${ECHO_T}$CPP" >&6
11106 ac_preproc_ok
=false
11107 for ac_c_preproc_warn_flag
in '' yes
11109 # Use a header file that comes with gcc, so configuring glibc
11110 # with a fresh cross-compiler works.
11111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11112 # <limits.h> exists even on freestanding compilers.
11113 # On the NeXT, cc -E runs the code through the compiler's parser,
11114 # not just through cpp. "Syntax error" is here to catch this case.
11115 cat >conftest.
$ac_ext <<_ACEOF
11118 cat confdefs.h
>>conftest.
$ac_ext
11119 cat >>conftest.
$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11122 # include <limits.h>
11124 # include <assert.h>
11128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11131 grep -v '^ *+' conftest.er1
>conftest.err
11133 cat conftest.err
>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } >/dev
/null
; then
11136 if test -s conftest.err
; then
11137 ac_cpp_err
=$ac_c_preproc_warn_flag
11138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11145 if test -z "$ac_cpp_err"; then
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.
$ac_ext >&5
11151 # Broken: fails on valid input.
11154 rm -f conftest.err conftest.
$ac_ext
11156 # OK, works on sane cases. Now check whether non-existent headers
11157 # can be detected and how.
11158 cat >conftest.
$ac_ext <<_ACEOF
11161 cat confdefs.h
>>conftest.
$ac_ext
11162 cat >>conftest.
$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11164 #include <ac_nonexistent.h>
11166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11169 grep -v '^ *+' conftest.er1
>conftest.err
11171 cat conftest.err
>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } >/dev
/null
; then
11174 if test -s conftest.err
; then
11175 ac_cpp_err
=$ac_c_preproc_warn_flag
11176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11183 if test -z "$ac_cpp_err"; then
11184 # Broken: success on invalid input.
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.
$ac_ext >&5
11190 # Passes both tests.
11194 rm -f conftest.err conftest.
$ac_ext
11197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11198 rm -f conftest.err conftest.
$ac_ext
11199 if $ac_preproc_ok; then
11202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11203 See \`config.log' for more details." >&5
11204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11205 See \`config.log' for more details." >&2;}
11206 { (exit 1); exit 1; }; }
11210 ac_cpp
='$CPP $CPPFLAGS'
11211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11216 echo "$as_me:$LINENO: checking for egrep" >&5
11217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11218 if test "${ac_cv_prog_egrep+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11222 then ac_cv_prog_egrep
='grep -E'
11223 else ac_cv_prog_egrep
='egrep'
11226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11228 EGREP
=$ac_cv_prog_egrep
11231 if test $ac_cv_c_compiler_gnu = yes; then
11232 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11233 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11234 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 ac_pattern
="Autoconf.*'x'"
11238 cat >conftest.
$ac_ext <<_ACEOF
11241 cat confdefs.h
>>conftest.
$ac_ext
11242 cat >>conftest.
$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11248 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11249 ac_cv_prog_gcc_traditional
=yes
11251 ac_cv_prog_gcc_traditional
=no
11256 if test $ac_cv_prog_gcc_traditional = no
; then
11257 cat >conftest.
$ac_ext <<_ACEOF
11260 cat confdefs.h
>>conftest.
$ac_ext
11261 cat >>conftest.
$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11263 #include <termio.h>
11266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11267 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11268 ac_cv_prog_gcc_traditional
=yes
11274 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11275 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11276 if test $ac_cv_prog_gcc_traditional = yes; then
11277 CC
="$CC -traditional"
11285 ac_cpp
='$CXXCPP $CPPFLAGS'
11286 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11287 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11288 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11291 CXXFLAGS
=${CXXFLAGS:=}
11293 ac_cpp
='$CXXCPP $CPPFLAGS'
11294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11297 if test -n "$ac_tool_prefix"; then
11298 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11301 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11302 echo "$as_me:$LINENO: checking for $ac_word" >&5
11303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11304 if test "${ac_cv_prog_CXX+set}" = set; then
11305 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 if test -n "$CXX"; then
11308 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11311 for as_dir
in $PATH
11314 test -z "$as_dir" && as_dir
=.
11315 for ac_exec_ext
in '' $ac_executable_extensions; do
11316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11317 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11326 CXX
=$ac_cv_prog_CXX
11327 if test -n "$CXX"; then
11328 echo "$as_me:$LINENO: result: $CXX" >&5
11329 echo "${ECHO_T}$CXX" >&6
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11335 test -n "$CXX" && break
11338 if test -z "$CXX"; 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_prog", so it can be a program name with args.
11343 set dummy
$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_ac_ct_CXX+set}" = set; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if test -n "$ac_ct_CXX"; then
11350 ac_cv_prog_ac_ct_CXX
="$ac_ct_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_ac_ct_CXX
="$ac_prog"
11360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11368 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11369 if test -n "$ac_ct_CXX"; then
11370 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11371 echo "${ECHO_T}$ac_ct_CXX" >&6
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11377 test -n "$ac_ct_CXX" && break
11379 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11385 # Provide some information about the compiler.
11386 echo "$as_me:$LINENO:" \
11387 "checking for C++ compiler version" >&5
11388 ac_compiler
=`set X $ac_compile; echo $2`
11389 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11390 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }
11394 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11395 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }
11399 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11400 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }
11405 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11406 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11407 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 cat >conftest.
$ac_ext <<_ACEOF
11413 cat confdefs.h
>>conftest.
$ac_ext
11414 cat >>conftest.
$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11428 rm -f conftest.
$ac_objext
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>conftest.er1
11432 grep -v '^ *+' conftest.er1
>conftest.err
11434 cat conftest.err
>&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } &&
11437 { ac_try
='test -z "$ac_cxx_werror_flag"
11438 || test ! -s conftest.err'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; } &&
11444 { ac_try
='test -s conftest.$ac_objext'
11445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 (eval $ac_try) 2>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; }; then
11450 ac_compiler_gnu
=yes
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.
$ac_ext >&5
11457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11458 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11461 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11462 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11463 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11464 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11465 ac_save_CXXFLAGS
=$CXXFLAGS
11467 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11468 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11469 if test "${ac_cv_prog_cxx_g+set}" = set; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11472 cat >conftest.
$ac_ext <<_ACEOF
11475 cat confdefs.h
>>conftest.
$ac_ext
11476 cat >>conftest.
$ac_ext <<_ACEOF
11477 /* end confdefs.h. */
11487 rm -f conftest.
$ac_objext
11488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11489 (eval $ac_compile) 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } &&
11496 { ac_try
='test -z "$ac_cxx_werror_flag"
11497 || test ! -s conftest.err'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; } &&
11503 { ac_try
='test -s conftest.$ac_objext'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 ac_cv_prog_cxx_g
=yes
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.
$ac_ext >&5
11514 ac_cv_prog_cxx_g
=no
11516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11518 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11519 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11520 if test "$ac_test_CXXFLAGS" = set; then
11521 CXXFLAGS
=$ac_save_CXXFLAGS
11522 elif test $ac_cv_prog_cxx_g = yes; then
11523 if test "$GXX" = yes; then
11529 if test "$GXX" = yes; then
11535 for ac_declaration
in \
11537 'extern "C" void std::exit (int) throw (); using std::exit;' \
11538 'extern "C" void std::exit (int); using std::exit;' \
11539 'extern "C" void exit (int) throw ();' \
11540 'extern "C" void exit (int);' \
11543 cat >conftest.
$ac_ext <<_ACEOF
11546 cat confdefs.h
>>conftest.
$ac_ext
11547 cat >>conftest.
$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11550 #include <stdlib.h>
11559 rm -f conftest.
$ac_objext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11561 (eval $ac_compile) 2>conftest.er1
11563 grep -v '^ *+' conftest.er1
>conftest.err
11565 cat conftest.err
>&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try
='test -z "$ac_cxx_werror_flag"
11569 || test ! -s conftest.err'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try
='test -s conftest.$ac_objext'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.
$ac_ext >&5
11588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11589 cat >conftest.
$ac_ext <<_ACEOF
11592 cat confdefs.h
>>conftest.
$ac_ext
11593 cat >>conftest.
$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11604 rm -f conftest.
$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11608 grep -v '^ *+' conftest.er1
>conftest.err
11610 cat conftest.err
>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try
='test -z "$ac_cxx_werror_flag"
11614 || test ! -s conftest.err'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; } &&
11620 { ac_try
='test -s conftest.$ac_objext'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.
$ac_ext >&5
11632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11635 if test -n "$ac_declaration"; then
11636 echo '#ifdef __cplusplus' >>confdefs.h
11637 echo $ac_declaration >>confdefs.h
11638 echo '#endif' >>confdefs.h
11642 ac_cpp
='$CXXCPP $CPPFLAGS'
11643 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11644 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11645 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11649 ac_cpp
='$CPP $CPPFLAGS'
11650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11655 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11656 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11657 GCC_SEARCHES_USR_LOCAL_INCLUDE
="no"
11658 if test "$GCC" = "yes" ; then
11659 echo | gcc
-v -x c
++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11660 sed -n '1,/End of search list\./p' | \
11661 grep '^ */usr/local/include$' 2>&1 /dev
/null \
11662 && GCC_SEARCHES_USR_LOCAL_INCLUDE
="yes"
11664 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11665 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11667 if test -n "$ac_tool_prefix"; then
11668 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11669 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11670 echo "$as_me:$LINENO: checking for $ac_word" >&5
11671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11672 if test "${ac_cv_prog_RANLIB+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 if test -n "$RANLIB"; then
11676 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11679 for as_dir
in $PATH
11682 test -z "$as_dir" && as_dir
=.
11683 for ac_exec_ext
in '' $ac_executable_extensions; do
11684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11685 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11694 RANLIB
=$ac_cv_prog_RANLIB
11695 if test -n "$RANLIB"; then
11696 echo "$as_me:$LINENO: result: $RANLIB" >&5
11697 echo "${ECHO_T}$RANLIB" >&6
11699 echo "$as_me:$LINENO: result: no" >&5
11700 echo "${ECHO_T}no" >&6
11704 if test -z "$ac_cv_prog_RANLIB"; then
11705 ac_ct_RANLIB
=$RANLIB
11706 # Extract the first word of "ranlib", so it can be a program name with args.
11707 set dummy ranlib
; ac_word
=$2
11708 echo "$as_me:$LINENO: checking for $ac_word" >&5
11709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11710 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11711 echo $ECHO_N "(cached) $ECHO_C" >&6
11713 if test -n "$ac_ct_RANLIB"; then
11714 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11717 for as_dir
in $PATH
11720 test -z "$as_dir" && as_dir
=.
11721 for ac_exec_ext
in '' $ac_executable_extensions; do
11722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11723 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11730 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11733 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11734 if test -n "$ac_ct_RANLIB"; then
11735 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11736 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11738 echo "$as_me:$LINENO: result: no" >&5
11739 echo "${ECHO_T}no" >&6
11742 RANLIB
=$ac_ct_RANLIB
11744 RANLIB
="$ac_cv_prog_RANLIB"
11748 # Extract the first word of "ar", so it can be a program name with args.
11749 set dummy
ar; 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_AR+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 if test -n "$AR"; then
11756 ac_cv_prog_AR
="$AR" # 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
11766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11775 if test -n "$AR"; then
11776 echo "$as_me:$LINENO: result: $AR" >&5
11777 echo "${ECHO_T}$AR" >&6
11779 echo "$as_me:$LINENO: result: no" >&5
11780 echo "${ECHO_T}no" >&6
11783 if test "x$AR" = "x" ; then
11784 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11785 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11786 { (exit 1); exit 1; }; }
11789 # Find a good install program. We prefer a C program (faster),
11790 # so one script is as good as another. But avoid the broken or
11791 # incompatible versions:
11792 # SysV /etc/install, /usr/sbin/install
11793 # SunOS /usr/etc/install
11794 # IRIX /sbin/install
11796 # AmigaOS /C/install, which installs bootblocks on floppy discs
11797 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11798 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11799 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11800 # OS/2's system install, which has a completely different semantic
11801 # ./install, which can be erroneously created by make from ./install.sh.
11802 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11803 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11804 if test -z "$INSTALL"; then
11805 if test "${ac_cv_path_install+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11809 for as_dir
in $PATH
11812 test -z "$as_dir" && as_dir
=.
11813 # Account for people who put trailing slashes in PATH elements.
11815 .
/ | .
// | /cC
/* | \
11816 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11817 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11820 # OSF1 and SCO ODT 3.0 have their own names for install.
11821 # Don't use installbsd from OSF since it installs stuff as root
11823 for ac_prog
in ginstall scoinst
install; do
11824 for ac_exec_ext
in '' $ac_executable_extensions; do
11825 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11826 if test $ac_prog = install &&
11827 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11828 # AIX install. It has an incompatible calling convention.
11830 elif test $ac_prog = install &&
11831 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11832 # program-specific install script used by HP pwplus--don't use.
11835 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11847 if test "${ac_cv_path_install+set}" = set; then
11848 INSTALL
=$ac_cv_path_install
11850 # As a last resort, use the slow shell script. We don't cache a
11851 # path for INSTALL within a source directory, because that will
11852 # break other packages using the cache if that directory is
11853 # removed, or if the path is relative.
11854 INSTALL
=$ac_install_sh
11857 echo "$as_me:$LINENO: result: $INSTALL" >&5
11858 echo "${ECHO_T}$INSTALL" >&6
11860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11861 # It thinks the first close brace ends the variable substitution.
11862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11866 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11872 ?
:* ) # Drive letter, considered as absolute.
11875 INSTALL
=`pwd`/${INSTALL} ;;
11880 INSTALL_DIR
="mkdir"
11883 *) INSTALL_DIR
="$INSTALL -d"
11890 powerpc
-*-darwin* )
11891 INSTALL_PROGRAM
="cp -fp"
11892 INSTALL_DATA
="cp -fp"
11898 # Extract the first word of "strip", so it can be a program name with args.
11899 set dummy strip
; ac_word
=$2
11900 echo "$as_me:$LINENO: checking for $ac_word" >&5
11901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11902 if test "${ac_cv_prog_STRIP+set}" = set; then
11903 echo $ECHO_N "(cached) $ECHO_C" >&6
11905 if test -n "$STRIP"; then
11906 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11909 for as_dir
in $PATH
11912 test -z "$as_dir" && as_dir
=.
11913 for ac_exec_ext
in '' $ac_executable_extensions; do
11914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11915 ac_cv_prog_STRIP
="strip"
11916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11922 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11925 STRIP
=$ac_cv_prog_STRIP
11926 if test -n "$STRIP"; then
11927 echo "$as_me:$LINENO: result: $STRIP" >&5
11928 echo "${ECHO_T}$STRIP" >&6
11930 echo "$as_me:$LINENO: result: no" >&5
11931 echo "${ECHO_T}no" >&6
11935 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11936 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11937 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11938 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11942 egrep -s GNU
> /dev
/null
); then
11943 wx_cv_prog_makeisgnu
="yes"
11945 wx_cv_prog_makeisgnu
="no"
11949 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11950 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11952 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11960 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11961 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11962 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11963 if test "${wx_cv_prog_makevpath+set}" = set; then
11964 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 cat - << EOF > confMake
11973 if test ! -d sub
; then
11976 echo dummy
> sub
/file
11977 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11979 rm -f sub
/file check final_file confMake
11981 if test "$RESULT" = 0; then
11982 wx_cv_prog_makevpath
="yes"
11984 wx_cv_prog_makevpath
="no"
11988 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11989 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11991 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11992 { { echo "$as_me:$LINENO: error:
11993 You need a make-utility that is able to use the variable
11995 If your version of make does not support VPATH correctly,
11996 please install GNU-make (possibly as gmake), and start
11997 configure with the following command:
11998 export MAKE=gmake; ./configure for sh-type shells
11999 setenv MAKE gmake; ./configure for csh-type shells
12000 Also please do remember to use gmake in this case every time
12001 you are trying to compile.
12003 echo "$as_me: error:
12004 You need a make-utility that is able to use the variable
12006 If your version of make does not support VPATH correctly,
12007 please install GNU-make (possibly as gmake), and start
12008 configure with the following command:
12009 export MAKE=gmake; ./configure for sh-type shells
12010 setenv MAKE gmake; ./configure for csh-type shells
12011 Also please do remember to use gmake in this case every time
12012 you are trying to compile.
12014 { (exit 1); exit 1; }; }
12016 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12017 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12019 if test "$LN_S" = "ln -s"; then
12020 echo "$as_me:$LINENO: result: yes" >&5
12021 echo "${ECHO_T}yes" >&6
12023 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12024 echo "${ECHO_T}no, using $LN_S" >&6
12030 *-pc-os2_emx | *-pc-os2-emx )
12031 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12032 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12033 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12034 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 ac_check_lib_save_LIBS
=$LIBS
12038 LIBS
="-lcExt $LIBS"
12039 cat >conftest.
$ac_ext <<_ACEOF
12042 cat confdefs.h
>>conftest.
$ac_ext
12043 cat >>conftest.
$ac_ext <<_ACEOF
12044 /* end confdefs.h. */
12046 /* Override any gcc2 internal prototype to avoid an error. */
12050 /* We use char because int might match the return type of a gcc2
12051 builtin and then its argument prototype would still apply. */
12061 rm -f conftest.
$ac_objext conftest
$ac_exeext
12062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12063 (eval $ac_link) 2>conftest.er1
12065 grep -v '^ *+' conftest.er1
>conftest.err
12067 cat conftest.err
>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try
='test -z "$ac_c_werror_flag"
12071 || test ! -s conftest.err'
12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; } &&
12077 { ac_try
='test -s conftest$ac_exeext'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; }; then
12083 ac_cv_lib_cExt_drand48
=yes
12085 echo "$as_me: failed program was:" >&5
12086 sed 's/^/| /' conftest.
$ac_ext >&5
12088 ac_cv_lib_cExt_drand48
=no
12090 rm -f conftest.err conftest.
$ac_objext \
12091 conftest
$ac_exeext conftest.
$ac_ext
12092 LIBS
=$ac_check_lib_save_LIBS
12094 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12095 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12096 if test $ac_cv_lib_cExt_drand48 = yes; then
12097 LIBS
="$LIBS -lcExt"
12101 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12103 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
12104 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
12105 if test "${wx_cv_gcc3+set}" = set; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12112 cat confdefs.h
>>conftest.
$ac_ext
12113 cat >>conftest.
$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12128 rm -f conftest.
$ac_objext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12130 (eval $ac_compile) 2>conftest.er1
12132 grep -v '^ *+' conftest.er1
>conftest.err
12134 cat conftest.err
>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try
='test -z "$ac_c_werror_flag"
12138 || test ! -s conftest.err'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; } &&
12144 { ac_try
='test -s conftest.$ac_objext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12154 echo "$as_me: failed program was:" >&5
12155 sed 's/^/| /' conftest.
$ac_ext >&5
12162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12165 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12166 echo "${ECHO_T}$wx_cv_gcc3" >&6
12167 if test "$wx_cv_gcc3" = "no"; then
12168 LIBS
="$LIBS -lstdcpp"
12170 LIBS
="$LIBS -lstdcxx"
12178 ac_cpp
='$CXXCPP $CPPFLAGS'
12179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12185 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12186 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12187 if test "${ac_cv_string_strcasecmp+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 cat >conftest.
$ac_ext <<_ACEOF
12194 cat confdefs.h
>>conftest.
$ac_ext
12195 cat >>conftest.
$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12198 #include <string.h>
12204 strcasecmp("foo", "bar");
12210 rm -f conftest.
$ac_objext conftest
$ac_exeext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12212 (eval $ac_link) 2>conftest.er1
12214 grep -v '^ *+' conftest.er1
>conftest.err
12216 cat conftest.err
>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try
='test -z "$ac_cxx_werror_flag"
12220 || test ! -s conftest.err'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; } &&
12226 { ac_try
='test -s conftest$ac_exeext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 ac_cv_string_strcasecmp
=yes
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 ac_cv_string_strcasecmp
=no
12240 rm -f conftest.err conftest.
$ac_objext \
12241 conftest
$ac_exeext conftest.
$ac_ext
12244 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12245 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12247 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12248 cat >>confdefs.h
<<\_ACEOF
12249 #define HAVE_STRCASECMP_IN_STRING_H 1
12253 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12254 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12255 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12259 cat >conftest.
$ac_ext <<_ACEOF
12262 cat confdefs.h
>>conftest.
$ac_ext
12263 cat >>conftest.
$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12266 #include <strings.h>
12272 strcasecmp("foo", "bar");
12278 rm -f conftest.
$ac_objext conftest
$ac_exeext
12279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12280 (eval $ac_link) 2>conftest.er1
12282 grep -v '^ *+' conftest.er1
>conftest.err
12284 cat conftest.err
>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try
='test -z "$ac_cxx_werror_flag"
12288 || test ! -s conftest.err'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; } &&
12294 { ac_try
='test -s conftest$ac_exeext'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; }; then
12300 ac_cv_strings_strcasecmp
=yes
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.
$ac_ext >&5
12305 ac_cv_strings_strcasecmp
=no
12308 rm -f conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12312 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12313 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12315 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12316 cat >>confdefs.h
<<\_ACEOF
12317 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12321 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12322 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12323 { (exit 1); exit 1; }; }
12328 ac_cpp
='$CPP $CPPFLAGS'
12329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12337 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12338 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12339 if test "${ac_cv_header_stdc+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 cat >conftest.
$ac_ext <<_ACEOF
12345 cat confdefs.h
>>conftest.
$ac_ext
12346 cat >>conftest.
$ac_ext <<_ACEOF
12347 /* end confdefs.h. */
12348 #include <stdlib.h>
12349 #include <stdarg.h>
12350 #include <string.h>
12361 rm -f conftest.
$ac_objext
12362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12363 (eval $ac_compile) 2>conftest.er1
12365 grep -v '^ *+' conftest.er1
>conftest.err
12367 cat conftest.err
>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } &&
12370 { ac_try
='test -z "$ac_c_werror_flag"
12371 || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } &&
12377 { ac_try
='test -s conftest.$ac_objext'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12383 ac_cv_header_stdc
=yes
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.
$ac_ext >&5
12388 ac_cv_header_stdc
=no
12390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12392 if test $ac_cv_header_stdc = yes; then
12393 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12394 cat >conftest.
$ac_ext <<_ACEOF
12397 cat confdefs.h
>>conftest.
$ac_ext
12398 cat >>conftest.
$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12400 #include <string.h>
12403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12404 $EGREP "memchr" >/dev
/null
2>&1; then
12407 ac_cv_header_stdc
=no
12413 if test $ac_cv_header_stdc = yes; then
12414 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12415 cat >conftest.
$ac_ext <<_ACEOF
12418 cat confdefs.h
>>conftest.
$ac_ext
12419 cat >>conftest.
$ac_ext <<_ACEOF
12420 /* end confdefs.h. */
12421 #include <stdlib.h>
12424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12425 $EGREP "free" >/dev
/null
2>&1; then
12428 ac_cv_header_stdc
=no
12434 if test $ac_cv_header_stdc = yes; then
12435 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12436 if test "$cross_compiling" = yes; then
12439 cat >conftest.
$ac_ext <<_ACEOF
12442 cat confdefs.h
>>conftest.
$ac_ext
12443 cat >>conftest.
$ac_ext <<_ACEOF
12444 /* end confdefs.h. */
12446 #if ((' ' & 0x0FF) == 0x020)
12447 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12448 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12450 # define ISLOWER(c) \
12451 (('a' <= (c) && (c) <= 'i') \
12452 || ('j' <= (c) && (c) <= 'r') \
12453 || ('s' <= (c) && (c) <= 'z'))
12454 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12457 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12462 for (i = 0; i < 256; i++)
12463 if (XOR (islower (i), ISLOWER (i))
12464 || toupper (i) != TOUPPER (i))
12469 rm -f conftest
$ac_exeext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12471 (eval $ac_link) 2>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12482 echo "$as_me: program exited with status $ac_status" >&5
12483 echo "$as_me: failed program was:" >&5
12484 sed 's/^/| /' conftest.
$ac_ext >&5
12486 ( exit $ac_status )
12487 ac_cv_header_stdc
=no
12489 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12493 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12494 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12495 if test $ac_cv_header_stdc = yes; then
12497 cat >>confdefs.h
<<\_ACEOF
12498 #define STDC_HEADERS 1
12503 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12513 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12514 inttypes.h stdint.h unistd.h
12516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12517 echo "$as_me:$LINENO: checking for $ac_header" >&5
12518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12520 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 $ac_includes_default
12530 #include <$ac_header>
12532 rm -f conftest.
$ac_objext
12533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12534 (eval $ac_compile) 2>conftest.er1
12536 grep -v '^ *+' conftest.er1
>conftest.err
12538 cat conftest.err
>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } &&
12541 { ac_try
='test -z "$ac_c_werror_flag"
12542 || test ! -s conftest.err'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; } &&
12548 { ac_try
='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 eval "$as_ac_Header=yes"
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.
$ac_ext >&5
12559 eval "$as_ac_Header=no"
12561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12566 cat >>confdefs.h
<<_ACEOF
12567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12576 for ac_header
in stdlib.h
12578 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12580 echo "$as_me:$LINENO: checking for $ac_header" >&5
12581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12588 # Is the header compilable?
12589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12591 cat >conftest.
$ac_ext <<_ACEOF
12594 cat confdefs.h
>>conftest.
$ac_ext
12595 cat >>conftest.
$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12597 $ac_includes_default
12598 #include <$ac_header>
12600 rm -f conftest.
$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>conftest.er1
12604 grep -v '^ *+' conftest.er1
>conftest.err
12606 cat conftest.err
>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try
='test -z "$ac_c_werror_flag"
12610 || test ! -s conftest.err'
12611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12612 (eval $ac_try) 2>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); }; } &&
12616 { ac_try
='test -s conftest.$ac_objext'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; }; then
12622 ac_header_compiler
=yes
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.
$ac_ext >&5
12627 ac_header_compiler
=no
12629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12631 echo "${ECHO_T}$ac_header_compiler" >&6
12633 # Is the header present?
12634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12636 cat >conftest.
$ac_ext <<_ACEOF
12639 cat confdefs.h
>>conftest.
$ac_ext
12640 cat >>conftest.
$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642 #include <$ac_header>
12644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12647 grep -v '^ *+' conftest.er1
>conftest.err
12649 cat conftest.err
>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); } >/dev
/null
; then
12652 if test -s conftest.err
; then
12653 ac_cpp_err
=$ac_c_preproc_warn_flag
12654 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12661 if test -z "$ac_cpp_err"; then
12662 ac_header_preproc
=yes
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12667 ac_header_preproc
=no
12669 rm -f conftest.err conftest.
$ac_ext
12670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12671 echo "${ECHO_T}$ac_header_preproc" >&6
12673 # So? What about this header?
12674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12680 ac_header_preproc
=yes
12683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12697 ## ----------------------------------------- ##
12698 ## Report this to wx-dev@lists.wxwindows.org ##
12699 ## ----------------------------------------- ##
12702 sed "s/^/$as_me: WARNING: /" >&2
12705 echo "$as_me:$LINENO: checking for $ac_header" >&5
12706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 eval "$as_ac_Header=\$ac_header_preproc"
12712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12717 cat >>confdefs.h
<<_ACEOF
12718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12726 for ac_header
in malloc.h
12728 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12730 echo "$as_me:$LINENO: checking for $ac_header" >&5
12731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12733 echo $ECHO_N "(cached) $ECHO_C" >&6
12735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12738 # Is the header compilable?
12739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12741 cat >conftest.
$ac_ext <<_ACEOF
12744 cat confdefs.h
>>conftest.
$ac_ext
12745 cat >>conftest.
$ac_ext <<_ACEOF
12746 /* end confdefs.h. */
12747 $ac_includes_default
12748 #include <$ac_header>
12750 rm -f conftest.
$ac_objext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12752 (eval $ac_compile) 2>conftest.er1
12754 grep -v '^ *+' conftest.er1
>conftest.err
12756 cat conftest.err
>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } &&
12759 { ac_try
='test -z "$ac_c_werror_flag"
12760 || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } &&
12766 { ac_try
='test -s conftest.$ac_objext'
12767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12768 (eval $ac_try) 2>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); }; }; then
12772 ac_header_compiler
=yes
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.
$ac_ext >&5
12777 ac_header_compiler
=no
12779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12781 echo "${ECHO_T}$ac_header_compiler" >&6
12783 # Is the header present?
12784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12786 cat >conftest.
$ac_ext <<_ACEOF
12789 cat confdefs.h
>>conftest.
$ac_ext
12790 cat >>conftest.
$ac_ext <<_ACEOF
12791 /* end confdefs.h. */
12792 #include <$ac_header>
12794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12795 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12797 grep -v '^ *+' conftest.er1
>conftest.err
12799 cat conftest.err
>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } >/dev
/null
; then
12802 if test -s conftest.err
; then
12803 ac_cpp_err
=$ac_c_preproc_warn_flag
12804 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12811 if test -z "$ac_cpp_err"; then
12812 ac_header_preproc
=yes
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 ac_header_preproc
=no
12819 rm -f conftest.err conftest.
$ac_ext
12820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12821 echo "${ECHO_T}$ac_header_preproc" >&6
12823 # So? What about this header?
12824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12830 ac_header_preproc
=yes
12833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12847 ## ----------------------------------------- ##
12848 ## Report this to wx-dev@lists.wxwindows.org ##
12849 ## ----------------------------------------- ##
12852 sed "s/^/$as_me: WARNING: /" >&2
12855 echo "$as_me:$LINENO: checking for $ac_header" >&5
12856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 eval "$as_ac_Header=\$ac_header_preproc"
12862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12867 cat >>confdefs.h
<<_ACEOF
12868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12876 for ac_header
in unistd.h
12878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12880 echo "$as_me:$LINENO: checking for $ac_header" >&5
12881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12888 # Is the header compilable?
12889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12891 cat >conftest.
$ac_ext <<_ACEOF
12894 cat confdefs.h
>>conftest.
$ac_ext
12895 cat >>conftest.
$ac_ext <<_ACEOF
12896 /* end confdefs.h. */
12897 $ac_includes_default
12898 #include <$ac_header>
12900 rm -f conftest.
$ac_objext
12901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12902 (eval $ac_compile) 2>conftest.er1
12904 grep -v '^ *+' conftest.er1
>conftest.err
12906 cat conftest.err
>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } &&
12909 { ac_try
='test -z "$ac_c_werror_flag"
12910 || test ! -s conftest.err'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; } &&
12916 { ac_try
='test -s conftest.$ac_objext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 ac_header_compiler
=yes
12924 echo "$as_me: failed program was:" >&5
12925 sed 's/^/| /' conftest.
$ac_ext >&5
12927 ac_header_compiler
=no
12929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12931 echo "${ECHO_T}$ac_header_compiler" >&6
12933 # Is the header present?
12934 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12936 cat >conftest.
$ac_ext <<_ACEOF
12939 cat confdefs.h
>>conftest.
$ac_ext
12940 cat >>conftest.
$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12942 #include <$ac_header>
12944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12945 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12947 grep -v '^ *+' conftest.er1
>conftest.err
12949 cat conftest.err
>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } >/dev
/null
; then
12952 if test -s conftest.err
; then
12953 ac_cpp_err
=$ac_c_preproc_warn_flag
12954 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12961 if test -z "$ac_cpp_err"; then
12962 ac_header_preproc
=yes
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.
$ac_ext >&5
12967 ac_header_preproc
=no
12969 rm -f conftest.err conftest.
$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12971 echo "${ECHO_T}$ac_header_preproc" >&6
12973 # So? What about this header?
12974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12976 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12979 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12980 ac_header_preproc
=yes
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12984 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12985 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12986 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12987 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12988 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12989 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12990 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12993 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12994 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12997 ## ----------------------------------------- ##
12998 ## Report this to wx-dev@lists.wxwindows.org ##
12999 ## ----------------------------------------- ##
13002 sed "s/^/$as_me: WARNING: /" >&2
13005 echo "$as_me:$LINENO: checking for $ac_header" >&5
13006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13010 eval "$as_ac_Header=\$ac_header_preproc"
13012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13017 cat >>confdefs.h
<<_ACEOF
13018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13026 for ac_header
in wchar.h
13028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13030 echo "$as_me:$LINENO: checking for $ac_header" >&5
13031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13038 # Is the header compilable?
13039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13041 cat >conftest.
$ac_ext <<_ACEOF
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 $ac_includes_default
13048 #include <$ac_header>
13050 rm -f conftest.
$ac_objext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052 (eval $ac_compile) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1
>conftest.err
13056 cat conftest.err
>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try
='test -z "$ac_c_werror_flag"
13060 || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try
='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 ac_header_compiler
=yes
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.
$ac_ext >&5
13077 ac_header_compiler
=no
13079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13081 echo "${ECHO_T}$ac_header_compiler" >&6
13083 # Is the header present?
13084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13086 cat >conftest.
$ac_ext <<_ACEOF
13089 cat confdefs.h
>>conftest.
$ac_ext
13090 cat >>conftest.
$ac_ext <<_ACEOF
13091 /* end confdefs.h. */
13092 #include <$ac_header>
13094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1
>conftest.err
13099 cat conftest.err
>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } >/dev
/null
; then
13102 if test -s conftest.err
; then
13103 ac_cpp_err
=$ac_c_preproc_warn_flag
13104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13111 if test -z "$ac_cpp_err"; then
13112 ac_header_preproc
=yes
13114 echo "$as_me: failed program was:" >&5
13115 sed 's/^/| /' conftest.
$ac_ext >&5
13117 ac_header_preproc
=no
13119 rm -f conftest.err conftest.
$ac_ext
13120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13121 echo "${ECHO_T}$ac_header_preproc" >&6
13123 # So? What about this header?
13124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13130 ac_header_preproc
=yes
13133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13147 ## ----------------------------------------- ##
13148 ## Report this to wx-dev@lists.wxwindows.org ##
13149 ## ----------------------------------------- ##
13152 sed "s/^/$as_me: WARNING: /" >&2
13155 echo "$as_me:$LINENO: checking for $ac_header" >&5
13156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 eval "$as_ac_Header=\$ac_header_preproc"
13162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13167 cat >>confdefs.h
<<_ACEOF
13168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13176 if test "$ac_cv_header_wchar_h" != "yes"; then
13178 for ac_header
in wcstr.h
13180 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13182 echo "$as_me:$LINENO: checking for $ac_header" >&5
13183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13190 # Is the header compilable?
13191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13193 cat >conftest.
$ac_ext <<_ACEOF
13196 cat confdefs.h
>>conftest.
$ac_ext
13197 cat >>conftest.
$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13199 $ac_includes_default
13200 #include <$ac_header>
13202 rm -f conftest.
$ac_objext
13203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13204 (eval $ac_compile) 2>conftest.er1
13206 grep -v '^ *+' conftest.er1
>conftest.err
13208 cat conftest.err
>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } &&
13211 { ac_try
='test -z "$ac_c_werror_flag"
13212 || test ! -s conftest.err'
13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13214 (eval $ac_try) 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; } &&
13218 { ac_try
='test -s conftest.$ac_objext'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; }; then
13224 ac_header_compiler
=yes
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.
$ac_ext >&5
13229 ac_header_compiler
=no
13231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13233 echo "${ECHO_T}$ac_header_compiler" >&6
13235 # Is the header present?
13236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13238 cat >conftest.
$ac_ext <<_ACEOF
13241 cat confdefs.h
>>conftest.
$ac_ext
13242 cat >>conftest.
$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13244 #include <$ac_header>
13246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13247 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13249 grep -v '^ *+' conftest.er1
>conftest.err
13251 cat conftest.err
>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } >/dev
/null
; then
13254 if test -s conftest.err
; then
13255 ac_cpp_err
=$ac_c_preproc_warn_flag
13256 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13263 if test -z "$ac_cpp_err"; then
13264 ac_header_preproc
=yes
13266 echo "$as_me: failed program was:" >&5
13267 sed 's/^/| /' conftest.
$ac_ext >&5
13269 ac_header_preproc
=no
13271 rm -f conftest.err conftest.
$ac_ext
13272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13273 echo "${ECHO_T}$ac_header_preproc" >&6
13275 # So? What about this header?
13276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13282 ac_header_preproc
=yes
13285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13299 ## ----------------------------------------- ##
13300 ## Report this to wx-dev@lists.wxwindows.org ##
13301 ## ----------------------------------------- ##
13304 sed "s/^/$as_me: WARNING: /" >&2
13307 echo "$as_me:$LINENO: checking for $ac_header" >&5
13308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 eval "$as_ac_Header=\$ac_header_preproc"
13314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13319 cat >>confdefs.h
<<_ACEOF
13320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13330 for ac_header
in fnmatch.h
13332 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13334 echo "$as_me:$LINENO: checking for $ac_header" >&5
13335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13342 # Is the header compilable?
13343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13345 cat >conftest.
$ac_ext <<_ACEOF
13348 cat confdefs.h
>>conftest.
$ac_ext
13349 cat >>conftest.
$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 $ac_includes_default
13352 #include <$ac_header>
13354 rm -f conftest.
$ac_objext
13355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13356 (eval $ac_compile) 2>conftest.er1
13358 grep -v '^ *+' conftest.er1
>conftest.err
13360 cat conftest.err
>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); } &&
13363 { ac_try
='test -z "$ac_c_werror_flag"
13364 || test ! -s conftest.err'
13365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 (eval $ac_try) 2>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); }; } &&
13370 { ac_try
='test -s conftest.$ac_objext'
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; }; then
13376 ac_header_compiler
=yes
13378 echo "$as_me: failed program was:" >&5
13379 sed 's/^/| /' conftest.
$ac_ext >&5
13381 ac_header_compiler
=no
13383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13385 echo "${ECHO_T}$ac_header_compiler" >&6
13387 # Is the header present?
13388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13390 cat >conftest.
$ac_ext <<_ACEOF
13393 cat confdefs.h
>>conftest.
$ac_ext
13394 cat >>conftest.
$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 #include <$ac_header>
13398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13401 grep -v '^ *+' conftest.er1
>conftest.err
13403 cat conftest.err
>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); } >/dev
/null
; then
13406 if test -s conftest.err
; then
13407 ac_cpp_err
=$ac_c_preproc_warn_flag
13408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13415 if test -z "$ac_cpp_err"; then
13416 ac_header_preproc
=yes
13418 echo "$as_me: failed program was:" >&5
13419 sed 's/^/| /' conftest.
$ac_ext >&5
13421 ac_header_preproc
=no
13423 rm -f conftest.err conftest.
$ac_ext
13424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13425 echo "${ECHO_T}$ac_header_preproc" >&6
13427 # So? What about this header?
13428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13434 ac_header_preproc
=yes
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13451 ## ----------------------------------------- ##
13452 ## Report this to wx-dev@lists.wxwindows.org ##
13453 ## ----------------------------------------- ##
13456 sed "s/^/$as_me: WARNING: /" >&2
13459 echo "$as_me:$LINENO: checking for $ac_header" >&5
13460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13462 echo $ECHO_N "(cached) $ECHO_C" >&6
13464 eval "$as_ac_Header=\$ac_header_preproc"
13466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13471 cat >>confdefs.h
<<_ACEOF
13472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13480 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13482 for ac_func
in fnmatch
13484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13485 echo "$as_me:$LINENO: checking for $ac_func" >&5
13486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13487 if eval "test \"\${$as_ac_var+set}\" = set"; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 cat >conftest.
$ac_ext <<_ACEOF
13493 cat confdefs.h
>>conftest.
$ac_ext
13494 cat >>conftest.
$ac_ext <<_ACEOF
13495 /* end confdefs.h. */
13496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13498 #define $ac_func innocuous_$ac_func
13500 /* System header to define __stub macros and hopefully few prototypes,
13501 which can conflict with char $ac_func (); below.
13502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13503 <limits.h> exists even on freestanding compilers. */
13506 # include <limits.h>
13508 # include <assert.h>
13513 /* Override any gcc2 internal prototype to avoid an error. */
13518 /* We use char because int might match the return type of a gcc2
13519 builtin and then its argument prototype would still apply. */
13521 /* The GNU C library defines this for functions which it implements
13522 to always fail with ENOSYS. Some functions are actually named
13523 something starting with __ and the normal name is an alias. */
13524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13527 char (*f) () = $ac_func;
13536 return f != $ac_func;
13541 rm -f conftest.
$ac_objext conftest
$ac_exeext
13542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13543 (eval $ac_link) 2>conftest.er1
13545 grep -v '^ *+' conftest.er1
>conftest.err
13547 cat conftest.err
>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } &&
13550 { ac_try
='test -z "$ac_c_werror_flag"
13551 || test ! -s conftest.err'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; } &&
13557 { ac_try
='test -s conftest$ac_exeext'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; }; then
13563 eval "$as_ac_var=yes"
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.
$ac_ext >&5
13568 eval "$as_ac_var=no"
13570 rm -f conftest.err conftest.
$ac_objext \
13571 conftest
$ac_exeext conftest.
$ac_ext
13573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13575 if test `eval echo '${'$as_ac_var'}'` = yes; then
13576 cat >>confdefs.h
<<_ACEOF
13577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13586 for ac_header
in langinfo.h
13588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13590 echo "$as_me:$LINENO: checking for $ac_header" >&5
13591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13598 # Is the header compilable?
13599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13601 cat >conftest.
$ac_ext <<_ACEOF
13604 cat confdefs.h
>>conftest.
$ac_ext
13605 cat >>conftest.
$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 $ac_includes_default
13608 #include <$ac_header>
13610 rm -f conftest.
$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>conftest.er1
13614 grep -v '^ *+' conftest.er1
>conftest.err
13616 cat conftest.err
>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); } &&
13619 { ac_try
='test -z "$ac_c_werror_flag"
13620 || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try
='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 ac_header_compiler
=yes
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.
$ac_ext >&5
13637 ac_header_compiler
=no
13639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13641 echo "${ECHO_T}$ac_header_compiler" >&6
13643 # Is the header present?
13644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13646 cat >conftest.
$ac_ext <<_ACEOF
13649 cat confdefs.h
>>conftest.
$ac_ext
13650 cat >>conftest.
$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 #include <$ac_header>
13654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13657 grep -v '^ *+' conftest.er1
>conftest.err
13659 cat conftest.err
>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } >/dev
/null
; then
13662 if test -s conftest.err
; then
13663 ac_cpp_err
=$ac_c_preproc_warn_flag
13664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13671 if test -z "$ac_cpp_err"; then
13672 ac_header_preproc
=yes
13674 echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.
$ac_ext >&5
13677 ac_header_preproc
=no
13679 rm -f conftest.err conftest.
$ac_ext
13680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13681 echo "${ECHO_T}$ac_header_preproc" >&6
13683 # So? What about this header?
13684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13690 ac_header_preproc
=yes
13693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13707 ## ----------------------------------------- ##
13708 ## Report this to wx-dev@lists.wxwindows.org ##
13709 ## ----------------------------------------- ##
13712 sed "s/^/$as_me: WARNING: /" >&2
13715 echo "$as_me:$LINENO: checking for $ac_header" >&5
13716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13718 echo $ECHO_N "(cached) $ECHO_C" >&6
13720 eval "$as_ac_Header=\$ac_header_preproc"
13722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13727 cat >>confdefs.h
<<_ACEOF
13728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13737 *-pc-os2_emx | *-pc-os2-emx )
13738 if test $ac_cv_header_langinfo_h = "yes"; then
13739 LIBS
="$LIBS -lintl"
13744 if test "$wxUSE_GUI" = "yes"; then
13745 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13747 for ac_header
in X
11/Xlib.h
13749 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13751 echo "$as_me:$LINENO: checking for $ac_header" >&5
13752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13759 # Is the header compilable?
13760 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13762 cat >conftest.
$ac_ext <<_ACEOF
13765 cat confdefs.h
>>conftest.
$ac_ext
13766 cat >>conftest.
$ac_ext <<_ACEOF
13767 /* end confdefs.h. */
13768 $ac_includes_default
13769 #include <$ac_header>
13771 rm -f conftest.
$ac_objext
13772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13773 (eval $ac_compile) 2>conftest.er1
13775 grep -v '^ *+' conftest.er1
>conftest.err
13777 cat conftest.err
>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } &&
13780 { ac_try
='test -z "$ac_c_werror_flag"
13781 || test ! -s conftest.err'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; } &&
13787 { ac_try
='test -s conftest.$ac_objext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 ac_header_compiler
=yes
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.
$ac_ext >&5
13798 ac_header_compiler
=no
13800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13802 echo "${ECHO_T}$ac_header_compiler" >&6
13804 # Is the header present?
13805 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13806 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13807 cat >conftest.
$ac_ext <<_ACEOF
13810 cat confdefs.h
>>conftest.
$ac_ext
13811 cat >>conftest.
$ac_ext <<_ACEOF
13812 /* end confdefs.h. */
13813 #include <$ac_header>
13815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13818 grep -v '^ *+' conftest.er1
>conftest.err
13820 cat conftest.err
>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); } >/dev
/null
; then
13823 if test -s conftest.err
; then
13824 ac_cpp_err
=$ac_c_preproc_warn_flag
13825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13832 if test -z "$ac_cpp_err"; then
13833 ac_header_preproc
=yes
13835 echo "$as_me: failed program was:" >&5
13836 sed 's/^/| /' conftest.
$ac_ext >&5
13838 ac_header_preproc
=no
13840 rm -f conftest.err conftest.
$ac_ext
13841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13842 echo "${ECHO_T}$ac_header_preproc" >&6
13844 # So? What about this header?
13845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13847 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13848 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13850 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13851 ac_header_preproc
=yes
13854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13858 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13859 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13860 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13861 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13864 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13865 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13868 ## ----------------------------------------- ##
13869 ## Report this to wx-dev@lists.wxwindows.org ##
13870 ## ----------------------------------------- ##
13873 sed "s/^/$as_me: WARNING: /" >&2
13876 echo "$as_me:$LINENO: checking for $ac_header" >&5
13877 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13879 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 eval "$as_ac_Header=\$ac_header_preproc"
13883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13887 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13888 cat >>confdefs.h
<<_ACEOF
13889 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13897 for ac_header
in X
11/XKBlib.h
13899 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13900 echo "$as_me:$LINENO: checking for $ac_header" >&5
13901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 cat >conftest.
$ac_ext <<_ACEOF
13908 cat confdefs.h
>>conftest.
$ac_ext
13909 cat >>conftest.
$ac_ext <<_ACEOF
13910 /* end confdefs.h. */
13912 #if HAVE_X11_XLIB_H
13913 #include <X11/Xlib.h>
13917 #include <$ac_header>
13919 rm -f conftest.
$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>conftest.er1
13923 grep -v '^ *+' conftest.er1
>conftest.err
13925 cat conftest.err
>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try
='test -z "$ac_c_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try
='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 eval "$as_ac_Header=yes"
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.
$ac_ext >&5
13946 eval "$as_ac_Header=no"
13948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13953 cat >>confdefs.h
<<_ACEOF
13954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13965 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13966 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13967 if test "${ac_cv_c_const+set}" = set; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13970 cat >conftest.
$ac_ext <<_ACEOF
13973 cat confdefs.h
>>conftest.
$ac_ext
13974 cat >>conftest.
$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
13980 /* FIXME: Include the comments suggested by Paul. */
13981 #ifndef __cplusplus
13982 /* Ultrix mips cc rejects this. */
13983 typedef int charset[2];
13985 /* SunOS 4.1.1 cc rejects this. */
13986 char const *const *ccp;
13988 /* NEC SVR4.0.2 mips cc rejects this. */
13989 struct point {int x, y;};
13990 static struct point const zero = {0,0};
13991 /* AIX XL C 1.02.0.0 rejects this.
13992 It does not let you subtract one const X* pointer from another in
13993 an arm of an if-expression whose if-part is not a constant
13995 const char *g = "string";
13996 ccp = &g + (g ? g-g : 0);
13997 /* HPUX 7.0 cc rejects these. */
14000 ccp = (char const *const *) p;
14001 { /* SCO 3.2v4 cc rejects this. */
14003 char const *s = 0 ? (char *) 0 : (char const *) 0;
14007 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14008 int x[] = {25, 17};
14009 const int *foo = &x[0];
14012 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14013 typedef const int *iptr;
14017 { /* AIX XL C 1.02.0.0 rejects this saying
14018 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14019 struct s { int j; const int *ap[3]; };
14020 struct s *b; b->j = 5;
14022 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14023 const int foo = 10;
14031 rm -f conftest.
$ac_objext
14032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14033 (eval $ac_compile) 2>conftest.er1
14035 grep -v '^ *+' conftest.er1
>conftest.err
14037 cat conftest.err
>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try
='test -z "$ac_c_werror_flag"
14041 || test ! -s conftest.err'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; } &&
14047 { ac_try
='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.
$ac_ext >&5
14060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14063 echo "${ECHO_T}$ac_cv_c_const" >&6
14064 if test $ac_cv_c_const = no
; then
14066 cat >>confdefs.h
<<\_ACEOF
14072 echo "$as_me:$LINENO: checking for inline" >&5
14073 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14074 if test "${ac_cv_c_inline+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 for ac_kw
in inline __inline__ __inline
; do
14079 cat >conftest.
$ac_ext <<_ACEOF
14082 cat confdefs.h
>>conftest.
$ac_ext
14083 cat >>conftest.
$ac_ext <<_ACEOF
14084 /* end confdefs.h. */
14085 #ifndef __cplusplus
14087 static $ac_kw foo_t static_foo () {return 0; }
14088 $ac_kw foo_t foo () {return 0; }
14092 rm -f conftest.
$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14096 grep -v '^ *+' conftest.er1
>conftest.err
14098 cat conftest.err
>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -z "$ac_c_werror_flag"
14102 || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try
='test -s conftest.$ac_objext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14114 ac_cv_c_inline
=$ac_kw; break
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.
$ac_ext >&5
14120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14124 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14125 echo "${ECHO_T}$ac_cv_c_inline" >&6
14128 case $ac_cv_c_inline in
14131 case $ac_cv_c_inline in
14133 *) ac_val
=$ac_cv_c_inline;;
14135 cat >>confdefs.h
<<_ACEOF
14136 #ifndef __cplusplus
14137 #define inline $ac_val
14144 echo "$as_me:$LINENO: checking for char" >&5
14145 echo $ECHO_N "checking for char... $ECHO_C" >&6
14146 if test "${ac_cv_type_char+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 cat >conftest.
$ac_ext <<_ACEOF
14152 cat confdefs.h
>>conftest.
$ac_ext
14153 cat >>conftest.
$ac_ext <<_ACEOF
14154 /* end confdefs.h. */
14155 $ac_includes_default
14167 rm -f conftest.
$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>conftest.er1
14171 grep -v '^ *+' conftest.er1
>conftest.err
14173 cat conftest.err
>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try
='test -z "$ac_c_werror_flag"
14177 || test ! -s conftest.err'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; } &&
14183 { ac_try
='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14189 ac_cv_type_char
=yes
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.
$ac_ext >&5
14196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14198 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14199 echo "${ECHO_T}$ac_cv_type_char" >&6
14201 echo "$as_me:$LINENO: checking size of char" >&5
14202 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14203 if test "${ac_cv_sizeof_char+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 if test "$ac_cv_type_char" = yes; then
14207 # The cast to unsigned long works around a bug in the HP C Compiler
14208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14210 # This bug is HP SR number 8606223364.
14211 if test "$cross_compiling" = yes; then
14212 # Depending upon the size, compute the lo and hi bounds.
14213 cat >conftest.
$ac_ext <<_ACEOF
14216 cat confdefs.h
>>conftest.
$ac_ext
14217 cat >>conftest.
$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14223 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14230 rm -f conftest.
$ac_objext
14231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14232 (eval $ac_compile) 2>conftest.er1
14234 grep -v '^ *+' conftest.er1
>conftest.err
14236 cat conftest.err
>&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try
='test -z "$ac_c_werror_flag"
14240 || test ! -s conftest.err'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; } &&
14246 { ac_try
='test -s conftest.$ac_objext'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; }; then
14254 cat >conftest.
$ac_ext <<_ACEOF
14257 cat confdefs.h
>>conftest.
$ac_ext
14258 cat >>conftest.
$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14260 $ac_includes_default
14264 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14271 rm -f conftest.
$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1
>conftest.err
14277 cat conftest.err
>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try
='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_hi
=$ac_mid; break
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ac_lo
=`expr $ac_mid + 1`
14299 if test $ac_lo -le $ac_mid; then
14303 ac_mid
=`expr 2 '*' $ac_mid + 1`
14305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14308 echo "$as_me: failed program was:" >&5
14309 sed 's/^/| /' conftest.
$ac_ext >&5
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 $ac_includes_default
14321 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14328 rm -f conftest.
$ac_objext
14329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14330 (eval $ac_compile) 2>conftest.er1
14332 grep -v '^ *+' conftest.er1
>conftest.err
14334 cat conftest.err
>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); } &&
14337 { ac_try
='test -z "$ac_c_werror_flag"
14338 || test ! -s conftest.err'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; } &&
14344 { ac_try
='test -s conftest.$ac_objext'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14352 cat >conftest.
$ac_ext <<_ACEOF
14355 cat confdefs.h
>>conftest.
$ac_ext
14356 cat >>conftest.
$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358 $ac_includes_default
14362 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14369 rm -f conftest.
$ac_objext
14370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14371 (eval $ac_compile) 2>conftest.er1
14373 grep -v '^ *+' conftest.er1
>conftest.err
14375 cat conftest.err
>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } &&
14378 { ac_try
='test -z "$ac_c_werror_flag"
14379 || test ! -s conftest.err'
14380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14381 (eval $ac_try) 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; } &&
14385 { ac_try
='test -s conftest.$ac_objext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 ac_lo
=$ac_mid; break
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.
$ac_ext >&5
14396 ac_hi
=`expr '(' $ac_mid ')' - 1`
14397 if test $ac_mid -le $ac_hi; then
14401 ac_mid
=`expr 2 '*' $ac_mid`
14403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.
$ac_ext >&5
14411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14414 # Binary search between lo and hi bounds.
14415 while test "x$ac_lo" != "x$ac_hi"; do
14416 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14417 cat >conftest.
$ac_ext <<_ACEOF
14420 cat confdefs.h
>>conftest.
$ac_ext
14421 cat >>conftest.
$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423 $ac_includes_default
14427 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14434 rm -f conftest.
$ac_objext
14435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14436 (eval $ac_compile) 2>conftest.er1
14438 grep -v '^ *+' conftest.er1
>conftest.err
14440 cat conftest.err
>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } &&
14443 { ac_try
='test -z "$ac_c_werror_flag"
14444 || test ! -s conftest.err'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; } &&
14450 { ac_try
='test -s conftest.$ac_objext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 ac_lo
=`expr '(' $ac_mid ')' + 1`
14463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14466 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14467 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14468 See \`config.log' for more details." >&5
14469 echo "$as_me: error: cannot compute sizeof (char), 77
14470 See \`config.log' for more details." >&2;}
14471 { (exit 1); exit 1; }; } ;;
14474 if test "$cross_compiling" = yes; then
14475 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14476 See \`config.log' for more details." >&5
14477 echo "$as_me: error: cannot run test program while cross compiling
14478 See \`config.log' for more details." >&2;}
14479 { (exit 1); exit 1; }; }
14481 cat >conftest.
$ac_ext <<_ACEOF
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487 $ac_includes_default
14488 long longval () { return (long) (sizeof (char)); }
14489 unsigned long ulongval () { return (long) (sizeof (char)); }
14491 #include <stdlib.h>
14496 FILE *f = fopen ("conftest.val", "w");
14499 if (((long) (sizeof (char))) < 0)
14501 long i = longval ();
14502 if (i != ((long) (sizeof (char))))
14504 fprintf (f, "%ld\n", i);
14508 unsigned long i = ulongval ();
14509 if (i != ((long) (sizeof (char))))
14511 fprintf (f, "%lu\n", i);
14513 exit (ferror (f) || fclose (f) != 0);
14519 rm -f conftest
$ac_exeext
14520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14521 (eval $ac_link) 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_sizeof_char
=`cat conftest.val`
14532 echo "$as_me: program exited with status $ac_status" >&5
14533 echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.
$ac_ext >&5
14536 ( exit $ac_status )
14537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14538 See \`config.log' for more details." >&5
14539 echo "$as_me: error: cannot compute sizeof (char), 77
14540 See \`config.log' for more details." >&2;}
14541 { (exit 1); exit 1; }; }
14543 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14548 ac_cv_sizeof_char
=0
14551 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14552 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14553 cat >>confdefs.h
<<_ACEOF
14554 #define SIZEOF_CHAR $ac_cv_sizeof_char
14558 echo "$as_me:$LINENO: checking for short" >&5
14559 echo $ECHO_N "checking for short... $ECHO_C" >&6
14560 if test "${ac_cv_type_short+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 cat >conftest.
$ac_ext <<_ACEOF
14566 cat confdefs.h
>>conftest.
$ac_ext
14567 cat >>conftest.
$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569 $ac_includes_default
14575 if (sizeof (short))
14581 rm -f conftest.
$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14585 grep -v '^ *+' conftest.er1
>conftest.err
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -z "$ac_c_werror_flag"
14591 || test ! -s conftest.err'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; } &&
14597 { ac_try
='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14603 ac_cv_type_short
=yes
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.
$ac_ext >&5
14608 ac_cv_type_short
=no
14610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14612 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14613 echo "${ECHO_T}$ac_cv_type_short" >&6
14615 echo "$as_me:$LINENO: checking size of short" >&5
14616 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14617 if test "${ac_cv_sizeof_short+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14620 if test "$ac_cv_type_short" = yes; then
14621 # The cast to unsigned long works around a bug in the HP C Compiler
14622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14624 # This bug is HP SR number 8606223364.
14625 if test "$cross_compiling" = yes; then
14626 # Depending upon the size, compute the lo and hi bounds.
14627 cat >conftest.
$ac_ext <<_ACEOF
14630 cat confdefs.h
>>conftest.
$ac_ext
14631 cat >>conftest.
$ac_ext <<_ACEOF
14632 /* end confdefs.h. */
14633 $ac_includes_default
14637 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14644 rm -f conftest.
$ac_objext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646 (eval $ac_compile) 2>conftest.er1
14648 grep -v '^ *+' conftest.er1
>conftest.err
14650 cat conftest.err
>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try
='test -z "$ac_c_werror_flag"
14654 || test ! -s conftest.err'
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; } &&
14660 { ac_try
='test -s conftest.$ac_objext'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; }; then
14668 cat >conftest.
$ac_ext <<_ACEOF
14671 cat confdefs.h
>>conftest.
$ac_ext
14672 cat >>conftest.
$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674 $ac_includes_default
14678 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14685 rm -f conftest.
$ac_objext
14686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14687 (eval $ac_compile) 2>conftest.er1
14689 grep -v '^ *+' conftest.er1
>conftest.err
14691 cat conftest.err
>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } &&
14694 { ac_try
='test -z "$ac_c_werror_flag"
14695 || test ! -s conftest.err'
14696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14697 (eval $ac_try) 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; } &&
14701 { ac_try
='test -s conftest.$ac_objext'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; }; then
14707 ac_hi
=$ac_mid; break
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.
$ac_ext >&5
14712 ac_lo
=`expr $ac_mid + 1`
14713 if test $ac_lo -le $ac_mid; then
14717 ac_mid
=`expr 2 '*' $ac_mid + 1`
14719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14722 echo "$as_me: failed program was:" >&5
14723 sed 's/^/| /' conftest.
$ac_ext >&5
14725 cat >conftest.
$ac_ext <<_ACEOF
14728 cat confdefs.h
>>conftest.
$ac_ext
14729 cat >>conftest.
$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14731 $ac_includes_default
14735 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14742 rm -f conftest.
$ac_objext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14744 (eval $ac_compile) 2>conftest.er1
14746 grep -v '^ *+' conftest.er1
>conftest.err
14748 cat conftest.err
>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } &&
14751 { ac_try
='test -z "$ac_c_werror_flag"
14752 || test ! -s conftest.err'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; } &&
14758 { ac_try
='test -s conftest.$ac_objext'
14759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14760 (eval $ac_try) 2>&5
14762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763 (exit $ac_status); }; }; then
14766 cat >conftest.
$ac_ext <<_ACEOF
14769 cat confdefs.h
>>conftest.
$ac_ext
14770 cat >>conftest.
$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772 $ac_includes_default
14776 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14783 rm -f conftest.
$ac_objext
14784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14785 (eval $ac_compile) 2>conftest.er1
14787 grep -v '^ *+' conftest.er1
>conftest.err
14789 cat conftest.err
>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } &&
14792 { ac_try
='test -z "$ac_c_werror_flag"
14793 || test ! -s conftest.err'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; } &&
14799 { ac_try
='test -s conftest.$ac_objext'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; }; then
14805 ac_lo
=$ac_mid; break
14807 echo "$as_me: failed program was:" >&5
14808 sed 's/^/| /' conftest.
$ac_ext >&5
14810 ac_hi
=`expr '(' $ac_mid ')' - 1`
14811 if test $ac_mid -le $ac_hi; then
14815 ac_mid
=`expr 2 '*' $ac_mid`
14817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14828 # Binary search between lo and hi bounds.
14829 while test "x$ac_lo" != "x$ac_hi"; do
14830 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14831 cat >conftest.
$ac_ext <<_ACEOF
14834 cat confdefs.h
>>conftest.
$ac_ext
14835 cat >>conftest.
$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837 $ac_includes_default
14841 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14848 rm -f conftest.
$ac_objext
14849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14850 (eval $ac_compile) 2>conftest.er1
14852 grep -v '^ *+' conftest.er1
>conftest.err
14854 cat conftest.err
>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); } &&
14857 { ac_try
='test -z "$ac_c_werror_flag"
14858 || test ! -s conftest.err'
14859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860 (eval $ac_try) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; } &&
14864 { ac_try
='test -s conftest.$ac_objext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14872 echo "$as_me: failed program was:" >&5
14873 sed 's/^/| /' conftest.
$ac_ext >&5
14875 ac_lo
=`expr '(' $ac_mid ')' + 1`
14877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14880 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14881 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14882 See \`config.log' for more details." >&5
14883 echo "$as_me: error: cannot compute sizeof (short), 77
14884 See \`config.log' for more details." >&2;}
14885 { (exit 1); exit 1; }; } ;;
14888 if test "$cross_compiling" = yes; then
14889 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14890 See \`config.log' for more details." >&5
14891 echo "$as_me: error: cannot run test program while cross compiling
14892 See \`config.log' for more details." >&2;}
14893 { (exit 1); exit 1; }; }
14895 cat >conftest.
$ac_ext <<_ACEOF
14898 cat confdefs.h
>>conftest.
$ac_ext
14899 cat >>conftest.
$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 $ac_includes_default
14902 long longval () { return (long) (sizeof (short)); }
14903 unsigned long ulongval () { return (long) (sizeof (short)); }
14905 #include <stdlib.h>
14910 FILE *f = fopen ("conftest.val", "w");
14913 if (((long) (sizeof (short))) < 0)
14915 long i = longval ();
14916 if (i != ((long) (sizeof (short))))
14918 fprintf (f, "%ld\n", i);
14922 unsigned long i = ulongval ();
14923 if (i != ((long) (sizeof (short))))
14925 fprintf (f, "%lu\n", i);
14927 exit (ferror (f) || fclose (f) != 0);
14933 rm -f conftest
$ac_exeext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14935 (eval $ac_link) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; }; then
14944 ac_cv_sizeof_short
=`cat conftest.val`
14946 echo "$as_me: program exited with status $ac_status" >&5
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.
$ac_ext >&5
14950 ( exit $ac_status )
14951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14952 See \`config.log' for more details." >&5
14953 echo "$as_me: error: cannot compute sizeof (short), 77
14954 See \`config.log' for more details." >&2;}
14955 { (exit 1); exit 1; }; }
14957 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14962 ac_cv_sizeof_short
=0
14965 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14966 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14967 cat >>confdefs.h
<<_ACEOF
14968 #define SIZEOF_SHORT $ac_cv_sizeof_short
14972 echo "$as_me:$LINENO: checking for void *" >&5
14973 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14974 if test "${ac_cv_type_void_p+set}" = set; then
14975 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 cat >conftest.
$ac_ext <<_ACEOF
14980 cat confdefs.h
>>conftest.
$ac_ext
14981 cat >>conftest.
$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 $ac_includes_default
14989 if (sizeof (void *))
14995 rm -f conftest.
$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>conftest.er1
14999 grep -v '^ *+' conftest.er1
>conftest.err
15001 cat conftest.err
>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try
='test -z "$ac_c_werror_flag"
15005 || test ! -s conftest.err'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; } &&
15011 { ac_try
='test -s conftest.$ac_objext'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; }; then
15017 ac_cv_type_void_p
=yes
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 ac_cv_type_void_p
=no
15024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15026 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15027 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15029 echo "$as_me:$LINENO: checking size of void *" >&5
15030 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15031 if test "${ac_cv_sizeof_void_p+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 if test "$ac_cv_type_void_p" = yes; then
15035 # The cast to unsigned long works around a bug in the HP C Compiler
15036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15038 # This bug is HP SR number 8606223364.
15039 if test "$cross_compiling" = yes; then
15040 # Depending upon the size, compute the lo and hi bounds.
15041 cat >conftest.
$ac_ext <<_ACEOF
15044 cat confdefs.h
>>conftest.
$ac_ext
15045 cat >>conftest.
$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15047 $ac_includes_default
15051 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15058 rm -f conftest.
$ac_objext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15060 (eval $ac_compile) 2>conftest.er1
15062 grep -v '^ *+' conftest.er1
>conftest.err
15064 cat conftest.err
>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } &&
15067 { ac_try
='test -z "$ac_c_werror_flag"
15068 || test ! -s conftest.err'
15069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15070 (eval $ac_try) 2>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; } &&
15074 { ac_try
='test -s conftest.$ac_objext'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15082 cat >conftest.
$ac_ext <<_ACEOF
15085 cat confdefs.h
>>conftest.
$ac_ext
15086 cat >>conftest.
$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 $ac_includes_default
15092 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15099 rm -f conftest.
$ac_objext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15101 (eval $ac_compile) 2>conftest.er1
15103 grep -v '^ *+' conftest.er1
>conftest.err
15105 cat conftest.err
>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try
='test -z "$ac_c_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try
='test -s conftest.$ac_objext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15121 ac_hi
=$ac_mid; break
15123 echo "$as_me: failed program was:" >&5
15124 sed 's/^/| /' conftest.
$ac_ext >&5
15126 ac_lo
=`expr $ac_mid + 1`
15127 if test $ac_lo -le $ac_mid; then
15131 ac_mid
=`expr 2 '*' $ac_mid + 1`
15133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.
$ac_ext >&5
15139 cat >conftest.
$ac_ext <<_ACEOF
15142 cat confdefs.h
>>conftest.
$ac_ext
15143 cat >>conftest.
$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15145 $ac_includes_default
15149 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15156 rm -f conftest.
$ac_objext
15157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15158 (eval $ac_compile) 2>conftest.er1
15160 grep -v '^ *+' conftest.er1
>conftest.err
15162 cat conftest.err
>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } &&
15165 { ac_try
='test -z "$ac_c_werror_flag"
15166 || test ! -s conftest.err'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; } &&
15172 { ac_try
='test -s conftest.$ac_objext'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; }; then
15180 cat >conftest.
$ac_ext <<_ACEOF
15183 cat confdefs.h
>>conftest.
$ac_ext
15184 cat >>conftest.
$ac_ext <<_ACEOF
15185 /* end confdefs.h. */
15186 $ac_includes_default
15190 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15197 rm -f conftest.
$ac_objext
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>conftest.er1
15201 grep -v '^ *+' conftest.er1
>conftest.err
15203 cat conftest.err
>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); } &&
15206 { ac_try
='test -z "$ac_c_werror_flag"
15207 || test ! -s conftest.err'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; } &&
15213 { ac_try
='test -s conftest.$ac_objext'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then
15219 ac_lo
=$ac_mid; break
15221 echo "$as_me: failed program was:" >&5
15222 sed 's/^/| /' conftest.
$ac_ext >&5
15224 ac_hi
=`expr '(' $ac_mid ')' - 1`
15225 if test $ac_mid -le $ac_hi; then
15229 ac_mid
=`expr 2 '*' $ac_mid`
15231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15242 # Binary search between lo and hi bounds.
15243 while test "x$ac_lo" != "x$ac_hi"; do
15244 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15245 cat >conftest.
$ac_ext <<_ACEOF
15248 cat confdefs.h
>>conftest.
$ac_ext
15249 cat >>conftest.
$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15251 $ac_includes_default
15255 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15262 rm -f conftest.
$ac_objext
15263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15264 (eval $ac_compile) 2>conftest.er1
15266 grep -v '^ *+' conftest.er1
>conftest.err
15268 cat conftest.err
>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } &&
15271 { ac_try
='test -z "$ac_c_werror_flag"
15272 || test ! -s conftest.err'
15273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15274 (eval $ac_try) 2>&5
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); }; } &&
15278 { ac_try
='test -s conftest.$ac_objext'
15279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15280 (eval $ac_try) 2>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); }; }; then
15286 echo "$as_me: failed program was:" >&5
15287 sed 's/^/| /' conftest.
$ac_ext >&5
15289 ac_lo
=`expr '(' $ac_mid ')' + 1`
15291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15294 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15295 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15296 See \`config.log' for more details." >&5
15297 echo "$as_me: error: cannot compute sizeof (void *), 77
15298 See \`config.log' for more details." >&2;}
15299 { (exit 1); exit 1; }; } ;;
15302 if test "$cross_compiling" = yes; then
15303 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15304 See \`config.log' for more details." >&5
15305 echo "$as_me: error: cannot run test program while cross compiling
15306 See \`config.log' for more details." >&2;}
15307 { (exit 1); exit 1; }; }
15309 cat >conftest.
$ac_ext <<_ACEOF
15312 cat confdefs.h
>>conftest.
$ac_ext
15313 cat >>conftest.
$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 $ac_includes_default
15316 long longval () { return (long) (sizeof (void *)); }
15317 unsigned long ulongval () { return (long) (sizeof (void *)); }
15319 #include <stdlib.h>
15324 FILE *f = fopen ("conftest.val", "w");
15327 if (((long) (sizeof (void *))) < 0)
15329 long i = longval ();
15330 if (i != ((long) (sizeof (void *))))
15332 fprintf (f, "%ld\n", i);
15336 unsigned long i = ulongval ();
15337 if (i != ((long) (sizeof (void *))))
15339 fprintf (f, "%lu\n", i);
15341 exit (ferror (f) || fclose (f) != 0);
15347 rm -f conftest
$ac_exeext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15349 (eval $ac_link) 2>&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15358 ac_cv_sizeof_void_p
=`cat conftest.val`
15360 echo "$as_me: program exited with status $ac_status" >&5
15361 echo "$as_me: failed program was:" >&5
15362 sed 's/^/| /' conftest.
$ac_ext >&5
15364 ( exit $ac_status )
15365 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15366 See \`config.log' for more details." >&5
15367 echo "$as_me: error: cannot compute sizeof (void *), 77
15368 See \`config.log' for more details." >&2;}
15369 { (exit 1); exit 1; }; }
15371 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15376 ac_cv_sizeof_void_p
=0
15379 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15380 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15381 cat >>confdefs.h
<<_ACEOF
15382 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15386 echo "$as_me:$LINENO: checking for int" >&5
15387 echo $ECHO_N "checking for int... $ECHO_C" >&6
15388 if test "${ac_cv_type_int+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 cat >conftest.
$ac_ext <<_ACEOF
15394 cat confdefs.h
>>conftest.
$ac_ext
15395 cat >>conftest.
$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397 $ac_includes_default
15409 rm -f conftest.
$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_c_werror_flag"
15419 || test ! -s conftest.err'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try
='test -s conftest.$ac_objext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.
$ac_ext >&5
15438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15440 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15441 echo "${ECHO_T}$ac_cv_type_int" >&6
15443 echo "$as_me:$LINENO: checking size of int" >&5
15444 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15445 if test "${ac_cv_sizeof_int+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 if test "$ac_cv_type_int" = yes; then
15449 # The cast to unsigned long works around a bug in the HP C Compiler
15450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15452 # This bug is HP SR number 8606223364.
15453 if test "$cross_compiling" = yes; then
15454 # Depending upon the size, compute the lo and hi bounds.
15455 cat >conftest.
$ac_ext <<_ACEOF
15458 cat confdefs.h
>>conftest.
$ac_ext
15459 cat >>conftest.
$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461 $ac_includes_default
15465 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15472 rm -f conftest.
$ac_objext
15473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474 (eval $ac_compile) 2>conftest.er1
15476 grep -v '^ *+' conftest.er1
>conftest.err
15478 cat conftest.err
>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } &&
15481 { ac_try
='test -z "$ac_c_werror_flag"
15482 || test ! -s conftest.err'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; } &&
15488 { ac_try
='test -s conftest.$ac_objext'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15496 cat >conftest.
$ac_ext <<_ACEOF
15499 cat confdefs.h
>>conftest.
$ac_ext
15500 cat >>conftest.
$ac_ext <<_ACEOF
15501 /* end confdefs.h. */
15502 $ac_includes_default
15506 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15513 rm -f conftest.
$ac_objext
15514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15515 (eval $ac_compile) 2>conftest.er1
15517 grep -v '^ *+' conftest.er1
>conftest.err
15519 cat conftest.err
>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } &&
15522 { ac_try
='test -z "$ac_c_werror_flag"
15523 || test ! -s conftest.err'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; } &&
15529 { ac_try
='test -s conftest.$ac_objext'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_hi
=$ac_mid; break
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.
$ac_ext >&5
15540 ac_lo
=`expr $ac_mid + 1`
15541 if test $ac_lo -le $ac_mid; then
15545 ac_mid
=`expr 2 '*' $ac_mid + 1`
15547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.
$ac_ext >&5
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559 $ac_includes_default
15563 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15570 rm -f conftest.
$ac_objext
15571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15572 (eval $ac_compile) 2>conftest.er1
15574 grep -v '^ *+' conftest.er1
>conftest.err
15576 cat conftest.err
>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try
='test -z "$ac_c_werror_flag"
15580 || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; } &&
15586 { ac_try
='test -s conftest.$ac_objext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15594 cat >conftest.
$ac_ext <<_ACEOF
15597 cat confdefs.h
>>conftest.
$ac_ext
15598 cat >>conftest.
$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600 $ac_includes_default
15604 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15611 rm -f conftest.
$ac_objext
15612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613 (eval $ac_compile) 2>conftest.er1
15615 grep -v '^ *+' conftest.er1
>conftest.err
15617 cat conftest.err
>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try
='test -z "$ac_c_werror_flag"
15621 || test ! -s conftest.err'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; } &&
15627 { ac_try
='test -s conftest.$ac_objext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 ac_lo
=$ac_mid; break
15635 echo "$as_me: failed program was:" >&5
15636 sed 's/^/| /' conftest.
$ac_ext >&5
15638 ac_hi
=`expr '(' $ac_mid ')' - 1`
15639 if test $ac_mid -le $ac_hi; then
15643 ac_mid
=`expr 2 '*' $ac_mid`
15645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.
$ac_ext >&5
15653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15656 # Binary search between lo and hi bounds.
15657 while test "x$ac_lo" != "x$ac_hi"; do
15658 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15659 cat >conftest.
$ac_ext <<_ACEOF
15662 cat confdefs.h
>>conftest.
$ac_ext
15663 cat >>conftest.
$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 $ac_includes_default
15669 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15676 rm -f conftest.
$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>conftest.er1
15680 grep -v '^ *+' conftest.er1
>conftest.err
15682 cat conftest.err
>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try
='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try
='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 ac_lo
=`expr '(' $ac_mid ')' + 1`
15705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15708 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15709 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15710 See \`config.log' for more details." >&5
15711 echo "$as_me: error: cannot compute sizeof (int), 77
15712 See \`config.log' for more details." >&2;}
15713 { (exit 1); exit 1; }; } ;;
15716 if test "$cross_compiling" = yes; then
15717 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15718 See \`config.log' for more details." >&5
15719 echo "$as_me: error: cannot run test program while cross compiling
15720 See \`config.log' for more details." >&2;}
15721 { (exit 1); exit 1; }; }
15723 cat >conftest.
$ac_ext <<_ACEOF
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 $ac_includes_default
15730 long longval () { return (long) (sizeof (int)); }
15731 unsigned long ulongval () { return (long) (sizeof (int)); }
15733 #include <stdlib.h>
15738 FILE *f = fopen ("conftest.val", "w");
15741 if (((long) (sizeof (int))) < 0)
15743 long i = longval ();
15744 if (i != ((long) (sizeof (int))))
15746 fprintf (f, "%ld\n", i);
15750 unsigned long i = ulongval ();
15751 if (i != ((long) (sizeof (int))))
15753 fprintf (f, "%lu\n", i);
15755 exit (ferror (f) || fclose (f) != 0);
15761 rm -f conftest
$ac_exeext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15763 (eval $ac_link) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; }; then
15772 ac_cv_sizeof_int
=`cat conftest.val`
15774 echo "$as_me: program exited with status $ac_status" >&5
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.
$ac_ext >&5
15778 ( exit $ac_status )
15779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15780 See \`config.log' for more details." >&5
15781 echo "$as_me: error: cannot compute sizeof (int), 77
15782 See \`config.log' for more details." >&2;}
15783 { (exit 1); exit 1; }; }
15785 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15793 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15794 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15795 cat >>confdefs.h
<<_ACEOF
15796 #define SIZEOF_INT $ac_cv_sizeof_int
15800 echo "$as_me:$LINENO: checking for long" >&5
15801 echo $ECHO_N "checking for long... $ECHO_C" >&6
15802 if test "${ac_cv_type_long+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 cat >conftest.
$ac_ext <<_ACEOF
15808 cat confdefs.h
>>conftest.
$ac_ext
15809 cat >>conftest.
$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 $ac_includes_default
15823 rm -f conftest.
$ac_objext
15824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15825 (eval $ac_compile) 2>conftest.er1
15827 grep -v '^ *+' conftest.er1
>conftest.err
15829 cat conftest.err
>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } &&
15832 { ac_try
='test -z "$ac_c_werror_flag"
15833 || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try
='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15845 ac_cv_type_long
=yes
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.
$ac_ext >&5
15852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15854 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15855 echo "${ECHO_T}$ac_cv_type_long" >&6
15857 echo "$as_me:$LINENO: checking size of long" >&5
15858 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15859 if test "${ac_cv_sizeof_long+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 if test "$ac_cv_type_long" = yes; then
15863 # The cast to unsigned long works around a bug in the HP C Compiler
15864 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15865 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15866 # This bug is HP SR number 8606223364.
15867 if test "$cross_compiling" = yes; then
15868 # Depending upon the size, compute the lo and hi bounds.
15869 cat >conftest.
$ac_ext <<_ACEOF
15872 cat confdefs.h
>>conftest.
$ac_ext
15873 cat >>conftest.
$ac_ext <<_ACEOF
15874 /* end confdefs.h. */
15875 $ac_includes_default
15879 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15886 rm -f conftest.
$ac_objext
15887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15888 (eval $ac_compile) 2>conftest.er1
15890 grep -v '^ *+' conftest.er1
>conftest.err
15892 cat conftest.err
>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } &&
15895 { ac_try
='test -z "$ac_c_werror_flag"
15896 || test ! -s conftest.err'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; } &&
15902 { ac_try
='test -s conftest.$ac_objext'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; }; then
15910 cat >conftest.
$ac_ext <<_ACEOF
15913 cat confdefs.h
>>conftest.
$ac_ext
15914 cat >>conftest.
$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 $ac_includes_default
15920 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15927 rm -f conftest.
$ac_objext
15928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15929 (eval $ac_compile) 2>conftest.er1
15931 grep -v '^ *+' conftest.er1
>conftest.err
15933 cat conftest.err
>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try
='test -z "$ac_c_werror_flag"
15937 || test ! -s conftest.err'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; } &&
15943 { ac_try
='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 ac_hi
=$ac_mid; break
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.
$ac_ext >&5
15954 ac_lo
=`expr $ac_mid + 1`
15955 if test $ac_lo -le $ac_mid; then
15959 ac_mid
=`expr 2 '*' $ac_mid + 1`
15961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.
$ac_ext >&5
15967 cat >conftest.
$ac_ext <<_ACEOF
15970 cat confdefs.h
>>conftest.
$ac_ext
15971 cat >>conftest.
$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 $ac_includes_default
15977 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15984 rm -f conftest.
$ac_objext
15985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15986 (eval $ac_compile) 2>conftest.er1
15988 grep -v '^ *+' conftest.er1
>conftest.err
15990 cat conftest.err
>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try
='test -z "$ac_c_werror_flag"
15994 || test ! -s conftest.err'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; } &&
16000 { ac_try
='test -s conftest.$ac_objext'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; }; then
16008 cat >conftest.
$ac_ext <<_ACEOF
16011 cat confdefs.h
>>conftest.
$ac_ext
16012 cat >>conftest.
$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 $ac_includes_default
16018 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16025 rm -f conftest.
$ac_objext
16026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16027 (eval $ac_compile) 2>conftest.er1
16029 grep -v '^ *+' conftest.er1
>conftest.err
16031 cat conftest.err
>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try
='test -z "$ac_c_werror_flag"
16035 || test ! -s conftest.err'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; } &&
16041 { ac_try
='test -s conftest.$ac_objext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16047 ac_lo
=$ac_mid; break
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.
$ac_ext >&5
16052 ac_hi
=`expr '(' $ac_mid ')' - 1`
16053 if test $ac_mid -le $ac_hi; then
16057 ac_mid
=`expr 2 '*' $ac_mid`
16059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.
$ac_ext >&5
16067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16070 # Binary search between lo and hi bounds.
16071 while test "x$ac_lo" != "x$ac_hi"; do
16072 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16073 cat >conftest.
$ac_ext <<_ACEOF
16076 cat confdefs.h
>>conftest.
$ac_ext
16077 cat >>conftest.
$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16079 $ac_includes_default
16083 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16090 rm -f conftest.
$ac_objext
16091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16092 (eval $ac_compile) 2>conftest.er1
16094 grep -v '^ *+' conftest.er1
>conftest.err
16096 cat conftest.err
>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } &&
16099 { ac_try
='test -z "$ac_c_werror_flag"
16100 || test ! -s conftest.err'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; } &&
16106 { ac_try
='test -s conftest.$ac_objext'
16107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16108 (eval $ac_try) 2>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.
$ac_ext >&5
16117 ac_lo
=`expr '(' $ac_mid ')' + 1`
16119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16122 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16124 See \`config.log' for more details." >&5
16125 echo "$as_me: error: cannot compute sizeof (long), 77
16126 See \`config.log' for more details." >&2;}
16127 { (exit 1); exit 1; }; } ;;
16130 if test "$cross_compiling" = yes; then
16131 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16132 See \`config.log' for more details." >&5
16133 echo "$as_me: error: cannot run test program while cross compiling
16134 See \`config.log' for more details." >&2;}
16135 { (exit 1); exit 1; }; }
16137 cat >conftest.
$ac_ext <<_ACEOF
16140 cat confdefs.h
>>conftest.
$ac_ext
16141 cat >>conftest.
$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143 $ac_includes_default
16144 long longval () { return (long) (sizeof (long)); }
16145 unsigned long ulongval () { return (long) (sizeof (long)); }
16147 #include <stdlib.h>
16152 FILE *f = fopen ("conftest.val", "w");
16155 if (((long) (sizeof (long))) < 0)
16157 long i = longval ();
16158 if (i != ((long) (sizeof (long))))
16160 fprintf (f, "%ld\n", i);
16164 unsigned long i = ulongval ();
16165 if (i != ((long) (sizeof (long))))
16167 fprintf (f, "%lu\n", i);
16169 exit (ferror (f) || fclose (f) != 0);
16175 rm -f conftest
$ac_exeext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16177 (eval $ac_link) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16186 ac_cv_sizeof_long
=`cat conftest.val`
16188 echo "$as_me: program exited with status $ac_status" >&5
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ( exit $ac_status )
16193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16194 See \`config.log' for more details." >&5
16195 echo "$as_me: error: cannot compute sizeof (long), 77
16196 See \`config.log' for more details." >&2;}
16197 { (exit 1); exit 1; }; }
16199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16204 ac_cv_sizeof_long
=0
16207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16208 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16209 cat >>confdefs.h
<<_ACEOF
16210 #define SIZEOF_LONG $ac_cv_sizeof_long
16214 echo "$as_me:$LINENO: checking for size_t" >&5
16215 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16216 if test "${ac_cv_type_size_t+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 $ac_includes_default
16231 if (sizeof (size_t))
16237 rm -f conftest.
$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try
='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 ac_cv_type_size_t
=yes
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.
$ac_ext >&5
16264 ac_cv_type_size_t
=no
16266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16268 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16269 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16271 echo "$as_me:$LINENO: checking size of size_t" >&5
16272 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16273 if test "${ac_cv_sizeof_size_t+set}" = set; then
16274 echo $ECHO_N "(cached) $ECHO_C" >&6
16276 if test "$ac_cv_type_size_t" = yes; then
16277 # The cast to unsigned long works around a bug in the HP C Compiler
16278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16280 # This bug is HP SR number 8606223364.
16281 if test "$cross_compiling" = yes; then
16282 # Depending upon the size, compute the lo and hi bounds.
16283 cat >conftest.
$ac_ext <<_ACEOF
16286 cat confdefs.h
>>conftest.
$ac_ext
16287 cat >>conftest.
$ac_ext <<_ACEOF
16288 /* end confdefs.h. */
16289 $ac_includes_default
16293 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16300 rm -f conftest.
$ac_objext
16301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16302 (eval $ac_compile) 2>conftest.er1
16304 grep -v '^ *+' conftest.er1
>conftest.err
16306 cat conftest.err
>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try
='test -z "$ac_c_werror_flag"
16310 || test ! -s conftest.err'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; } &&
16316 { ac_try
='test -s conftest.$ac_objext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16324 cat >conftest.
$ac_ext <<_ACEOF
16327 cat confdefs.h
>>conftest.
$ac_ext
16328 cat >>conftest.
$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 $ac_includes_default
16334 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16341 rm -f conftest.
$ac_objext
16342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16343 (eval $ac_compile) 2>conftest.er1
16345 grep -v '^ *+' conftest.er1
>conftest.err
16347 cat conftest.err
>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try
='test -z "$ac_c_werror_flag"
16351 || test ! -s conftest.err'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; } &&
16357 { ac_try
='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_hi
=$ac_mid; break
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.
$ac_ext >&5
16368 ac_lo
=`expr $ac_mid + 1`
16369 if test $ac_lo -le $ac_mid; then
16373 ac_mid
=`expr 2 '*' $ac_mid + 1`
16375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.
$ac_ext >&5
16381 cat >conftest.
$ac_ext <<_ACEOF
16384 cat confdefs.h
>>conftest.
$ac_ext
16385 cat >>conftest.
$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 $ac_includes_default
16391 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16398 rm -f conftest.
$ac_objext
16399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16400 (eval $ac_compile) 2>conftest.er1
16402 grep -v '^ *+' conftest.er1
>conftest.err
16404 cat conftest.err
>&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } &&
16407 { ac_try
='test -z "$ac_c_werror_flag"
16408 || test ! -s conftest.err'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; } &&
16414 { ac_try
='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16422 cat >conftest.
$ac_ext <<_ACEOF
16425 cat confdefs.h
>>conftest.
$ac_ext
16426 cat >>conftest.
$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16432 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16439 rm -f conftest.
$ac_objext
16440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441 (eval $ac_compile) 2>conftest.er1
16443 grep -v '^ *+' conftest.er1
>conftest.err
16445 cat conftest.err
>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } &&
16448 { ac_try
='test -z "$ac_c_werror_flag"
16449 || test ! -s conftest.err'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; } &&
16455 { ac_try
='test -s conftest.$ac_objext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 ac_lo
=$ac_mid; break
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.
$ac_ext >&5
16466 ac_hi
=`expr '(' $ac_mid ')' - 1`
16467 if test $ac_mid -le $ac_hi; then
16471 ac_mid
=`expr 2 '*' $ac_mid`
16473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.
$ac_ext >&5
16481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16484 # Binary search between lo and hi bounds.
16485 while test "x$ac_lo" != "x$ac_hi"; do
16486 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16487 cat >conftest.
$ac_ext <<_ACEOF
16490 cat confdefs.h
>>conftest.
$ac_ext
16491 cat >>conftest.
$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493 $ac_includes_default
16497 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16504 rm -f conftest.
$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try
='test -z "$ac_c_werror_flag"
16514 || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try
='test -s conftest.$ac_objext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16528 echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.
$ac_ext >&5
16531 ac_lo
=`expr '(' $ac_mid ')' + 1`
16533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16536 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16537 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16538 See \`config.log' for more details." >&5
16539 echo "$as_me: error: cannot compute sizeof (size_t), 77
16540 See \`config.log' for more details." >&2;}
16541 { (exit 1); exit 1; }; } ;;
16544 if test "$cross_compiling" = yes; then
16545 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16546 See \`config.log' for more details." >&5
16547 echo "$as_me: error: cannot run test program while cross compiling
16548 See \`config.log' for more details." >&2;}
16549 { (exit 1); exit 1; }; }
16551 cat >conftest.
$ac_ext <<_ACEOF
16554 cat confdefs.h
>>conftest.
$ac_ext
16555 cat >>conftest.
$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16557 $ac_includes_default
16558 long longval () { return (long) (sizeof (size_t)); }
16559 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16561 #include <stdlib.h>
16566 FILE *f = fopen ("conftest.val", "w");
16569 if (((long) (sizeof (size_t))) < 0)
16571 long i = longval ();
16572 if (i != ((long) (sizeof (size_t))))
16574 fprintf (f, "%ld\n", i);
16578 unsigned long i = ulongval ();
16579 if (i != ((long) (sizeof (size_t))))
16581 fprintf (f, "%lu\n", i);
16583 exit (ferror (f) || fclose (f) != 0);
16589 rm -f conftest
$ac_exeext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591 (eval $ac_link) 2>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 ac_cv_sizeof_size_t
=`cat conftest.val`
16602 echo "$as_me: program exited with status $ac_status" >&5
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.
$ac_ext >&5
16606 ( exit $ac_status )
16607 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16608 See \`config.log' for more details." >&5
16609 echo "$as_me: error: cannot compute sizeof (size_t), 77
16610 See \`config.log' for more details." >&2;}
16611 { (exit 1); exit 1; }; }
16613 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16618 ac_cv_sizeof_size_t
=0
16621 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16622 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16623 cat >>confdefs.h
<<_ACEOF
16624 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16631 echo "$as_me:$LINENO: checking for long long" >&5
16632 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16633 if test "${ac_cv_type_long_long+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 cat >conftest.
$ac_ext <<_ACEOF
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16646 if ((long long *) 0)
16648 if (sizeof (long long))
16654 rm -f conftest.
$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656 (eval $ac_compile) 2>conftest.er1
16658 grep -v '^ *+' conftest.er1
>conftest.err
16660 cat conftest.err
>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try
='test -z "$ac_c_werror_flag"
16664 || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try
='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_type_long_long
=yes
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.
$ac_ext >&5
16681 ac_cv_type_long_long
=no
16683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16685 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16686 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16688 echo "$as_me:$LINENO: checking size of long long" >&5
16689 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16690 if test "${ac_cv_sizeof_long_long+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 if test "$ac_cv_type_long_long" = yes; then
16694 # The cast to unsigned long works around a bug in the HP C Compiler
16695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16697 # This bug is HP SR number 8606223364.
16698 if test "$cross_compiling" = yes; then
16699 # Depending upon the size, compute the lo and hi bounds.
16700 cat >conftest.
$ac_ext <<_ACEOF
16703 cat confdefs.h
>>conftest.
$ac_ext
16704 cat >>conftest.
$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 $ac_includes_default
16710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16717 rm -f conftest.
$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16721 grep -v '^ *+' conftest.er1
>conftest.err
16723 cat conftest.err
>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try
='test -z "$ac_c_werror_flag"
16727 || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try
='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16741 cat >conftest.
$ac_ext <<_ACEOF
16744 cat confdefs.h
>>conftest.
$ac_ext
16745 cat >>conftest.
$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16751 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16758 rm -f conftest.
$ac_objext
16759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16760 (eval $ac_compile) 2>conftest.er1
16762 grep -v '^ *+' conftest.er1
>conftest.err
16764 cat conftest.err
>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); } &&
16767 { ac_try
='test -z "$ac_c_werror_flag"
16768 || test ! -s conftest.err'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; } &&
16774 { ac_try
='test -s conftest.$ac_objext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_hi
=$ac_mid; break
16782 echo "$as_me: failed program was:" >&5
16783 sed 's/^/| /' conftest.
$ac_ext >&5
16785 ac_lo
=`expr $ac_mid + 1`
16786 if test $ac_lo -le $ac_mid; then
16790 ac_mid
=`expr 2 '*' $ac_mid + 1`
16792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.
$ac_ext >&5
16798 cat >conftest.
$ac_ext <<_ACEOF
16801 cat confdefs.h
>>conftest.
$ac_ext
16802 cat >>conftest.
$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 $ac_includes_default
16808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16815 rm -f conftest.
$ac_objext
16816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16817 (eval $ac_compile) 2>conftest.er1
16819 grep -v '^ *+' conftest.er1
>conftest.err
16821 cat conftest.err
>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } &&
16824 { ac_try
='test -z "$ac_c_werror_flag"
16825 || test ! -s conftest.err'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; } &&
16831 { ac_try
='test -s conftest.$ac_objext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16839 cat >conftest.
$ac_ext <<_ACEOF
16842 cat confdefs.h
>>conftest.
$ac_ext
16843 cat >>conftest.
$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 $ac_includes_default
16849 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16856 rm -f conftest.
$ac_objext
16857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16858 (eval $ac_compile) 2>conftest.er1
16860 grep -v '^ *+' conftest.er1
>conftest.err
16862 cat conftest.err
>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } &&
16865 { ac_try
='test -z "$ac_c_werror_flag"
16866 || test ! -s conftest.err'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; } &&
16872 { ac_try
='test -s conftest.$ac_objext'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; }; then
16878 ac_lo
=$ac_mid; break
16880 echo "$as_me: failed program was:" >&5
16881 sed 's/^/| /' conftest.
$ac_ext >&5
16883 ac_hi
=`expr '(' $ac_mid ')' - 1`
16884 if test $ac_mid -le $ac_hi; then
16888 ac_mid
=`expr 2 '*' $ac_mid`
16890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16901 # Binary search between lo and hi bounds.
16902 while test "x$ac_lo" != "x$ac_hi"; do
16903 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16904 cat >conftest.
$ac_ext <<_ACEOF
16907 cat confdefs.h
>>conftest.
$ac_ext
16908 cat >>conftest.
$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16914 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16921 rm -f conftest.
$ac_objext
16922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16923 (eval $ac_compile) 2>conftest.er1
16925 grep -v '^ *+' conftest.er1
>conftest.err
16927 cat conftest.err
>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try
='test -z "$ac_c_werror_flag"
16931 || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try
='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.
$ac_ext >&5
16948 ac_lo
=`expr '(' $ac_mid ')' + 1`
16950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16953 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16954 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16955 See \`config.log' for more details." >&5
16956 echo "$as_me: error: cannot compute sizeof (long long), 77
16957 See \`config.log' for more details." >&2;}
16958 { (exit 1); exit 1; }; } ;;
16961 if test "$cross_compiling" = yes; then
16962 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16963 See \`config.log' for more details." >&5
16964 echo "$as_me: error: cannot run test program while cross compiling
16965 See \`config.log' for more details." >&2;}
16966 { (exit 1); exit 1; }; }
16968 cat >conftest.
$ac_ext <<_ACEOF
16971 cat confdefs.h
>>conftest.
$ac_ext
16972 cat >>conftest.
$ac_ext <<_ACEOF
16973 /* end confdefs.h. */
16974 $ac_includes_default
16975 long longval () { return (long) (sizeof (long long)); }
16976 unsigned long ulongval () { return (long) (sizeof (long long)); }
16978 #include <stdlib.h>
16983 FILE *f = fopen ("conftest.val", "w");
16986 if (((long) (sizeof (long long))) < 0)
16988 long i = longval ();
16989 if (i != ((long) (sizeof (long long))))
16991 fprintf (f, "%ld\n", i);
16995 unsigned long i = ulongval ();
16996 if (i != ((long) (sizeof (long long))))
16998 fprintf (f, "%lu\n", i);
17000 exit (ferror (f) || fclose (f) != 0);
17006 rm -f conftest
$ac_exeext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17008 (eval $ac_link) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17017 ac_cv_sizeof_long_long
=`cat conftest.val`
17019 echo "$as_me: program exited with status $ac_status" >&5
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 ( exit $ac_status )
17024 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17025 See \`config.log' for more details." >&5
17026 echo "$as_me: error: cannot compute sizeof (long long), 77
17027 See \`config.log' for more details." >&2;}
17028 { (exit 1); exit 1; }; }
17030 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17035 ac_cv_sizeof_long_long
=0
17038 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17039 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17040 cat >>confdefs.h
<<_ACEOF
17041 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17047 echo "$as_me:$LINENO: checking for long long" >&5
17048 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17049 if test "${ac_cv_type_long_long+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 cat >conftest.
$ac_ext <<_ACEOF
17055 cat confdefs.h
>>conftest.
$ac_ext
17056 cat >>conftest.
$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17062 if ((long long *) 0)
17064 if (sizeof (long long))
17070 rm -f conftest.
$ac_objext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17072 (eval $ac_compile) 2>conftest.er1
17074 grep -v '^ *+' conftest.er1
>conftest.err
17076 cat conftest.err
>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try
='test -z "$ac_c_werror_flag"
17080 || test ! -s conftest.err'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; } &&
17086 { ac_try
='test -s conftest.$ac_objext'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; }; then
17092 ac_cv_type_long_long
=yes
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.
$ac_ext >&5
17097 ac_cv_type_long_long
=no
17099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17101 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17102 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17104 echo "$as_me:$LINENO: checking size of long long" >&5
17105 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17106 if test "${ac_cv_sizeof_long_long+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 if test "$ac_cv_type_long_long" = yes; then
17110 # The cast to unsigned long works around a bug in the HP C Compiler
17111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17113 # This bug is HP SR number 8606223364.
17114 if test "$cross_compiling" = yes; then
17115 # Depending upon the size, compute the lo and hi bounds.
17116 cat >conftest.
$ac_ext <<_ACEOF
17119 cat confdefs.h
>>conftest.
$ac_ext
17120 cat >>conftest.
$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17122 $ac_includes_default
17126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17133 rm -f conftest.
$ac_objext
17134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17135 (eval $ac_compile) 2>conftest.er1
17137 grep -v '^ *+' conftest.er1
>conftest.err
17139 cat conftest.err
>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try
='test -z "$ac_c_werror_flag"
17143 || test ! -s conftest.err'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try
='test -s conftest.$ac_objext'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; }; then
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17174 rm -f conftest.
$ac_objext
17175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17176 (eval $ac_compile) 2>conftest.er1
17178 grep -v '^ *+' conftest.er1
>conftest.err
17180 cat conftest.err
>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } &&
17183 { ac_try
='test -z "$ac_c_werror_flag"
17184 || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try
='test -s conftest.$ac_objext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17196 ac_hi
=$ac_mid; break
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.
$ac_ext >&5
17201 ac_lo
=`expr $ac_mid + 1`
17202 if test $ac_lo -le $ac_mid; then
17206 ac_mid
=`expr 2 '*' $ac_mid + 1`
17208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 cat >conftest.
$ac_ext <<_ACEOF
17217 cat confdefs.h
>>conftest.
$ac_ext
17218 cat >>conftest.
$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17231 rm -f conftest.
$ac_objext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17233 (eval $ac_compile) 2>conftest.er1
17235 grep -v '^ *+' conftest.er1
>conftest.err
17237 cat conftest.err
>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try
='test -z "$ac_c_werror_flag"
17241 || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try
='test -s conftest.$ac_objext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17255 cat >conftest.
$ac_ext <<_ACEOF
17258 cat confdefs.h
>>conftest.
$ac_ext
17259 cat >>conftest.
$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 $ac_includes_default
17265 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17272 rm -f conftest.
$ac_objext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>conftest.er1
17276 grep -v '^ *+' conftest.er1
>conftest.err
17278 cat conftest.err
>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } &&
17281 { ac_try
='test -z "$ac_c_werror_flag"
17282 || test ! -s conftest.err'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; } &&
17288 { ac_try
='test -s conftest.$ac_objext'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; }; then
17294 ac_lo
=$ac_mid; break
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.
$ac_ext >&5
17299 ac_hi
=`expr '(' $ac_mid ')' - 1`
17300 if test $ac_mid -le $ac_hi; then
17304 ac_mid
=`expr 2 '*' $ac_mid`
17306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.
$ac_ext >&5
17314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17317 # Binary search between lo and hi bounds.
17318 while test "x$ac_lo" != "x$ac_hi"; do
17319 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17320 cat >conftest.
$ac_ext <<_ACEOF
17323 cat confdefs.h
>>conftest.
$ac_ext
17324 cat >>conftest.
$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 $ac_includes_default
17330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17337 rm -f conftest.
$ac_objext
17338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17339 (eval $ac_compile) 2>conftest.er1
17341 grep -v '^ *+' conftest.er1
>conftest.err
17343 cat conftest.err
>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try
='test -z "$ac_c_werror_flag"
17347 || test ! -s conftest.err'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; } &&
17353 { ac_try
='test -s conftest.$ac_objext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.
$ac_ext >&5
17364 ac_lo
=`expr '(' $ac_mid ')' + 1`
17366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17369 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17370 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17371 See \`config.log' for more details." >&5
17372 echo "$as_me: error: cannot compute sizeof (long long), 77
17373 See \`config.log' for more details." >&2;}
17374 { (exit 1); exit 1; }; } ;;
17377 if test "$cross_compiling" = yes; then
17378 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17379 See \`config.log' for more details." >&5
17380 echo "$as_me: error: cannot run test program while cross compiling
17381 See \`config.log' for more details." >&2;}
17382 { (exit 1); exit 1; }; }
17384 cat >conftest.
$ac_ext <<_ACEOF
17387 cat confdefs.h
>>conftest.
$ac_ext
17388 cat >>conftest.
$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17391 long longval () { return (long) (sizeof (long long)); }
17392 unsigned long ulongval () { return (long) (sizeof (long long)); }
17394 #include <stdlib.h>
17399 FILE *f = fopen ("conftest.val", "w");
17402 if (((long) (sizeof (long long))) < 0)
17404 long i = longval ();
17405 if (i != ((long) (sizeof (long long))))
17407 fprintf (f, "%ld\n", i);
17411 unsigned long i = ulongval ();
17412 if (i != ((long) (sizeof (long long))))
17414 fprintf (f, "%lu\n", i);
17416 exit (ferror (f) || fclose (f) != 0);
17422 rm -f conftest
$ac_exeext
17423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17424 (eval $ac_link) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; }; then
17433 ac_cv_sizeof_long_long
=`cat conftest.val`
17435 echo "$as_me: program exited with status $ac_status" >&5
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.
$ac_ext >&5
17439 ( exit $ac_status )
17440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17441 See \`config.log' for more details." >&5
17442 echo "$as_me: error: cannot compute sizeof (long long), 77
17443 See \`config.log' for more details." >&2;}
17444 { (exit 1); exit 1; }; }
17446 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17451 ac_cv_sizeof_long_long
=0
17454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17455 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17456 cat >>confdefs.h
<<_ACEOF
17457 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17461 if test "$ac_cv_sizeof_long_long" != "0"; then
17462 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17466 echo "$as_me:$LINENO: checking for long long" >&5
17467 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17468 if test "${ac_cv_type_long_long+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 cat >conftest.
$ac_ext <<_ACEOF
17474 cat confdefs.h
>>conftest.
$ac_ext
17475 cat >>conftest.
$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477 $ac_includes_default
17481 if ((long long *) 0)
17483 if (sizeof (long long))
17489 rm -f conftest.
$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>conftest.er1
17493 grep -v '^ *+' conftest.er1
>conftest.err
17495 cat conftest.err
>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try
='test -z "$ac_c_werror_flag"
17499 || test ! -s conftest.err'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try
='test -s conftest.$ac_objext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511 ac_cv_type_long_long
=yes
17513 echo "$as_me: failed program was:" >&5
17514 sed 's/^/| /' conftest.
$ac_ext >&5
17516 ac_cv_type_long_long
=no
17518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17520 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17521 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17523 echo "$as_me:$LINENO: checking size of long long" >&5
17524 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17525 if test "${ac_cv_sizeof_long_long+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 if test "$ac_cv_type_long_long" = yes; then
17529 # The cast to unsigned long works around a bug in the HP C Compiler
17530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17532 # This bug is HP SR number 8606223364.
17533 if test "$cross_compiling" = yes; then
17534 # Depending upon the size, compute the lo and hi bounds.
17535 cat >conftest.
$ac_ext <<_ACEOF
17538 cat confdefs.h
>>conftest.
$ac_ext
17539 cat >>conftest.
$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17541 $ac_includes_default
17545 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17552 rm -f conftest.
$ac_objext
17553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17554 (eval $ac_compile) 2>conftest.er1
17556 grep -v '^ *+' conftest.er1
>conftest.err
17558 cat conftest.err
>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } &&
17561 { ac_try
='test -z "$ac_c_werror_flag"
17562 || test ! -s conftest.err'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try
='test -s conftest.$ac_objext'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; }; then
17576 cat >conftest.
$ac_ext <<_ACEOF
17579 cat confdefs.h
>>conftest.
$ac_ext
17580 cat >>conftest.
$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 $ac_includes_default
17586 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17593 rm -f conftest.
$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>conftest.er1
17597 grep -v '^ *+' conftest.er1
>conftest.err
17599 cat conftest.err
>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try
='test -z "$ac_c_werror_flag"
17603 || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try
='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17615 ac_hi
=$ac_mid; break
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.
$ac_ext >&5
17620 ac_lo
=`expr $ac_mid + 1`
17621 if test $ac_lo -le $ac_mid; then
17625 ac_mid
=`expr 2 '*' $ac_mid + 1`
17627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17630 echo "$as_me: failed program was:" >&5
17631 sed 's/^/| /' conftest.
$ac_ext >&5
17633 cat >conftest.
$ac_ext <<_ACEOF
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 $ac_includes_default
17643 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17650 rm -f conftest.
$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17654 grep -v '^ *+' conftest.er1
>conftest.err
17656 cat conftest.err
>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try
='test -z "$ac_c_werror_flag"
17660 || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try
='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17674 cat >conftest.
$ac_ext <<_ACEOF
17677 cat confdefs.h
>>conftest.
$ac_ext
17678 cat >>conftest.
$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 $ac_includes_default
17684 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17691 rm -f conftest.
$ac_objext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17693 (eval $ac_compile) 2>conftest.er1
17695 grep -v '^ *+' conftest.er1
>conftest.err
17697 cat conftest.err
>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try
='test -z "$ac_c_werror_flag"
17701 || test ! -s conftest.err'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try
='test -s conftest.$ac_objext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
17713 ac_lo
=$ac_mid; break
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.
$ac_ext >&5
17718 ac_hi
=`expr '(' $ac_mid ')' - 1`
17719 if test $ac_mid -le $ac_hi; then
17723 ac_mid
=`expr 2 '*' $ac_mid`
17725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.
$ac_ext >&5
17733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17736 # Binary search between lo and hi bounds.
17737 while test "x$ac_lo" != "x$ac_hi"; do
17738 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17739 cat >conftest.
$ac_ext <<_ACEOF
17742 cat confdefs.h
>>conftest.
$ac_ext
17743 cat >>conftest.
$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17756 rm -f conftest.
$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17760 grep -v '^ *+' conftest.er1
>conftest.err
17762 cat conftest.err
>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try
='test -z "$ac_c_werror_flag"
17766 || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try
='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.
$ac_ext >&5
17783 ac_lo
=`expr '(' $ac_mid ')' + 1`
17785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17788 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17789 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17790 See \`config.log' for more details." >&5
17791 echo "$as_me: error: cannot compute sizeof (long long), 77
17792 See \`config.log' for more details." >&2;}
17793 { (exit 1); exit 1; }; } ;;
17796 if test "$cross_compiling" = yes; then
17797 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17798 See \`config.log' for more details." >&5
17799 echo "$as_me: error: cannot run test program while cross compiling
17800 See \`config.log' for more details." >&2;}
17801 { (exit 1); exit 1; }; }
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 $ac_includes_default
17810 long longval () { return (long) (sizeof (long long)); }
17811 unsigned long ulongval () { return (long) (sizeof (long long)); }
17813 #include <stdlib.h>
17818 FILE *f = fopen ("conftest.val", "w");
17821 if (((long) (sizeof (long long))) < 0)
17823 long i = longval ();
17824 if (i != ((long) (sizeof (long long))))
17826 fprintf (f, "%ld\n", i);
17830 unsigned long i = ulongval ();
17831 if (i != ((long) (sizeof (long long))))
17833 fprintf (f, "%lu\n", i);
17835 exit (ferror (f) || fclose (f) != 0);
17841 rm -f conftest
$ac_exeext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17843 (eval $ac_link) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_cv_sizeof_long_long
=`cat conftest.val`
17854 echo "$as_me: program exited with status $ac_status" >&5
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 ( exit $ac_status )
17859 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17860 See \`config.log' for more details." >&5
17861 echo "$as_me: error: cannot compute sizeof (long long), 77
17862 See \`config.log' for more details." >&2;}
17863 { (exit 1); exit 1; }; }
17865 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17870 ac_cv_sizeof_long_long
=0
17873 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17874 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17875 cat >>confdefs.h
<<_ACEOF
17876 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17882 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17883 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17884 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 if test "$cross_compiling" = yes; then
17892 wx_cv_sizeof_wchar_t
=0
17895 wx_cv_sizeof_wchar_t
=4
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17908 /* DJGPP only has fake wchar_t: */
17910 # error "fake wchar_t"
17912 #ifdef HAVE_WCHAR_H
17914 # include <stddef.h>
17916 # include <wchar.h>
17918 #ifdef HAVE_STDLIB_H
17919 # include <stdlib.h>
17924 FILE *f=fopen("conftestval", "w");
17926 fprintf(f, "%i", sizeof(wchar_t));
17931 rm -f conftest
$ac_exeext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17933 (eval $ac_link) 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; }; then
17942 wx_cv_sizeof_wchar_t
=`cat conftestval`
17944 echo "$as_me: program exited with status $ac_status" >&5
17945 echo "$as_me: failed program was:" >&5
17946 sed 's/^/| /' conftest.
$ac_ext >&5
17948 ( exit $ac_status )
17949 wx_cv_sizeof_wchar_t
=0
17951 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17955 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17956 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17958 cat >>confdefs.h
<<_ACEOF
17959 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17963 # Check whether --enable-largefile or --disable-largefile was given.
17964 if test "${enable_largefile+set}" = set; then
17965 enableval
="$enable_largefile"
17968 if test "$enable_largefile" != no
; then
17971 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17972 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17973 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 cat >conftest.
$ac_ext <<_ACEOF
17980 cat confdefs.h
>>conftest.
$ac_ext
17981 cat >>conftest.
$ac_ext <<_ACEOF
17982 /* end confdefs.h. */
17983 #define _FILE_OFFSET_BITS 64
17984 #include <sys/types.h>
17989 unsigned int field: sizeof(off_t) == 8;
17996 rm -f conftest.
$ac_objext
17997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17998 (eval $ac_compile) 2>conftest.er1
18000 grep -v '^ *+' conftest.er1
>conftest.err
18002 cat conftest.err
>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try
='test -z "$ac_c_werror_flag"
18006 || test ! -s conftest.err'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; } &&
18012 { ac_try
='test -s conftest.$ac_objext'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18018 ac_cv_sys_file_offset_bits
=64
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18023 ac_cv_sys_file_offset_bits
=no
18025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18030 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18032 if test "$ac_cv_sys_file_offset_bits" != no
; then
18034 cat >>confdefs.h
<<_ACEOF
18035 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18040 if test "x$wx_largefile" != "xyes"; then
18042 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18043 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18044 if test "${ac_cv_sys_large_files+set}" = set; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.
$ac_ext <<_ACEOF
18051 cat confdefs.h
>>conftest.
$ac_ext
18052 cat >>conftest.
$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 #define _LARGE_FILES 1
18055 #include <sys/types.h>
18060 unsigned int field: sizeof(off_t) == 8;
18067 rm -f conftest.
$ac_objext
18068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18069 (eval $ac_compile) 2>conftest.er1
18071 grep -v '^ *+' conftest.er1
>conftest.err
18073 cat conftest.err
>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } &&
18076 { ac_try
='test -z "$ac_c_werror_flag"
18077 || test ! -s conftest.err'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; } &&
18083 { ac_try
='test -s conftest.$ac_objext'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; }; then
18089 ac_cv_sys_large_files
=1
18091 echo "$as_me: failed program was:" >&5
18092 sed 's/^/| /' conftest.
$ac_ext >&5
18094 ac_cv_sys_large_files
=no
18096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18100 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18101 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18103 if test "$ac_cv_sys_large_files" != no
; then
18105 cat >>confdefs.h
<<_ACEOF
18106 #define _LARGE_FILES $ac_cv_sys_large_files
18113 echo "$as_me:$LINENO: checking if large file support is available" >&5
18114 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18115 if test "x$wx_largefile" = "xyes"; then
18116 cat >>confdefs.h
<<\_ACEOF
18117 #define HAVE_LARGEFILE_SUPPORT 1
18121 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18122 echo "${ECHO_T}$wx_largefile" >&6
18126 if test "x$wx_largefile" = "xyes"; then
18127 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18128 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18130 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18132 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18135 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18136 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18137 if test "${ac_cv_c_bigendian+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18140 ac_cv_c_bigendian
=unknown
18141 # See if sys/param.h defines the BYTE_ORDER macro.
18142 cat >conftest.
$ac_ext <<_ACEOF
18145 cat confdefs.h
>>conftest.
$ac_ext
18146 cat >>conftest.
$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18148 #include <sys/types.h>
18149 #include <sys/param.h>
18154 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18155 bogus endian macros
18161 rm -f conftest.
$ac_objext
18162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18163 (eval $ac_compile) 2>conftest.er1
18165 grep -v '^ *+' conftest.er1
>conftest.err
18167 cat conftest.err
>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } &&
18170 { ac_try
='test -z "$ac_c_werror_flag"
18171 || test ! -s conftest.err'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; } &&
18177 { ac_try
='test -s conftest.$ac_objext'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; }; then
18183 # It does; now see whether it defined to BIG_ENDIAN or not.
18184 cat >conftest.
$ac_ext <<_ACEOF
18187 cat confdefs.h
>>conftest.
$ac_ext
18188 cat >>conftest.
$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 #include <sys/types.h>
18191 #include <sys/param.h>
18196 #if BYTE_ORDER != BIG_ENDIAN
18203 rm -f conftest.
$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18207 grep -v '^ *+' conftest.er1
>conftest.err
18209 cat conftest.err
>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try
='test -z "$ac_c_werror_flag"
18213 || test ! -s conftest.err'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; } &&
18219 { ac_try
='test -s conftest.$ac_objext'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; }; then
18225 ac_cv_c_bigendian
=yes
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18230 ac_cv_c_bigendian
=no
18232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.
$ac_ext >&5
18238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18239 if test $ac_cv_c_bigendian = unknown
; then
18240 if test "$cross_compiling" = yes; then
18241 ac_cv_c_bigendian
=unknown
18243 cat >conftest.
$ac_ext <<_ACEOF
18246 cat confdefs.h
>>conftest.
$ac_ext
18247 cat >>conftest.
$ac_ext <<_ACEOF
18248 /* end confdefs.h. */
18250 /* Are we little or big endian? From Harbison&Steele. */
18254 char c[sizeof (long)];
18257 exit (u.c[sizeof (long) - 1] == 1);
18260 rm -f conftest
$ac_exeext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18262 (eval $ac_link) 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_c_bigendian
=no
18273 echo "$as_me: program exited with status $ac_status" >&5
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.
$ac_ext >&5
18277 ( exit $ac_status )
18278 ac_cv_c_bigendian
=yes
18280 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18284 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18285 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18286 if test $ac_cv_c_bigendian = unknown
; then
18287 { 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
18288 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;}
18290 if test $ac_cv_c_bigendian = yes; then
18291 cat >>confdefs.h
<<\_ACEOF
18292 #define WORDS_BIGENDIAN 1
18299 ac_cpp
='$CXXCPP $CPPFLAGS'
18300 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18303 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18304 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18305 if test -z "$CXXCPP"; then
18306 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18307 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 # Double quotes because CXXCPP needs to be expanded
18310 for CXXCPP
in "$CXX -E" "/lib/cpp"
18312 ac_preproc_ok
=false
18313 for ac_cxx_preproc_warn_flag
in '' yes
18315 # Use a header file that comes with gcc, so configuring glibc
18316 # with a fresh cross-compiler works.
18317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18318 # <limits.h> exists even on freestanding compilers.
18319 # On the NeXT, cc -E runs the code through the compiler's parser,
18320 # not just through cpp. "Syntax error" is here to catch this case.
18321 cat >conftest.
$ac_ext <<_ACEOF
18324 cat confdefs.h
>>conftest.
$ac_ext
18325 cat >>conftest.
$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18328 # include <limits.h>
18330 # include <assert.h>
18334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18337 grep -v '^ *+' conftest.er1
>conftest.err
18339 cat conftest.err
>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } >/dev
/null
; then
18342 if test -s conftest.err
; then
18343 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18344 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18351 if test -z "$ac_cpp_err"; then
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 # Broken: fails on valid input.
18360 rm -f conftest.err conftest.
$ac_ext
18362 # OK, works on sane cases. Now check whether non-existent headers
18363 # can be detected and how.
18364 cat >conftest.
$ac_ext <<_ACEOF
18367 cat confdefs.h
>>conftest.
$ac_ext
18368 cat >>conftest.
$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #include <ac_nonexistent.h>
18372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18373 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18375 grep -v '^ *+' conftest.er1
>conftest.err
18377 cat conftest.err
>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } >/dev
/null
; then
18380 if test -s conftest.err
; then
18381 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18382 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18389 if test -z "$ac_cpp_err"; then
18390 # Broken: success on invalid input.
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.
$ac_ext >&5
18396 # Passes both tests.
18400 rm -f conftest.err conftest.
$ac_ext
18403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18404 rm -f conftest.err conftest.
$ac_ext
18405 if $ac_preproc_ok; then
18410 ac_cv_prog_CXXCPP
=$CXXCPP
18413 CXXCPP
=$ac_cv_prog_CXXCPP
18415 ac_cv_prog_CXXCPP
=$CXXCPP
18417 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18418 echo "${ECHO_T}$CXXCPP" >&6
18419 ac_preproc_ok
=false
18420 for ac_cxx_preproc_warn_flag
in '' yes
18422 # Use a header file that comes with gcc, so configuring glibc
18423 # with a fresh cross-compiler works.
18424 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18425 # <limits.h> exists even on freestanding compilers.
18426 # On the NeXT, cc -E runs the code through the compiler's parser,
18427 # not just through cpp. "Syntax error" is here to catch this case.
18428 cat >conftest.
$ac_ext <<_ACEOF
18431 cat confdefs.h
>>conftest.
$ac_ext
18432 cat >>conftest.
$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18435 # include <limits.h>
18437 # include <assert.h>
18441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18442 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18444 grep -v '^ *+' conftest.er1
>conftest.err
18446 cat conftest.err
>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } >/dev
/null
; then
18449 if test -s conftest.err
; then
18450 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18451 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18458 if test -z "$ac_cpp_err"; then
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.
$ac_ext >&5
18464 # Broken: fails on valid input.
18467 rm -f conftest.err conftest.
$ac_ext
18469 # OK, works on sane cases. Now check whether non-existent headers
18470 # can be detected and how.
18471 cat >conftest.
$ac_ext <<_ACEOF
18474 cat confdefs.h
>>conftest.
$ac_ext
18475 cat >>conftest.
$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477 #include <ac_nonexistent.h>
18479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18480 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18482 grep -v '^ *+' conftest.er1
>conftest.err
18484 cat conftest.err
>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } >/dev
/null
; then
18487 if test -s conftest.err
; then
18488 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18489 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18496 if test -z "$ac_cpp_err"; then
18497 # Broken: success on invalid input.
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.
$ac_ext >&5
18503 # Passes both tests.
18507 rm -f conftest.err conftest.
$ac_ext
18510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18511 rm -f conftest.err conftest.
$ac_ext
18512 if $ac_preproc_ok; then
18515 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18516 See \`config.log' for more details." >&5
18517 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18518 See \`config.log' for more details." >&2;}
18519 { (exit 1); exit 1; }; }
18523 ac_cpp
='$CXXCPP $CPPFLAGS'
18524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18530 if test "$cross_compiling" = "yes"; then
18531 cat >>confdefs.h
<<\_ACEOF
18532 #define wxUSE_IOSTREAMH 1
18539 ac_cpp
='$CXXCPP $CPPFLAGS'
18540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18546 for ac_header
in iostream
18548 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18550 echo "$as_me:$LINENO: checking for $ac_header" >&5
18551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18558 # Is the header compilable?
18559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18561 cat >conftest.
$ac_ext <<_ACEOF
18564 cat confdefs.h
>>conftest.
$ac_ext
18565 cat >>conftest.
$ac_ext <<_ACEOF
18566 /* end confdefs.h. */
18567 $ac_includes_default
18568 #include <$ac_header>
18570 rm -f conftest.
$ac_objext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18572 (eval $ac_compile) 2>conftest.er1
18574 grep -v '^ *+' conftest.er1
>conftest.err
18576 cat conftest.err
>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try
='test -z "$ac_cxx_werror_flag"
18580 || test ! -s conftest.err'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; } &&
18586 { ac_try
='test -s conftest.$ac_objext'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; }; then
18592 ac_header_compiler
=yes
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.
$ac_ext >&5
18597 ac_header_compiler
=no
18599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18601 echo "${ECHO_T}$ac_header_compiler" >&6
18603 # Is the header present?
18604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18606 cat >conftest.
$ac_ext <<_ACEOF
18609 cat confdefs.h
>>conftest.
$ac_ext
18610 cat >>conftest.
$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18612 #include <$ac_header>
18614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18615 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18617 grep -v '^ *+' conftest.er1
>conftest.err
18619 cat conftest.err
>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } >/dev
/null
; then
18622 if test -s conftest.err
; then
18623 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18624 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18631 if test -z "$ac_cpp_err"; then
18632 ac_header_preproc
=yes
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.
$ac_ext >&5
18637 ac_header_preproc
=no
18639 rm -f conftest.err conftest.
$ac_ext
18640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18641 echo "${ECHO_T}$ac_header_preproc" >&6
18643 # So? What about this header?
18644 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18650 ac_header_preproc
=yes
18653 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18655 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18656 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18657 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18659 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18660 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18667 ## ----------------------------------------- ##
18668 ## Report this to wx-dev@lists.wxwindows.org ##
18669 ## ----------------------------------------- ##
18672 sed "s/^/$as_me: WARNING: /" >&2
18675 echo "$as_me:$LINENO: checking for $ac_header" >&5
18676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18678 echo $ECHO_N "(cached) $ECHO_C" >&6
18680 eval "$as_ac_Header=\$ac_header_preproc"
18682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18687 cat >>confdefs.h
<<_ACEOF
18688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18696 if test "$ac_cv_header_iostream" = "yes" ; then
18699 cat >>confdefs.h
<<\_ACEOF
18700 #define wxUSE_IOSTREAMH 1
18706 ac_cpp
='$CPP $CPPFLAGS'
18707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18715 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18716 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18717 if test "${wx_cv_cpp_bool+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18724 ac_cpp
='$CXXCPP $CPPFLAGS'
18725 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18730 cat >conftest.
$ac_ext <<_ACEOF
18733 cat confdefs.h
>>conftest.
$ac_ext
18734 cat >>conftest.
$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18750 rm -f conftest.
$ac_objext
18751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18752 (eval $ac_compile) 2>conftest.er1
18754 grep -v '^ *+' conftest.er1
>conftest.err
18756 cat conftest.err
>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } &&
18759 { ac_try
='test -z "$ac_cxx_werror_flag"
18760 || test ! -s conftest.err'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; } &&
18766 { ac_try
='test -s conftest.$ac_objext'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.
$ac_ext >&5
18784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18787 ac_cpp
='$CPP $CPPFLAGS'
18788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18794 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18795 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18797 if test "$wx_cv_cpp_bool" = "yes"; then
18798 cat >>confdefs.h
<<\_ACEOF
18799 #define HAVE_BOOL 1
18806 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18807 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18808 if test "${wx_cv_explicit+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18815 ac_cpp
='$CXXCPP $CPPFLAGS'
18816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18821 cat >conftest.
$ac_ext <<_ACEOF
18824 cat confdefs.h
>>conftest.
$ac_ext
18825 cat >>conftest.
$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18828 class Foo { public: explicit Foo(int) {} };
18840 rm -f conftest.
$ac_objext
18841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18842 (eval $ac_compile) 2>conftest.er1
18844 grep -v '^ *+' conftest.er1
>conftest.err
18846 cat conftest.err
>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } &&
18849 { ac_try
='test -z "$ac_cxx_werror_flag"
18850 || test ! -s conftest.err'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; } &&
18856 { ac_try
='test -s conftest.$ac_objext'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; }; then
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18870 class Foo { public: explicit Foo(int) {} };
18871 static void TakeFoo(const Foo& foo) { }
18884 rm -f conftest.
$ac_objext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18886 (eval $ac_compile) 2>conftest.er1
18888 grep -v '^ *+' conftest.er1
>conftest.err
18890 cat conftest.err
>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try
='test -z "$ac_cxx_werror_flag"
18894 || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try
='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.
$ac_ext >&5
18914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.
$ac_ext >&5
18923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18926 ac_cpp
='$CPP $CPPFLAGS'
18927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18933 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18934 echo "${ECHO_T}$wx_cv_explicit" >&6
18936 if test "$wx_cv_explicit" = "yes"; then
18937 cat >>confdefs.h
<<\_ACEOF
18938 #define HAVE_EXPLICIT 1
18944 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18945 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18946 if test "${ac_cv_cxx_const_cast+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 ac_cpp
='$CXXCPP $CPPFLAGS'
18953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18957 cat >conftest.
$ac_ext <<_ACEOF
18960 cat confdefs.h
>>conftest.
$ac_ext
18961 cat >>conftest.
$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18967 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18972 rm -f conftest.
$ac_objext
18973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18974 (eval $ac_compile) 2>conftest.er1
18976 grep -v '^ *+' conftest.er1
>conftest.err
18978 cat conftest.err
>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } &&
18981 { ac_try
='test -z "$ac_cxx_werror_flag"
18982 || test ! -s conftest.err'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; } &&
18988 { ac_try
='test -s conftest.$ac_objext'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; }; then
18994 ac_cv_cxx_const_cast
=yes
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.
$ac_ext >&5
18999 ac_cv_cxx_const_cast
=no
19001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19003 ac_cpp
='$CPP $CPPFLAGS'
19004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19010 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19011 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19012 if test "$ac_cv_cxx_const_cast" = yes; then
19014 cat >>confdefs.h
<<\_ACEOF
19015 #define HAVE_CONST_CAST
19020 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19021 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19022 if test "${ac_cv_cxx_static_cast+set}" = set; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 ac_cpp
='$CXXCPP $CPPFLAGS'
19029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19033 cat >conftest.
$ac_ext <<_ACEOF
19036 cat confdefs.h
>>conftest.
$ac_ext
19037 cat >>conftest.
$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <typeinfo>
19040 class Base { public : Base () {} virtual void f () = 0; };
19041 class Derived : public Base { public : Derived () {} virtual void f () {} };
19042 int g (Derived&) { return 0; }
19047 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19052 rm -f conftest.
$ac_objext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19054 (eval $ac_compile) 2>conftest.er1
19056 grep -v '^ *+' conftest.er1
>conftest.err
19058 cat conftest.err
>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try
='test -z "$ac_cxx_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try
='test -s conftest.$ac_objext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 ac_cv_cxx_static_cast
=yes
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.
$ac_ext >&5
19079 ac_cv_cxx_static_cast
=no
19081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19083 ac_cpp
='$CPP $CPPFLAGS'
19084 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19090 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19091 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19092 if test "$ac_cv_cxx_static_cast" = yes; then
19094 cat >>confdefs.h
<<\_ACEOF
19095 #define HAVE_STATIC_CAST
19101 if test "$wxUSE_STL" = "yes"; then
19103 ac_cpp
='$CXXCPP $CPPFLAGS'
19104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19109 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19110 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19111 cat >conftest.
$ac_ext <<_ACEOF
19114 cat confdefs.h
>>conftest.
$ac_ext
19115 cat >>conftest.
$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19118 #include <functional>
19119 #include <algorithm>
19125 std::vector<int> moo;
19126 std::list<int> foo;
19127 std::vector<int>::iterator it =
19128 std::find_if(moo.begin(), moo.end(),
19129 std::bind2nd(std::less<int>(), 3));
19134 rm -f conftest.
$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19138 grep -v '^ *+' conftest.er1
>conftest.err
19140 cat conftest.err
>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try
='test -z "$ac_cxx_werror_flag"
19144 || test ! -s conftest.err'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try
='test -s conftest.$ac_objext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 echo "$as_me:$LINENO: result: yes" >&5
19157 echo "${ECHO_T}yes" >&6
19159 echo "$as_me: failed program was:" >&5
19160 sed 's/^/| /' conftest.
$ac_ext >&5
19162 echo "$as_me:$LINENO: result: no" >&5
19163 echo "${ECHO_T}no" >&6
19164 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19165 echo "$as_me: error: Basic STL functionality missing" >&2;}
19166 { (exit 1); exit 1; }; }
19168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19171 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19172 cat >conftest.
$ac_ext <<_ACEOF
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19187 rm -f conftest.
$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19191 grep -v '^ *+' conftest.er1
>conftest.err
19193 cat conftest.err
>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try
='test -z "$ac_cxx_werror_flag"
19197 || test ! -s conftest.err'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try
='test -s conftest.$ac_objext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19209 echo "$as_me:$LINENO: result: yes" >&5
19210 echo "${ECHO_T}yes" >&6
19211 cat >>confdefs.h
<<\_ACEOF
19212 #define HAVE_STD_WSTRING 1
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19219 echo "$as_me:$LINENO: result: no" >&5
19220 echo "${ECHO_T}no" >&6
19222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19224 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19225 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19226 cat >conftest.
$ac_ext <<_ACEOF
19229 cat confdefs.h
>>conftest.
$ac_ext
19230 cat >>conftest.
$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19236 std::string foo, bar;
19238 foo.compare(1, 1, bar);
19239 foo.compare(1, 1, bar, 1, 1);
19241 foo.compare(1, 1, "");
19242 foo.compare(1, 1, "", 2);
19247 rm -f conftest.
$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1
>conftest.err
19253 cat conftest.err
>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try
='test -z "$ac_cxx_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try
='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 echo "$as_me:$LINENO: result: yes" >&5
19270 echo "${ECHO_T}yes" >&6
19271 cat >>confdefs.h
<<\_ACEOF
19272 #define HAVE_STD_STRING_COMPARE 1
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 echo "$as_me:$LINENO: result: no" >&5
19280 echo "${ECHO_T}no" >&6
19282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19285 ac_cpp
='$CPP $CPPFLAGS'
19286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19294 /usr/local/include \
19296 /usr/Motif-2.1/include \
19297 /usr/Motif-1.2/include \
19298 /usr/include/Motif1.2 \
19299 /opt/xpm/include/X11 \
19300 /opt/GBxpm/include/ \
19301 /opt/GBxpm/X11/include/ \
19304 /usr/openwin/include \
19308 /usr/X11R6/include \
19309 /usr/X11R6.4/include \
19310 /usr/X11R5/include \
19311 /usr/X11R4/include \
19313 /usr/include/X11R6 \
19314 /usr/include/X11R5 \
19315 /usr/include/X11R4 \
19317 /usr/local/X11R6/include \
19318 /usr/local/X11R5/include \
19319 /usr/local/X11R4/include \
19321 /usr/local/include/X11R6 \
19322 /usr/local/include/X11R5 \
19323 /usr/local/include/X11R4 \
19327 /usr/local/X11/include \
19328 /usr/local/include/X11 \
19330 /usr/X386/include \
19331 /usr/x386/include \
19332 /usr/XFree86/include/X11 \
19334 X:/XFree86/include \
19335 X:/XFree86/include/X11 \
19338 /usr/local/include/gtk \
19339 /usr/include/glib \
19340 /usr/local/include/glib \
19343 /usr/local/include/qt \
19345 /usr/include/windows \
19346 /usr/include/wine \
19347 /usr/local/include/wine \
19349 /usr/unsupported/include \
19350 /usr/athena/include \
19351 /usr/local/x11r5/include \
19352 /usr/lpp/Xamples/include \
19354 /usr/openwin/share/include"
19356 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19359 cat >confcache
<<\_ACEOF
19360 # This file is a shell script that caches the results of configure
19361 # tests run on this system so they can be shared between configure
19362 # scripts and configure runs, see configure's option --config-cache.
19363 # It is not useful on other systems. If it contains results you don't
19364 # want to keep, you may remove or edit it.
19366 # config.status only pays attention to the cache file if you give it
19367 # the --recheck option to rerun configure.
19369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19371 # following values.
19375 # The following way of writing the cache mishandles newlines in values,
19376 # but we know of no workaround that is simple, portable, and efficient.
19377 # So, don't put newlines in cache variables' values.
19378 # Ultrix sh set writes to stderr and can't be redirected directly,
19379 # and sets the high bit in the cache file unless we assign to the vars.
19382 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19384 # `set' does not quote correctly, so add quotes (double-quote
19385 # substitution turns \\\\ into \\, and sed turns \\ into \).
19388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19391 # `set' quotes correctly as required by POSIX, so do not add quotes.
19393 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19402 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19404 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19405 if test -w $cache_file; then
19406 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19407 cat confcache
>$cache_file
19409 echo "not updating unwritable cache $cache_file"
19414 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19415 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19416 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19417 if test "${wx_cv_lib_glibc21+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19421 cat >conftest.
$ac_ext <<_ACEOF
19424 cat confdefs.h
>>conftest.
$ac_ext
19425 cat >>conftest.
$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 #include <features.h>
19432 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19433 #error not glibc2.1
19440 rm -f conftest.
$ac_objext
19441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19442 (eval $ac_compile) 2>conftest.er1
19444 grep -v '^ *+' conftest.er1
>conftest.err
19446 cat conftest.err
>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } &&
19449 { ac_try
='test -z "$ac_c_werror_flag"
19450 || test ! -s conftest.err'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; } &&
19456 { ac_try
='test -s conftest.$ac_objext'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; }; then
19463 wx_cv_lib_glibc21
=yes
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.
$ac_ext >&5
19470 wx_cv_lib_glibc21
=no
19474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19477 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19478 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19479 if test "$wx_cv_lib_glibc21" = "yes"; then
19480 cat >>confdefs.h
<<\_ACEOF
19481 #define wxHAVE_GLIBC2 1
19487 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19488 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19489 cat >>confdefs.h
<<\_ACEOF
19490 #define _GNU_SOURCE 1
19498 if test "$wxUSE_REGEX" != "no"; then
19499 cat >>confdefs.h
<<\_ACEOF
19500 #define wxUSE_REGEX 1
19504 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19505 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19506 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19507 wxUSE_REGEX
=builtin
19510 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19511 if test "${ac_cv_header_regex_h+set}" = set; then
19512 echo "$as_me:$LINENO: checking for regex.h" >&5
19513 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19514 if test "${ac_cv_header_regex_h+set}" = set; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19517 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19518 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19520 # Is the header compilable?
19521 echo "$as_me:$LINENO: checking regex.h usability" >&5
19522 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19532 rm -f conftest.
$ac_objext
19533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19534 (eval $ac_compile) 2>conftest.er1
19536 grep -v '^ *+' conftest.er1
>conftest.err
19538 cat conftest.err
>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); } &&
19541 { ac_try
='test -z "$ac_c_werror_flag"
19542 || test ! -s conftest.err'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; } &&
19548 { ac_try
='test -s conftest.$ac_objext'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; }; then
19554 ac_header_compiler
=yes
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.
$ac_ext >&5
19559 ac_header_compiler
=no
19561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19563 echo "${ECHO_T}$ac_header_compiler" >&6
19565 # Is the header present?
19566 echo "$as_me:$LINENO: checking regex.h presence" >&5
19567 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19568 cat >conftest.
$ac_ext <<_ACEOF
19571 cat confdefs.h
>>conftest.
$ac_ext
19572 cat >>conftest.
$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19579 grep -v '^ *+' conftest.er1
>conftest.err
19581 cat conftest.err
>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } >/dev
/null
; then
19584 if test -s conftest.err
; then
19585 ac_cpp_err
=$ac_c_preproc_warn_flag
19586 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19593 if test -z "$ac_cpp_err"; then
19594 ac_header_preproc
=yes
19596 echo "$as_me: failed program was:" >&5
19597 sed 's/^/| /' conftest.
$ac_ext >&5
19599 ac_header_preproc
=no
19601 rm -f conftest.err conftest.
$ac_ext
19602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19603 echo "${ECHO_T}$ac_header_preproc" >&6
19605 # So? What about this header?
19606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19608 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19609 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19610 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19611 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19612 ac_header_preproc
=yes
19615 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19616 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19617 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19618 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19619 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19620 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19621 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19622 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19623 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19624 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19625 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19626 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19629 ## ----------------------------------------- ##
19630 ## Report this to wx-dev@lists.wxwindows.org ##
19631 ## ----------------------------------------- ##
19634 sed "s/^/$as_me: WARNING: /" >&2
19637 echo "$as_me:$LINENO: checking for regex.h" >&5
19638 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19639 if test "${ac_cv_header_regex_h+set}" = set; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 ac_cv_header_regex_h
=$ac_header_preproc
19644 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19645 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19648 if test $ac_cv_header_regex_h = yes; then
19650 for ac_func
in regcomp
19652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19653 echo "$as_me:$LINENO: checking for $ac_func" >&5
19654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19655 if eval "test \"\${$as_ac_var+set}\" = set"; then
19656 echo $ECHO_N "(cached) $ECHO_C" >&6
19658 cat >conftest.
$ac_ext <<_ACEOF
19661 cat confdefs.h
>>conftest.
$ac_ext
19662 cat >>conftest.
$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19666 #define $ac_func innocuous_$ac_func
19668 /* System header to define __stub macros and hopefully few prototypes,
19669 which can conflict with char $ac_func (); below.
19670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19671 <limits.h> exists even on freestanding compilers. */
19674 # include <limits.h>
19676 # include <assert.h>
19681 /* Override any gcc2 internal prototype to avoid an error. */
19686 /* We use char because int might match the return type of a gcc2
19687 builtin and then its argument prototype would still apply. */
19689 /* The GNU C library defines this for functions which it implements
19690 to always fail with ENOSYS. Some functions are actually named
19691 something starting with __ and the normal name is an alias. */
19692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19695 char (*f) () = $ac_func;
19704 return f != $ac_func;
19709 rm -f conftest.
$ac_objext conftest
$ac_exeext
19710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19711 (eval $ac_link) 2>conftest.er1
19713 grep -v '^ *+' conftest.er1
>conftest.err
19715 cat conftest.err
>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } &&
19718 { ac_try
='test -z "$ac_c_werror_flag"
19719 || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try
='test -s conftest$ac_exeext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 eval "$as_ac_var=yes"
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.
$ac_ext >&5
19736 eval "$as_ac_var=no"
19738 rm -f conftest.err conftest.
$ac_objext \
19739 conftest
$ac_exeext conftest.
$ac_ext
19741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19743 if test `eval echo '${'$as_ac_var'}'` = yes; then
19744 cat >>confdefs.h
<<_ACEOF
19745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19755 if test "x$ac_cv_func_regcomp" != "xyes"; then
19756 if test "$wxUSE_REGEX" = "sys" ; then
19757 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19758 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19759 { (exit 1); exit 1; }; }
19761 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19762 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19763 wxUSE_REGEX
=builtin
19767 cat >>confdefs.h
<<\_ACEOF
19768 #define WX_NO_REGEX_ADVANCED 1
19777 if test "$wxUSE_ZLIB" != "no" ; then
19778 cat >>confdefs.h
<<\_ACEOF
19779 #define wxUSE_ZLIB 1
19783 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19784 if test "$USE_DARWIN" = 1; then
19785 system_zlib_h_ok
="yes"
19787 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19788 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19789 if test "${ac_cv_header_zlib_h+set}" = set; then
19790 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 if test "$cross_compiling" = yes; then
19793 unset ac_cv_header_zlib_h
19796 cat >conftest.
$ac_ext <<_ACEOF
19799 cat confdefs.h
>>conftest.
$ac_ext
19800 cat >>conftest.
$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19808 FILE *f=fopen("conftestval", "w");
19811 ZLIB_VERSION[0] == '1' &&
19812 (ZLIB_VERSION[2] > '1' ||
19813 (ZLIB_VERSION[2] == '1' &&
19814 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19819 rm -f conftest
$ac_exeext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19821 (eval $ac_link) 2>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 ac_cv_header_zlib_h
=`cat conftestval`
19832 echo "$as_me: program exited with status $ac_status" >&5
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.
$ac_ext >&5
19836 ( exit $ac_status )
19837 ac_cv_header_zlib_h
=no
19839 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19843 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19844 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19845 if test "${ac_cv_header_zlib_h+set}" = set; then
19846 echo "$as_me:$LINENO: checking for zlib.h" >&5
19847 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19848 if test "${ac_cv_header_zlib_h+set}" = set; then
19849 echo $ECHO_N "(cached) $ECHO_C" >&6
19851 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19852 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19854 # Is the header compilable?
19855 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19856 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19857 cat >conftest.
$ac_ext <<_ACEOF
19860 cat confdefs.h
>>conftest.
$ac_ext
19861 cat >>conftest.
$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19866 rm -f conftest.
$ac_objext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 (eval $ac_compile) 2>conftest.er1
19870 grep -v '^ *+' conftest.er1
>conftest.err
19872 cat conftest.err
>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try
='test -z "$ac_c_werror_flag"
19876 || test ! -s conftest.err'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; } &&
19882 { ac_try
='test -s conftest.$ac_objext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_header_compiler
=yes
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_header_compiler
=no
19895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19897 echo "${ECHO_T}$ac_header_compiler" >&6
19899 # Is the header present?
19900 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19901 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19902 cat >conftest.
$ac_ext <<_ACEOF
19905 cat confdefs.h
>>conftest.
$ac_ext
19906 cat >>conftest.
$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19911 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19913 grep -v '^ *+' conftest.er1
>conftest.err
19915 cat conftest.err
>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } >/dev
/null
; then
19918 if test -s conftest.err
; then
19919 ac_cpp_err
=$ac_c_preproc_warn_flag
19920 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19927 if test -z "$ac_cpp_err"; then
19928 ac_header_preproc
=yes
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.
$ac_ext >&5
19933 ac_header_preproc
=no
19935 rm -f conftest.err conftest.
$ac_ext
19936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19937 echo "${ECHO_T}$ac_header_preproc" >&6
19939 # So? What about this header?
19940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19942 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19943 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19944 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19945 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19946 ac_header_preproc
=yes
19949 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19950 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19951 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19952 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19953 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19954 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19955 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19956 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19957 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19958 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19959 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19960 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19963 ## ----------------------------------------- ##
19964 ## Report this to wx-dev@lists.wxwindows.org ##
19965 ## ----------------------------------------- ##
19968 sed "s/^/$as_me: WARNING: /" >&2
19971 echo "$as_me:$LINENO: checking for zlib.h" >&5
19972 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19973 if test "${ac_cv_header_zlib_h+set}" = set; then
19974 echo $ECHO_N "(cached) $ECHO_C" >&6
19976 ac_cv_header_zlib_h
=$ac_header_preproc
19978 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19979 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19985 system_zlib_h_ok
=$ac_cv_header_zlib_h
19988 if test "$system_zlib_h_ok" = "yes"; then
19989 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19990 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19991 if test "${ac_cv_lib_z_deflate+set}" = set; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 ac_check_lib_save_LIBS
=$LIBS
19996 cat >conftest.
$ac_ext <<_ACEOF
19999 cat confdefs.h
>>conftest.
$ac_ext
20000 cat >>conftest.
$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20003 /* Override any gcc2 internal prototype to avoid an error. */
20007 /* We use char because int might match the return type of a gcc2
20008 builtin and then its argument prototype would still apply. */
20018 rm -f conftest.
$ac_objext conftest
$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20022 grep -v '^ *+' conftest.er1
>conftest.err
20024 cat conftest.err
>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try
='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try
='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_lib_z_deflate
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_lib_z_deflate
=no
20047 rm -f conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20049 LIBS
=$ac_check_lib_save_LIBS
20051 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20052 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20053 if test $ac_cv_lib_z_deflate = yes; then
20059 if test "x$ZLIB_LINK" = "x" ; then
20060 if test "$wxUSE_ZLIB" = "sys" ; then
20061 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20062 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20063 { (exit 1); exit 1; }; }
20065 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20066 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20077 if test "$wxUSE_LIBPNG" != "no" ; then
20078 cat >>confdefs.h
<<\_ACEOF
20079 #define wxUSE_LIBPNG 1
20083 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20084 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20085 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20089 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20090 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20091 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20092 wxUSE_LIBPNG
=builtin
20095 if test "$wxUSE_MGL" != 1 ; then
20096 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20097 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20098 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20099 if test "${ac_cv_header_png_h+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20102 if test "$cross_compiling" = yes; then
20103 unset ac_cv_header_png_h
20106 cat >conftest.
$ac_ext <<_ACEOF
20109 cat confdefs.h
>>conftest.
$ac_ext
20110 cat >>conftest.
$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20118 FILE *f=fopen("conftestval", "w");
20121 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20126 rm -f conftest
$ac_exeext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20128 (eval $ac_link) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
20137 ac_cv_header_png_h
=`cat conftestval`
20139 echo "$as_me: program exited with status $ac_status" >&5
20140 echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.
$ac_ext >&5
20143 ( exit $ac_status )
20144 ac_cv_header_png_h
=no
20146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20150 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20151 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20152 if test "${ac_cv_header_png_h+set}" = set; then
20153 echo "$as_me:$LINENO: checking for png.h" >&5
20154 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20155 if test "${ac_cv_header_png_h+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20159 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20161 # Is the header compilable?
20162 echo "$as_me:$LINENO: checking png.h usability" >&5
20163 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20164 cat >conftest.
$ac_ext <<_ACEOF
20167 cat confdefs.h
>>conftest.
$ac_ext
20168 cat >>conftest.
$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 $ac_includes_default
20173 rm -f conftest.
$ac_objext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20175 (eval $ac_compile) 2>conftest.er1
20177 grep -v '^ *+' conftest.er1
>conftest.err
20179 cat conftest.err
>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try
='test -z "$ac_c_werror_flag"
20183 || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try
='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 ac_header_compiler
=yes
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.
$ac_ext >&5
20200 ac_header_compiler
=no
20202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20204 echo "${ECHO_T}$ac_header_compiler" >&6
20206 # Is the header present?
20207 echo "$as_me:$LINENO: checking png.h presence" >&5
20208 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20209 cat >conftest.
$ac_ext <<_ACEOF
20212 cat confdefs.h
>>conftest.
$ac_ext
20213 cat >>conftest.
$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20220 grep -v '^ *+' conftest.er1
>conftest.err
20222 cat conftest.err
>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } >/dev
/null
; then
20225 if test -s conftest.err
; then
20226 ac_cpp_err
=$ac_c_preproc_warn_flag
20227 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20234 if test -z "$ac_cpp_err"; then
20235 ac_header_preproc
=yes
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.
$ac_ext >&5
20240 ac_header_preproc
=no
20242 rm -f conftest.err conftest.
$ac_ext
20243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20244 echo "${ECHO_T}$ac_header_preproc" >&6
20246 # So? What about this header?
20247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20249 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20250 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20251 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20252 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20253 ac_header_preproc
=yes
20256 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20257 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20258 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20259 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20260 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20261 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20262 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20263 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20264 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20265 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20266 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20267 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20270 ## ----------------------------------------- ##
20271 ## Report this to wx-dev@lists.wxwindows.org ##
20272 ## ----------------------------------------- ##
20275 sed "s/^/$as_me: WARNING: /" >&2
20278 echo "$as_me:$LINENO: checking for png.h" >&5
20279 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20280 if test "${ac_cv_header_png_h+set}" = set; then
20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 ac_cv_header_png_h
=$ac_header_preproc
20285 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20286 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20292 if test "$ac_cv_header_png_h" = "yes"; then
20293 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20294 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20295 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20296 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 ac_check_lib_save_LIBS
=$LIBS
20299 LIBS
="-lpng -lz -lm $LIBS"
20300 cat >conftest.
$ac_ext <<_ACEOF
20303 cat confdefs.h
>>conftest.
$ac_ext
20304 cat >>conftest.
$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20307 /* Override any gcc2 internal prototype to avoid an error. */
20311 /* We use char because int might match the return type of a gcc2
20312 builtin and then its argument prototype would still apply. */
20313 char png_check_sig ();
20322 rm -f conftest.
$ac_objext conftest
$ac_exeext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20324 (eval $ac_link) 2>conftest.er1
20326 grep -v '^ *+' conftest.er1
>conftest.err
20328 cat conftest.err
>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try
='test -z "$ac_c_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try
='test -s conftest$ac_exeext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_cv_lib_png_png_check_sig
=yes
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.
$ac_ext >&5
20349 ac_cv_lib_png_png_check_sig
=no
20351 rm -f conftest.err conftest.
$ac_objext \
20352 conftest
$ac_exeext conftest.
$ac_ext
20353 LIBS
=$ac_check_lib_save_LIBS
20355 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20356 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20357 if test $ac_cv_lib_png_png_check_sig = yes; then
20363 if test "x$PNG_LINK" = "x" ; then
20364 if test "$wxUSE_LIBPNG" = "sys" ; then
20365 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20366 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20367 { (exit 1); exit 1; }; }
20369 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20370 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20371 wxUSE_LIBPNG
=builtin
20379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
20384 if test "$wxUSE_LIBJPEG" != "no" ; then
20385 cat >>confdefs.h
<<\_ACEOF
20386 #define wxUSE_LIBJPEG 1
20390 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20391 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20392 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20396 if test "$wxUSE_MGL" != 1 ; then
20397 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20398 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20399 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20400 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20410 #undef HAVE_STDLIB_H
20412 #include <jpeglib.h>
20423 rm -f conftest.
$ac_objext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20425 (eval $ac_compile) 2>conftest.er1
20427 grep -v '^ *+' conftest.er1
>conftest.err
20429 cat conftest.err
>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } &&
20432 { ac_try
='test -z "$ac_c_werror_flag"
20433 || test ! -s conftest.err'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try
='test -s conftest.$ac_objext'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_header_jpeglib_h
=yes
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ac_cv_header_jpeglib_h
=no
20453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20457 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20458 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20460 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20461 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20462 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20463 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20466 ac_check_lib_save_LIBS
=$LIBS
20467 LIBS
="-ljpeg $LIBS"
20468 cat >conftest.
$ac_ext <<_ACEOF
20471 cat confdefs.h
>>conftest.
$ac_ext
20472 cat >>conftest.
$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20475 /* Override any gcc2 internal prototype to avoid an error. */
20479 /* We use char because int might match the return type of a gcc2
20480 builtin and then its argument prototype would still apply. */
20481 char jpeg_read_header ();
20485 jpeg_read_header ();
20490 rm -f conftest.
$ac_objext conftest
$ac_exeext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20492 (eval $ac_link) 2>conftest.er1
20494 grep -v '^ *+' conftest.er1
>conftest.err
20496 cat conftest.err
>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try
='test -z "$ac_c_werror_flag"
20500 || test ! -s conftest.err'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; } &&
20506 { ac_try
='test -s conftest$ac_exeext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 ac_cv_lib_jpeg_jpeg_read_header
=yes
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.
$ac_ext >&5
20517 ac_cv_lib_jpeg_jpeg_read_header
=no
20519 rm -f conftest.err conftest.
$ac_objext \
20520 conftest
$ac_exeext conftest.
$ac_ext
20521 LIBS
=$ac_check_lib_save_LIBS
20523 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20524 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20525 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20526 JPEG_LINK
=" -ljpeg"
20531 if test "x$JPEG_LINK" = "x" ; then
20532 if test "$wxUSE_LIBJPEG" = "sys" ; then
20533 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20534 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20535 { (exit 1); exit 1; }; }
20537 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20538 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20539 wxUSE_LIBJPEG
=builtin
20550 TIFF_PREREQ_LINKS
=-lm
20551 if test "$wxUSE_LIBTIFF" != "no" ; then
20552 cat >>confdefs.h
<<\_ACEOF
20553 #define wxUSE_LIBTIFF 1
20557 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20558 if test "$wxUSE_LIBJPEG" = "sys"; then
20559 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
20561 if test "$wxUSE_ZLIB" = "sys"; then
20562 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20564 if test "${ac_cv_header_tiffio_h+set}" = set; then
20565 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20566 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20567 if test "${ac_cv_header_tiffio_h+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20571 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20573 # Is the header compilable?
20574 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20575 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20576 cat >conftest.
$ac_ext <<_ACEOF
20579 cat confdefs.h
>>conftest.
$ac_ext
20580 cat >>conftest.
$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20582 $ac_includes_default
20583 #include <tiffio.h>
20585 rm -f conftest.
$ac_objext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20587 (eval $ac_compile) 2>conftest.er1
20589 grep -v '^ *+' conftest.er1
>conftest.err
20591 cat conftest.err
>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try
='test -z "$ac_c_werror_flag"
20595 || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try
='test -s conftest.$ac_objext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 ac_header_compiler
=yes
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.
$ac_ext >&5
20612 ac_header_compiler
=no
20614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20616 echo "${ECHO_T}$ac_header_compiler" >&6
20618 # Is the header present?
20619 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20620 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20621 cat >conftest.
$ac_ext <<_ACEOF
20624 cat confdefs.h
>>conftest.
$ac_ext
20625 cat >>conftest.
$ac_ext <<_ACEOF
20626 /* end confdefs.h. */
20627 #include <tiffio.h>
20629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20632 grep -v '^ *+' conftest.er1
>conftest.err
20634 cat conftest.err
>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } >/dev
/null
; then
20637 if test -s conftest.err
; then
20638 ac_cpp_err
=$ac_c_preproc_warn_flag
20639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20646 if test -z "$ac_cpp_err"; then
20647 ac_header_preproc
=yes
20649 echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.
$ac_ext >&5
20652 ac_header_preproc
=no
20654 rm -f conftest.err conftest.
$ac_ext
20655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20656 echo "${ECHO_T}$ac_header_preproc" >&6
20658 # So? What about this header?
20659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20661 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20662 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20663 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20664 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20665 ac_header_preproc
=yes
20668 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20669 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20670 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20671 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20672 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20673 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20674 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20675 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20676 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20677 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20678 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20679 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20682 ## ----------------------------------------- ##
20683 ## Report this to wx-dev@lists.wxwindows.org ##
20684 ## ----------------------------------------- ##
20687 sed "s/^/$as_me: WARNING: /" >&2
20690 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20691 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20692 if test "${ac_cv_header_tiffio_h+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 ac_cv_header_tiffio_h
=$ac_header_preproc
20697 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20698 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20701 if test $ac_cv_header_tiffio_h = yes; then
20703 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20704 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20705 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 ac_check_lib_save_LIBS
=$LIBS
20709 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20710 cat >conftest.
$ac_ext <<_ACEOF
20713 cat confdefs.h
>>conftest.
$ac_ext
20714 cat >>conftest.
$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20717 /* Override any gcc2 internal prototype to avoid an error. */
20721 /* We use char because int might match the return type of a gcc2
20722 builtin and then its argument prototype would still apply. */
20732 rm -f conftest.
$ac_objext conftest
$ac_exeext
20733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20734 (eval $ac_link) 2>conftest.er1
20736 grep -v '^ *+' conftest.er1
>conftest.err
20738 cat conftest.err
>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } &&
20741 { ac_try
='test -z "$ac_c_werror_flag"
20742 || test ! -s conftest.err'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; } &&
20748 { ac_try
='test -s conftest$ac_exeext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_lib_tiff_TIFFError
=yes
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.
$ac_ext >&5
20759 ac_cv_lib_tiff_TIFFError
=no
20761 rm -f conftest.err conftest.
$ac_objext \
20762 conftest
$ac_exeext conftest.
$ac_ext
20763 LIBS
=$ac_check_lib_save_LIBS
20765 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20766 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20767 if test $ac_cv_lib_tiff_TIFFError = yes; then
20768 TIFF_LINK
=" -ltiff"
20777 if test "x$TIFF_LINK" = "x" ; then
20778 if test "$wxUSE_LIBTIFF" = "sys" ; then
20779 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20780 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20781 { (exit 1); exit 1; }; }
20783 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20784 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20785 wxUSE_LIBTIFF
=builtin
20794 if test "$wxUSE_EXPAT" != "no"; then
20796 cat >>confdefs.h
<<\_ACEOF
20797 #define wxUSE_EXPAT 1
20800 cat >>confdefs.h
<<\_ACEOF
20801 #define wxUSE_XML 1
20805 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20806 if test "${ac_cv_header_expat_h+set}" = set; then
20807 echo "$as_me:$LINENO: checking for expat.h" >&5
20808 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20809 if test "${ac_cv_header_expat_h+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20813 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20815 # Is the header compilable?
20816 echo "$as_me:$LINENO: checking expat.h usability" >&5
20817 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20818 cat >conftest.
$ac_ext <<_ACEOF
20821 cat confdefs.h
>>conftest.
$ac_ext
20822 cat >>conftest.
$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20824 $ac_includes_default
20827 rm -f conftest.
$ac_objext
20828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20829 (eval $ac_compile) 2>conftest.er1
20831 grep -v '^ *+' conftest.er1
>conftest.err
20833 cat conftest.err
>&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); } &&
20836 { ac_try
='test -z "$ac_c_werror_flag"
20837 || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try
='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_header_compiler
=yes
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.
$ac_ext >&5
20854 ac_header_compiler
=no
20856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20858 echo "${ECHO_T}$ac_header_compiler" >&6
20860 # Is the header present?
20861 echo "$as_me:$LINENO: checking expat.h presence" >&5
20862 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20863 cat >conftest.
$ac_ext <<_ACEOF
20866 cat confdefs.h
>>conftest.
$ac_ext
20867 cat >>conftest.
$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20874 grep -v '^ *+' conftest.er1
>conftest.err
20876 cat conftest.err
>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } >/dev
/null
; then
20879 if test -s conftest.err
; then
20880 ac_cpp_err
=$ac_c_preproc_warn_flag
20881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20888 if test -z "$ac_cpp_err"; then
20889 ac_header_preproc
=yes
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.
$ac_ext >&5
20894 ac_header_preproc
=no
20896 rm -f conftest.err conftest.
$ac_ext
20897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20898 echo "${ECHO_T}$ac_header_preproc" >&6
20900 # So? What about this header?
20901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20903 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20904 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20905 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20906 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20907 ac_header_preproc
=yes
20910 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20911 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20912 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20913 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20914 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20915 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20916 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20917 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20918 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20919 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20920 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20921 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20924 ## ----------------------------------------- ##
20925 ## Report this to wx-dev@lists.wxwindows.org ##
20926 ## ----------------------------------------- ##
20929 sed "s/^/$as_me: WARNING: /" >&2
20932 echo "$as_me:$LINENO: checking for expat.h" >&5
20933 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20934 if test "${ac_cv_header_expat_h+set}" = set; then
20935 echo $ECHO_N "(cached) $ECHO_C" >&6
20937 ac_cv_header_expat_h
=$ac_header_preproc
20939 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20940 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20943 if test $ac_cv_header_expat_h = yes; then
20948 if test "x$found_expat_h" = "x1"; then
20949 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20950 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20952 echo $ECHO_N "(cached) $ECHO_C" >&6
20958 ac_cpp
='$CXXCPP $CPPFLAGS'
20959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20963 cat >conftest.
$ac_ext <<_ACEOF
20966 cat confdefs.h
>>conftest.
$ac_ext
20967 cat >>conftest.
$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20978 rm -f conftest.
$ac_objext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20980 (eval $ac_compile) 2>conftest.er1
20982 grep -v '^ *+' conftest.er1
>conftest.err
20984 cat conftest.err
>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } &&
20987 { ac_try
='test -z "$ac_cxx_werror_flag"
20988 || test ! -s conftest.err'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; } &&
20994 { ac_try
='test -s conftest.$ac_objext'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21000 wx_cv_expat_is_not_broken
=yes
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.
$ac_ext >&5
21005 wx_cv_expat_is_not_broken
=no
21008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21010 ac_cpp
='$CPP $CPPFLAGS'
21011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21018 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21019 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21020 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21021 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21022 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21023 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21024 echo $ECHO_N "(cached) $ECHO_C" >&6
21026 ac_check_lib_save_LIBS
=$LIBS
21027 LIBS
="-lexpat $LIBS"
21028 cat >conftest.
$ac_ext <<_ACEOF
21031 cat confdefs.h
>>conftest.
$ac_ext
21032 cat >>conftest.
$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21035 /* Override any gcc2 internal prototype to avoid an error. */
21039 /* We use char because int might match the return type of a gcc2
21040 builtin and then its argument prototype would still apply. */
21041 char XML_ParserCreate ();
21045 XML_ParserCreate ();
21050 rm -f conftest.
$ac_objext conftest
$ac_exeext
21051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21052 (eval $ac_link) 2>conftest.er1
21054 grep -v '^ *+' conftest.er1
>conftest.err
21056 cat conftest.err
>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } &&
21059 { ac_try
='test -z "$ac_c_werror_flag"
21060 || test ! -s conftest.err'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; } &&
21066 { ac_try
='test -s conftest$ac_exeext'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; }; then
21072 ac_cv_lib_expat_XML_ParserCreate
=yes
21074 echo "$as_me: failed program was:" >&5
21075 sed 's/^/| /' conftest.
$ac_ext >&5
21077 ac_cv_lib_expat_XML_ParserCreate
=no
21079 rm -f conftest.err conftest.
$ac_objext \
21080 conftest
$ac_exeext conftest.
$ac_ext
21081 LIBS
=$ac_check_lib_save_LIBS
21083 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21084 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21085 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21086 EXPAT_LINK
=" -lexpat"
21091 if test "x$EXPAT_LINK" = "x" ; then
21092 if test "$wxUSE_EXPAT" = "sys" ; then
21093 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21094 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21095 { (exit 1); exit 1; }; }
21097 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21098 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21099 wxUSE_EXPAT
=builtin
21105 if test "$wxUSE_EXPAT" = "builtin" ; then
21108 subdirs
="$subdirs src/expat"
21115 if test "$wxUSE_LIBMSPACK" != "no"; then
21117 if test "${ac_cv_header_mspack_h+set}" = set; then
21118 echo "$as_me:$LINENO: checking for mspack.h" >&5
21119 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21120 if test "${ac_cv_header_mspack_h+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21124 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21126 # Is the header compilable?
21127 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21128 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21129 cat >conftest.
$ac_ext <<_ACEOF
21132 cat confdefs.h
>>conftest.
$ac_ext
21133 cat >>conftest.
$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 #include <mspack.h>
21138 rm -f conftest.
$ac_objext
21139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21140 (eval $ac_compile) 2>conftest.er1
21142 grep -v '^ *+' conftest.er1
>conftest.err
21144 cat conftest.err
>&5
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); } &&
21147 { ac_try
='test -z "$ac_c_werror_flag"
21148 || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try
='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 ac_header_compiler
=yes
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.
$ac_ext >&5
21165 ac_header_compiler
=no
21167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21169 echo "${ECHO_T}$ac_header_compiler" >&6
21171 # Is the header present?
21172 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21173 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21174 cat >conftest.
$ac_ext <<_ACEOF
21177 cat confdefs.h
>>conftest.
$ac_ext
21178 cat >>conftest.
$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21180 #include <mspack.h>
21182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } >/dev
/null
; then
21190 if test -s conftest.err
; then
21191 ac_cpp_err
=$ac_c_preproc_warn_flag
21192 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21199 if test -z "$ac_cpp_err"; then
21200 ac_header_preproc
=yes
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.
$ac_ext >&5
21205 ac_header_preproc
=no
21207 rm -f conftest.err conftest.
$ac_ext
21208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21209 echo "${ECHO_T}$ac_header_preproc" >&6
21211 # So? What about this header?
21212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21214 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21215 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21216 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21217 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21218 ac_header_preproc
=yes
21221 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21222 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21223 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21224 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21225 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21226 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21227 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21228 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21229 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21230 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21231 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21232 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21235 ## ----------------------------------------- ##
21236 ## Report this to wx-dev@lists.wxwindows.org ##
21237 ## ----------------------------------------- ##
21240 sed "s/^/$as_me: WARNING: /" >&2
21243 echo "$as_me:$LINENO: checking for mspack.h" >&5
21244 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21245 if test "${ac_cv_header_mspack_h+set}" = set; then
21246 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 ac_cv_header_mspack_h
=$ac_header_preproc
21250 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21251 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21254 if test $ac_cv_header_mspack_h = yes; then
21259 if test "x$found_mspack_h" = "x1"; then
21260 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21261 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21262 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21263 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 ac_check_lib_save_LIBS
=$LIBS
21266 LIBS
="-lmspack $LIBS"
21267 cat >conftest.
$ac_ext <<_ACEOF
21270 cat confdefs.h
>>conftest.
$ac_ext
21271 cat >>conftest.
$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21274 /* Override any gcc2 internal prototype to avoid an error. */
21278 /* We use char because int might match the return type of a gcc2
21279 builtin and then its argument prototype would still apply. */
21280 char mspack_create_chm_decompressor ();
21284 mspack_create_chm_decompressor ();
21289 rm -f conftest.
$ac_objext conftest
$ac_exeext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>conftest.er1
21293 grep -v '^ *+' conftest.er1
>conftest.err
21295 cat conftest.err
>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } &&
21298 { ac_try
='test -z "$ac_c_werror_flag"
21299 || test ! -s conftest.err'
21300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21301 (eval $ac_try) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; } &&
21305 { ac_try
='test -s conftest$ac_exeext'
21306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307 (eval $ac_try) 2>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.
$ac_ext >&5
21316 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
21318 rm -f conftest.err conftest.
$ac_objext \
21319 conftest
$ac_exeext conftest.
$ac_ext
21320 LIBS
=$ac_check_lib_save_LIBS
21322 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21323 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21324 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21325 MSPACK_LINK
=" -lmspack"
21329 if test "x$MSPACK_LINK" = "x" ; then
21332 cat >>confdefs.h
<<\_ACEOF
21333 #define wxUSE_LIBMSPACK 1
21348 if test "$USE_WIN32" = 1 ; then
21350 for ac_header
in w32api.h
21352 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21354 echo "$as_me:$LINENO: checking for $ac_header" >&5
21355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21362 # Is the header compilable?
21363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21365 cat >conftest.
$ac_ext <<_ACEOF
21368 cat confdefs.h
>>conftest.
$ac_ext
21369 cat >>conftest.
$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 $ac_includes_default
21372 #include <$ac_header>
21374 rm -f conftest.
$ac_objext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21376 (eval $ac_compile) 2>conftest.er1
21378 grep -v '^ *+' conftest.er1
>conftest.err
21380 cat conftest.err
>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try
='test -z "$ac_c_werror_flag"
21384 || test ! -s conftest.err'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; } &&
21390 { ac_try
='test -s conftest.$ac_objext'
21391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21392 (eval $ac_try) 2>&5
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); }; }; then
21396 ac_header_compiler
=yes
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.
$ac_ext >&5
21401 ac_header_compiler
=no
21403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21405 echo "${ECHO_T}$ac_header_compiler" >&6
21407 # Is the header present?
21408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21410 cat >conftest.
$ac_ext <<_ACEOF
21413 cat confdefs.h
>>conftest.
$ac_ext
21414 cat >>conftest.
$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 #include <$ac_header>
21418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21421 grep -v '^ *+' conftest.er1
>conftest.err
21423 cat conftest.err
>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } >/dev
/null
; then
21426 if test -s conftest.err
; then
21427 ac_cpp_err
=$ac_c_preproc_warn_flag
21428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21435 if test -z "$ac_cpp_err"; then
21436 ac_header_preproc
=yes
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 ac_header_preproc
=no
21443 rm -f conftest.err conftest.
$ac_ext
21444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21445 echo "${ECHO_T}$ac_header_preproc" >&6
21447 # So? What about this header?
21448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21454 ac_header_preproc
=yes
21457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21471 ## ----------------------------------------- ##
21472 ## Report this to wx-dev@lists.wxwindows.org ##
21473 ## ----------------------------------------- ##
21476 sed "s/^/$as_me: WARNING: /" >&2
21479 echo "$as_me:$LINENO: checking for $ac_header" >&5
21480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21482 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 eval "$as_ac_Header=\$ac_header_preproc"
21486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21491 cat >>confdefs.h
<<_ACEOF
21492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21499 if test "${ac_cv_header_windows_h+set}" = set; then
21500 echo "$as_me:$LINENO: checking for windows.h" >&5
21501 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21502 if test "${ac_cv_header_windows_h+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21506 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21508 # Is the header compilable?
21509 echo "$as_me:$LINENO: checking windows.h usability" >&5
21510 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21511 cat >conftest.
$ac_ext <<_ACEOF
21514 cat confdefs.h
>>conftest.
$ac_ext
21515 cat >>conftest.
$ac_ext <<_ACEOF
21516 /* end confdefs.h. */
21517 $ac_includes_default
21518 #include <windows.h>
21520 rm -f conftest.
$ac_objext
21521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21522 (eval $ac_compile) 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); } &&
21529 { ac_try
='test -z "$ac_c_werror_flag"
21530 || test ! -s conftest.err'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try
='test -s conftest.$ac_objext'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; }; then
21542 ac_header_compiler
=yes
21544 echo "$as_me: failed program was:" >&5
21545 sed 's/^/| /' conftest.
$ac_ext >&5
21547 ac_header_compiler
=no
21549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21551 echo "${ECHO_T}$ac_header_compiler" >&6
21553 # Is the header present?
21554 echo "$as_me:$LINENO: checking windows.h presence" >&5
21555 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21556 cat >conftest.
$ac_ext <<_ACEOF
21559 cat confdefs.h
>>conftest.
$ac_ext
21560 cat >>conftest.
$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 #include <windows.h>
21564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21565 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21567 grep -v '^ *+' conftest.er1
>conftest.err
21569 cat conftest.err
>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } >/dev
/null
; then
21572 if test -s conftest.err
; then
21573 ac_cpp_err
=$ac_c_preproc_warn_flag
21574 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21581 if test -z "$ac_cpp_err"; then
21582 ac_header_preproc
=yes
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.
$ac_ext >&5
21587 ac_header_preproc
=no
21589 rm -f conftest.err conftest.
$ac_ext
21590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21591 echo "${ECHO_T}$ac_header_preproc" >&6
21593 # So? What about this header?
21594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21596 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21597 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21598 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21599 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21600 ac_header_preproc
=yes
21603 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21604 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21605 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21606 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21607 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21608 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21609 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21610 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21611 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21612 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21613 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21614 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21617 ## ----------------------------------------- ##
21618 ## Report this to wx-dev@lists.wxwindows.org ##
21619 ## ----------------------------------------- ##
21622 sed "s/^/$as_me: WARNING: /" >&2
21625 echo "$as_me:$LINENO: checking for windows.h" >&5
21626 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21627 if test "${ac_cv_header_windows_h+set}" = set; then
21628 echo $ECHO_N "(cached) $ECHO_C" >&6
21630 ac_cv_header_windows_h
=$ac_header_preproc
21632 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21633 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21636 if test $ac_cv_header_windows_h = yes; then
21640 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21641 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21642 { (exit 1); exit 1; }; }
21648 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21650 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21651 LIBS
="$LIBS -loleacc"
21656 LIBS
="$LIBS -lkernel32 -luser32"
21657 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
21660 if test "$wxUSE_ODBC" = "sys" ; then
21663 if test "$wxUSE_ODBC" = "yes" ; then
21664 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
21665 cat >>confdefs.h
<<\_ACEOF
21666 #define wxUSE_ODBC 1
21671 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21672 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
21674 WIN32INSTALL
=win32install
21677 if test "$wxUSE_GUI" = "yes"; then
21686 if test "$wxUSE_MSW" = 1 ; then
21692 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21696 if test "$wxUSE_GTK" = 1; then
21697 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21698 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21700 gtk_version_cached
=1
21701 if test "${wx_cv_lib_gtk+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21705 gtk_version_cached
=0
21706 echo "$as_me:$LINENO: result: " >&5
21707 echo "${ECHO_T}" >&6
21710 if test "$wxUSE_THREADS" = "yes"; then
21711 GTK_MODULES
=gthread
21715 if test "x$wxUSE_GTK2" = "xyes"; then
21716 # Check whether --enable-gtktest or --disable-gtktest was given.
21717 if test "${enable_gtktest+set}" = set; then
21718 enableval
="$enable_gtktest"
21724 pkg_config_args
=gtk
+-2.0
21725 for module
in .
$GTK_MODULES
21729 pkg_config_args
="$pkg_config_args gthread-2.0"
21736 # Extract the first word of "pkg-config", so it can be a program name with args.
21737 set dummy pkg
-config; ac_word
=$2
21738 echo "$as_me:$LINENO: checking for $ac_word" >&5
21739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21740 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 case $PKG_CONFIG in
21745 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21749 for as_dir
in $PATH
21752 test -z "$as_dir" && as_dir
=.
21753 for ac_exec_ext
in '' $ac_executable_extensions; do
21754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21755 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21762 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21766 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21768 if test -n "$PKG_CONFIG"; then
21769 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21770 echo "${ECHO_T}$PKG_CONFIG" >&6
21772 echo "$as_me:$LINENO: result: no" >&5
21773 echo "${ECHO_T}no" >&6
21777 if test x
$PKG_CONFIG != xno
; then
21778 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
21781 echo *** pkg
-config too old
; version
0.7 or better required.
21789 min_gtk_version
=2.0.0
21790 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21791 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21793 if test x
$PKG_CONFIG != xno
; then
21794 ## don't try to run the test against uninstalled libtool libs
21795 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21796 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21800 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21807 if test x
"$no_gtk" = x
; then
21808 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
21809 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
21810 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21811 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21812 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21813 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21814 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
21815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21816 if test "x$enable_gtktest" = "xyes" ; then
21817 ac_save_CFLAGS
="$CFLAGS"
21818 ac_save_LIBS
="$LIBS"
21819 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21820 LIBS
="$GTK_LIBS $LIBS"
21822 if test "$cross_compiling" = yes; then
21823 echo $ac_n "cross compiling; assumed OK... $ac_c"
21825 cat >conftest.
$ac_ext <<_ACEOF
21828 cat confdefs.h
>>conftest.
$ac_ext
21829 cat >>conftest.
$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21832 #include <gtk/gtk.h>
21834 #include <stdlib.h>
21839 int major, minor, micro;
21842 system ("touch conf.gtktest");
21844 /* HP/UX 9 (%@#!) writes to sscanf strings */
21845 tmp_version = g_strdup("$min_gtk_version");
21846 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21847 printf("%s, bad version string\n", "$min_gtk_version");
21851 if ((gtk_major_version != $gtk_config_major_version) ||
21852 (gtk_minor_version != $gtk_config_minor_version) ||
21853 (gtk_micro_version != $gtk_config_micro_version))
21855 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21856 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21857 gtk_major_version, gtk_minor_version, gtk_micro_version);
21858 printf ("*** was found! If pkg-config was correct, then it is best\n");
21859 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21860 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21861 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21862 printf("*** required on your system.\n");
21863 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21864 printf("*** to point to the correct configuration files\n");
21866 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21867 (gtk_minor_version != GTK_MINOR_VERSION) ||
21868 (gtk_micro_version != GTK_MICRO_VERSION))
21870 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21871 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21872 printf("*** library (version %d.%d.%d)\n",
21873 gtk_major_version, gtk_minor_version, gtk_micro_version);
21877 if ((gtk_major_version > major) ||
21878 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21879 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21885 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21886 gtk_major_version, gtk_minor_version, gtk_micro_version);
21887 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21888 major, minor, micro);
21889 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21891 printf("*** If you have already installed a sufficiently new version, this error\n");
21892 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21893 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21894 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21895 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21896 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21897 printf("*** so that the correct libraries are found at run-time))\n");
21904 rm -f conftest
$ac_exeext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21906 (eval $ac_link) 2>&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21917 echo "$as_me: program exited with status $ac_status" >&5
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.
$ac_ext >&5
21921 ( exit $ac_status )
21924 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21926 CFLAGS
="$ac_save_CFLAGS"
21927 LIBS
="$ac_save_LIBS"
21930 if test "x$no_gtk" = x
; then
21931 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21932 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21935 echo "$as_me:$LINENO: result: no" >&5
21936 echo "${ECHO_T}no" >&6
21937 if test "$PKG_CONFIG" = "no" ; then
21938 echo "*** A new enough version of pkg-config was not found."
21939 echo "*** See http://pkgconfig.sourceforge.net"
21941 if test -f conf.gtktest
; then
21944 echo "*** Could not run GTK+ test program, checking why..."
21945 ac_save_CFLAGS
="$CFLAGS"
21946 ac_save_LIBS
="$LIBS"
21947 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21948 LIBS
="$LIBS $GTK_LIBS"
21949 cat >conftest.
$ac_ext <<_ACEOF
21952 cat confdefs.h
>>conftest.
$ac_ext
21953 cat >>conftest.
$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21956 #include <gtk/gtk.h>
21962 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21967 rm -f conftest.
$ac_objext conftest
$ac_exeext
21968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21969 (eval $ac_link) 2>conftest.er1
21971 grep -v '^ *+' conftest.er1
>conftest.err
21973 cat conftest.err
>&5
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); } &&
21976 { ac_try
='test -z "$ac_c_werror_flag"
21977 || test ! -s conftest.err'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; } &&
21983 { ac_try
='test -s conftest$ac_exeext'
21984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21985 (eval $ac_try) 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; }; then
21989 echo "*** The test program compiled, but did not run. This usually means"
21990 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21991 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21992 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21993 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21994 echo "*** is required on your system"
21996 echo "*** If you have an old version installed, it is best to remove it, although"
21997 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21999 echo "$as_me: failed program was:" >&5
22000 sed 's/^/| /' conftest.
$ac_ext >&5
22002 echo "*** The test program failed to compile or link. See the file config.log for the"
22003 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22005 rm -f conftest.err conftest.
$ac_objext \
22006 conftest
$ac_exeext conftest.
$ac_ext
22007 CFLAGS
="$ac_save_CFLAGS"
22008 LIBS
="$ac_save_LIBS"
22021 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22022 if test "${with_gtk_prefix+set}" = set; then
22023 withval
="$with_gtk_prefix"
22024 gtk_config_prefix
="$withval"
22026 gtk_config_prefix
=""
22029 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22030 if test "${with_gtk_exec_prefix+set}" = set; then
22031 withval
="$with_gtk_exec_prefix"
22032 gtk_config_exec_prefix
="$withval"
22034 gtk_config_exec_prefix
=""
22036 # Check whether --enable-gtktest or --disable-gtktest was given.
22037 if test "${enable_gtktest+set}" = set; then
22038 enableval
="$enable_gtktest"
22044 for module
in .
$GTK_MODULES
22048 gtk_config_args
="$gtk_config_args gthread"
22053 if test x
$gtk_config_exec_prefix != x
; then
22054 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22055 if test x
${GTK_CONFIG+set} != xset
; then
22056 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22059 if test x
$gtk_config_prefix != x
; then
22060 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22061 if test x
${GTK_CONFIG+set} != xset
; then
22062 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22066 # Extract the first word of "gtk-config", so it can be a program name with args.
22067 set dummy gtk
-config; ac_word
=$2
22068 echo "$as_me:$LINENO: checking for $ac_word" >&5
22069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22070 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22071 echo $ECHO_N "(cached) $ECHO_C" >&6
22073 case $GTK_CONFIG in
22075 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22079 for as_dir
in $PATH
22082 test -z "$as_dir" && as_dir
=.
22083 for ac_exec_ext
in '' $ac_executable_extensions; do
22084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22085 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22092 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22096 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22098 if test -n "$GTK_CONFIG"; then
22099 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22100 echo "${ECHO_T}$GTK_CONFIG" >&6
22102 echo "$as_me:$LINENO: result: no" >&5
22103 echo "${ECHO_T}no" >&6
22106 min_gtk_version
=1.2.7
22107 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22108 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22110 if test "$GTK_CONFIG" = "no" ; then
22113 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22114 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22115 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22117 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22119 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22121 if test "x$enable_gtktest" = "xyes" ; then
22122 ac_save_CFLAGS
="$CFLAGS"
22123 ac_save_LIBS
="$LIBS"
22124 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22125 LIBS
="$GTK_LIBS $LIBS"
22127 if test "$cross_compiling" = yes; then
22128 echo $ac_n "cross compiling; assumed OK... $ac_c"
22130 cat >conftest.
$ac_ext <<_ACEOF
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22137 #include <gtk/gtk.h>
22139 #include <stdlib.h>
22144 int major, minor, micro;
22147 system ("touch conf.gtktest");
22149 /* HP/UX 9 (%@#!) writes to sscanf strings */
22150 tmp_version = g_strdup("$min_gtk_version");
22151 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22152 printf("%s, bad version string\n", "$min_gtk_version");
22156 if ((gtk_major_version != $gtk_config_major_version) ||
22157 (gtk_minor_version != $gtk_config_minor_version) ||
22158 (gtk_micro_version != $gtk_config_micro_version))
22160 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22161 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22162 gtk_major_version, gtk_minor_version, gtk_micro_version);
22163 printf ("*** was found! If gtk-config was correct, then it is best\n");
22164 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22165 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22166 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22167 printf("*** required on your system.\n");
22168 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22169 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22170 printf("*** before re-running configure\n");
22172 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22173 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22174 (gtk_minor_version != GTK_MINOR_VERSION) ||
22175 (gtk_micro_version != GTK_MICRO_VERSION))
22177 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22178 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22179 printf("*** library (version %d.%d.%d)\n",
22180 gtk_major_version, gtk_minor_version, gtk_micro_version);
22182 #endif /* defined (GTK_MAJOR_VERSION) ... */
22185 if ((gtk_major_version > major) ||
22186 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22187 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22193 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22194 gtk_major_version, gtk_minor_version, gtk_micro_version);
22195 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22196 major, minor, micro);
22197 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22199 printf("*** If you have already installed a sufficiently new version, this error\n");
22200 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22201 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22202 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22203 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22204 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22205 printf("*** so that the correct libraries are found at run-time))\n");
22212 rm -f conftest
$ac_exeext
22213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22214 (eval $ac_link) 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219 (eval $ac_try) 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; }; then
22225 echo "$as_me: program exited with status $ac_status" >&5
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.
$ac_ext >&5
22229 ( exit $ac_status )
22232 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22234 CFLAGS
="$ac_save_CFLAGS"
22235 LIBS
="$ac_save_LIBS"
22238 if test "x$no_gtk" = x
; then
22239 echo "$as_me:$LINENO: result: yes" >&5
22240 echo "${ECHO_T}yes" >&6
22241 wx_cv_lib_gtk
=1.2.7
22243 echo "$as_me:$LINENO: result: no" >&5
22244 echo "${ECHO_T}no" >&6
22245 if test "$GTK_CONFIG" = "no" ; then
22246 echo "*** The gtk-config script installed by GTK could not be found"
22247 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22248 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22249 echo "*** full path to gtk-config."
22251 if test -f conf.gtktest
; then
22254 echo "*** Could not run GTK test program, checking why..."
22255 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22256 LIBS
="$LIBS $GTK_LIBS"
22257 cat >conftest.
$ac_ext <<_ACEOF
22260 cat confdefs.h
>>conftest.
$ac_ext
22261 cat >>conftest.
$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22264 #include <gtk/gtk.h>
22270 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22275 rm -f conftest.
$ac_objext conftest
$ac_exeext
22276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22277 (eval $ac_link) 2>conftest.er1
22279 grep -v '^ *+' conftest.er1
>conftest.err
22281 cat conftest.err
>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } &&
22284 { ac_try
='test -z "$ac_c_werror_flag"
22285 || test ! -s conftest.err'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; } &&
22291 { ac_try
='test -s conftest$ac_exeext'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22297 echo "*** The test program compiled, but did not run. This usually means"
22298 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22299 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22300 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22301 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22302 echo "*** is required on your system"
22304 echo "*** If you have an old version installed, it is best to remove it, although"
22305 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22307 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22308 echo "*** came with the system with the command"
22310 echo "*** rpm --erase --nodeps gtk gtk-devel"
22312 echo "$as_me: failed program was:" >&5
22313 sed 's/^/| /' conftest.
$ac_ext >&5
22315 echo "*** The test program failed to compile or link. See the file config.log for the"
22316 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22317 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22318 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22320 rm -f conftest.err conftest.
$ac_objext \
22321 conftest
$ac_exeext conftest.
$ac_ext
22322 CFLAGS
="$ac_save_CFLAGS"
22323 LIBS
="$ac_save_LIBS"
22335 if test -z "$wx_cv_lib_gtk"; then
22337 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22338 if test "${with_gtk_prefix+set}" = set; then
22339 withval
="$with_gtk_prefix"
22340 gtk_config_prefix
="$withval"
22342 gtk_config_prefix
=""
22345 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22346 if test "${with_gtk_exec_prefix+set}" = set; then
22347 withval
="$with_gtk_exec_prefix"
22348 gtk_config_exec_prefix
="$withval"
22350 gtk_config_exec_prefix
=""
22352 # Check whether --enable-gtktest or --disable-gtktest was given.
22353 if test "${enable_gtktest+set}" = set; then
22354 enableval
="$enable_gtktest"
22360 for module
in .
$GTK_MODULES
22364 gtk_config_args
="$gtk_config_args gthread"
22369 if test x
$gtk_config_exec_prefix != x
; then
22370 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22371 if test x
${GTK_CONFIG+set} != xset
; then
22372 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22375 if test x
$gtk_config_prefix != x
; then
22376 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22377 if test x
${GTK_CONFIG+set} != xset
; then
22378 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22382 # Extract the first word of "gtk-config", so it can be a program name with args.
22383 set dummy gtk
-config; ac_word
=$2
22384 echo "$as_me:$LINENO: checking for $ac_word" >&5
22385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22386 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 case $GTK_CONFIG in
22391 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22395 for as_dir
in $PATH
22398 test -z "$as_dir" && as_dir
=.
22399 for ac_exec_ext
in '' $ac_executable_extensions; do
22400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22401 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22408 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22412 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22414 if test -n "$GTK_CONFIG"; then
22415 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22416 echo "${ECHO_T}$GTK_CONFIG" >&6
22418 echo "$as_me:$LINENO: result: no" >&5
22419 echo "${ECHO_T}no" >&6
22422 min_gtk_version
=1.2.3
22423 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22424 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22426 if test "$GTK_CONFIG" = "no" ; then
22429 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22430 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22431 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22433 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22435 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22437 if test "x$enable_gtktest" = "xyes" ; then
22438 ac_save_CFLAGS
="$CFLAGS"
22439 ac_save_LIBS
="$LIBS"
22440 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22441 LIBS
="$GTK_LIBS $LIBS"
22443 if test "$cross_compiling" = yes; then
22444 echo $ac_n "cross compiling; assumed OK... $ac_c"
22446 cat >conftest.
$ac_ext <<_ACEOF
22449 cat confdefs.h
>>conftest.
$ac_ext
22450 cat >>conftest.
$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22453 #include <gtk/gtk.h>
22455 #include <stdlib.h>
22460 int major, minor, micro;
22463 system ("touch conf.gtktest");
22465 /* HP/UX 9 (%@#!) writes to sscanf strings */
22466 tmp_version = g_strdup("$min_gtk_version");
22467 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22468 printf("%s, bad version string\n", "$min_gtk_version");
22472 if ((gtk_major_version != $gtk_config_major_version) ||
22473 (gtk_minor_version != $gtk_config_minor_version) ||
22474 (gtk_micro_version != $gtk_config_micro_version))
22476 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22477 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22478 gtk_major_version, gtk_minor_version, gtk_micro_version);
22479 printf ("*** was found! If gtk-config was correct, then it is best\n");
22480 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22481 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22482 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22483 printf("*** required on your system.\n");
22484 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22485 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22486 printf("*** before re-running configure\n");
22488 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22489 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22490 (gtk_minor_version != GTK_MINOR_VERSION) ||
22491 (gtk_micro_version != GTK_MICRO_VERSION))
22493 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22494 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22495 printf("*** library (version %d.%d.%d)\n",
22496 gtk_major_version, gtk_minor_version, gtk_micro_version);
22498 #endif /* defined (GTK_MAJOR_VERSION) ... */
22501 if ((gtk_major_version > major) ||
22502 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22503 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22509 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22510 gtk_major_version, gtk_minor_version, gtk_micro_version);
22511 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22512 major, minor, micro);
22513 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22515 printf("*** If you have already installed a sufficiently new version, this error\n");
22516 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22517 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22518 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22519 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22520 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22521 printf("*** so that the correct libraries are found at run-time))\n");
22528 rm -f conftest
$ac_exeext
22529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22530 (eval $ac_link) 2>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22541 echo "$as_me: program exited with status $ac_status" >&5
22542 echo "$as_me: failed program was:" >&5
22543 sed 's/^/| /' conftest.
$ac_ext >&5
22545 ( exit $ac_status )
22548 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22550 CFLAGS
="$ac_save_CFLAGS"
22551 LIBS
="$ac_save_LIBS"
22554 if test "x$no_gtk" = x
; then
22555 echo "$as_me:$LINENO: result: yes" >&5
22556 echo "${ECHO_T}yes" >&6
22557 wx_cv_lib_gtk
=1.2.3
22559 echo "$as_me:$LINENO: result: no" >&5
22560 echo "${ECHO_T}no" >&6
22561 if test "$GTK_CONFIG" = "no" ; then
22562 echo "*** The gtk-config script installed by GTK could not be found"
22563 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22564 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22565 echo "*** full path to gtk-config."
22567 if test -f conf.gtktest
; then
22570 echo "*** Could not run GTK test program, checking why..."
22571 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22572 LIBS
="$LIBS $GTK_LIBS"
22573 cat >conftest.
$ac_ext <<_ACEOF
22576 cat confdefs.h
>>conftest.
$ac_ext
22577 cat >>conftest.
$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22580 #include <gtk/gtk.h>
22586 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22591 rm -f conftest.
$ac_objext conftest
$ac_exeext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22593 (eval $ac_link) 2>conftest.er1
22595 grep -v '^ *+' conftest.er1
>conftest.err
22597 cat conftest.err
>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } &&
22600 { ac_try
='test -z "$ac_c_werror_flag"
22601 || test ! -s conftest.err'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try
='test -s conftest$ac_exeext'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 echo "*** The test program compiled, but did not run. This usually means"
22614 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22615 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22616 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22617 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22618 echo "*** is required on your system"
22620 echo "*** If you have an old version installed, it is best to remove it, although"
22621 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22623 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22624 echo "*** came with the system with the command"
22626 echo "*** rpm --erase --nodeps gtk gtk-devel"
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.
$ac_ext >&5
22631 echo "*** The test program failed to compile or link. See the file config.log for the"
22632 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22633 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22634 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22636 rm -f conftest.err conftest.
$ac_objext \
22637 conftest
$ac_exeext conftest.
$ac_ext
22638 CFLAGS
="$ac_save_CFLAGS"
22639 LIBS
="$ac_save_LIBS"
22653 if test -z "$wx_cv_lib_gtk"; then
22656 wx_cv_cflags_gtk
=$GTK_CFLAGS
22657 wx_cv_libs_gtk
=$GTK_LIBS
22664 if test "$gtk_version_cached" = 1; then
22665 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22666 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22669 case "$wx_cv_lib_gtk" in
22678 *) { { echo "$as_me:$LINENO: error:
22679 Please check that gtk-config is in path, the directory
22680 where GTK+ libraries are installed (returned by
22681 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22682 equivalent variable and GTK+ is version 1.2.3 or above.
22684 echo "$as_me: error:
22685 Please check that gtk-config is in path, the directory
22686 where GTK+ libraries are installed (returned by
22687 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22688 equivalent variable and GTK+ is version 1.2.3 or above.
22690 { (exit 1); exit 1; }; }
22694 if test "$WXGTK20" = 1; then
22695 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22699 if test -z "$PKG_CONFIG"; then
22700 # Extract the first word of "pkg-config", so it can be a program name with args.
22701 set dummy pkg
-config; ac_word
=$2
22702 echo "$as_me:$LINENO: checking for $ac_word" >&5
22703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22705 echo $ECHO_N "(cached) $ECHO_C" >&6
22707 case $PKG_CONFIG in
22709 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22713 for as_dir
in $PATH
22716 test -z "$as_dir" && as_dir
=.
22717 for ac_exec_ext
in '' $ac_executable_extensions; do
22718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22719 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22726 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22730 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22732 if test -n "$PKG_CONFIG"; then
22733 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22734 echo "${ECHO_T}$PKG_CONFIG" >&6
22736 echo "$as_me:$LINENO: result: no" >&5
22737 echo "${ECHO_T}no" >&6
22742 if test "$PKG_CONFIG" = "no" ; then
22743 echo "*** The pkg-config script could not be found. Make sure it is"
22744 echo "*** in your path, or set the PKG_CONFIG environment variable"
22745 echo "*** to the full path to pkg-config."
22746 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22748 PKG_CONFIG_MIN_VERSION
=0.9.0
22749 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22750 echo "$as_me:$LINENO: checking for pangoft2" >&5
22751 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22753 if $PKG_CONFIG --exists "pangoft2" ; then
22754 echo "$as_me:$LINENO: result: yes" >&5
22755 echo "${ECHO_T}yes" >&6
22758 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22759 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22760 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22761 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22762 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22764 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22765 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22766 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22767 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22768 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22772 ## If we have a custom action on failure, don't print errors, but
22773 ## do set a variable so people can do so.
22774 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22781 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22782 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22786 if test $succeeded = yes; then
22788 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22789 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22793 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22794 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22795 wxUSE_PRINTING_ARCHITECTURE
="no"
22802 if test "$wxUSE_UNICODE" = "yes"; then
22803 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22804 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22809 if test "$USE_DARWIN" != 1; then
22811 for ac_func
in poll
22813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22814 echo "$as_me:$LINENO: checking for $ac_func" >&5
22815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22816 if eval "test \"\${$as_ac_var+set}\" = set"; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 cat >conftest.
$ac_ext <<_ACEOF
22822 cat confdefs.h
>>conftest.
$ac_ext
22823 cat >>conftest.
$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22827 #define $ac_func innocuous_$ac_func
22829 /* System header to define __stub macros and hopefully few prototypes,
22830 which can conflict with char $ac_func (); below.
22831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22832 <limits.h> exists even on freestanding compilers. */
22835 # include <limits.h>
22837 # include <assert.h>
22842 /* Override any gcc2 internal prototype to avoid an error. */
22847 /* We use char because int might match the return type of a gcc2
22848 builtin and then its argument prototype would still apply. */
22850 /* The GNU C library defines this for functions which it implements
22851 to always fail with ENOSYS. Some functions are actually named
22852 something starting with __ and the normal name is an alias. */
22853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22856 char (*f) () = $ac_func;
22865 return f != $ac_func;
22870 rm -f conftest.
$ac_objext conftest
$ac_exeext
22871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22872 (eval $ac_link) 2>conftest.er1
22874 grep -v '^ *+' conftest.er1
>conftest.err
22876 cat conftest.err
>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } &&
22879 { ac_try
='test -z "$ac_c_werror_flag"
22880 || test ! -s conftest.err'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; } &&
22886 { ac_try
='test -s conftest$ac_exeext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 eval "$as_ac_var=yes"
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.
$ac_ext >&5
22897 eval "$as_ac_var=no"
22899 rm -f conftest.err conftest.
$ac_objext \
22900 conftest
$ac_exeext conftest.
$ac_ext
22902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22904 if test `eval echo '${'$as_ac_var'}'` = yes; then
22905 cat >>confdefs.h
<<_ACEOF
22906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22914 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
22915 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22917 AFMINSTALL
=afminstall
22921 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22922 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22923 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22924 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 ac_check_lib_save_LIBS
=$LIBS
22928 cat >conftest.
$ac_ext <<_ACEOF
22931 cat confdefs.h
>>conftest.
$ac_ext
22932 cat >>conftest.
$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22935 /* Override any gcc2 internal prototype to avoid an error. */
22939 /* We use char because int might match the return type of a gcc2
22940 builtin and then its argument prototype would still apply. */
22941 char gdk_im_open ();
22950 rm -f conftest.
$ac_objext conftest
$ac_exeext
22951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22952 (eval $ac_link) 2>conftest.er1
22954 grep -v '^ *+' conftest.er1
>conftest.err
22956 cat conftest.err
>&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } &&
22959 { ac_try
='test -z "$ac_c_werror_flag"
22960 || test ! -s conftest.err'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; } &&
22966 { ac_try
='test -s conftest$ac_exeext'
22967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22968 (eval $ac_try) 2>&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); }; }; then
22972 ac_cv_lib_gdk_gdk_im_open
=yes
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.
$ac_ext >&5
22977 ac_cv_lib_gdk_gdk_im_open
=no
22979 rm -f conftest.err conftest.
$ac_objext \
22980 conftest
$ac_exeext conftest.
$ac_ext
22981 LIBS
=$ac_check_lib_save_LIBS
22983 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22984 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22985 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22986 cat >>confdefs.h
<<\_ACEOF
22994 if test "$wxUSE_MGL" = 1; then
22995 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22996 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22997 if test "x$MGL_ROOT" = x
; then
22998 echo "$as_me:$LINENO: result: not found" >&5
22999 echo "${ECHO_T}not found" >&6
23000 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23001 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23002 { (exit 1); exit 1; }; }
23004 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23005 echo "${ECHO_T}$MGL_ROOT" >&6
23008 echo "$as_me:$LINENO: checking for libmgl location" >&5
23009 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23012 if test "x$wxUSE_SHARED" = xyes
; then
23013 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23015 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23019 mgl_os_candidates
="dos32/dj2"
23022 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23023 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23024 { (exit 1); exit 1; }; }
23030 for mgl_os_i
in $mgl_os_candidates ; do
23031 if test "x$mgl_os" = x
; then
23032 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23033 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23034 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23039 if test "x$mgl_lib_type" = x
; then
23040 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23041 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23042 mgl_lib_type
=release
23049 if test "x$mgl_os" = x
; then
23050 echo "$as_me:$LINENO: result: not found" >&5
23051 echo "${ECHO_T}not found" >&6
23052 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23053 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23054 { (exit 1); exit 1; }; }
23056 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23057 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23059 wxUSE_UNIVERSAL
="yes"
23061 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23062 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23064 AFMINSTALL
=afminstall
23069 if test "$wxUSE_MICROWIN" = 1; then
23070 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23071 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23072 if test "x$MICROWINDOWS" = x
; then
23073 echo "$as_me:$LINENO: result: not found" >&5
23074 echo "${ECHO_T}not found" >&6
23075 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23076 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23077 { (exit 1); exit 1; }; }
23079 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23080 echo "${ECHO_T}$MICROWINDOWS" >&6
23083 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
23084 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23085 echo "${ECHO_T}MicroWindows' libraries found." >&6
23087 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23088 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23089 { (exit 1); exit 1; }; }
23092 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
23093 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23095 wxUSE_UNIVERSAL
="yes"
23097 AFMINSTALL
=afminstall
23099 GUIDIST
=MICROWIN_DIST
23101 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23104 if test "$wxUSE_X11" = 1; then
23105 echo "$as_me:$LINENO: checking for X" >&5
23106 echo $ECHO_N "checking for X... $ECHO_C" >&6
23109 # Check whether --with-x or --without-x was given.
23110 if test "${with_x+set}" = set; then
23114 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23115 if test "x$with_x" = xno
; then
23116 # The user explicitly disabled X.
23119 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
23120 # Both variables are already set.
23123 if test "${ac_cv_have_x+set}" = set; then
23124 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 # One or both of the vars are not set, and there is no cached value.
23127 ac_x_includes
=no ac_x_libraries
=no
23128 rm -fr conftest.dir
23129 if mkdir conftest.dir
; then
23131 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23132 cat >Imakefile
<<'_ACEOF'
23134 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23136 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
23137 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23138 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23139 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23140 for ac_extension
in a so sl
; do
23141 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
23142 test -f $ac_im_libdir/libX11.
$ac_extension; then
23143 ac_im_usrlibdir
=$ac_im_libdir; break
23146 # Screen out bogus values from the imake configuration. They are
23147 # bogus both because they are the default anyway, and because
23148 # using them would break gcc on systems where it needs fixed includes.
23149 case $ac_im_incroot in
23151 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
23153 case $ac_im_usrlibdir in
23154 /usr
/lib
| /lib
) ;;
23155 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
23159 rm -fr conftest.dir
23162 # Standard set of common directories for X headers.
23163 # Check X11 before X11Rn because it is often a symlink to the current release.
23175 /usr/local/X11/include
23176 /usr/local/X11R6/include
23177 /usr/local/X11R5/include
23178 /usr/local/X11R4/include
23180 /usr/local/include/X11
23181 /usr/local/include/X11R6
23182 /usr/local/include/X11R5
23183 /usr/local/include/X11R4
23187 /usr/XFree86/include/X11
23191 /usr/unsupported/include
23192 /usr/athena/include
23193 /usr/local/x11r5/include
23194 /usr/lpp/Xamples/include
23196 /usr/openwin/include
23197 /usr/openwin/share/include'
23199 if test "$ac_x_includes" = no
; then
23200 # Guess where to find include files, by looking for Intrinsic.h.
23201 # First, try using that file with no special directory specified.
23202 cat >conftest.
$ac_ext <<_ACEOF
23205 cat confdefs.h
>>conftest.
$ac_ext
23206 cat >>conftest.
$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 #include <X11/Intrinsic.h>
23210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23213 grep -v '^ *+' conftest.er1
>conftest.err
23215 cat conftest.err
>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } >/dev
/null
; then
23218 if test -s conftest.err
; then
23219 ac_cpp_err
=$ac_c_preproc_warn_flag
23220 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23227 if test -z "$ac_cpp_err"; then
23228 # We can compile using X headers with no special include directory.
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.
$ac_ext >&5
23234 for ac_dir
in $ac_x_header_dirs; do
23235 if test -r "$ac_dir/X11/Intrinsic.h"; then
23236 ac_x_includes
=$ac_dir
23241 rm -f conftest.err conftest.
$ac_ext
23242 fi # $ac_x_includes = no
23244 if test "$ac_x_libraries" = no
; then
23245 # Check for the libraries.
23246 # See if we find them without any special options.
23247 # Don't add to $LIBS permanently.
23250 cat >conftest.
$ac_ext <<_ACEOF
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <X11/Intrinsic.h>
23265 rm -f conftest.
$ac_objext conftest
$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>conftest.er1
23269 grep -v '^ *+' conftest.er1
>conftest.err
23271 cat conftest.err
>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try
='test -z "$ac_c_werror_flag"
23275 || test ! -s conftest.err'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; } &&
23281 { ac_try
='test -s conftest$ac_exeext'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; }; then
23288 # We can link X programs with no special library path.
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.
$ac_ext >&5
23295 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23297 # Don't even attempt the hair of trying to link an X program!
23298 for ac_extension
in a so sl
; do
23299 if test -r $ac_dir/libXt.
$ac_extension; then
23300 ac_x_libraries
=$ac_dir
23306 rm -f conftest.err conftest.
$ac_objext \
23307 conftest
$ac_exeext conftest.
$ac_ext
23308 fi # $ac_x_libraries = no
23310 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
23311 # Didn't find X anywhere. Cache the known absence of X.
23312 ac_cv_have_x
="have_x=no"
23314 # Record where we found X for the cache.
23315 ac_cv_have_x
="have_x=yes \
23316 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23321 eval "$ac_cv_have_x"
23324 if test "$have_x" != yes; then
23325 echo "$as_me:$LINENO: result: $have_x" >&5
23326 echo "${ECHO_T}$have_x" >&6
23329 # If each of the values was on the command line, it overrides each guess.
23330 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
23331 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
23332 # Update the cache value to reflect the command line values.
23333 ac_cv_have_x
="have_x=yes \
23334 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23335 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23336 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23339 if test "$no_x" = yes; then
23340 # Not all programs may use this symbol, but it does not hurt to define it.
23342 cat >>confdefs.h
<<\_ACEOF
23343 #define X_DISPLAY_MISSING 1
23346 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23348 if test -n "$x_includes"; then
23349 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23352 # It would also be nice to do this for all -L options, not just this one.
23353 if test -n "$x_libraries"; then
23354 X_LIBS
="$X_LIBS -L$x_libraries"
23355 # For Solaris; some versions of Sun CC require a space after -R and
23356 # others require no space. Words are not sufficient . . . .
23357 case `(uname -sr) 2>/dev/null` in
23359 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23360 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23361 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23362 cat >conftest.
$ac_ext <<_ACEOF
23365 cat confdefs.h
>>conftest.
$ac_ext
23366 cat >>conftest.
$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23377 rm -f conftest.
$ac_objext conftest
$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379 (eval $ac_link) 2>conftest.er1
23381 grep -v '^ *+' conftest.er1
>conftest.err
23383 cat conftest.err
>&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try
='test -z "$ac_c_werror_flag"
23387 || test ! -s conftest.err'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; } &&
23393 { ac_try
='test -s conftest$ac_exeext'
23394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23395 (eval $ac_try) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); }; }; then
23401 echo "$as_me: failed program was:" >&5
23402 sed 's/^/| /' conftest.
$ac_ext >&5
23406 rm -f conftest.err conftest.
$ac_objext \
23407 conftest
$ac_exeext conftest.
$ac_ext
23408 if test $ac_R_nospace = yes; then
23409 echo "$as_me:$LINENO: result: no" >&5
23410 echo "${ECHO_T}no" >&6
23411 X_LIBS
="$X_LIBS -R$x_libraries"
23413 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23414 cat >conftest.
$ac_ext <<_ACEOF
23417 cat confdefs.h
>>conftest.
$ac_ext
23418 cat >>conftest.
$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23429 rm -f conftest.
$ac_objext conftest
$ac_exeext
23430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23431 (eval $ac_link) 2>conftest.er1
23433 grep -v '^ *+' conftest.er1
>conftest.err
23435 cat conftest.err
>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } &&
23438 { ac_try
='test -z "$ac_c_werror_flag"
23439 || test ! -s conftest.err'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; } &&
23445 { ac_try
='test -s conftest$ac_exeext'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; }; then
23453 echo "$as_me: failed program was:" >&5
23454 sed 's/^/| /' conftest.
$ac_ext >&5
23458 rm -f conftest.err conftest.
$ac_objext \
23459 conftest
$ac_exeext conftest.
$ac_ext
23460 if test $ac_R_space = yes; then
23461 echo "$as_me:$LINENO: result: yes" >&5
23462 echo "${ECHO_T}yes" >&6
23463 X_LIBS
="$X_LIBS -R $x_libraries"
23465 echo "$as_me:$LINENO: result: neither works" >&5
23466 echo "${ECHO_T}neither works" >&6
23469 LIBS
=$ac_xsave_LIBS
23473 # Check for system-dependent libraries X programs must link with.
23474 # Do this before checking for the system-independent R6 libraries
23475 # (-lICE), since we may need -lsocket or whatever for X linking.
23477 if test "$ISC" = yes; then
23478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23480 # Martyn Johnson says this is needed for Ultrix, if the X
23481 # libraries were built with DECnet support. And Karl Berry says
23482 # the Alpha needs dnet_stub (dnet does not exist).
23483 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23484 cat >conftest.
$ac_ext <<_ACEOF
23487 cat confdefs.h
>>conftest.
$ac_ext
23488 cat >>conftest.
$ac_ext <<_ACEOF
23489 /* end confdefs.h. */
23491 /* Override any gcc2 internal prototype to avoid an error. */
23495 /* We use char because int might match the return type of a gcc2
23496 builtin and then its argument prototype would still apply. */
23497 char XOpenDisplay ();
23506 rm -f conftest.
$ac_objext conftest
$ac_exeext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23508 (eval $ac_link) 2>conftest.er1
23510 grep -v '^ *+' conftest.er1
>conftest.err
23512 cat conftest.err
>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try
='test -z "$ac_c_werror_flag"
23516 || test ! -s conftest.err'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; } &&
23522 { ac_try
='test -s conftest$ac_exeext'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; }; then
23530 echo "$as_me: failed program was:" >&5
23531 sed 's/^/| /' conftest.
$ac_ext >&5
23533 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23534 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23535 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23536 echo $ECHO_N "(cached) $ECHO_C" >&6
23538 ac_check_lib_save_LIBS
=$LIBS
23539 LIBS
="-ldnet $LIBS"
23540 cat >conftest.
$ac_ext <<_ACEOF
23543 cat confdefs.h
>>conftest.
$ac_ext
23544 cat >>conftest.
$ac_ext <<_ACEOF
23545 /* end confdefs.h. */
23547 /* Override any gcc2 internal prototype to avoid an error. */
23551 /* We use char because int might match the return type of a gcc2
23552 builtin and then its argument prototype would still apply. */
23562 rm -f conftest.
$ac_objext conftest
$ac_exeext
23563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23564 (eval $ac_link) 2>conftest.er1
23566 grep -v '^ *+' conftest.er1
>conftest.err
23568 cat conftest.err
>&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try
='test -z "$ac_c_werror_flag"
23572 || test ! -s conftest.err'
23573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23574 (eval $ac_try) 2>&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); }; } &&
23578 { ac_try
='test -s conftest$ac_exeext'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; }; then
23584 ac_cv_lib_dnet_dnet_ntoa
=yes
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.
$ac_ext >&5
23589 ac_cv_lib_dnet_dnet_ntoa
=no
23591 rm -f conftest.err conftest.
$ac_objext \
23592 conftest
$ac_exeext conftest.
$ac_ext
23593 LIBS
=$ac_check_lib_save_LIBS
23595 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23596 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23597 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23598 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23601 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23602 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23603 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23604 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23605 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 ac_check_lib_save_LIBS
=$LIBS
23608 LIBS
="-ldnet_stub $LIBS"
23609 cat >conftest.
$ac_ext <<_ACEOF
23612 cat confdefs.h
>>conftest.
$ac_ext
23613 cat >>conftest.
$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23616 /* Override any gcc2 internal prototype to avoid an error. */
23620 /* We use char because int might match the return type of a gcc2
23621 builtin and then its argument prototype would still apply. */
23631 rm -f conftest.
$ac_objext conftest
$ac_exeext
23632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23633 (eval $ac_link) 2>conftest.er1
23635 grep -v '^ *+' conftest.er1
>conftest.err
23637 cat conftest.err
>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try
='test -z "$ac_c_werror_flag"
23641 || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try
='test -s conftest$ac_exeext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.
$ac_ext >&5
23658 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23660 rm -f conftest.err conftest.
$ac_objext \
23661 conftest
$ac_exeext conftest.
$ac_ext
23662 LIBS
=$ac_check_lib_save_LIBS
23664 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23665 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23666 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23667 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23672 rm -f conftest.err conftest.
$ac_objext \
23673 conftest
$ac_exeext conftest.
$ac_ext
23674 LIBS
="$ac_xsave_LIBS"
23676 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23677 # to get the SysV transport functions.
23678 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23680 # The nsl library prevents programs from opening the X display
23681 # on Irix 5.2, according to T.E. Dickey.
23682 # The functions gethostbyname, getservbyname, and inet_addr are
23683 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23684 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23685 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23686 if test "${ac_cv_func_gethostbyname+set}" = set; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 cat >conftest.
$ac_ext <<_ACEOF
23692 cat confdefs.h
>>conftest.
$ac_ext
23693 cat >>conftest.
$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23697 #define gethostbyname innocuous_gethostbyname
23699 /* System header to define __stub macros and hopefully few prototypes,
23700 which can conflict with char gethostbyname (); below.
23701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23702 <limits.h> exists even on freestanding compilers. */
23705 # include <limits.h>
23707 # include <assert.h>
23710 #undef gethostbyname
23712 /* Override any gcc2 internal prototype to avoid an error. */
23717 /* We use char because int might match the return type of a gcc2
23718 builtin and then its argument prototype would still apply. */
23719 char gethostbyname ();
23720 /* The GNU C library defines this for functions which it implements
23721 to always fail with ENOSYS. Some functions are actually named
23722 something starting with __ and the normal name is an alias. */
23723 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23726 char (*f) () = gethostbyname;
23735 return f != gethostbyname;
23740 rm -f conftest.
$ac_objext conftest
$ac_exeext
23741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23742 (eval $ac_link) 2>conftest.er1
23744 grep -v '^ *+' conftest.er1
>conftest.err
23746 cat conftest.err
>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } &&
23749 { ac_try
='test -z "$ac_c_werror_flag"
23750 || test ! -s conftest.err'
23751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23752 (eval $ac_try) 2>&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; } &&
23756 { ac_try
='test -s conftest$ac_exeext'
23757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23758 (eval $ac_try) 2>&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); }; }; then
23762 ac_cv_func_gethostbyname
=yes
23764 echo "$as_me: failed program was:" >&5
23765 sed 's/^/| /' conftest.
$ac_ext >&5
23767 ac_cv_func_gethostbyname
=no
23769 rm -f conftest.err conftest.
$ac_objext \
23770 conftest
$ac_exeext conftest.
$ac_ext
23772 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23773 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23775 if test $ac_cv_func_gethostbyname = no
; then
23776 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23777 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23778 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23779 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 ac_check_lib_save_LIBS
=$LIBS
23783 cat >conftest.
$ac_ext <<_ACEOF
23786 cat confdefs.h
>>conftest.
$ac_ext
23787 cat >>conftest.
$ac_ext <<_ACEOF
23788 /* end confdefs.h. */
23790 /* Override any gcc2 internal prototype to avoid an error. */
23794 /* We use char because int might match the return type of a gcc2
23795 builtin and then its argument prototype would still apply. */
23796 char gethostbyname ();
23805 rm -f conftest.
$ac_objext conftest
$ac_exeext
23806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23807 (eval $ac_link) 2>conftest.er1
23809 grep -v '^ *+' conftest.er1
>conftest.err
23811 cat conftest.err
>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try
='test -z "$ac_c_werror_flag"
23815 || test ! -s conftest.err'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; } &&
23821 { ac_try
='test -s conftest$ac_exeext'
23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823 (eval $ac_try) 2>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; }; then
23827 ac_cv_lib_nsl_gethostbyname
=yes
23829 echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.
$ac_ext >&5
23832 ac_cv_lib_nsl_gethostbyname
=no
23834 rm -f conftest.err conftest.
$ac_objext \
23835 conftest
$ac_exeext conftest.
$ac_ext
23836 LIBS
=$ac_check_lib_save_LIBS
23838 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23839 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23840 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23841 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23844 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23845 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23846 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23847 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 ac_check_lib_save_LIBS
=$LIBS
23852 cat >conftest.
$ac_ext <<_ACEOF
23855 cat confdefs.h
>>conftest.
$ac_ext
23856 cat >>conftest.
$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23859 /* Override any gcc2 internal prototype to avoid an error. */
23863 /* We use char because int might match the return type of a gcc2
23864 builtin and then its argument prototype would still apply. */
23865 char gethostbyname ();
23874 rm -f conftest.
$ac_objext conftest
$ac_exeext
23875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23876 (eval $ac_link) 2>conftest.er1
23878 grep -v '^ *+' conftest.er1
>conftest.err
23880 cat conftest.err
>&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } &&
23883 { ac_try
='test -z "$ac_c_werror_flag"
23884 || test ! -s conftest.err'
23885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23886 (eval $ac_try) 2>&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); }; } &&
23890 { ac_try
='test -s conftest$ac_exeext'
23891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23892 (eval $ac_try) 2>&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); }; }; then
23896 ac_cv_lib_bsd_gethostbyname
=yes
23898 echo "$as_me: failed program was:" >&5
23899 sed 's/^/| /' conftest.
$ac_ext >&5
23901 ac_cv_lib_bsd_gethostbyname
=no
23903 rm -f conftest.err conftest.
$ac_objext \
23904 conftest
$ac_exeext conftest.
$ac_ext
23905 LIBS
=$ac_check_lib_save_LIBS
23907 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23908 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23909 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23916 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23917 # socket/setsockopt and other routines are undefined under SCO ODT
23918 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23919 # on later versions), says Simon Leinen: it contains gethostby*
23920 # variants that don't use the name server (or something). -lsocket
23921 # must be given before -lnsl if both are needed. We assume that
23922 # if connect needs -lnsl, so does gethostbyname.
23923 echo "$as_me:$LINENO: checking for connect" >&5
23924 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23925 if test "${ac_cv_func_connect+set}" = set; then
23926 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 cat >conftest.
$ac_ext <<_ACEOF
23931 cat confdefs.h
>>conftest.
$ac_ext
23932 cat >>conftest.
$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
23935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23936 #define connect innocuous_connect
23938 /* System header to define __stub macros and hopefully few prototypes,
23939 which can conflict with char connect (); below.
23940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23941 <limits.h> exists even on freestanding compilers. */
23944 # include <limits.h>
23946 # include <assert.h>
23951 /* Override any gcc2 internal prototype to avoid an error. */
23956 /* We use char because int might match the return type of a gcc2
23957 builtin and then its argument prototype would still apply. */
23959 /* The GNU C library defines this for functions which it implements
23960 to always fail with ENOSYS. Some functions are actually named
23961 something starting with __ and the normal name is an alias. */
23962 #if defined (__stub_connect) || defined (__stub___connect)
23965 char (*f) () = connect;
23974 return f != connect;
23979 rm -f conftest.
$ac_objext conftest
$ac_exeext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23981 (eval $ac_link) 2>conftest.er1
23983 grep -v '^ *+' conftest.er1
>conftest.err
23985 cat conftest.err
>&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } &&
23988 { ac_try
='test -z "$ac_c_werror_flag"
23989 || test ! -s conftest.err'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; } &&
23995 { ac_try
='test -s conftest$ac_exeext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 ac_cv_func_connect
=yes
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.
$ac_ext >&5
24006 ac_cv_func_connect
=no
24008 rm -f conftest.err conftest.
$ac_objext \
24009 conftest
$ac_exeext conftest.
$ac_ext
24011 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24012 echo "${ECHO_T}$ac_cv_func_connect" >&6
24014 if test $ac_cv_func_connect = no
; then
24015 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24016 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24017 if test "${ac_cv_lib_socket_connect+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24020 ac_check_lib_save_LIBS
=$LIBS
24021 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24022 cat >conftest.
$ac_ext <<_ACEOF
24025 cat confdefs.h
>>conftest.
$ac_ext
24026 cat >>conftest.
$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24029 /* Override any gcc2 internal prototype to avoid an error. */
24033 /* We use char because int might match the return type of a gcc2
24034 builtin and then its argument prototype would still apply. */
24044 rm -f conftest.
$ac_objext conftest
$ac_exeext
24045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24046 (eval $ac_link) 2>conftest.er1
24048 grep -v '^ *+' conftest.er1
>conftest.err
24050 cat conftest.err
>&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } &&
24053 { ac_try
='test -z "$ac_c_werror_flag"
24054 || test ! -s conftest.err'
24055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056 (eval $ac_try) 2>&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); }; } &&
24060 { ac_try
='test -s conftest$ac_exeext'
24061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24062 (eval $ac_try) 2>&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); }; }; then
24066 ac_cv_lib_socket_connect
=yes
24068 echo "$as_me: failed program was:" >&5
24069 sed 's/^/| /' conftest.
$ac_ext >&5
24071 ac_cv_lib_socket_connect
=no
24073 rm -f conftest.err conftest.
$ac_objext \
24074 conftest
$ac_exeext conftest.
$ac_ext
24075 LIBS
=$ac_check_lib_save_LIBS
24077 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24078 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24079 if test $ac_cv_lib_socket_connect = yes; then
24080 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24085 # Guillermo Gomez says -lposix is necessary on A/UX.
24086 echo "$as_me:$LINENO: checking for remove" >&5
24087 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24088 if test "${ac_cv_func_remove+set}" = set; then
24089 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 cat >conftest.
$ac_ext <<_ACEOF
24094 cat confdefs.h
>>conftest.
$ac_ext
24095 cat >>conftest.
$ac_ext <<_ACEOF
24096 /* end confdefs.h. */
24097 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24099 #define remove innocuous_remove
24101 /* System header to define __stub macros and hopefully few prototypes,
24102 which can conflict with char remove (); below.
24103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24104 <limits.h> exists even on freestanding compilers. */
24107 # include <limits.h>
24109 # include <assert.h>
24114 /* Override any gcc2 internal prototype to avoid an error. */
24119 /* We use char because int might match the return type of a gcc2
24120 builtin and then its argument prototype would still apply. */
24122 /* The GNU C library defines this for functions which it implements
24123 to always fail with ENOSYS. Some functions are actually named
24124 something starting with __ and the normal name is an alias. */
24125 #if defined (__stub_remove) || defined (__stub___remove)
24128 char (*f) () = remove;
24137 return f != remove;
24142 rm -f conftest.
$ac_objext conftest
$ac_exeext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24144 (eval $ac_link) 2>conftest.er1
24146 grep -v '^ *+' conftest.er1
>conftest.err
24148 cat conftest.err
>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } &&
24151 { ac_try
='test -z "$ac_c_werror_flag"
24152 || test ! -s conftest.err'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; } &&
24158 { ac_try
='test -s conftest$ac_exeext'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; }; then
24164 ac_cv_func_remove
=yes
24166 echo "$as_me: failed program was:" >&5
24167 sed 's/^/| /' conftest.
$ac_ext >&5
24169 ac_cv_func_remove
=no
24171 rm -f conftest.err conftest.
$ac_objext \
24172 conftest
$ac_exeext conftest.
$ac_ext
24174 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24175 echo "${ECHO_T}$ac_cv_func_remove" >&6
24177 if test $ac_cv_func_remove = no
; then
24178 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24179 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24180 if test "${ac_cv_lib_posix_remove+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24183 ac_check_lib_save_LIBS
=$LIBS
24184 LIBS
="-lposix $LIBS"
24185 cat >conftest.
$ac_ext <<_ACEOF
24188 cat confdefs.h
>>conftest.
$ac_ext
24189 cat >>conftest.
$ac_ext <<_ACEOF
24190 /* end confdefs.h. */
24192 /* Override any gcc2 internal prototype to avoid an error. */
24196 /* We use char because int might match the return type of a gcc2
24197 builtin and then its argument prototype would still apply. */
24207 rm -f conftest.
$ac_objext conftest
$ac_exeext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24209 (eval $ac_link) 2>conftest.er1
24211 grep -v '^ *+' conftest.er1
>conftest.err
24213 cat conftest.err
>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try
='test -z "$ac_c_werror_flag"
24217 || test ! -s conftest.err'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; } &&
24223 { ac_try
='test -s conftest$ac_exeext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229 ac_cv_lib_posix_remove
=yes
24231 echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.
$ac_ext >&5
24234 ac_cv_lib_posix_remove
=no
24236 rm -f conftest.err conftest.
$ac_objext \
24237 conftest
$ac_exeext conftest.
$ac_ext
24238 LIBS
=$ac_check_lib_save_LIBS
24240 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24241 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24242 if test $ac_cv_lib_posix_remove = yes; then
24243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24248 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24249 echo "$as_me:$LINENO: checking for shmat" >&5
24250 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24251 if test "${ac_cv_func_shmat+set}" = set; then
24252 echo $ECHO_N "(cached) $ECHO_C" >&6
24254 cat >conftest.
$ac_ext <<_ACEOF
24257 cat confdefs.h
>>conftest.
$ac_ext
24258 cat >>conftest.
$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24262 #define shmat innocuous_shmat
24264 /* System header to define __stub macros and hopefully few prototypes,
24265 which can conflict with char shmat (); below.
24266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24267 <limits.h> exists even on freestanding compilers. */
24270 # include <limits.h>
24272 # include <assert.h>
24277 /* Override any gcc2 internal prototype to avoid an error. */
24282 /* We use char because int might match the return type of a gcc2
24283 builtin and then its argument prototype would still apply. */
24285 /* The GNU C library defines this for functions which it implements
24286 to always fail with ENOSYS. Some functions are actually named
24287 something starting with __ and the normal name is an alias. */
24288 #if defined (__stub_shmat) || defined (__stub___shmat)
24291 char (*f) () = shmat;
24305 rm -f conftest.
$ac_objext conftest
$ac_exeext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24307 (eval $ac_link) 2>conftest.er1
24309 grep -v '^ *+' conftest.er1
>conftest.err
24311 cat conftest.err
>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } &&
24314 { ac_try
='test -z "$ac_c_werror_flag"
24315 || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try
='test -s conftest$ac_exeext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327 ac_cv_func_shmat
=yes
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.
$ac_ext >&5
24332 ac_cv_func_shmat
=no
24334 rm -f conftest.err conftest.
$ac_objext \
24335 conftest
$ac_exeext conftest.
$ac_ext
24337 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24338 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24340 if test $ac_cv_func_shmat = no
; then
24341 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24342 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24343 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24344 echo $ECHO_N "(cached) $ECHO_C" >&6
24346 ac_check_lib_save_LIBS
=$LIBS
24348 cat >conftest.
$ac_ext <<_ACEOF
24351 cat confdefs.h
>>conftest.
$ac_ext
24352 cat >>conftest.
$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24355 /* Override any gcc2 internal prototype to avoid an error. */
24359 /* We use char because int might match the return type of a gcc2
24360 builtin and then its argument prototype would still apply. */
24370 rm -f conftest.
$ac_objext conftest
$ac_exeext
24371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24372 (eval $ac_link) 2>conftest.er1
24374 grep -v '^ *+' conftest.er1
>conftest.err
24376 cat conftest.err
>&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); } &&
24379 { ac_try
='test -z "$ac_c_werror_flag"
24380 || test ! -s conftest.err'
24381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382 (eval $ac_try) 2>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; } &&
24386 { ac_try
='test -s conftest$ac_exeext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_cv_lib_ipc_shmat
=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.
$ac_ext >&5
24397 ac_cv_lib_ipc_shmat
=no
24399 rm -f conftest.err conftest.
$ac_objext \
24400 conftest
$ac_exeext conftest.
$ac_ext
24401 LIBS
=$ac_check_lib_save_LIBS
24403 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24404 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24405 if test $ac_cv_lib_ipc_shmat = yes; then
24406 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24412 # Check for libraries that X11R6 Xt/Xaw programs need.
24413 ac_save_LDFLAGS
=$LDFLAGS
24414 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24415 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24416 # check for ICE first), but we must link in the order -lSM -lICE or
24417 # we get undefined symbols. So assume we have SM if we have ICE.
24418 # These have to be linked with before -lX11, unlike the other
24419 # libraries we check for below, so use a different variable.
24420 # John Interrante, Karl Berry
24421 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24422 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24423 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24424 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 ac_check_lib_save_LIBS
=$LIBS
24427 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24428 cat >conftest.
$ac_ext <<_ACEOF
24431 cat confdefs.h
>>conftest.
$ac_ext
24432 cat >>conftest.
$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24435 /* Override any gcc2 internal prototype to avoid an error. */
24439 /* We use char because int might match the return type of a gcc2
24440 builtin and then its argument prototype would still apply. */
24441 char IceConnectionNumber ();
24445 IceConnectionNumber ();
24450 rm -f conftest.
$ac_objext conftest
$ac_exeext
24451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24452 (eval $ac_link) 2>conftest.er1
24454 grep -v '^ *+' conftest.er1
>conftest.err
24456 cat conftest.err
>&5
24457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24458 (exit $ac_status); } &&
24459 { ac_try
='test -z "$ac_c_werror_flag"
24460 || test ! -s conftest.err'
24461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24462 (eval $ac_try) 2>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); }; } &&
24466 { ac_try
='test -s conftest$ac_exeext'
24467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24468 (eval $ac_try) 2>&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); }; }; then
24472 ac_cv_lib_ICE_IceConnectionNumber
=yes
24474 echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.
$ac_ext >&5
24477 ac_cv_lib_ICE_IceConnectionNumber
=no
24479 rm -f conftest.err conftest.
$ac_objext \
24480 conftest
$ac_exeext conftest.
$ac_ext
24481 LIBS
=$ac_check_lib_save_LIBS
24483 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24484 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24485 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24486 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24489 LDFLAGS
=$ac_save_LDFLAGS
24494 if test "$no_x" = "yes"; then
24495 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24496 echo "$as_me: error: X11 not found" >&2;}
24497 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24500 GUI_TK_LIBRARY
="$X_LIBS"
24501 TOOLKIT_INCLUDE
="$X_CFLAGS"
24502 AFMINSTALL
=afminstall
24503 COMPILED_X_PROGRAM
=0
24505 if test "$wxUSE_NANOX" = "yes"; then
24506 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24507 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24508 if test "x$MICROWIN" = x
; then
24509 echo "$as_me:$LINENO: result: not found" >&5
24510 echo "${ECHO_T}not found" >&6
24511 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24512 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24513 { (exit 1); exit 1; }; }
24515 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24516 echo "${ECHO_T}$MICROWIN" >&6
24517 cat >>confdefs.h
<<\_ACEOF
24518 #define wxUSE_NANOX 1
24524 if test "$wxUSE_UNICODE" = "yes"; then
24528 if test -z "$PKG_CONFIG"; then
24529 # Extract the first word of "pkg-config", so it can be a program name with args.
24530 set dummy pkg
-config; ac_word
=$2
24531 echo "$as_me:$LINENO: checking for $ac_word" >&5
24532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24533 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24534 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 case $PKG_CONFIG in
24538 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24542 for as_dir
in $PATH
24545 test -z "$as_dir" && as_dir
=.
24546 for ac_exec_ext
in '' $ac_executable_extensions; do
24547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24548 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24555 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24559 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24561 if test -n "$PKG_CONFIG"; then
24562 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24563 echo "${ECHO_T}$PKG_CONFIG" >&6
24565 echo "$as_me:$LINENO: result: no" >&5
24566 echo "${ECHO_T}no" >&6
24571 if test "$PKG_CONFIG" = "no" ; then
24572 echo "*** The pkg-config script could not be found. Make sure it is"
24573 echo "*** in your path, or set the PKG_CONFIG environment variable"
24574 echo "*** to the full path to pkg-config."
24575 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24577 PKG_CONFIG_MIN_VERSION
=0.9.0
24578 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24579 echo "$as_me:$LINENO: checking for pangox" >&5
24580 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24582 if $PKG_CONFIG --exists "pangox" ; then
24583 echo "$as_me:$LINENO: result: yes" >&5
24584 echo "${ECHO_T}yes" >&6
24587 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24588 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24589 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
24590 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24591 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24593 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24594 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24595 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
24596 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24597 echo "${ECHO_T}$PANGOX_LIBS" >&6
24601 ## If we have a custom action on failure, don't print errors, but
24602 ## do set a variable so people can do so.
24603 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24610 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24611 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24615 if test $succeeded = yes; then
24617 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
24618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
24622 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24623 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24624 { (exit 1); exit 1; }; }
24632 if test -z "$PKG_CONFIG"; then
24633 # Extract the first word of "pkg-config", so it can be a program name with args.
24634 set dummy pkg
-config; ac_word
=$2
24635 echo "$as_me:$LINENO: checking for $ac_word" >&5
24636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24637 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24638 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 case $PKG_CONFIG in
24642 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24646 for as_dir
in $PATH
24649 test -z "$as_dir" && as_dir
=.
24650 for ac_exec_ext
in '' $ac_executable_extensions; do
24651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24652 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24659 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24663 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24665 if test -n "$PKG_CONFIG"; then
24666 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24667 echo "${ECHO_T}$PKG_CONFIG" >&6
24669 echo "$as_me:$LINENO: result: no" >&5
24670 echo "${ECHO_T}no" >&6
24675 if test "$PKG_CONFIG" = "no" ; then
24676 echo "*** The pkg-config script could not be found. Make sure it is"
24677 echo "*** in your path, or set the PKG_CONFIG environment variable"
24678 echo "*** to the full path to pkg-config."
24679 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24681 PKG_CONFIG_MIN_VERSION
=0.9.0
24682 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24683 echo "$as_me:$LINENO: checking for pangoft2" >&5
24684 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24686 if $PKG_CONFIG --exists "pangoft2" ; then
24687 echo "$as_me:$LINENO: result: yes" >&5
24688 echo "${ECHO_T}yes" >&6
24691 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24692 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24693 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
24694 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24695 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24697 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24698 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24699 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
24700 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24701 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24705 ## If we have a custom action on failure, don't print errors, but
24706 ## do set a variable so people can do so.
24707 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24714 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24715 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24719 if test $succeeded = yes; then
24721 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
24722 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24726 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24727 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24728 wxUSE_PRINTING_ARCHITECTURE
="no"
24736 if test -z "$PKG_CONFIG"; then
24737 # Extract the first word of "pkg-config", so it can be a program name with args.
24738 set dummy pkg
-config; ac_word
=$2
24739 echo "$as_me:$LINENO: checking for $ac_word" >&5
24740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24744 case $PKG_CONFIG in
24746 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24750 for as_dir
in $PATH
24753 test -z "$as_dir" && as_dir
=.
24754 for ac_exec_ext
in '' $ac_executable_extensions; do
24755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24756 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24763 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24767 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24769 if test -n "$PKG_CONFIG"; then
24770 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24771 echo "${ECHO_T}$PKG_CONFIG" >&6
24773 echo "$as_me:$LINENO: result: no" >&5
24774 echo "${ECHO_T}no" >&6
24779 if test "$PKG_CONFIG" = "no" ; then
24780 echo "*** The pkg-config script could not be found. Make sure it is"
24781 echo "*** in your path, or set the PKG_CONFIG environment variable"
24782 echo "*** to the full path to pkg-config."
24783 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24785 PKG_CONFIG_MIN_VERSION
=0.9.0
24786 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24787 echo "$as_me:$LINENO: checking for pangoxft" >&5
24788 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24790 if $PKG_CONFIG --exists "pangoxft" ; then
24791 echo "$as_me:$LINENO: result: yes" >&5
24792 echo "${ECHO_T}yes" >&6
24795 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24796 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24797 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
24798 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24799 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24801 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24802 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24803 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
24804 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24805 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24809 ## If we have a custom action on failure, don't print errors, but
24810 ## do set a variable so people can do so.
24811 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24818 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24819 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24823 if test $succeeded = yes; then
24825 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
24826 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24830 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24831 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24838 wxUSE_UNIVERSAL
="yes"
24840 if test "$wxUSE_NANOX" = "yes"; then
24841 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24842 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"
24843 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24845 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
24848 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
24853 if test "$wxUSE_MOTIF" = 1; then
24854 if test "$no_x" = yes; then
24855 # Not all programs may use this symbol, but it does not hurt to define it.
24857 cat >>confdefs.h
<<\_ACEOF
24858 #define X_DISPLAY_MISSING 1
24861 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24863 if test -n "$x_includes"; then
24864 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24867 # It would also be nice to do this for all -L options, not just this one.
24868 if test -n "$x_libraries"; then
24869 X_LIBS
="$X_LIBS -L$x_libraries"
24870 # For Solaris; some versions of Sun CC require a space after -R and
24871 # others require no space. Words are not sufficient . . . .
24872 case `(uname -sr) 2>/dev/null` in
24874 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24875 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24876 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24877 cat >conftest.
$ac_ext <<_ACEOF
24880 cat confdefs.h
>>conftest.
$ac_ext
24881 cat >>conftest.
$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24892 rm -f conftest.
$ac_objext conftest
$ac_exeext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24894 (eval $ac_link) 2>conftest.er1
24896 grep -v '^ *+' conftest.er1
>conftest.err
24898 cat conftest.err
>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try
='test -z "$ac_c_werror_flag"
24902 || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try
='test -s conftest$ac_exeext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.
$ac_ext >&5
24921 rm -f conftest.err conftest.
$ac_objext \
24922 conftest
$ac_exeext conftest.
$ac_ext
24923 if test $ac_R_nospace = yes; then
24924 echo "$as_me:$LINENO: result: no" >&5
24925 echo "${ECHO_T}no" >&6
24926 X_LIBS
="$X_LIBS -R$x_libraries"
24928 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24929 cat >conftest.
$ac_ext <<_ACEOF
24932 cat confdefs.h
>>conftest.
$ac_ext
24933 cat >>conftest.
$ac_ext <<_ACEOF
24934 /* end confdefs.h. */
24944 rm -f conftest.
$ac_objext conftest
$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>conftest.er1
24948 grep -v '^ *+' conftest.er1
>conftest.err
24950 cat conftest.err
>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try
='test -z "$ac_c_werror_flag"
24954 || test ! -s conftest.err'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; } &&
24960 { ac_try
='test -s conftest$ac_exeext'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; }; then
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.
$ac_ext >&5
24973 rm -f conftest.err conftest.
$ac_objext \
24974 conftest
$ac_exeext conftest.
$ac_ext
24975 if test $ac_R_space = yes; then
24976 echo "$as_me:$LINENO: result: yes" >&5
24977 echo "${ECHO_T}yes" >&6
24978 X_LIBS
="$X_LIBS -R $x_libraries"
24980 echo "$as_me:$LINENO: result: neither works" >&5
24981 echo "${ECHO_T}neither works" >&6
24984 LIBS
=$ac_xsave_LIBS
24988 # Check for system-dependent libraries X programs must link with.
24989 # Do this before checking for the system-independent R6 libraries
24990 # (-lICE), since we may need -lsocket or whatever for X linking.
24992 if test "$ISC" = yes; then
24993 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24995 # Martyn Johnson says this is needed for Ultrix, if the X
24996 # libraries were built with DECnet support. And Karl Berry says
24997 # the Alpha needs dnet_stub (dnet does not exist).
24998 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24999 cat >conftest.
$ac_ext <<_ACEOF
25002 cat confdefs.h
>>conftest.
$ac_ext
25003 cat >>conftest.
$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25006 /* Override any gcc2 internal prototype to avoid an error. */
25010 /* We use char because int might match the return type of a gcc2
25011 builtin and then its argument prototype would still apply. */
25012 char XOpenDisplay ();
25021 rm -f conftest.
$ac_objext conftest
$ac_exeext
25022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25023 (eval $ac_link) 2>conftest.er1
25025 grep -v '^ *+' conftest.er1
>conftest.err
25027 cat conftest.err
>&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); } &&
25030 { ac_try
='test -z "$ac_c_werror_flag"
25031 || test ! -s conftest.err'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; } &&
25037 { ac_try
='test -s conftest$ac_exeext'
25038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039 (eval $ac_try) 2>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25045 echo "$as_me: failed program was:" >&5
25046 sed 's/^/| /' conftest.
$ac_ext >&5
25048 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25049 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25050 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25051 echo $ECHO_N "(cached) $ECHO_C" >&6
25053 ac_check_lib_save_LIBS
=$LIBS
25054 LIBS
="-ldnet $LIBS"
25055 cat >conftest.
$ac_ext <<_ACEOF
25058 cat confdefs.h
>>conftest.
$ac_ext
25059 cat >>conftest.
$ac_ext <<_ACEOF
25060 /* end confdefs.h. */
25062 /* Override any gcc2 internal prototype to avoid an error. */
25066 /* We use char because int might match the return type of a gcc2
25067 builtin and then its argument prototype would still apply. */
25077 rm -f conftest.
$ac_objext conftest
$ac_exeext
25078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25079 (eval $ac_link) 2>conftest.er1
25081 grep -v '^ *+' conftest.er1
>conftest.err
25083 cat conftest.err
>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); } &&
25086 { ac_try
='test -z "$ac_c_werror_flag"
25087 || test ! -s conftest.err'
25088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25089 (eval $ac_try) 2>&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); }; } &&
25093 { ac_try
='test -s conftest$ac_exeext'
25094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25095 (eval $ac_try) 2>&5
25097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098 (exit $ac_status); }; }; then
25099 ac_cv_lib_dnet_dnet_ntoa
=yes
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.
$ac_ext >&5
25104 ac_cv_lib_dnet_dnet_ntoa
=no
25106 rm -f conftest.err conftest.
$ac_objext \
25107 conftest
$ac_exeext conftest.
$ac_ext
25108 LIBS
=$ac_check_lib_save_LIBS
25110 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25111 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25112 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25116 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25117 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25118 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25119 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25120 echo $ECHO_N "(cached) $ECHO_C" >&6
25122 ac_check_lib_save_LIBS
=$LIBS
25123 LIBS
="-ldnet_stub $LIBS"
25124 cat >conftest.
$ac_ext <<_ACEOF
25127 cat confdefs.h
>>conftest.
$ac_ext
25128 cat >>conftest.
$ac_ext <<_ACEOF
25129 /* end confdefs.h. */
25131 /* Override any gcc2 internal prototype to avoid an error. */
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25146 rm -f conftest.
$ac_objext conftest
$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25150 grep -v '^ *+' conftest.er1
>conftest.err
25152 cat conftest.err
>&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try
='test -z "$ac_c_werror_flag"
25156 || test ! -s conftest.err'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; } &&
25162 { ac_try
='test -s conftest$ac_exeext'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; }; then
25168 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25170 echo "$as_me: failed program was:" >&5
25171 sed 's/^/| /' conftest.
$ac_ext >&5
25173 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25175 rm -f conftest.err conftest.
$ac_objext \
25176 conftest
$ac_exeext conftest.
$ac_ext
25177 LIBS
=$ac_check_lib_save_LIBS
25179 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25180 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25181 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25182 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25187 rm -f conftest.err conftest.
$ac_objext \
25188 conftest
$ac_exeext conftest.
$ac_ext
25189 LIBS
="$ac_xsave_LIBS"
25191 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25192 # to get the SysV transport functions.
25193 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25195 # The nsl library prevents programs from opening the X display
25196 # on Irix 5.2, according to T.E. Dickey.
25197 # The functions gethostbyname, getservbyname, and inet_addr are
25198 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25199 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25200 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25201 if test "${ac_cv_func_gethostbyname+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 cat >conftest.
$ac_ext <<_ACEOF
25207 cat confdefs.h
>>conftest.
$ac_ext
25208 cat >>conftest.
$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25212 #define gethostbyname innocuous_gethostbyname
25214 /* System header to define __stub macros and hopefully few prototypes,
25215 which can conflict with char gethostbyname (); below.
25216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25217 <limits.h> exists even on freestanding compilers. */
25220 # include <limits.h>
25222 # include <assert.h>
25225 #undef gethostbyname
25227 /* Override any gcc2 internal prototype to avoid an error. */
25232 /* We use char because int might match the return type of a gcc2
25233 builtin and then its argument prototype would still apply. */
25234 char gethostbyname ();
25235 /* The GNU C library defines this for functions which it implements
25236 to always fail with ENOSYS. Some functions are actually named
25237 something starting with __ and the normal name is an alias. */
25238 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25241 char (*f) () = gethostbyname;
25250 return f != gethostbyname;
25255 rm -f conftest.
$ac_objext conftest
$ac_exeext
25256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25257 (eval $ac_link) 2>conftest.er1
25259 grep -v '^ *+' conftest.er1
>conftest.err
25261 cat conftest.err
>&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); } &&
25264 { ac_try
='test -z "$ac_c_werror_flag"
25265 || test ! -s conftest.err'
25266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25267 (eval $ac_try) 2>&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); }; } &&
25271 { ac_try
='test -s conftest$ac_exeext'
25272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25273 (eval $ac_try) 2>&5
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); }; }; then
25277 ac_cv_func_gethostbyname
=yes
25279 echo "$as_me: failed program was:" >&5
25280 sed 's/^/| /' conftest.
$ac_ext >&5
25282 ac_cv_func_gethostbyname
=no
25284 rm -f conftest.err conftest.
$ac_objext \
25285 conftest
$ac_exeext conftest.
$ac_ext
25287 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25288 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25290 if test $ac_cv_func_gethostbyname = no
; then
25291 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25292 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25293 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 ac_check_lib_save_LIBS
=$LIBS
25298 cat >conftest.
$ac_ext <<_ACEOF
25301 cat confdefs.h
>>conftest.
$ac_ext
25302 cat >>conftest.
$ac_ext <<_ACEOF
25303 /* end confdefs.h. */
25305 /* Override any gcc2 internal prototype to avoid an error. */
25309 /* We use char because int might match the return type of a gcc2
25310 builtin and then its argument prototype would still apply. */
25311 char gethostbyname ();
25320 rm -f conftest.
$ac_objext conftest
$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>conftest.er1
25324 grep -v '^ *+' conftest.er1
>conftest.err
25326 cat conftest.err
>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try
='test -z "$ac_c_werror_flag"
25330 || test ! -s conftest.err'
25331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25332 (eval $ac_try) 2>&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; } &&
25336 { ac_try
='test -s conftest$ac_exeext'
25337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25338 (eval $ac_try) 2>&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); }; }; then
25342 ac_cv_lib_nsl_gethostbyname
=yes
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.
$ac_ext >&5
25347 ac_cv_lib_nsl_gethostbyname
=no
25349 rm -f conftest.err conftest.
$ac_objext \
25350 conftest
$ac_exeext conftest.
$ac_ext
25351 LIBS
=$ac_check_lib_save_LIBS
25353 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25354 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25355 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25359 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25360 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25361 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25362 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25365 ac_check_lib_save_LIBS
=$LIBS
25367 cat >conftest.
$ac_ext <<_ACEOF
25370 cat confdefs.h
>>conftest.
$ac_ext
25371 cat >>conftest.
$ac_ext <<_ACEOF
25372 /* end confdefs.h. */
25374 /* Override any gcc2 internal prototype to avoid an error. */
25378 /* We use char because int might match the return type of a gcc2
25379 builtin and then its argument prototype would still apply. */
25380 char gethostbyname ();
25389 rm -f conftest.
$ac_objext conftest
$ac_exeext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25391 (eval $ac_link) 2>conftest.er1
25393 grep -v '^ *+' conftest.er1
>conftest.err
25395 cat conftest.err
>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } &&
25398 { ac_try
='test -z "$ac_c_werror_flag"
25399 || test ! -s conftest.err'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; } &&
25405 { ac_try
='test -s conftest$ac_exeext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 ac_cv_lib_bsd_gethostbyname
=yes
25413 echo "$as_me: failed program was:" >&5
25414 sed 's/^/| /' conftest.
$ac_ext >&5
25416 ac_cv_lib_bsd_gethostbyname
=no
25418 rm -f conftest.err conftest.
$ac_objext \
25419 conftest
$ac_exeext conftest.
$ac_ext
25420 LIBS
=$ac_check_lib_save_LIBS
25422 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25423 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25424 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25431 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25432 # socket/setsockopt and other routines are undefined under SCO ODT
25433 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25434 # on later versions), says Simon Leinen: it contains gethostby*
25435 # variants that don't use the name server (or something). -lsocket
25436 # must be given before -lnsl if both are needed. We assume that
25437 # if connect needs -lnsl, so does gethostbyname.
25438 echo "$as_me:$LINENO: checking for connect" >&5
25439 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25440 if test "${ac_cv_func_connect+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 cat >conftest.
$ac_ext <<_ACEOF
25446 cat confdefs.h
>>conftest.
$ac_ext
25447 cat >>conftest.
$ac_ext <<_ACEOF
25448 /* end confdefs.h. */
25449 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25451 #define connect innocuous_connect
25453 /* System header to define __stub macros and hopefully few prototypes,
25454 which can conflict with char connect (); below.
25455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25456 <limits.h> exists even on freestanding compilers. */
25459 # include <limits.h>
25461 # include <assert.h>
25466 /* Override any gcc2 internal prototype to avoid an error. */
25471 /* We use char because int might match the return type of a gcc2
25472 builtin and then its argument prototype would still apply. */
25474 /* The GNU C library defines this for functions which it implements
25475 to always fail with ENOSYS. Some functions are actually named
25476 something starting with __ and the normal name is an alias. */
25477 #if defined (__stub_connect) || defined (__stub___connect)
25480 char (*f) () = connect;
25489 return f != connect;
25494 rm -f conftest.
$ac_objext conftest
$ac_exeext
25495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25496 (eval $ac_link) 2>conftest.er1
25498 grep -v '^ *+' conftest.er1
>conftest.err
25500 cat conftest.err
>&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); } &&
25503 { ac_try
='test -z "$ac_c_werror_flag"
25504 || test ! -s conftest.err'
25505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25506 (eval $ac_try) 2>&5
25508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509 (exit $ac_status); }; } &&
25510 { ac_try
='test -s conftest$ac_exeext'
25511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512 (eval $ac_try) 2>&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); }; }; then
25516 ac_cv_func_connect
=yes
25518 echo "$as_me: failed program was:" >&5
25519 sed 's/^/| /' conftest.
$ac_ext >&5
25521 ac_cv_func_connect
=no
25523 rm -f conftest.err conftest.
$ac_objext \
25524 conftest
$ac_exeext conftest.
$ac_ext
25526 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25527 echo "${ECHO_T}$ac_cv_func_connect" >&6
25529 if test $ac_cv_func_connect = no
; then
25530 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25531 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25532 if test "${ac_cv_lib_socket_connect+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25535 ac_check_lib_save_LIBS
=$LIBS
25536 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25537 cat >conftest.
$ac_ext <<_ACEOF
25540 cat confdefs.h
>>conftest.
$ac_ext
25541 cat >>conftest.
$ac_ext <<_ACEOF
25542 /* end confdefs.h. */
25544 /* Override any gcc2 internal prototype to avoid an error. */
25548 /* We use char because int might match the return type of a gcc2
25549 builtin and then its argument prototype would still apply. */
25559 rm -f conftest.
$ac_objext conftest
$ac_exeext
25560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25561 (eval $ac_link) 2>conftest.er1
25563 grep -v '^ *+' conftest.er1
>conftest.err
25565 cat conftest.err
>&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } &&
25568 { ac_try
='test -z "$ac_c_werror_flag"
25569 || test ! -s conftest.err'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; } &&
25575 { ac_try
='test -s conftest$ac_exeext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581 ac_cv_lib_socket_connect
=yes
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.
$ac_ext >&5
25586 ac_cv_lib_socket_connect
=no
25588 rm -f conftest.err conftest.
$ac_objext \
25589 conftest
$ac_exeext conftest.
$ac_ext
25590 LIBS
=$ac_check_lib_save_LIBS
25592 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25593 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25594 if test $ac_cv_lib_socket_connect = yes; then
25595 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25600 # Guillermo Gomez says -lposix is necessary on A/UX.
25601 echo "$as_me:$LINENO: checking for remove" >&5
25602 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25603 if test "${ac_cv_func_remove+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25606 cat >conftest.
$ac_ext <<_ACEOF
25609 cat confdefs.h
>>conftest.
$ac_ext
25610 cat >>conftest.
$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25614 #define remove innocuous_remove
25616 /* System header to define __stub macros and hopefully few prototypes,
25617 which can conflict with char remove (); below.
25618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25619 <limits.h> exists even on freestanding compilers. */
25622 # include <limits.h>
25624 # include <assert.h>
25629 /* Override any gcc2 internal prototype to avoid an error. */
25634 /* We use char because int might match the return type of a gcc2
25635 builtin and then its argument prototype would still apply. */
25637 /* The GNU C library defines this for functions which it implements
25638 to always fail with ENOSYS. Some functions are actually named
25639 something starting with __ and the normal name is an alias. */
25640 #if defined (__stub_remove) || defined (__stub___remove)
25643 char (*f) () = remove;
25652 return f != remove;
25657 rm -f conftest.
$ac_objext conftest
$ac_exeext
25658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25659 (eval $ac_link) 2>conftest.er1
25661 grep -v '^ *+' conftest.er1
>conftest.err
25663 cat conftest.err
>&5
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); } &&
25666 { ac_try
='test -z "$ac_c_werror_flag"
25667 || test ! -s conftest.err'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; } &&
25673 { ac_try
='test -s conftest$ac_exeext'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; }; then
25679 ac_cv_func_remove
=yes
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.
$ac_ext >&5
25684 ac_cv_func_remove
=no
25686 rm -f conftest.err conftest.
$ac_objext \
25687 conftest
$ac_exeext conftest.
$ac_ext
25689 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25690 echo "${ECHO_T}$ac_cv_func_remove" >&6
25692 if test $ac_cv_func_remove = no
; then
25693 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25694 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25695 if test "${ac_cv_lib_posix_remove+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25698 ac_check_lib_save_LIBS
=$LIBS
25699 LIBS
="-lposix $LIBS"
25700 cat >conftest.
$ac_ext <<_ACEOF
25703 cat confdefs.h
>>conftest.
$ac_ext
25704 cat >>conftest.
$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25707 /* Override any gcc2 internal prototype to avoid an error. */
25711 /* We use char because int might match the return type of a gcc2
25712 builtin and then its argument prototype would still apply. */
25722 rm -f conftest.
$ac_objext conftest
$ac_exeext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25724 (eval $ac_link) 2>conftest.er1
25726 grep -v '^ *+' conftest.er1
>conftest.err
25728 cat conftest.err
>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } &&
25731 { ac_try
='test -z "$ac_c_werror_flag"
25732 || test ! -s conftest.err'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; } &&
25738 { ac_try
='test -s conftest$ac_exeext'
25739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740 (eval $ac_try) 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); }; }; then
25744 ac_cv_lib_posix_remove
=yes
25746 echo "$as_me: failed program was:" >&5
25747 sed 's/^/| /' conftest.
$ac_ext >&5
25749 ac_cv_lib_posix_remove
=no
25751 rm -f conftest.err conftest.
$ac_objext \
25752 conftest
$ac_exeext conftest.
$ac_ext
25753 LIBS
=$ac_check_lib_save_LIBS
25755 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25757 if test $ac_cv_lib_posix_remove = yes; then
25758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25764 echo "$as_me:$LINENO: checking for shmat" >&5
25765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25766 if test "${ac_cv_func_shmat+set}" = set; then
25767 echo $ECHO_N "(cached) $ECHO_C" >&6
25769 cat >conftest.
$ac_ext <<_ACEOF
25772 cat confdefs.h
>>conftest.
$ac_ext
25773 cat >>conftest.
$ac_ext <<_ACEOF
25774 /* end confdefs.h. */
25775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25777 #define shmat innocuous_shmat
25779 /* System header to define __stub macros and hopefully few prototypes,
25780 which can conflict with char shmat (); below.
25781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25782 <limits.h> exists even on freestanding compilers. */
25785 # include <limits.h>
25787 # include <assert.h>
25792 /* Override any gcc2 internal prototype to avoid an error. */
25797 /* We use char because int might match the return type of a gcc2
25798 builtin and then its argument prototype would still apply. */
25800 /* The GNU C library defines this for functions which it implements
25801 to always fail with ENOSYS. Some functions are actually named
25802 something starting with __ and the normal name is an alias. */
25803 #if defined (__stub_shmat) || defined (__stub___shmat)
25806 char (*f) () = shmat;
25820 rm -f conftest.
$ac_objext conftest
$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822 (eval $ac_link) 2>conftest.er1
25824 grep -v '^ *+' conftest.er1
>conftest.err
25826 cat conftest.err
>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try
='test -z "$ac_c_werror_flag"
25830 || test ! -s conftest.err'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; } &&
25836 { ac_try
='test -s conftest$ac_exeext'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; }; then
25842 ac_cv_func_shmat
=yes
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.
$ac_ext >&5
25847 ac_cv_func_shmat
=no
25849 rm -f conftest.err conftest.
$ac_objext \
25850 conftest
$ac_exeext conftest.
$ac_ext
25852 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25853 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25855 if test $ac_cv_func_shmat = no
; then
25856 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25857 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25858 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25859 echo $ECHO_N "(cached) $ECHO_C" >&6
25861 ac_check_lib_save_LIBS
=$LIBS
25863 cat >conftest.
$ac_ext <<_ACEOF
25866 cat confdefs.h
>>conftest.
$ac_ext
25867 cat >>conftest.
$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25870 /* Override any gcc2 internal prototype to avoid an error. */
25874 /* We use char because int might match the return type of a gcc2
25875 builtin and then its argument prototype would still apply. */
25885 rm -f conftest.
$ac_objext conftest
$ac_exeext
25886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25887 (eval $ac_link) 2>conftest.er1
25889 grep -v '^ *+' conftest.er1
>conftest.err
25891 cat conftest.err
>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } &&
25894 { ac_try
='test -z "$ac_c_werror_flag"
25895 || test ! -s conftest.err'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; } &&
25901 { ac_try
='test -s conftest$ac_exeext'
25902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903 (eval $ac_try) 2>&5
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); }; }; then
25907 ac_cv_lib_ipc_shmat
=yes
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.
$ac_ext >&5
25912 ac_cv_lib_ipc_shmat
=no
25914 rm -f conftest.err conftest.
$ac_objext \
25915 conftest
$ac_exeext conftest.
$ac_ext
25916 LIBS
=$ac_check_lib_save_LIBS
25918 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25919 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25920 if test $ac_cv_lib_ipc_shmat = yes; then
25921 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25927 # Check for libraries that X11R6 Xt/Xaw programs need.
25928 ac_save_LDFLAGS
=$LDFLAGS
25929 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25930 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25931 # check for ICE first), but we must link in the order -lSM -lICE or
25932 # we get undefined symbols. So assume we have SM if we have ICE.
25933 # These have to be linked with before -lX11, unlike the other
25934 # libraries we check for below, so use a different variable.
25935 # John Interrante, Karl Berry
25936 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25937 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25938 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25939 echo $ECHO_N "(cached) $ECHO_C" >&6
25941 ac_check_lib_save_LIBS
=$LIBS
25942 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25943 cat >conftest.
$ac_ext <<_ACEOF
25946 cat confdefs.h
>>conftest.
$ac_ext
25947 cat >>conftest.
$ac_ext <<_ACEOF
25948 /* end confdefs.h. */
25950 /* Override any gcc2 internal prototype to avoid an error. */
25954 /* We use char because int might match the return type of a gcc2
25955 builtin and then its argument prototype would still apply. */
25956 char IceConnectionNumber ();
25960 IceConnectionNumber ();
25965 rm -f conftest.
$ac_objext conftest
$ac_exeext
25966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25967 (eval $ac_link) 2>conftest.er1
25969 grep -v '^ *+' conftest.er1
>conftest.err
25971 cat conftest.err
>&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } &&
25974 { ac_try
='test -z "$ac_c_werror_flag"
25975 || test ! -s conftest.err'
25976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25977 (eval $ac_try) 2>&5
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); }; } &&
25981 { ac_try
='test -s conftest$ac_exeext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 ac_cv_lib_ICE_IceConnectionNumber
=yes
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.
$ac_ext >&5
25992 ac_cv_lib_ICE_IceConnectionNumber
=no
25994 rm -f conftest.err conftest.
$ac_objext \
25995 conftest
$ac_exeext conftest.
$ac_ext
25996 LIBS
=$ac_check_lib_save_LIBS
25998 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25999 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26000 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26001 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26004 LDFLAGS
=$ac_save_LDFLAGS
26009 if test "$no_x" = "yes"; then
26010 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26011 echo "$as_me: error: X11 not found" >&2;}
26012 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26015 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
26016 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26017 AFMINSTALL
=afminstall
26018 COMPILED_X_PROGRAM
=0
26020 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26021 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26024 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26026 if test -f "$ac_dir/Xm/Xm.h"; then
26027 ac_find_includes
=$ac_dir
26032 if test "$ac_find_includes" != "" ; then
26033 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26034 echo "${ECHO_T}found in $ac_find_includes" >&6
26036 if test "x$ac_find_includes" = "x/usr/include"; then
26037 ac_path_to_include
=""
26039 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26041 if test $result = 0; then
26042 ac_path_to_include
=""
26044 ac_path_to_include
=" -I$ac_find_includes"
26048 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26050 cat >conftest.
$ac_ext <<_ACEOF
26053 cat confdefs.h
>>conftest.
$ac_ext
26054 cat >>conftest.
$ac_ext <<_ACEOF
26055 /* end confdefs.h. */
26064 version = xmUseVersion;
26070 rm -f conftest.
$ac_objext
26071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26072 (eval $ac_compile) 2>conftest.er1
26074 grep -v '^ *+' conftest.er1
>conftest.err
26076 cat conftest.err
>&5
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); } &&
26079 { ac_try
='test -z "$ac_c_werror_flag"
26080 || test ! -s conftest.err'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; } &&
26086 { ac_try
='test -s conftest.$ac_objext'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; }; then
26093 echo "$as_me:$LINENO: result: found in default search path" >&5
26094 echo "${ECHO_T}found in default search path" >&6
26095 COMPILED_X_PROGRAM
=1
26098 echo "$as_me: failed program was:" >&5
26099 sed 's/^/| /' conftest.
$ac_ext >&5
26102 echo "$as_me:$LINENO: result: no" >&5
26103 echo "${ECHO_T}no" >&6
26104 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26105 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26106 { (exit 1); exit 1; }; }
26110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26113 if test "$COMPILED_X_PROGRAM" = 0; then
26114 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26115 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26118 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26120 for ac_extension
in a so sl dylib
; do
26121 if test -f "$ac_dir/libXm.$ac_extension"; then
26122 ac_find_libraries
=$ac_dir
26128 if test "$ac_find_libraries" != "" ; then
26129 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26130 echo "${ECHO_T}found at $ac_find_libraries" >&6
26133 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26135 if test $result = 0; then
26138 ac_path_to_link
=" -L$ac_find_libraries"
26141 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26143 save_CFLAGS
=$CFLAGS
26144 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26146 cat >conftest.
$ac_ext <<_ACEOF
26149 cat confdefs.h
>>conftest.
$ac_ext
26150 cat >>conftest.
$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26160 version = xmUseVersion;
26166 rm -f conftest.
$ac_objext
26167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26168 (eval $ac_compile) 2>conftest.er1
26170 grep -v '^ *+' conftest.er1
>conftest.err
26172 cat conftest.err
>&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } &&
26175 { ac_try
='test -z "$ac_c_werror_flag"
26176 || test ! -s conftest.err'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; } &&
26182 { ac_try
='test -s conftest.$ac_objext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26189 echo "$as_me:$LINENO: result: found in default search path" >&5
26190 echo "${ECHO_T}found in default search path" >&6
26191 COMPILED_X_PROGRAM
=1
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.
$ac_ext >&5
26198 echo "$as_me:$LINENO: result: no" >&5
26199 echo "${ECHO_T}no" >&6
26200 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26201 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26202 { (exit 1); exit 1; }; }
26206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26208 CFLAGS
=$save_CFLAGS
26212 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26213 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26217 for libp
in "" " -lXp"; do
26218 if test "$libs_found" = "0"; then
26219 for libsm_ice
in "" " -lSM -lICE"; do
26220 if test "$libs_found" = "0"; then
26222 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26223 save_CFLAGS
=$CFLAGS
26224 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26226 cat >conftest.
$ac_ext <<_ACEOF
26229 cat confdefs.h
>>conftest.
$ac_ext
26230 cat >>conftest.
$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26234 #include <Xm/List.h>
26240 XmString string = NULL;
26243 XmListAddItem(w, string, position);
26249 rm -f conftest.
$ac_objext conftest
$ac_exeext
26250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26251 (eval $ac_link) 2>conftest.er1
26253 grep -v '^ *+' conftest.er1
>conftest.err
26255 cat conftest.err
>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); } &&
26258 { ac_try
='test -z "$ac_c_werror_flag"
26259 || test ! -s conftest.err'
26260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26261 (eval $ac_try) 2>&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); }; } &&
26265 { ac_try
='test -s conftest$ac_exeext'
26266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26267 (eval $ac_try) 2>&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); }; }; then
26273 libsm_ice_link
="$libsm_ice"
26274 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26275 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.
$ac_ext >&5
26285 rm -f conftest.err conftest.
$ac_objext \
26286 conftest
$ac_exeext conftest.
$ac_ext
26289 CFLAGS
=$save_CFLAGS
26295 if test "$libs_found" = "0"; then
26296 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26297 echo "${ECHO_T}can't find the right libraries" >&6
26298 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26299 echo "$as_me: error: can't link a simple motif program" >&2;}
26300 { (exit 1); exit 1; }; }
26303 save_CFLAGS
=$CFLAGS
26304 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26305 echo "$as_me:$LINENO: checking for Motif 2" >&5
26306 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26307 cat >conftest.
$ac_ext <<_ACEOF
26310 cat confdefs.h
>>conftest.
$ac_ext
26311 cat >>conftest.
$ac_ext <<_ACEOF
26312 /* end confdefs.h. */
26320 #if XmVersion < 2000
26321 #error "Not Motif 2"
26328 rm -f conftest.
$ac_objext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26330 (eval $ac_compile) 2>conftest.er1
26332 grep -v '^ *+' conftest.er1
>conftest.err
26334 cat conftest.err
>&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try
='test -z "$ac_c_werror_flag"
26338 || test ! -s conftest.err'
26339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26340 (eval $ac_try) 2>&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); }; } &&
26344 { ac_try
='test -s conftest.$ac_objext'
26345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346 (eval $ac_try) 2>&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); }; }; then
26351 cat >>confdefs.h
<<\_ACEOF
26352 #define __WXMOTIF20__ 1
26355 echo "$as_me:$LINENO: result: found" >&5
26356 echo "${ECHO_T}found" >&6
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.
$ac_ext >&5
26363 cat >>confdefs.h
<<\_ACEOF
26364 #define __WXMOTIF20__ 0
26367 echo "$as_me:$LINENO: result: not found" >&5
26368 echo "${ECHO_T}not found" >&6
26371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26372 CFLAGS
=$save_CFLAGS
26374 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26375 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26380 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26381 if test "$wxUSE_LIBXPM" = "sys"; then
26382 echo "$as_me:$LINENO: checking for Xpm library" >&5
26383 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26386 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26388 for ac_extension
in a so sl dylib
; do
26389 if test -f "$ac_dir/libXpm.$ac_extension"; then
26390 ac_find_libraries
=$ac_dir
26396 if test "$ac_find_libraries" != "" ; then
26398 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26400 if test $result = 0; then
26403 ac_path_to_link
=" -L$ac_find_libraries"
26406 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26407 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26408 echo "${ECHO_T}found at $ac_find_libraries" >&6
26410 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26411 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26412 if test "${wx_cv_x11_xpm_h+set}" = set; then
26413 echo $ECHO_N "(cached) $ECHO_C" >&6
26416 save_CFLAGS
=$CFLAGS
26417 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26419 cat >conftest.
$ac_ext <<_ACEOF
26422 cat confdefs.h
>>conftest.
$ac_ext
26423 cat >>conftest.
$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26426 #include <X11/xpm.h>
26433 version = XpmLibraryVersion();
26439 rm -f conftest.
$ac_objext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26441 (eval $ac_compile) 2>conftest.er1
26443 grep -v '^ *+' conftest.er1
>conftest.err
26445 cat conftest.err
>&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try
='test -z "$ac_c_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try
='test -s conftest.$ac_objext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 wx_cv_x11_xpm_h
=yes
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.
$ac_ext >&5
26469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26471 CFLAGS
=$save_CFLAGS
26475 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26476 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26478 if test $wx_cv_x11_xpm_h = "yes"; then
26479 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26480 cat >>confdefs.h
<<\_ACEOF
26481 #define wxHAVE_LIB_XPM 1
26485 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26486 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26492 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26493 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26494 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26497 ac_check_lib_save_LIBS
=$LIBS
26498 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26499 cat >conftest.
$ac_ext <<_ACEOF
26502 cat confdefs.h
>>conftest.
$ac_ext
26503 cat >>conftest.
$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26506 /* Override any gcc2 internal prototype to avoid an error. */
26510 /* We use char because int might match the return type of a gcc2
26511 builtin and then its argument prototype would still apply. */
26512 char XShapeQueryExtension ();
26516 XShapeQueryExtension ();
26521 rm -f conftest.
$ac_objext conftest
$ac_exeext
26522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26523 (eval $ac_link) 2>conftest.er1
26525 grep -v '^ *+' conftest.er1
>conftest.err
26527 cat conftest.err
>&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); } &&
26530 { ac_try
='test -z "$ac_c_werror_flag"
26531 || test ! -s conftest.err'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; } &&
26537 { ac_try
='test -s conftest$ac_exeext'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; }; then
26543 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.
$ac_ext >&5
26548 ac_cv_lib_Xext_XShapeQueryExtension
=no
26550 rm -f conftest.err conftest.
$ac_objext \
26551 conftest
$ac_exeext conftest.
$ac_ext
26552 LIBS
=$ac_check_lib_save_LIBS
26554 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26555 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26556 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26558 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26564 if test "$wxHAVE_XEXT_LIB" = 1; then
26565 save_CFLAGS
="$CFLAGS"
26566 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26568 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26569 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26570 cat >conftest.
$ac_ext <<_ACEOF
26573 cat confdefs.h
>>conftest.
$ac_ext
26574 cat >>conftest.
$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26577 #include <X11/Xlib.h>
26578 #include <X11/extensions/shape.h>
26584 int dummy1, dummy2;
26585 XShapeQueryExtension((Display*)NULL,
26586 (int*)NULL, (int*)NULL);
26592 rm -f conftest.
$ac_objext
26593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26594 (eval $ac_compile) 2>conftest.er1
26596 grep -v '^ *+' conftest.er1
>conftest.err
26598 cat conftest.err
>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } &&
26601 { ac_try
='test -z "$ac_c_werror_flag"
26602 || test ! -s conftest.err'
26603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604 (eval $ac_try) 2>&5
26606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607 (exit $ac_status); }; } &&
26608 { ac_try
='test -s conftest.$ac_objext'
26609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610 (eval $ac_try) 2>&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); }; }; then
26615 cat >>confdefs.h
<<\_ACEOF
26616 #define HAVE_XSHAPE 1
26619 echo "$as_me:$LINENO: result: found" >&5
26620 echo "${ECHO_T}found" >&6
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.
$ac_ext >&5
26627 echo "$as_me:$LINENO: result: not found" >&5
26628 echo "${ECHO_T}not found" >&6
26631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26632 CFLAGS
="$save_CFLAGS"
26637 if test "$wxUSE_MAC" = 1; then
26638 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26639 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26640 if test "$GCC" = yes; then
26641 echo "$as_me:$LINENO: result: gcc" >&5
26642 echo "${ECHO_T}gcc" >&6
26643 CPPFLAGS_PASCAL
="-fpascal-strings"
26644 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26645 echo "$as_me:$LINENO: result: xlc" >&5
26646 echo "${ECHO_T}xlc" >&6
26647 CPPFLAGS_PASCAL
="-qmacpstr"
26649 echo "$as_me:$LINENO: result: none" >&5
26650 echo "${ECHO_T}none" >&6
26653 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
26655 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
26658 WXBASEPORT
="_carbon"
26661 if test "$wxUSE_COCOA" = 1; then
26662 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
26667 if test "$wxUSE_PM" = 1; then
26672 if test "$TOOLKIT" = "PM" ; then
26675 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26678 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26680 if test "$wxUSE_UNIVERSAL" = "yes"; then
26681 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26683 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26684 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26686 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26687 if test "$wxUSE_X11" = 1; then
26688 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26690 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26692 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26695 ALL_OBJECTS
="\$(GUIOBJS)"
26696 ALL_SOURCES
="\$(ALL_SOURCES)"
26697 ALL_HEADERS
="\$(ALL_HEADERS)"
26700 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26702 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26703 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
26706 if test "$wxUSE_HTML" = "yes"; then
26707 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
26710 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26711 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
26713 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26714 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
26716 if test "$wxUSE_LIBPNG" = "builtin" ; then
26717 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
26720 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26721 DISTDIR
="wx\$(TOOLKIT)"
26727 if test "$USE_WIN32" = 1 ; then
26728 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26729 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
26733 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26734 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
26737 ALL_SOURCES
="\$(ALL_SOURCES)"
26738 ALL_HEADERS
="\$(ALL_HEADERS)"
26740 PORT_FILES
="\${top_srcdir}/src/files.lst"
26742 GUIDIST
="BASE_DIST"
26752 if test "$TOOLKIT" != "MSW" ; then
26754 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26756 if test "${ac_cv_header_sql_h+set}" = set; then
26757 echo "$as_me:$LINENO: checking for sql.h" >&5
26758 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26759 if test "${ac_cv_header_sql_h+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26763 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26765 # Is the header compilable?
26766 echo "$as_me:$LINENO: checking sql.h usability" >&5
26767 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26768 cat >conftest.
$ac_ext <<_ACEOF
26771 cat confdefs.h
>>conftest.
$ac_ext
26772 cat >>conftest.
$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774 $ac_includes_default
26777 rm -f conftest.
$ac_objext
26778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26779 (eval $ac_compile) 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } &&
26786 { ac_try
='test -z "$ac_c_werror_flag"
26787 || test ! -s conftest.err'
26788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26789 (eval $ac_try) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); }; } &&
26793 { ac_try
='test -s conftest.$ac_objext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26799 ac_header_compiler
=yes
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.
$ac_ext >&5
26804 ac_header_compiler
=no
26806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26807 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26808 echo "${ECHO_T}$ac_header_compiler" >&6
26810 # Is the header present?
26811 echo "$as_me:$LINENO: checking sql.h presence" >&5
26812 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26813 cat >conftest.
$ac_ext <<_ACEOF
26816 cat confdefs.h
>>conftest.
$ac_ext
26817 cat >>conftest.
$ac_ext <<_ACEOF
26818 /* end confdefs.h. */
26821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26824 grep -v '^ *+' conftest.er1
>conftest.err
26826 cat conftest.err
>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } >/dev
/null
; then
26829 if test -s conftest.err
; then
26830 ac_cpp_err
=$ac_c_preproc_warn_flag
26831 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26838 if test -z "$ac_cpp_err"; then
26839 ac_header_preproc
=yes
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.
$ac_ext >&5
26844 ac_header_preproc
=no
26846 rm -f conftest.err conftest.
$ac_ext
26847 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26848 echo "${ECHO_T}$ac_header_preproc" >&6
26850 # So? What about this header?
26851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26853 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26854 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26855 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26856 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26857 ac_header_preproc
=yes
26860 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26861 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26862 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26863 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26864 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26865 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26866 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26867 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26868 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26869 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26870 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26871 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26874 ## ----------------------------------------- ##
26875 ## Report this to wx-dev@lists.wxwindows.org ##
26876 ## ----------------------------------------- ##
26879 sed "s/^/$as_me: WARNING: /" >&2
26882 echo "$as_me:$LINENO: checking for sql.h" >&5
26883 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26884 if test "${ac_cv_header_sql_h+set}" = set; then
26885 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 ac_cv_header_sql_h
=$ac_header_preproc
26889 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26890 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26893 if test $ac_cv_header_sql_h = yes; then
26898 if test "x$found_sql_h" = "x1" ; then
26899 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26900 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26901 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 ac_check_lib_save_LIBS
=$LIBS
26905 LIBS
="-liodbc $LIBS"
26906 cat >conftest.
$ac_ext <<_ACEOF
26909 cat confdefs.h
>>conftest.
$ac_ext
26910 cat >>conftest.
$ac_ext <<_ACEOF
26911 /* end confdefs.h. */
26913 /* Override any gcc2 internal prototype to avoid an error. */
26917 /* We use char because int might match the return type of a gcc2
26918 builtin and then its argument prototype would still apply. */
26919 char SQLAllocEnv ();
26928 rm -f conftest.
$ac_objext conftest
$ac_exeext
26929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26930 (eval $ac_link) 2>conftest.er1
26932 grep -v '^ *+' conftest.er1
>conftest.err
26934 cat conftest.err
>&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } &&
26937 { ac_try
='test -z "$ac_c_werror_flag"
26938 || test ! -s conftest.err'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; } &&
26944 { ac_try
='test -s conftest$ac_exeext'
26945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26946 (eval $ac_try) 2>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; }; then
26950 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.
$ac_ext >&5
26955 ac_cv_lib_iodbc_SQLAllocEnv
=no
26957 rm -f conftest.err conftest.
$ac_objext \
26958 conftest
$ac_exeext conftest.
$ac_ext
26959 LIBS
=$ac_check_lib_save_LIBS
26961 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26962 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26963 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26964 ODBC_LINK
=" -liodbc"
26967 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26968 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26969 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 ac_check_lib_save_LIBS
=$LIBS
26973 LIBS
="-lunixodbc $LIBS"
26974 cat >conftest.
$ac_ext <<_ACEOF
26977 cat confdefs.h
>>conftest.
$ac_ext
26978 cat >>conftest.
$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26981 /* Override any gcc2 internal prototype to avoid an error. */
26985 /* We use char because int might match the return type of a gcc2
26986 builtin and then its argument prototype would still apply. */
26987 char SQLAllocEnv ();
26996 rm -f conftest.
$ac_objext conftest
$ac_exeext
26997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26998 (eval $ac_link) 2>conftest.er1
27000 grep -v '^ *+' conftest.er1
>conftest.err
27002 cat conftest.err
>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); } &&
27005 { ac_try
='test -z "$ac_c_werror_flag"
27006 || test ! -s conftest.err'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; } &&
27012 { ac_try
='test -s conftest$ac_exeext'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; }; then
27018 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27020 echo "$as_me: failed program was:" >&5
27021 sed 's/^/| /' conftest.
$ac_ext >&5
27023 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27025 rm -f conftest.err conftest.
$ac_objext \
27026 conftest
$ac_exeext conftest.
$ac_ext
27027 LIBS
=$ac_check_lib_save_LIBS
27029 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27030 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27031 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27032 ODBC_LINK
=" -lunixodbc"
27035 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27036 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27037 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27038 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 ac_check_lib_save_LIBS
=$LIBS
27041 LIBS
="-lodbc $LIBS"
27042 cat >conftest.
$ac_ext <<_ACEOF
27045 cat confdefs.h
>>conftest.
$ac_ext
27046 cat >>conftest.
$ac_ext <<_ACEOF
27047 /* end confdefs.h. */
27049 /* Override any gcc2 internal prototype to avoid an error. */
27053 /* We use char because int might match the return type of a gcc2
27054 builtin and then its argument prototype would still apply. */
27055 char SQLAllocEnv ();
27064 rm -f conftest.
$ac_objext conftest
$ac_exeext
27065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27066 (eval $ac_link) 2>conftest.er1
27068 grep -v '^ *+' conftest.er1
>conftest.err
27070 cat conftest.err
>&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } &&
27073 { ac_try
='test -z "$ac_c_werror_flag"
27074 || test ! -s conftest.err'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; } &&
27080 { ac_try
='test -s conftest$ac_exeext'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; }; then
27086 ac_cv_lib_odbc_SQLAllocEnv
=yes
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.
$ac_ext >&5
27091 ac_cv_lib_odbc_SQLAllocEnv
=no
27093 rm -f conftest.err conftest.
$ac_objext \
27094 conftest
$ac_exeext conftest.
$ac_ext
27095 LIBS
=$ac_check_lib_save_LIBS
27097 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27098 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27099 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27100 ODBC_LINK
=" -lodbc"
27110 if test "x$ODBC_LINK" = "x" ; then
27111 if test "$wxUSE_ODBC" = "sys" ; then
27112 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27113 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27114 { (exit 1); exit 1; }; }
27116 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27117 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27124 if test "$wxUSE_ODBC" != "no" ; then
27125 cat >>confdefs.h
<<\_ACEOF
27126 #define wxUSE_ODBC 1
27129 if test "$wxUSE_ODBC" = "builtin" ; then
27130 cat >>confdefs.h
<<\_ACEOF
27131 #define wxUSE_BUILTIN_IODBC 1
27135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27137 WXODBCFLAG
="-D_IODBC_"
27141 if test "$wxUSE_REGEX" = "builtin" ; then
27142 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
27144 if test "$wxUSE_ZLIB" = "builtin" ; then
27145 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
27148 if test "$wxUSE_DISPLAY" = "yes"; then
27149 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27150 echo "$as_me:$LINENO: checking for Xinerama" >&5
27151 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27154 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27156 for ac_extension
in a so sl dylib
; do
27157 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27158 ac_find_libraries
=$ac_dir
27164 if test "$ac_find_libraries" != "" ; then
27166 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27168 if test $result = 0; then
27171 ac_path_to_link
=" -L$ac_find_libraries"
27174 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27175 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27177 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27178 echo "$as_me:$LINENO: result: yes" >&5
27179 echo "${ECHO_T}yes" >&6
27181 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27182 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27185 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27187 for ac_extension
in a so sl dylib
; do
27188 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27189 ac_find_libraries
=$ac_dir
27195 if test "$ac_find_libraries" != "" ; then
27196 echo "$as_me:$LINENO: result: yes" >&5
27197 echo "${ECHO_T}yes" >&6
27199 for ac_header
in X
11/extensions
/xf86vmode.h
27201 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27202 echo "$as_me:$LINENO: checking for $ac_header" >&5
27203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27205 echo $ECHO_N "(cached) $ECHO_C" >&6
27207 cat >conftest.
$ac_ext <<_ACEOF
27210 cat confdefs.h
>>conftest.
$ac_ext
27211 cat >>conftest.
$ac_ext <<_ACEOF
27212 /* end confdefs.h. */
27214 #if HAVE_X11_XLIB_H
27215 #include <X11/Xlib.h>
27219 #include <$ac_header>
27221 rm -f conftest.
$ac_objext
27222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27223 (eval $ac_compile) 2>conftest.er1
27225 grep -v '^ *+' conftest.er1
>conftest.err
27227 cat conftest.err
>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } &&
27230 { ac_try
='test -z "$ac_c_werror_flag"
27231 || test ! -s conftest.err'
27232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27233 (eval $ac_try) 2>&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); }; } &&
27237 { ac_try
='test -s conftest.$ac_objext'
27238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27239 (eval $ac_try) 2>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); }; }; then
27243 eval "$as_ac_Header=yes"
27245 echo "$as_me: failed program was:" >&5
27246 sed 's/^/| /' conftest.
$ac_ext >&5
27248 eval "$as_ac_Header=no"
27250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27255 cat >>confdefs.h
<<_ACEOF
27256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27259 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27266 echo "$as_me:$LINENO: result: no" >&5
27267 echo "${ECHO_T}no" >&6
27271 echo "$as_me:$LINENO: result: no" >&5
27272 echo "${ECHO_T}no" >&6
27273 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27274 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27282 if test "$wxUSE_OPENGL" = "yes"; then
27283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27284 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27285 elif test "$wxUSE_MSW" = 1; then
27286 OPENGL_LIBS
="-lopengl32 -lglu32"
27291 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27293 if test -f "$ac_dir/GL/gl.h"; then
27294 ac_find_includes
=$ac_dir
27299 if test "$ac_find_includes" != "" ; then
27300 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27301 echo "${ECHO_T}found in $ac_find_includes" >&6
27303 if test "x$ac_find_includes" = "x/usr/include"; then
27304 ac_path_to_include
=""
27306 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27308 if test $result = 0; then
27309 ac_path_to_include
=""
27311 ac_path_to_include
=" -I$ac_find_includes"
27315 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27318 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27319 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27320 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27321 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27322 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27325 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27327 # Is the header compilable?
27328 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27329 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27330 cat >conftest.
$ac_ext <<_ACEOF
27333 cat confdefs.h
>>conftest.
$ac_ext
27334 cat >>conftest.
$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27336 $ac_includes_default
27339 rm -f conftest.
$ac_objext
27340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27341 (eval $ac_compile) 2>conftest.er1
27343 grep -v '^ *+' conftest.er1
>conftest.err
27345 cat conftest.err
>&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } &&
27348 { ac_try
='test -z "$ac_c_werror_flag"
27349 || test ! -s conftest.err'
27350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351 (eval $ac_try) 2>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); }; } &&
27355 { ac_try
='test -s conftest.$ac_objext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27361 ac_header_compiler
=yes
27363 echo "$as_me: failed program was:" >&5
27364 sed 's/^/| /' conftest.
$ac_ext >&5
27366 ac_header_compiler
=no
27368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27370 echo "${ECHO_T}$ac_header_compiler" >&6
27372 # Is the header present?
27373 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27374 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27375 cat >conftest.
$ac_ext <<_ACEOF
27378 cat confdefs.h
>>conftest.
$ac_ext
27379 cat >>conftest.
$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27386 grep -v '^ *+' conftest.er1
>conftest.err
27388 cat conftest.err
>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } >/dev
/null
; then
27391 if test -s conftest.err
; then
27392 ac_cpp_err
=$ac_c_preproc_warn_flag
27393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27400 if test -z "$ac_cpp_err"; then
27401 ac_header_preproc
=yes
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.
$ac_ext >&5
27406 ac_header_preproc
=no
27408 rm -f conftest.err conftest.
$ac_ext
27409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27410 echo "${ECHO_T}$ac_header_preproc" >&6
27412 # So? What about this header?
27413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27415 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27416 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27417 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27418 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27419 ac_header_preproc
=yes
27422 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27423 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27424 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27425 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27426 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27427 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27429 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27430 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27431 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27432 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27433 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27436 ## ----------------------------------------- ##
27437 ## Report this to wx-dev@lists.wxwindows.org ##
27438 ## ----------------------------------------- ##
27441 sed "s/^/$as_me: WARNING: /" >&2
27444 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27445 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27446 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27447 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 ac_cv_header_GL_gl_h
=$ac_header_preproc
27451 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27452 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27455 if test $ac_cv_header_GL_gl_h = yes; then
27459 echo "$as_me:$LINENO: checking for -lGL" >&5
27460 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27463 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27465 for ac_extension
in a so sl dylib
; do
27466 if test -f "$ac_dir/libGL.$ac_extension"; then
27467 ac_find_libraries
=$ac_dir
27473 if test "$ac_find_libraries" != "" ; then
27475 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27477 if test $result = 0; then
27480 ac_path_to_link
=" -L$ac_find_libraries"
27483 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27484 LDFLAGS_GL
="$ac_path_to_link"
27489 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27491 for ac_extension
in a so sl dylib
; do
27492 if test -f "$ac_dir/libGLU.$ac_extension"; then
27493 ac_find_libraries
=$ac_dir
27499 if test "$ac_find_libraries" != "" ; then
27501 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27503 if test $result = 0; then
27506 ac_path_to_link
=" -L$ac_find_libraries"
27509 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27510 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27511 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27515 OPENGL_LIBS
="-lGL -lGLU"
27516 echo "$as_me:$LINENO: result: yes" >&5
27517 echo "${ECHO_T}yes" >&6
27521 if test "$found_gl" != 1; then
27522 echo "$as_me:$LINENO: result: no" >&5
27523 echo "${ECHO_T}no" >&6
27524 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27525 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27528 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27530 for ac_extension
in a so sl dylib
; do
27531 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27532 ac_find_libraries
=$ac_dir
27538 if test "$ac_find_libraries" != "" ; then
27540 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27542 if test $result = 0; then
27545 ac_path_to_link
=" -L$ac_find_libraries"
27548 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27549 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27550 echo "$as_me:$LINENO: result: yes" >&5
27551 echo "${ECHO_T}yes" >&6
27553 echo "$as_me:$LINENO: result: no" >&5
27554 echo "${ECHO_T}no" >&6
27562 if test "x$OPENGL_LIBS" = "x"; then
27563 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27564 echo "$as_me: error: OpenGL libraries not available" >&2;}
27565 { (exit 1); exit 1; }; }
27569 if test "$wxUSE_OPENGL" = "yes"; then
27571 cat >>confdefs.h
<<\_ACEOF
27572 #define wxUSE_OPENGL 1
27575 cat >>confdefs.h
<<\_ACEOF
27576 #define wxUSE_GLCANVAS 1
27579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27583 if test -z "$TOOLKIT_VPATH" ; then
27584 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
27587 if test -n "$TOOLKIT" ; then
27588 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27592 lib_unicode_suffix
=
27593 if test "$wxUSE_UNICODE" = "yes"; then
27594 lib_unicode_suffix
=u
27600 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27606 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27610 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27612 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27613 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27615 if test "$cross_compiling" = "yes"; then
27616 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
27617 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
27618 HOST_SUFFIX
="-${host_alias}"
27621 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
27622 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
27623 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27624 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27626 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27627 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27629 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27630 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27631 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27632 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27635 *-*-cygwin* | *-*-mingw32* )
27636 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27637 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27642 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27643 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27645 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27646 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
27647 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27648 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27650 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27651 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27652 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27657 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
27658 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
27660 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
27661 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
27663 if test "$wxUSE_OPENGL" = "yes"; then
27664 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27665 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27670 if test "$wxUSE_SHARED" = "yes"; then
27672 *-pc-os2_emx | *-pc-os2-emx | \
27675 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27676 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27682 if test "$wxUSE_SHARED" = "yes"; then
27686 found_versioning
=no
27689 if test $found_versioning = no
; then
27690 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27691 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27692 if test "${wx_cv_version_script+set}" = set; then
27693 echo $ECHO_N "(cached) $ECHO_C" >&6
27696 echo "VER_1 { *; };" >conftest.sym
27697 echo "int main() { return 0; }" >conftest.cpp
27700 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27701 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27703 (eval $ac_try) 2>&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); }; } ; then
27707 if test -s conftest.stderr
; then
27708 wx_cv_version_script
=no
27710 wx_cv_version_script
=yes
27713 wx_cv_version_script
=no
27715 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27718 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27719 echo "${ECHO_T}$wx_cv_version_script" >&6
27720 if test $wx_cv_version_script = yes ; then
27721 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27727 *-*-linux* | *-*-gnu* )
27728 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27732 if test "$GCC" = yes ; then
27733 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27735 saveLdflags
="$LDFLAGS"
27736 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27737 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27738 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27739 cat >conftest.
$ac_ext <<_ACEOF
27742 cat confdefs.h
>>conftest.
$ac_ext
27743 cat >>conftest.
$ac_ext <<_ACEOF
27744 /* end confdefs.h. */
27754 rm -f conftest.
$ac_objext conftest
$ac_exeext
27755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27756 (eval $ac_link) 2>conftest.er1
27758 grep -v '^ *+' conftest.er1
>conftest.err
27760 cat conftest.err
>&5
27761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27762 (exit $ac_status); } &&
27763 { ac_try
='test -z "$ac_c_werror_flag"
27764 || test ! -s conftest.err'
27765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27766 (eval $ac_try) 2>&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); }; } &&
27770 { ac_try
='test -s conftest$ac_exeext'
27771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772 (eval $ac_try) 2>&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; }; then
27777 echo "$as_me:$LINENO: result: yes" >&5
27778 echo "${ECHO_T}yes" >&6
27779 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27782 echo "$as_me: failed program was:" >&5
27783 sed 's/^/| /' conftest.
$ac_ext >&5
27786 echo "$as_me:$LINENO: result: no" >&5
27787 echo "${ECHO_T}no" >&6
27788 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27789 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27790 LDFLAGS
="$saveLdflags -Wl,-R,/"
27791 cat >conftest.
$ac_ext <<_ACEOF
27794 cat confdefs.h
>>conftest.
$ac_ext
27795 cat >>conftest.
$ac_ext <<_ACEOF
27796 /* end confdefs.h. */
27806 rm -f conftest.
$ac_objext conftest
$ac_exeext
27807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27808 (eval $ac_link) 2>conftest.er1
27810 grep -v '^ *+' conftest.er1
>conftest.err
27812 cat conftest.err
>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } &&
27815 { ac_try
='test -z "$ac_c_werror_flag"
27816 || test ! -s conftest.err'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; } &&
27822 { ac_try
='test -s conftest$ac_exeext'
27823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27824 (eval $ac_try) 2>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); }; }; then
27829 echo "$as_me:$LINENO: result: yes" >&5
27830 echo "${ECHO_T}yes" >&6
27831 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.
$ac_ext >&5
27837 echo "$as_me:$LINENO: result: no" >&5
27838 echo "${ECHO_T}no" >&6
27841 rm -f conftest.err conftest.
$ac_objext \
27842 conftest
$ac_exeext conftest.
$ac_ext
27845 rm -f conftest.err conftest.
$ac_objext \
27846 conftest
$ac_exeext conftest.
$ac_ext
27847 LDFLAGS
="$saveLdflags"
27849 SHARED_LD
="${CXX} -G -o"
27851 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27855 powerpc
-*-darwin* )
27856 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27857 cat <<EOF >change-install-names
27859 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27860 inst_cmd="install_name_tool "
27861 for i in \${libnames} ; do
27862 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27866 chmod +x change
-install-names
27871 if test "x$WX_TARGET_LIBRARY" = "x"; then
27872 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
27873 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
27876 WX_TARGET_LIBRARY_TYPE
="so"
27877 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
27880 if test "$wxUSE_SHARED" = "no"; then
27882 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27883 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27886 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27887 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
27890 if test "$wxUSE_OPENGL" = "yes"; then
27891 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
27892 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27894 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27897 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
27898 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
27900 WX_TARGET_LIBRARY_TYPE
="a"
27901 INSTALL_LIBRARY
='$(INSTALL_DATA)'
27908 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27909 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27910 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
27911 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
27913 # Extract the first word of "Rez", so it can be a program name with args.
27914 set dummy Rez
; ac_word
=$2
27915 echo "$as_me:$LINENO: checking for $ac_word" >&5
27916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27917 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27918 echo $ECHO_N "(cached) $ECHO_C" >&6
27920 if test -n "$RESCOMP"; then
27921 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27924 for as_dir
in $PATH
27927 test -z "$as_dir" && as_dir
=.
27928 for ac_exec_ext
in '' $ac_executable_extensions; do
27929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27930 ac_cv_prog_RESCOMP
="Rez"
27931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27937 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27940 RESCOMP
=$ac_cv_prog_RESCOMP
27941 if test -n "$RESCOMP"; then
27942 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27943 echo "${ECHO_T}$RESCOMP" >&6
27945 echo "$as_me:$LINENO: result: no" >&5
27946 echo "${ECHO_T}no" >&6
27949 # Extract the first word of "DeRez", so it can be a program name with args.
27950 set dummy DeRez
; ac_word
=$2
27951 echo "$as_me:$LINENO: checking for $ac_word" >&5
27952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27953 if test "${ac_cv_prog_DEREZ+set}" = set; then
27954 echo $ECHO_N "(cached) $ECHO_C" >&6
27956 if test -n "$DEREZ"; then
27957 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27960 for as_dir
in $PATH
27963 test -z "$as_dir" && as_dir
=.
27964 for ac_exec_ext
in '' $ac_executable_extensions; do
27965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27966 ac_cv_prog_DEREZ
="DeRez"
27967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27973 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27976 DEREZ
=$ac_cv_prog_DEREZ
27977 if test -n "$DEREZ"; then
27978 echo "$as_me:$LINENO: result: $DEREZ" >&5
27979 echo "${ECHO_T}$DEREZ" >&6
27981 echo "$as_me:$LINENO: result: no" >&5
27982 echo "${ECHO_T}no" >&6
27985 # Extract the first word of "SetFile", so it can be a program name with args.
27986 set dummy SetFile
; ac_word
=$2
27987 echo "$as_me:$LINENO: checking for $ac_word" >&5
27988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27989 if test "${ac_cv_prog_SETFILE+set}" = set; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27992 if test -n "$SETFILE"; then
27993 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27996 for as_dir
in $PATH
27999 test -z "$as_dir" && as_dir
=.
28000 for ac_exec_ext
in '' $ac_executable_extensions; do
28001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28002 ac_cv_prog_SETFILE
="SetFile"
28003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28009 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28012 SETFILE
=$ac_cv_prog_SETFILE
28013 if test -n "$SETFILE"; then
28014 echo "$as_me:$LINENO: result: $SETFILE" >&5
28015 echo "${ECHO_T}$SETFILE" >&6
28017 echo "$as_me:$LINENO: result: no" >&5
28018 echo "${ECHO_T}no" >&6
28022 MACSETFILE
="\$(SETFILE)"
28024 if test "$wxUSE_MAC" = 1; then
28025 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28027 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28029 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28030 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28036 if test "$wxUSE_PM" = 1; then
28037 MACRESCOMP
="emxbind -ep"
28045 echo "$as_me:$LINENO: checking for mode_t" >&5
28046 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28047 if test "${ac_cv_type_mode_t+set}" = set; then
28048 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 cat >conftest.
$ac_ext <<_ACEOF
28053 cat confdefs.h
>>conftest.
$ac_ext
28054 cat >>conftest.
$ac_ext <<_ACEOF
28055 /* end confdefs.h. */
28056 $ac_includes_default
28062 if (sizeof (mode_t))
28068 rm -f conftest.
$ac_objext
28069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28070 (eval $ac_compile) 2>conftest.er1
28072 grep -v '^ *+' conftest.er1
>conftest.err
28074 cat conftest.err
>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); } &&
28077 { ac_try
='test -z "$ac_c_werror_flag"
28078 || test ! -s conftest.err'
28079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28080 (eval $ac_try) 2>&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); }; } &&
28084 { ac_try
='test -s conftest.$ac_objext'
28085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28086 (eval $ac_try) 2>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); }; }; then
28090 ac_cv_type_mode_t
=yes
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.
$ac_ext >&5
28095 ac_cv_type_mode_t
=no
28097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28099 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28100 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28101 if test $ac_cv_type_mode_t = yes; then
28105 cat >>confdefs.h
<<_ACEOF
28111 echo "$as_me:$LINENO: checking for off_t" >&5
28112 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28113 if test "${ac_cv_type_off_t+set}" = set; then
28114 echo $ECHO_N "(cached) $ECHO_C" >&6
28116 cat >conftest.
$ac_ext <<_ACEOF
28119 cat confdefs.h
>>conftest.
$ac_ext
28120 cat >>conftest.
$ac_ext <<_ACEOF
28121 /* end confdefs.h. */
28122 $ac_includes_default
28128 if (sizeof (off_t))
28134 rm -f conftest.
$ac_objext
28135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28136 (eval $ac_compile) 2>conftest.er1
28138 grep -v '^ *+' conftest.er1
>conftest.err
28140 cat conftest.err
>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); } &&
28143 { ac_try
='test -z "$ac_c_werror_flag"
28144 || test ! -s conftest.err'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; } &&
28150 { ac_try
='test -s conftest.$ac_objext'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; }; then
28156 ac_cv_type_off_t
=yes
28158 echo "$as_me: failed program was:" >&5
28159 sed 's/^/| /' conftest.
$ac_ext >&5
28161 ac_cv_type_off_t
=no
28163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28165 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28166 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28167 if test $ac_cv_type_off_t = yes; then
28171 cat >>confdefs.h
<<_ACEOF
28177 echo "$as_me:$LINENO: checking for pid_t" >&5
28178 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28179 if test "${ac_cv_type_pid_t+set}" = set; then
28180 echo $ECHO_N "(cached) $ECHO_C" >&6
28182 cat >conftest.
$ac_ext <<_ACEOF
28185 cat confdefs.h
>>conftest.
$ac_ext
28186 cat >>conftest.
$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28188 $ac_includes_default
28194 if (sizeof (pid_t))
28200 rm -f conftest.
$ac_objext
28201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28202 (eval $ac_compile) 2>conftest.er1
28204 grep -v '^ *+' conftest.er1
>conftest.err
28206 cat conftest.err
>&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try
='test -z "$ac_c_werror_flag"
28210 || test ! -s conftest.err'
28211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28212 (eval $ac_try) 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; } &&
28216 { ac_try
='test -s conftest.$ac_objext'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; }; then
28222 ac_cv_type_pid_t
=yes
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.
$ac_ext >&5
28227 ac_cv_type_pid_t
=no
28229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28231 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28232 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28233 if test $ac_cv_type_pid_t = yes; then
28237 cat >>confdefs.h
<<_ACEOF
28243 echo "$as_me:$LINENO: checking for size_t" >&5
28244 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28245 if test "${ac_cv_type_size_t+set}" = set; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28248 cat >conftest.
$ac_ext <<_ACEOF
28251 cat confdefs.h
>>conftest.
$ac_ext
28252 cat >>conftest.
$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254 $ac_includes_default
28260 if (sizeof (size_t))
28266 rm -f conftest.
$ac_objext
28267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28268 (eval $ac_compile) 2>conftest.er1
28270 grep -v '^ *+' conftest.er1
>conftest.err
28272 cat conftest.err
>&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } &&
28275 { ac_try
='test -z "$ac_c_werror_flag"
28276 || test ! -s conftest.err'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; } &&
28282 { ac_try
='test -s conftest.$ac_objext'
28283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28284 (eval $ac_try) 2>&5
28286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28287 (exit $ac_status); }; }; then
28288 ac_cv_type_size_t
=yes
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.
$ac_ext >&5
28293 ac_cv_type_size_t
=no
28295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28297 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28298 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28299 if test $ac_cv_type_size_t = yes; then
28303 cat >>confdefs.h
<<_ACEOF
28304 #define size_t unsigned
28309 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28310 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28311 if test "${ac_cv_type_uid_t+set}" = set; then
28312 echo $ECHO_N "(cached) $ECHO_C" >&6
28314 cat >conftest.
$ac_ext <<_ACEOF
28317 cat confdefs.h
>>conftest.
$ac_ext
28318 cat >>conftest.
$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320 #include <sys/types.h>
28323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28324 $EGREP "uid_t" >/dev
/null
2>&1; then
28325 ac_cv_type_uid_t
=yes
28327 ac_cv_type_uid_t
=no
28332 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28333 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28334 if test $ac_cv_type_uid_t = no
; then
28336 cat >>confdefs.h
<<\_ACEOF
28341 cat >>confdefs.h
<<\_ACEOF
28351 ac_cpp
='$CXXCPP $CPPFLAGS'
28352 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28356 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28357 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28358 if test "${wx_cv_size_t_is_uint+set}" = set; then
28359 echo $ECHO_N "(cached) $ECHO_C" >&6
28362 cat >conftest.
$ac_ext <<_ACEOF
28365 cat confdefs.h
>>conftest.
$ac_ext
28366 cat >>conftest.
$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 #include <stddef.h>
28375 struct Foo { void foo(size_t); void foo(unsigned int); };
28383 rm -f conftest.
$ac_objext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28385 (eval $ac_compile) 2>conftest.er1
28387 grep -v '^ *+' conftest.er1
>conftest.err
28389 cat conftest.err
>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } &&
28392 { ac_try
='test -z "$ac_cxx_werror_flag"
28393 || test ! -s conftest.err'
28394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395 (eval $ac_try) 2>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; } &&
28399 { ac_try
='test -s conftest.$ac_objext'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; }; then
28405 wx_cv_size_t_is_uint
=no
28407 echo "$as_me: failed program was:" >&5
28408 sed 's/^/| /' conftest.
$ac_ext >&5
28410 wx_cv_size_t_is_uint
=yes
28413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28417 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28418 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28420 if test "$wx_cv_size_t_is_uint" = "yes"; then
28421 cat >>confdefs.h
<<\_ACEOF
28422 #define wxSIZE_T_IS_UINT 1
28426 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28427 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28428 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 cat >conftest.
$ac_ext <<_ACEOF
28434 cat confdefs.h
>>conftest.
$ac_ext
28435 cat >>conftest.
$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28437 #include <stddef.h>
28444 struct Foo { void foo(size_t); void foo(unsigned long); };
28452 rm -f conftest.
$ac_objext
28453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28454 (eval $ac_compile) 2>conftest.er1
28456 grep -v '^ *+' conftest.er1
>conftest.err
28458 cat conftest.err
>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try
='test -z "$ac_cxx_werror_flag"
28462 || test ! -s conftest.err'
28463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28464 (eval $ac_try) 2>&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); }; } &&
28468 { ac_try
='test -s conftest.$ac_objext'
28469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28470 (eval $ac_try) 2>&5
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); }; }; then
28474 wx_cv_size_t_is_ulong
=no
28476 echo "$as_me: failed program was:" >&5
28477 sed 's/^/| /' conftest.
$ac_ext >&5
28479 wx_cv_size_t_is_ulong
=yes
28482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28485 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28486 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28488 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28489 cat >>confdefs.h
<<\_ACEOF
28490 #define wxSIZE_T_IS_ULONG 1
28497 ac_cpp
='$CPP $CPPFLAGS'
28498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28504 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28505 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28506 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28510 cat >conftest.
$ac_ext <<_ACEOF
28513 cat confdefs.h
>>conftest.
$ac_ext
28514 cat >>conftest.
$ac_ext <<_ACEOF
28515 /* end confdefs.h. */
28529 rm -f conftest.
$ac_objext
28530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28531 (eval $ac_compile) 2>conftest.er1
28533 grep -v '^ *+' conftest.er1
>conftest.err
28535 cat conftest.err
>&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } &&
28538 { ac_try
='test -z "$ac_c_werror_flag"
28539 || test ! -s conftest.err'
28540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28541 (eval $ac_try) 2>&5
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); }; } &&
28545 { ac_try
='test -s conftest.$ac_objext'
28546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28547 (eval $ac_try) 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); }; }; then
28552 wx_cv_struct_pw_gecos
=yes
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.
$ac_ext >&5
28559 wx_cv_struct_pw_gecos
=no
28563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28567 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28568 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28570 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28571 cat >>confdefs.h
<<\_ACEOF
28572 #define HAVE_PW_GECOS 1
28578 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28579 cat >>confdefs.h
<<\_ACEOF
28580 #define wxUSE_WCHAR_T 1
28587 for ac_func
in wcslen
28589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28590 echo "$as_me:$LINENO: checking for $ac_func" >&5
28591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28592 if eval "test \"\${$as_ac_var+set}\" = set"; then
28593 echo $ECHO_N "(cached) $ECHO_C" >&6
28595 cat >conftest.
$ac_ext <<_ACEOF
28598 cat confdefs.h
>>conftest.
$ac_ext
28599 cat >>conftest.
$ac_ext <<_ACEOF
28600 /* end confdefs.h. */
28601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28603 #define $ac_func innocuous_$ac_func
28605 /* System header to define __stub macros and hopefully few prototypes,
28606 which can conflict with char $ac_func (); below.
28607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28608 <limits.h> exists even on freestanding compilers. */
28611 # include <limits.h>
28613 # include <assert.h>
28618 /* Override any gcc2 internal prototype to avoid an error. */
28623 /* We use char because int might match the return type of a gcc2
28624 builtin and then its argument prototype would still apply. */
28626 /* The GNU C library defines this for functions which it implements
28627 to always fail with ENOSYS. Some functions are actually named
28628 something starting with __ and the normal name is an alias. */
28629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28632 char (*f) () = $ac_func;
28641 return f != $ac_func;
28646 rm -f conftest.
$ac_objext conftest
$ac_exeext
28647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28648 (eval $ac_link) 2>conftest.er1
28650 grep -v '^ *+' conftest.er1
>conftest.err
28652 cat conftest.err
>&5
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); } &&
28655 { ac_try
='test -z "$ac_c_werror_flag"
28656 || test ! -s conftest.err'
28657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28658 (eval $ac_try) 2>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); }; } &&
28662 { ac_try
='test -s conftest$ac_exeext'
28663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664 (eval $ac_try) 2>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); }; }; then
28668 eval "$as_ac_var=yes"
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.
$ac_ext >&5
28673 eval "$as_ac_var=no"
28675 rm -f conftest.err conftest.
$ac_objext \
28676 conftest
$ac_exeext conftest.
$ac_ext
28678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28680 if test `eval echo '${'$as_ac_var'}'` = yes; then
28681 cat >>confdefs.h
<<_ACEOF
28682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28689 if test "$WCSLEN_FOUND" = 0; then
28690 if test "$TOOLKIT" = "MSW"; then
28691 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28692 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28693 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28694 echo $ECHO_N "(cached) $ECHO_C" >&6
28696 ac_check_lib_save_LIBS
=$LIBS
28697 LIBS
="-lmsvcrt $LIBS"
28698 cat >conftest.
$ac_ext <<_ACEOF
28701 cat confdefs.h
>>conftest.
$ac_ext
28702 cat >>conftest.
$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28705 /* Override any gcc2 internal prototype to avoid an error. */
28709 /* We use char because int might match the return type of a gcc2
28710 builtin and then its argument prototype would still apply. */
28720 rm -f conftest.
$ac_objext conftest
$ac_exeext
28721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28722 (eval $ac_link) 2>conftest.er1
28724 grep -v '^ *+' conftest.er1
>conftest.err
28726 cat conftest.err
>&5
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); } &&
28729 { ac_try
='test -z "$ac_c_werror_flag"
28730 || test ! -s conftest.err'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; } &&
28736 { ac_try
='test -s conftest$ac_exeext'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; }; then
28742 ac_cv_lib_msvcrt_wcslen
=yes
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.
$ac_ext >&5
28747 ac_cv_lib_msvcrt_wcslen
=no
28749 rm -f conftest.err conftest.
$ac_objext \
28750 conftest
$ac_exeext conftest.
$ac_ext
28751 LIBS
=$ac_check_lib_save_LIBS
28753 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28754 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28755 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28760 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28761 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28762 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 ac_check_lib_save_LIBS
=$LIBS
28767 cat >conftest.
$ac_ext <<_ACEOF
28770 cat confdefs.h
>>conftest.
$ac_ext
28771 cat >>conftest.
$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28774 /* Override any gcc2 internal prototype to avoid an error. */
28778 /* We use char because int might match the return type of a gcc2
28779 builtin and then its argument prototype would still apply. */
28789 rm -f conftest.
$ac_objext conftest
$ac_exeext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28791 (eval $ac_link) 2>conftest.er1
28793 grep -v '^ *+' conftest.er1
>conftest.err
28795 cat conftest.err
>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try
='test -z "$ac_c_werror_flag"
28799 || test ! -s conftest.err'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; } &&
28805 { ac_try
='test -s conftest$ac_exeext'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; }; then
28811 ac_cv_lib_w_wcslen
=yes
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.
$ac_ext >&5
28816 ac_cv_lib_w_wcslen
=no
28818 rm -f conftest.err conftest.
$ac_objext \
28819 conftest
$ac_exeext conftest.
$ac_ext
28820 LIBS
=$ac_check_lib_save_LIBS
28822 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28823 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28824 if test $ac_cv_lib_w_wcslen = yes; then
28834 if test "$WCSLEN_FOUND" = 1; then
28835 cat >>confdefs.h
<<\_ACEOF
28836 #define HAVE_WCSLEN 1
28842 for ac_func
in wcsrtombs
28844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28845 echo "$as_me:$LINENO: checking for $ac_func" >&5
28846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28847 if eval "test \"\${$as_ac_var+set}\" = set"; then
28848 echo $ECHO_N "(cached) $ECHO_C" >&6
28850 cat >conftest.
$ac_ext <<_ACEOF
28853 cat confdefs.h
>>conftest.
$ac_ext
28854 cat >>conftest.
$ac_ext <<_ACEOF
28855 /* end confdefs.h. */
28856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28858 #define $ac_func innocuous_$ac_func
28860 /* System header to define __stub macros and hopefully few prototypes,
28861 which can conflict with char $ac_func (); below.
28862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28863 <limits.h> exists even on freestanding compilers. */
28866 # include <limits.h>
28868 # include <assert.h>
28873 /* Override any gcc2 internal prototype to avoid an error. */
28878 /* We use char because int might match the return type of a gcc2
28879 builtin and then its argument prototype would still apply. */
28881 /* The GNU C library defines this for functions which it implements
28882 to always fail with ENOSYS. Some functions are actually named
28883 something starting with __ and the normal name is an alias. */
28884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28887 char (*f) () = $ac_func;
28896 return f != $ac_func;
28901 rm -f conftest.
$ac_objext conftest
$ac_exeext
28902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28903 (eval $ac_link) 2>conftest.er1
28905 grep -v '^ *+' conftest.er1
>conftest.err
28907 cat conftest.err
>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); } &&
28910 { ac_try
='test -z "$ac_c_werror_flag"
28911 || test ! -s conftest.err'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; } &&
28917 { ac_try
='test -s conftest$ac_exeext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 eval "$as_ac_var=yes"
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.
$ac_ext >&5
28928 eval "$as_ac_var=no"
28930 rm -f conftest.err conftest.
$ac_objext \
28931 conftest
$ac_exeext conftest.
$ac_ext
28933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28935 if test `eval echo '${'$as_ac_var'}'` = yes; then
28936 cat >>confdefs.h
<<_ACEOF
28937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28944 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28945 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28951 ac_cpp
='$CXXCPP $CPPFLAGS'
28952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28958 for ac_func
in vsnprintf
28960 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28961 echo "$as_me:$LINENO: checking for $ac_func" >&5
28962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28963 if eval "test \"\${$as_ac_var+set}\" = set"; then
28964 echo $ECHO_N "(cached) $ECHO_C" >&6
28966 cat >conftest.
$ac_ext <<_ACEOF
28969 cat confdefs.h
>>conftest.
$ac_ext
28970 cat >>conftest.
$ac_ext <<_ACEOF
28971 /* end confdefs.h. */
28972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28974 #define $ac_func innocuous_$ac_func
28976 /* System header to define __stub macros and hopefully few prototypes,
28977 which can conflict with char $ac_func (); below.
28978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28979 <limits.h> exists even on freestanding compilers. */
28982 # include <limits.h>
28984 # include <assert.h>
28989 /* Override any gcc2 internal prototype to avoid an error. */
28994 /* We use char because int might match the return type of a gcc2
28995 builtin and then its argument prototype would still apply. */
28997 /* The GNU C library defines this for functions which it implements
28998 to always fail with ENOSYS. Some functions are actually named
28999 something starting with __ and the normal name is an alias. */
29000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29003 char (*f) () = $ac_func;
29012 return f != $ac_func;
29017 rm -f conftest.
$ac_objext conftest
$ac_exeext
29018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29019 (eval $ac_link) 2>conftest.er1
29021 grep -v '^ *+' conftest.er1
>conftest.err
29023 cat conftest.err
>&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } &&
29026 { ac_try
='test -z "$ac_cxx_werror_flag"
29027 || test ! -s conftest.err'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; } &&
29033 { ac_try
='test -s conftest$ac_exeext'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; }; then
29039 eval "$as_ac_var=yes"
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.
$ac_ext >&5
29044 eval "$as_ac_var=no"
29046 rm -f conftest.err conftest.
$ac_objext \
29047 conftest
$ac_exeext conftest.
$ac_ext
29049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29051 if test `eval echo '${'$as_ac_var'}'` = yes; then
29052 cat >>confdefs.h
<<_ACEOF
29053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29060 if test "$ac_cv_func_vsnprintf" = "yes"; then
29061 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29062 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29063 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 cat >conftest.
$ac_ext <<_ACEOF
29070 cat confdefs.h
>>conftest.
$ac_ext
29071 cat >>conftest.
$ac_ext <<_ACEOF
29072 /* end confdefs.h. */
29075 #include <stdarg.h>
29083 vsnprintf(buf, 10u, "%s", ap);
29089 rm -f conftest.
$ac_objext
29090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29091 (eval $ac_compile) 2>conftest.er1
29093 grep -v '^ *+' conftest.er1
>conftest.err
29095 cat conftest.err
>&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); } &&
29098 { ac_try
='test -z "$ac_cxx_werror_flag"
29099 || test ! -s conftest.err'
29100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29101 (eval $ac_try) 2>&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); }; } &&
29105 { ac_try
='test -s conftest.$ac_objext'
29106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29107 (eval $ac_try) 2>&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); }; }; then
29111 wx_cv_func_vsnprintf_decl
=yes
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.
$ac_ext >&5
29116 wx_cv_func_vsnprintf_decl
=no
29119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29123 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29124 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29126 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29127 cat >>confdefs.h
<<\_ACEOF
29128 #define HAVE_VSNPRINTF_DECL 1
29134 if test "$wxUSE_UNICODE" = yes; then
29138 for ac_func
in fputwc wprintf vswprintf
29140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29141 echo "$as_me:$LINENO: checking for $ac_func" >&5
29142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29143 if eval "test \"\${$as_ac_var+set}\" = set"; then
29144 echo $ECHO_N "(cached) $ECHO_C" >&6
29146 cat >conftest.
$ac_ext <<_ACEOF
29149 cat confdefs.h
>>conftest.
$ac_ext
29150 cat >>conftest.
$ac_ext <<_ACEOF
29151 /* end confdefs.h. */
29152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29154 #define $ac_func innocuous_$ac_func
29156 /* System header to define __stub macros and hopefully few prototypes,
29157 which can conflict with char $ac_func (); below.
29158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29159 <limits.h> exists even on freestanding compilers. */
29162 # include <limits.h>
29164 # include <assert.h>
29169 /* Override any gcc2 internal prototype to avoid an error. */
29174 /* We use char because int might match the return type of a gcc2
29175 builtin and then its argument prototype would still apply. */
29177 /* The GNU C library defines this for functions which it implements
29178 to always fail with ENOSYS. Some functions are actually named
29179 something starting with __ and the normal name is an alias. */
29180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29183 char (*f) () = $ac_func;
29192 return f != $ac_func;
29197 rm -f conftest.
$ac_objext conftest
$ac_exeext
29198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29199 (eval $ac_link) 2>conftest.er1
29201 grep -v '^ *+' conftest.er1
>conftest.err
29203 cat conftest.err
>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); } &&
29206 { ac_try
='test -z "$ac_cxx_werror_flag"
29207 || test ! -s conftest.err'
29208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29209 (eval $ac_try) 2>&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; } &&
29213 { ac_try
='test -s conftest$ac_exeext'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; }; then
29219 eval "$as_ac_var=yes"
29221 echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.
$ac_ext >&5
29224 eval "$as_ac_var=no"
29226 rm -f conftest.err conftest.
$ac_objext \
29227 conftest
$ac_exeext conftest.
$ac_ext
29229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29231 if test `eval echo '${'$as_ac_var'}'` = yes; then
29232 cat >>confdefs.h
<<_ACEOF
29233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29240 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29241 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29242 cat >conftest.
$ac_ext <<_ACEOF
29245 cat confdefs.h
>>conftest.
$ac_ext
29246 cat >>conftest.
$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29257 rm -f conftest.
$ac_objext
29258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29259 (eval $ac_compile) 2>conftest.er1
29261 grep -v '^ *+' conftest.er1
>conftest.err
29263 cat conftest.err
>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); } &&
29266 { ac_try
='test -z "$ac_cxx_werror_flag"
29267 || test ! -s conftest.err'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; } &&
29273 { ac_try
='test -s conftest.$ac_objext'
29274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29275 (eval $ac_try) 2>&5
29277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29278 (exit $ac_status); }; }; then
29279 echo "$as_me:$LINENO: result: yes" >&5
29280 echo "${ECHO_T}yes" >&6
29281 cat >>confdefs.h
<<\_ACEOF
29282 #define HAVE__VSNWPRINTF 1
29286 echo "$as_me: failed program was:" >&5
29287 sed 's/^/| /' conftest.
$ac_ext >&5
29289 echo "$as_me:$LINENO: result: no" >&5
29290 echo "${ECHO_T}no" >&6
29292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29296 ac_cpp
='$CPP $CPPFLAGS'
29297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29304 if test "$TOOLKIT" != "MSW"; then
29310 ac_cpp
='$CXXCPP $CPPFLAGS'
29311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29318 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29319 if test "${with_libiconv_prefix+set}" = set; then
29320 withval
="$with_libiconv_prefix"
29322 for dir
in `echo "$withval" | tr : ' '`; do
29323 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29324 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29329 echo "$as_me:$LINENO: checking for iconv" >&5
29330 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29331 if test "${am_cv_func_iconv+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29335 am_cv_func_iconv
="no, consider installing GNU libiconv"
29337 cat >conftest.
$ac_ext <<_ACEOF
29340 cat confdefs.h
>>conftest.
$ac_ext
29341 cat >>conftest.
$ac_ext <<_ACEOF
29342 /* end confdefs.h. */
29343 #include <stdlib.h>
29348 iconv_t cd = iconv_open("","");
29349 iconv(cd,NULL,NULL,NULL,NULL);
29355 rm -f conftest.
$ac_objext conftest
$ac_exeext
29356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29357 (eval $ac_link) 2>conftest.er1
29359 grep -v '^ *+' conftest.er1
>conftest.err
29361 cat conftest.err
>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } &&
29364 { ac_try
='test -z "$ac_cxx_werror_flag"
29365 || test ! -s conftest.err'
29366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29367 (eval $ac_try) 2>&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); }; } &&
29371 { ac_try
='test -s conftest$ac_exeext'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; }; then
29377 am_cv_func_iconv
=yes
29379 echo "$as_me: failed program was:" >&5
29380 sed 's/^/| /' conftest.
$ac_ext >&5
29383 rm -f conftest.err conftest.
$ac_objext \
29384 conftest
$ac_exeext conftest.
$ac_ext
29385 if test "$am_cv_func_iconv" != yes; then
29386 am_save_LIBS
="$LIBS"
29387 LIBS
="$LIBS -liconv"
29388 cat >conftest.
$ac_ext <<_ACEOF
29391 cat confdefs.h
>>conftest.
$ac_ext
29392 cat >>conftest.
$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <stdlib.h>
29399 iconv_t cd = iconv_open("","");
29400 iconv(cd,NULL,NULL,NULL,NULL);
29406 rm -f conftest.
$ac_objext conftest
$ac_exeext
29407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29408 (eval $ac_link) 2>conftest.er1
29410 grep -v '^ *+' conftest.er1
>conftest.err
29412 cat conftest.err
>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } &&
29415 { ac_try
='test -z "$ac_cxx_werror_flag"
29416 || test ! -s conftest.err'
29417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29418 (eval $ac_try) 2>&5
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); }; } &&
29422 { ac_try
='test -s conftest$ac_exeext'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; }; then
29428 am_cv_lib_iconv
=yes
29429 am_cv_func_iconv
=yes
29431 echo "$as_me: failed program was:" >&5
29432 sed 's/^/| /' conftest.
$ac_ext >&5
29435 rm -f conftest.err conftest.
$ac_objext \
29436 conftest
$ac_exeext conftest.
$ac_ext
29437 LIBS
="$am_save_LIBS"
29441 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29442 echo "${ECHO_T}$am_cv_func_iconv" >&6
29443 if test "$am_cv_func_iconv" = yes; then
29445 cat >>confdefs.h
<<\_ACEOF
29446 #define HAVE_ICONV 1
29449 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29450 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29451 if test "${wx_cv_func_iconv_const+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 cat >conftest.
$ac_ext <<_ACEOF
29457 cat confdefs.h
>>conftest.
$ac_ext
29458 cat >>conftest.
$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29461 #include <stdlib.h>
29467 #if defined(__STDC__) || defined(__cplusplus)
29468 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29481 rm -f conftest.
$ac_objext
29482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29483 (eval $ac_compile) 2>conftest.er1
29485 grep -v '^ *+' conftest.er1
>conftest.err
29487 cat conftest.err
>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } &&
29490 { ac_try
='test -z "$ac_cxx_werror_flag"
29491 || test ! -s conftest.err'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; } &&
29497 { ac_try
='test -s conftest.$ac_objext'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; }; then
29503 wx_cv_func_iconv_const
="no"
29505 echo "$as_me: failed program was:" >&5
29506 sed 's/^/| /' conftest.
$ac_ext >&5
29508 wx_cv_func_iconv_const
="yes"
29511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29514 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29515 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29518 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29519 iconv_const
="const"
29523 cat >>confdefs.h
<<_ACEOF
29524 #define ICONV_CONST $iconv_const
29529 if test "$am_cv_lib_iconv" = yes; then
29534 LIBS
="$LIBICONV $LIBS"
29536 ac_cpp
='$CPP $CPPFLAGS'
29537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29542 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29544 for ac_func
in sigaction
29546 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29547 echo "$as_me:$LINENO: checking for $ac_func" >&5
29548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29549 if eval "test \"\${$as_ac_var+set}\" = set"; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29552 cat >conftest.
$ac_ext <<_ACEOF
29555 cat confdefs.h
>>conftest.
$ac_ext
29556 cat >>conftest.
$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29560 #define $ac_func innocuous_$ac_func
29562 /* System header to define __stub macros and hopefully few prototypes,
29563 which can conflict with char $ac_func (); below.
29564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29565 <limits.h> exists even on freestanding compilers. */
29568 # include <limits.h>
29570 # include <assert.h>
29575 /* Override any gcc2 internal prototype to avoid an error. */
29580 /* We use char because int might match the return type of a gcc2
29581 builtin and then its argument prototype would still apply. */
29583 /* The GNU C library defines this for functions which it implements
29584 to always fail with ENOSYS. Some functions are actually named
29585 something starting with __ and the normal name is an alias. */
29586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29589 char (*f) () = $ac_func;
29598 return f != $ac_func;
29603 rm -f conftest.
$ac_objext conftest
$ac_exeext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29605 (eval $ac_link) 2>conftest.er1
29607 grep -v '^ *+' conftest.er1
>conftest.err
29609 cat conftest.err
>&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try
='test -z "$ac_c_werror_flag"
29613 || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try
='test -s conftest$ac_exeext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 eval "$as_ac_var=yes"
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.
$ac_ext >&5
29630 eval "$as_ac_var=no"
29632 rm -f conftest.err conftest.
$ac_objext \
29633 conftest
$ac_exeext conftest.
$ac_ext
29635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29637 if test `eval echo '${'$as_ac_var'}'` = yes; then
29638 cat >>confdefs.h
<<_ACEOF
29639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29646 if test "$ac_cv_func_sigaction" = "no"; then
29647 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29648 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29649 wxUSE_ON_FATAL_EXCEPTION
=no
29652 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29656 ac_cpp
='$CXXCPP $CPPFLAGS'
29657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29662 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29663 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29664 if test "${wx_cv_type_sa_handler+set}" = set; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 cat >conftest.
$ac_ext <<_ACEOF
29671 cat confdefs.h
>>conftest.
$ac_ext
29672 cat >>conftest.
$ac_ext <<_ACEOF
29673 /* end confdefs.h. */
29674 #include <signal.h>
29679 extern void testSigHandler(int);
29681 struct sigaction sa;
29682 sa.sa_handler = testSigHandler;
29688 rm -f conftest.
$ac_objext
29689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29690 (eval $ac_compile) 2>conftest.er1
29692 grep -v '^ *+' conftest.er1
>conftest.err
29694 cat conftest.err
>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } &&
29697 { ac_try
='test -z "$ac_cxx_werror_flag"
29698 || test ! -s conftest.err'
29699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29700 (eval $ac_try) 2>&5
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); }; } &&
29704 { ac_try
='test -s conftest.$ac_objext'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29711 wx_cv_type_sa_handler
=int
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.
$ac_ext >&5
29718 wx_cv_type_sa_handler
=void
29721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29724 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29725 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29728 ac_cpp
='$CPP $CPPFLAGS'
29729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29734 cat >>confdefs.h
<<_ACEOF
29735 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29743 for ac_func
in mkstemp mktemp
29745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29746 echo "$as_me:$LINENO: checking for $ac_func" >&5
29747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29748 if eval "test \"\${$as_ac_var+set}\" = set"; then
29749 echo $ECHO_N "(cached) $ECHO_C" >&6
29751 cat >conftest.
$ac_ext <<_ACEOF
29754 cat confdefs.h
>>conftest.
$ac_ext
29755 cat >>conftest.
$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29759 #define $ac_func innocuous_$ac_func
29761 /* System header to define __stub macros and hopefully few prototypes,
29762 which can conflict with char $ac_func (); below.
29763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29764 <limits.h> exists even on freestanding compilers. */
29767 # include <limits.h>
29769 # include <assert.h>
29774 /* Override any gcc2 internal prototype to avoid an error. */
29779 /* We use char because int might match the return type of a gcc2
29780 builtin and then its argument prototype would still apply. */
29782 /* The GNU C library defines this for functions which it implements
29783 to always fail with ENOSYS. Some functions are actually named
29784 something starting with __ and the normal name is an alias. */
29785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29788 char (*f) () = $ac_func;
29797 return f != $ac_func;
29802 rm -f conftest.
$ac_objext conftest
$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>conftest.er1
29806 grep -v '^ *+' conftest.er1
>conftest.err
29808 cat conftest.err
>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } &&
29811 { ac_try
='test -z "$ac_c_werror_flag"
29812 || test ! -s conftest.err'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; } &&
29818 { ac_try
='test -s conftest$ac_exeext'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; }; then
29824 eval "$as_ac_var=yes"
29826 echo "$as_me: failed program was:" >&5
29827 sed 's/^/| /' conftest.
$ac_ext >&5
29829 eval "$as_ac_var=no"
29831 rm -f conftest.err conftest.
$ac_objext \
29832 conftest
$ac_exeext conftest.
$ac_ext
29834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29836 if test `eval echo '${'$as_ac_var'}'` = yes; then
29837 cat >>confdefs.h
<<_ACEOF
29838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29845 echo "$as_me:$LINENO: checking for statfs" >&5
29846 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29847 if test "${wx_cv_func_statfs+set}" = set; then
29848 echo $ECHO_N "(cached) $ECHO_C" >&6
29850 cat >conftest.
$ac_ext <<_ACEOF
29853 cat confdefs.h
>>conftest.
$ac_ext
29854 cat >>conftest.
$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29857 #if defined(__BSD__)
29858 #include <sys/param.h>
29859 #include <sys/mount.h>
29861 #include <sys/vfs.h>
29879 rm -f conftest.
$ac_objext
29880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29881 (eval $ac_compile) 2>conftest.er1
29883 grep -v '^ *+' conftest.er1
>conftest.err
29885 cat conftest.err
>&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); } &&
29888 { ac_try
='test -z "$ac_c_werror_flag"
29889 || test ! -s conftest.err'
29890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29891 (eval $ac_try) 2>&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); }; } &&
29895 { ac_try
='test -s conftest.$ac_objext'
29896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29897 (eval $ac_try) 2>&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); }; }; then
29902 wx_cv_func_statfs
=yes
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.
$ac_ext >&5
29909 wx_cv_func_statfs
=no
29913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29916 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29917 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29919 if test "$wx_cv_func_statfs" = "yes"; then
29920 wx_cv_type_statvfs_t
="struct statfs"
29921 cat >>confdefs.h
<<\_ACEOF
29922 #define HAVE_STATFS 1
29926 echo "$as_me:$LINENO: checking for statvfs" >&5
29927 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29928 if test "${wx_cv_func_statvfs+set}" = set; then
29929 echo $ECHO_N "(cached) $ECHO_C" >&6
29931 cat >conftest.
$ac_ext <<_ACEOF
29934 cat confdefs.h
>>conftest.
$ac_ext
29935 cat >>conftest.
$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29938 #include <stddef.h>
29939 #include <sys/statvfs.h>
29945 statvfs("/", NULL);
29951 rm -f conftest.
$ac_objext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29953 (eval $ac_compile) 2>conftest.er1
29955 grep -v '^ *+' conftest.er1
>conftest.err
29957 cat conftest.err
>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } &&
29960 { ac_try
='test -z "$ac_c_werror_flag"
29961 || test ! -s conftest.err'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; } &&
29967 { ac_try
='test -s conftest.$ac_objext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29973 wx_cv_func_statvfs
=yes
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.
$ac_ext >&5
29978 wx_cv_func_statvfs
=no
29981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29984 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29985 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29987 if test "$wx_cv_func_statvfs" = "yes"; then
29991 ac_cpp
='$CXXCPP $CPPFLAGS'
29992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29997 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29998 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29999 if test "${wx_cv_type_statvfs_t+set}" = set; then
30000 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 cat >conftest.
$ac_ext <<_ACEOF
30005 cat confdefs.h
>>conftest.
$ac_ext
30006 cat >>conftest.
$ac_ext <<_ACEOF
30007 /* end confdefs.h. */
30009 #include <sys/statvfs.h>
30026 rm -f conftest.
$ac_objext
30027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30028 (eval $ac_compile) 2>conftest.er1
30030 grep -v '^ *+' conftest.er1
>conftest.err
30032 cat conftest.err
>&5
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); } &&
30035 { ac_try
='test -z "$ac_cxx_werror_flag"
30036 || test ! -s conftest.err'
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); }; } &&
30042 { ac_try
='test -s conftest.$ac_objext'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; }; then
30048 wx_cv_type_statvfs_t
=statvfs_t
30050 echo "$as_me: failed program was:" >&5
30051 sed 's/^/| /' conftest.
$ac_ext >&5
30054 cat >conftest.
$ac_ext <<_ACEOF
30057 cat confdefs.h
>>conftest.
$ac_ext
30058 cat >>conftest.
$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30061 #include <sys/statvfs.h>
30078 rm -f conftest.
$ac_objext
30079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30080 (eval $ac_compile) 2>conftest.er1
30082 grep -v '^ *+' conftest.er1
>conftest.err
30084 cat conftest.err
>&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } &&
30087 { ac_try
='test -z "$ac_cxx_werror_flag"
30088 || test ! -s conftest.err'
30089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30090 (eval $ac_try) 2>&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; } &&
30094 { ac_try
='test -s conftest.$ac_objext'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; }; then
30100 wx_cv_type_statvfs_t
="struct statvfs"
30102 echo "$as_me: failed program was:" >&5
30103 sed 's/^/| /' conftest.
$ac_ext >&5
30105 wx_cv_type_statvfs_t
="unknown"
30108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30115 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30116 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30119 ac_cpp
='$CPP $CPPFLAGS'
30120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30125 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30126 cat >>confdefs.h
<<\_ACEOF
30127 #define HAVE_STATVFS 1
30132 wx_cv_type_statvfs_t
="unknown"
30136 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30137 cat >>confdefs.h
<<_ACEOF
30138 #define WX_STATFS_T $wx_cv_type_statvfs_t
30142 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30143 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30146 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30149 for ac_func
in fcntl flock
30151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30152 echo "$as_me:$LINENO: checking for $ac_func" >&5
30153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30154 if eval "test \"\${$as_ac_var+set}\" = set"; then
30155 echo $ECHO_N "(cached) $ECHO_C" >&6
30157 cat >conftest.
$ac_ext <<_ACEOF
30160 cat confdefs.h
>>conftest.
$ac_ext
30161 cat >>conftest.
$ac_ext <<_ACEOF
30162 /* end confdefs.h. */
30163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30165 #define $ac_func innocuous_$ac_func
30167 /* System header to define __stub macros and hopefully few prototypes,
30168 which can conflict with char $ac_func (); below.
30169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30170 <limits.h> exists even on freestanding compilers. */
30173 # include <limits.h>
30175 # include <assert.h>
30180 /* Override any gcc2 internal prototype to avoid an error. */
30185 /* We use char because int might match the return type of a gcc2
30186 builtin and then its argument prototype would still apply. */
30188 /* The GNU C library defines this for functions which it implements
30189 to always fail with ENOSYS. Some functions are actually named
30190 something starting with __ and the normal name is an alias. */
30191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30194 char (*f) () = $ac_func;
30203 return f != $ac_func;
30208 rm -f conftest.
$ac_objext conftest
$ac_exeext
30209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30210 (eval $ac_link) 2>conftest.er1
30212 grep -v '^ *+' conftest.er1
>conftest.err
30214 cat conftest.err
>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } &&
30217 { ac_try
='test -z "$ac_c_werror_flag"
30218 || test ! -s conftest.err'
30219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30220 (eval $ac_try) 2>&5
30222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30223 (exit $ac_status); }; } &&
30224 { ac_try
='test -s conftest$ac_exeext'
30225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30226 (eval $ac_try) 2>&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); }; }; then
30230 eval "$as_ac_var=yes"
30232 echo "$as_me: failed program was:" >&5
30233 sed 's/^/| /' conftest.
$ac_ext >&5
30235 eval "$as_ac_var=no"
30237 rm -f conftest.err conftest.
$ac_objext \
30238 conftest
$ac_exeext conftest.
$ac_ext
30240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30242 if test `eval echo '${'$as_ac_var'}'` = yes; then
30243 cat >>confdefs.h
<<_ACEOF
30244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30251 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30252 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30253 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30254 wxUSE_SNGLINST_CHECKER
=no
30259 for ac_func
in timegm
30261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30262 echo "$as_me:$LINENO: checking for $ac_func" >&5
30263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30264 if eval "test \"\${$as_ac_var+set}\" = set"; then
30265 echo $ECHO_N "(cached) $ECHO_C" >&6
30267 cat >conftest.
$ac_ext <<_ACEOF
30270 cat confdefs.h
>>conftest.
$ac_ext
30271 cat >>conftest.
$ac_ext <<_ACEOF
30272 /* end confdefs.h. */
30273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30275 #define $ac_func innocuous_$ac_func
30277 /* System header to define __stub macros and hopefully few prototypes,
30278 which can conflict with char $ac_func (); below.
30279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30280 <limits.h> exists even on freestanding compilers. */
30283 # include <limits.h>
30285 # include <assert.h>
30290 /* Override any gcc2 internal prototype to avoid an error. */
30295 /* We use char because int might match the return type of a gcc2
30296 builtin and then its argument prototype would still apply. */
30298 /* The GNU C library defines this for functions which it implements
30299 to always fail with ENOSYS. Some functions are actually named
30300 something starting with __ and the normal name is an alias. */
30301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30304 char (*f) () = $ac_func;
30313 return f != $ac_func;
30318 rm -f conftest.
$ac_objext conftest
$ac_exeext
30319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30320 (eval $ac_link) 2>conftest.er1
30322 grep -v '^ *+' conftest.er1
>conftest.err
30324 cat conftest.err
>&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); } &&
30327 { ac_try
='test -z "$ac_c_werror_flag"
30328 || test ! -s conftest.err'
30329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30330 (eval $ac_try) 2>&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); }; } &&
30334 { ac_try
='test -s conftest$ac_exeext'
30335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30336 (eval $ac_try) 2>&5
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; }; then
30340 eval "$as_ac_var=yes"
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.
$ac_ext >&5
30345 eval "$as_ac_var=no"
30347 rm -f conftest.err conftest.
$ac_objext \
30348 conftest
$ac_exeext conftest.
$ac_ext
30350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30352 if test `eval echo '${'$as_ac_var'}'` = yes; then
30353 cat >>confdefs.h
<<_ACEOF
30354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30363 for ac_func
in putenv setenv
30365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30366 echo "$as_me:$LINENO: checking for $ac_func" >&5
30367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30368 if eval "test \"\${$as_ac_var+set}\" = set"; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 cat >conftest.
$ac_ext <<_ACEOF
30374 cat confdefs.h
>>conftest.
$ac_ext
30375 cat >>conftest.
$ac_ext <<_ACEOF
30376 /* end confdefs.h. */
30377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30379 #define $ac_func innocuous_$ac_func
30381 /* System header to define __stub macros and hopefully few prototypes,
30382 which can conflict with char $ac_func (); below.
30383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30384 <limits.h> exists even on freestanding compilers. */
30387 # include <limits.h>
30389 # include <assert.h>
30394 /* Override any gcc2 internal prototype to avoid an error. */
30399 /* We use char because int might match the return type of a gcc2
30400 builtin and then its argument prototype would still apply. */
30402 /* The GNU C library defines this for functions which it implements
30403 to always fail with ENOSYS. Some functions are actually named
30404 something starting with __ and the normal name is an alias. */
30405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30408 char (*f) () = $ac_func;
30417 return f != $ac_func;
30422 rm -f conftest.
$ac_objext conftest
$ac_exeext
30423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30424 (eval $ac_link) 2>conftest.er1
30426 grep -v '^ *+' conftest.er1
>conftest.err
30428 cat conftest.err
>&5
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); } &&
30431 { ac_try
='test -z "$ac_c_werror_flag"
30432 || test ! -s conftest.err'
30433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30434 (eval $ac_try) 2>&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); }; } &&
30438 { ac_try
='test -s conftest$ac_exeext'
30439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30440 (eval $ac_try) 2>&5
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); }; }; then
30444 eval "$as_ac_var=yes"
30446 echo "$as_me: failed program was:" >&5
30447 sed 's/^/| /' conftest.
$ac_ext >&5
30449 eval "$as_ac_var=no"
30451 rm -f conftest.err conftest.
$ac_objext \
30452 conftest
$ac_exeext conftest.
$ac_ext
30454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30456 if test `eval echo '${'$as_ac_var'}'` = yes; then
30457 cat >>confdefs.h
<<_ACEOF
30458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30465 HAVE_SOME_SLEEP_FUNC
=0
30466 if test "$USE_BEOS" = 1; then
30467 cat >>confdefs.h
<<\_ACEOF
30468 #define HAVE_SLEEP 1
30471 HAVE_SOME_SLEEP_FUNC
=1
30474 if test "$USE_DARWIN" = 1; then
30475 cat >>confdefs.h
<<\_ACEOF
30476 #define HAVE_USLEEP 1
30479 HAVE_SOME_SLEEP_FUNC
=1
30482 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30485 for ac_func
in nanosleep
30487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30488 echo "$as_me:$LINENO: checking for $ac_func" >&5
30489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30490 if eval "test \"\${$as_ac_var+set}\" = set"; then
30491 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 cat >conftest.
$ac_ext <<_ACEOF
30496 cat confdefs.h
>>conftest.
$ac_ext
30497 cat >>conftest.
$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30501 #define $ac_func innocuous_$ac_func
30503 /* System header to define __stub macros and hopefully few prototypes,
30504 which can conflict with char $ac_func (); below.
30505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30506 <limits.h> exists even on freestanding compilers. */
30509 # include <limits.h>
30511 # include <assert.h>
30516 /* Override any gcc2 internal prototype to avoid an error. */
30521 /* We use char because int might match the return type of a gcc2
30522 builtin and then its argument prototype would still apply. */
30524 /* The GNU C library defines this for functions which it implements
30525 to always fail with ENOSYS. Some functions are actually named
30526 something starting with __ and the normal name is an alias. */
30527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30530 char (*f) () = $ac_func;
30539 return f != $ac_func;
30544 rm -f conftest.
$ac_objext conftest
$ac_exeext
30545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30546 (eval $ac_link) 2>conftest.er1
30548 grep -v '^ *+' conftest.er1
>conftest.err
30550 cat conftest.err
>&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); } &&
30553 { ac_try
='test -z "$ac_c_werror_flag"
30554 || test ! -s conftest.err'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; } &&
30560 { ac_try
='test -s conftest$ac_exeext'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; }; then
30566 eval "$as_ac_var=yes"
30568 echo "$as_me: failed program was:" >&5
30569 sed 's/^/| /' conftest.
$ac_ext >&5
30571 eval "$as_ac_var=no"
30573 rm -f conftest.err conftest.
$ac_objext \
30574 conftest
$ac_exeext conftest.
$ac_ext
30576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30578 if test `eval echo '${'$as_ac_var'}'` = yes; then
30579 cat >>confdefs.h
<<_ACEOF
30580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30582 cat >>confdefs.h
<<\_ACEOF
30583 #define HAVE_NANOSLEEP 1
30588 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30589 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30590 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 ac_check_lib_save_LIBS
=$LIBS
30594 LIBS
="-lposix4 $LIBS"
30595 cat >conftest.
$ac_ext <<_ACEOF
30598 cat confdefs.h
>>conftest.
$ac_ext
30599 cat >>conftest.
$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30602 /* Override any gcc2 internal prototype to avoid an error. */
30606 /* We use char because int might match the return type of a gcc2
30607 builtin and then its argument prototype would still apply. */
30617 rm -f conftest.
$ac_objext conftest
$ac_exeext
30618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30619 (eval $ac_link) 2>conftest.er1
30621 grep -v '^ *+' conftest.er1
>conftest.err
30623 cat conftest.err
>&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } &&
30626 { ac_try
='test -z "$ac_c_werror_flag"
30627 || test ! -s conftest.err'
30628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30629 (eval $ac_try) 2>&5
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); }; } &&
30633 { ac_try
='test -s conftest$ac_exeext'
30634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30635 (eval $ac_try) 2>&5
30637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638 (exit $ac_status); }; }; then
30639 ac_cv_lib_posix4_nanosleep
=yes
30641 echo "$as_me: failed program was:" >&5
30642 sed 's/^/| /' conftest.
$ac_ext >&5
30644 ac_cv_lib_posix4_nanosleep
=no
30646 rm -f conftest.err conftest.
$ac_objext \
30647 conftest
$ac_exeext conftest.
$ac_ext
30648 LIBS
=$ac_check_lib_save_LIBS
30650 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30651 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30652 if test $ac_cv_lib_posix4_nanosleep = yes; then
30654 cat >>confdefs.h
<<\_ACEOF
30655 #define HAVE_NANOSLEEP 1
30658 POSIX4_LINK
=" -lposix4"
30663 for ac_func
in usleep
30665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30666 echo "$as_me:$LINENO: checking for $ac_func" >&5
30667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30668 if eval "test \"\${$as_ac_var+set}\" = set"; then
30669 echo $ECHO_N "(cached) $ECHO_C" >&6
30671 cat >conftest.
$ac_ext <<_ACEOF
30674 cat confdefs.h
>>conftest.
$ac_ext
30675 cat >>conftest.
$ac_ext <<_ACEOF
30676 /* end confdefs.h. */
30677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30679 #define $ac_func innocuous_$ac_func
30681 /* System header to define __stub macros and hopefully few prototypes,
30682 which can conflict with char $ac_func (); below.
30683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30684 <limits.h> exists even on freestanding compilers. */
30687 # include <limits.h>
30689 # include <assert.h>
30694 /* Override any gcc2 internal prototype to avoid an error. */
30699 /* We use char because int might match the return type of a gcc2
30700 builtin and then its argument prototype would still apply. */
30702 /* The GNU C library defines this for functions which it implements
30703 to always fail with ENOSYS. Some functions are actually named
30704 something starting with __ and the normal name is an alias. */
30705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30708 char (*f) () = $ac_func;
30717 return f != $ac_func;
30722 rm -f conftest.
$ac_objext conftest
$ac_exeext
30723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30724 (eval $ac_link) 2>conftest.er1
30726 grep -v '^ *+' conftest.er1
>conftest.err
30728 cat conftest.err
>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); } &&
30731 { ac_try
='test -z "$ac_c_werror_flag"
30732 || test ! -s conftest.err'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; } &&
30738 { ac_try
='test -s conftest$ac_exeext'
30739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30740 (eval $ac_try) 2>&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30744 eval "$as_ac_var=yes"
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.
$ac_ext >&5
30749 eval "$as_ac_var=no"
30751 rm -f conftest.err conftest.
$ac_objext \
30752 conftest
$ac_exeext conftest.
$ac_ext
30754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30756 if test `eval echo '${'$as_ac_var'}'` = yes; then
30757 cat >>confdefs.h
<<_ACEOF
30758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30760 cat >>confdefs.h
<<\_ACEOF
30761 #define HAVE_USLEEP 1
30765 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30766 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30784 for ac_func
in uname gethostname
30786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30787 echo "$as_me:$LINENO: checking for $ac_func" >&5
30788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30789 if eval "test \"\${$as_ac_var+set}\" = set"; then
30790 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 cat >conftest.
$ac_ext <<_ACEOF
30795 cat confdefs.h
>>conftest.
$ac_ext
30796 cat >>conftest.
$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30800 #define $ac_func innocuous_$ac_func
30802 /* System header to define __stub macros and hopefully few prototypes,
30803 which can conflict with char $ac_func (); below.
30804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30805 <limits.h> exists even on freestanding compilers. */
30808 # include <limits.h>
30810 # include <assert.h>
30815 /* Override any gcc2 internal prototype to avoid an error. */
30820 /* We use char because int might match the return type of a gcc2
30821 builtin and then its argument prototype would still apply. */
30823 /* The GNU C library defines this for functions which it implements
30824 to always fail with ENOSYS. Some functions are actually named
30825 something starting with __ and the normal name is an alias. */
30826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30829 char (*f) () = $ac_func;
30838 return f != $ac_func;
30843 rm -f conftest.
$ac_objext conftest
$ac_exeext
30844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30845 (eval $ac_link) 2>conftest.er1
30847 grep -v '^ *+' conftest.er1
>conftest.err
30849 cat conftest.err
>&5
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); } &&
30852 { ac_try
='test -z "$ac_c_werror_flag"
30853 || test ! -s conftest.err'
30854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30855 (eval $ac_try) 2>&5
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); }; } &&
30859 { ac_try
='test -s conftest$ac_exeext'
30860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; }; then
30865 eval "$as_ac_var=yes"
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.
$ac_ext >&5
30870 eval "$as_ac_var=no"
30872 rm -f conftest.err conftest.
$ac_objext \
30873 conftest
$ac_exeext conftest.
$ac_ext
30875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30877 if test `eval echo '${'$as_ac_var'}'` = yes; then
30878 cat >>confdefs.h
<<_ACEOF
30879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30889 ac_cpp
='$CXXCPP $CPPFLAGS'
30890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30896 for ac_func
in strtok_r
30898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30899 echo "$as_me:$LINENO: checking for $ac_func" >&5
30900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30901 if eval "test \"\${$as_ac_var+set}\" = set"; then
30902 echo $ECHO_N "(cached) $ECHO_C" >&6
30904 cat >conftest.
$ac_ext <<_ACEOF
30907 cat confdefs.h
>>conftest.
$ac_ext
30908 cat >>conftest.
$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30912 #define $ac_func innocuous_$ac_func
30914 /* System header to define __stub macros and hopefully few prototypes,
30915 which can conflict with char $ac_func (); below.
30916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30917 <limits.h> exists even on freestanding compilers. */
30920 # include <limits.h>
30922 # include <assert.h>
30927 /* Override any gcc2 internal prototype to avoid an error. */
30932 /* We use char because int might match the return type of a gcc2
30933 builtin and then its argument prototype would still apply. */
30935 /* The GNU C library defines this for functions which it implements
30936 to always fail with ENOSYS. Some functions are actually named
30937 something starting with __ and the normal name is an alias. */
30938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30941 char (*f) () = $ac_func;
30950 return f != $ac_func;
30955 rm -f conftest.
$ac_objext conftest
$ac_exeext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30957 (eval $ac_link) 2>conftest.er1
30959 grep -v '^ *+' conftest.er1
>conftest.err
30961 cat conftest.err
>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); } &&
30964 { ac_try
='test -z "$ac_cxx_werror_flag"
30965 || test ! -s conftest.err'
30966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30967 (eval $ac_try) 2>&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); }; } &&
30971 { ac_try
='test -s conftest$ac_exeext'
30972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30973 (eval $ac_try) 2>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); }; }; then
30977 eval "$as_ac_var=yes"
30979 echo "$as_me: failed program was:" >&5
30980 sed 's/^/| /' conftest.
$ac_ext >&5
30982 eval "$as_ac_var=no"
30984 rm -f conftest.err conftest.
$ac_objext \
30985 conftest
$ac_exeext conftest.
$ac_ext
30987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30989 if test `eval echo '${'$as_ac_var'}'` = yes; then
30990 cat >>confdefs.h
<<_ACEOF
30991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30999 ac_cpp
='$CPP $CPPFLAGS'
31000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31007 for ac_func
in inet_addr
31009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31010 echo "$as_me:$LINENO: checking for $ac_func" >&5
31011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31012 if eval "test \"\${$as_ac_var+set}\" = set"; then
31013 echo $ECHO_N "(cached) $ECHO_C" >&6
31015 cat >conftest.
$ac_ext <<_ACEOF
31018 cat confdefs.h
>>conftest.
$ac_ext
31019 cat >>conftest.
$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31023 #define $ac_func innocuous_$ac_func
31025 /* System header to define __stub macros and hopefully few prototypes,
31026 which can conflict with char $ac_func (); below.
31027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31028 <limits.h> exists even on freestanding compilers. */
31031 # include <limits.h>
31033 # include <assert.h>
31038 /* Override any gcc2 internal prototype to avoid an error. */
31043 /* We use char because int might match the return type of a gcc2
31044 builtin and then its argument prototype would still apply. */
31046 /* The GNU C library defines this for functions which it implements
31047 to always fail with ENOSYS. Some functions are actually named
31048 something starting with __ and the normal name is an alias. */
31049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31052 char (*f) () = $ac_func;
31061 return f != $ac_func;
31066 rm -f conftest.
$ac_objext conftest
$ac_exeext
31067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31068 (eval $ac_link) 2>conftest.er1
31070 grep -v '^ *+' conftest.er1
>conftest.err
31072 cat conftest.err
>&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } &&
31075 { ac_try
='test -z "$ac_c_werror_flag"
31076 || test ! -s conftest.err'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; } &&
31082 { ac_try
='test -s conftest$ac_exeext'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; }; then
31088 eval "$as_ac_var=yes"
31090 echo "$as_me: failed program was:" >&5
31091 sed 's/^/| /' conftest.
$ac_ext >&5
31093 eval "$as_ac_var=no"
31095 rm -f conftest.err conftest.
$ac_objext \
31096 conftest
$ac_exeext conftest.
$ac_ext
31098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31100 if test `eval echo '${'$as_ac_var'}'` = yes; then
31101 cat >>confdefs.h
<<_ACEOF
31102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31104 cat >>confdefs.h
<<\_ACEOF
31105 #define HAVE_INET_ADDR 1
31110 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31111 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31112 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31113 echo $ECHO_N "(cached) $ECHO_C" >&6
31115 ac_check_lib_save_LIBS
=$LIBS
31117 cat >conftest.
$ac_ext <<_ACEOF
31120 cat confdefs.h
>>conftest.
$ac_ext
31121 cat >>conftest.
$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31124 /* Override any gcc2 internal prototype to avoid an error. */
31128 /* We use char because int might match the return type of a gcc2
31129 builtin and then its argument prototype would still apply. */
31139 rm -f conftest.
$ac_objext conftest
$ac_exeext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31141 (eval $ac_link) 2>conftest.er1
31143 grep -v '^ *+' conftest.er1
>conftest.err
31145 cat conftest.err
>&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } &&
31148 { ac_try
='test -z "$ac_c_werror_flag"
31149 || test ! -s conftest.err'
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; } &&
31155 { ac_try
='test -s conftest$ac_exeext'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; }; then
31161 ac_cv_lib_nsl_inet_addr
=yes
31163 echo "$as_me: failed program was:" >&5
31164 sed 's/^/| /' conftest.
$ac_ext >&5
31166 ac_cv_lib_nsl_inet_addr
=no
31168 rm -f conftest.err conftest.
$ac_objext \
31169 conftest
$ac_exeext conftest.
$ac_ext
31170 LIBS
=$ac_check_lib_save_LIBS
31172 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31173 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31174 if test $ac_cv_lib_nsl_inet_addr = yes; then
31178 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31179 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31180 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31181 echo $ECHO_N "(cached) $ECHO_C" >&6
31183 ac_check_lib_save_LIBS
=$LIBS
31184 LIBS
="-lresolv $LIBS"
31185 cat >conftest.
$ac_ext <<_ACEOF
31188 cat confdefs.h
>>conftest.
$ac_ext
31189 cat >>conftest.
$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31192 /* Override any gcc2 internal prototype to avoid an error. */
31196 /* We use char because int might match the return type of a gcc2
31197 builtin and then its argument prototype would still apply. */
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 ac_cv_lib_resolv_inet_addr
=yes
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.
$ac_ext >&5
31234 ac_cv_lib_resolv_inet_addr
=no
31236 rm -f conftest.err conftest.
$ac_objext \
31237 conftest
$ac_exeext conftest.
$ac_ext
31238 LIBS
=$ac_check_lib_save_LIBS
31240 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31241 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31242 if test $ac_cv_lib_resolv_inet_addr = yes; then
31246 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31247 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31248 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31249 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 ac_check_lib_save_LIBS
=$LIBS
31252 LIBS
="-lsocket $LIBS"
31253 cat >conftest.
$ac_ext <<_ACEOF
31256 cat confdefs.h
>>conftest.
$ac_ext
31257 cat >>conftest.
$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31260 /* Override any gcc2 internal prototype to avoid an error. */
31264 /* We use char because int might match the return type of a gcc2
31265 builtin and then its argument prototype would still apply. */
31275 rm -f conftest.
$ac_objext conftest
$ac_exeext
31276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31277 (eval $ac_link) 2>conftest.er1
31279 grep -v '^ *+' conftest.er1
>conftest.err
31281 cat conftest.err
>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); } &&
31284 { ac_try
='test -z "$ac_c_werror_flag"
31285 || test ! -s conftest.err'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; } &&
31291 { ac_try
='test -s conftest$ac_exeext'
31292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31293 (eval $ac_try) 2>&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); }; }; then
31297 ac_cv_lib_socket_inet_addr
=yes
31299 echo "$as_me: failed program was:" >&5
31300 sed 's/^/| /' conftest.
$ac_ext >&5
31302 ac_cv_lib_socket_inet_addr
=no
31304 rm -f conftest.err conftest.
$ac_objext \
31305 conftest
$ac_exeext conftest.
$ac_ext
31306 LIBS
=$ac_check_lib_save_LIBS
31308 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31309 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31310 if test $ac_cv_lib_socket_inet_addr = yes; then
31330 for ac_func
in inet_aton
31332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31333 echo "$as_me:$LINENO: checking for $ac_func" >&5
31334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31335 if eval "test \"\${$as_ac_var+set}\" = set"; then
31336 echo $ECHO_N "(cached) $ECHO_C" >&6
31338 cat >conftest.
$ac_ext <<_ACEOF
31341 cat confdefs.h
>>conftest.
$ac_ext
31342 cat >>conftest.
$ac_ext <<_ACEOF
31343 /* end confdefs.h. */
31344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31346 #define $ac_func innocuous_$ac_func
31348 /* System header to define __stub macros and hopefully few prototypes,
31349 which can conflict with char $ac_func (); below.
31350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31351 <limits.h> exists even on freestanding compilers. */
31354 # include <limits.h>
31356 # include <assert.h>
31361 /* Override any gcc2 internal prototype to avoid an error. */
31366 /* We use char because int might match the return type of a gcc2
31367 builtin and then its argument prototype would still apply. */
31369 /* The GNU C library defines this for functions which it implements
31370 to always fail with ENOSYS. Some functions are actually named
31371 something starting with __ and the normal name is an alias. */
31372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31375 char (*f) () = $ac_func;
31384 return f != $ac_func;
31389 rm -f conftest.
$ac_objext conftest
$ac_exeext
31390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31391 (eval $ac_link) 2>conftest.er1
31393 grep -v '^ *+' conftest.er1
>conftest.err
31395 cat conftest.err
>&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); } &&
31398 { ac_try
='test -z "$ac_c_werror_flag"
31399 || test ! -s conftest.err'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; } &&
31405 { ac_try
='test -s conftest$ac_exeext'
31406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407 (eval $ac_try) 2>&5
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); }; }; then
31411 eval "$as_ac_var=yes"
31413 echo "$as_me: failed program was:" >&5
31414 sed 's/^/| /' conftest.
$ac_ext >&5
31416 eval "$as_ac_var=no"
31418 rm -f conftest.err conftest.
$ac_objext \
31419 conftest
$ac_exeext conftest.
$ac_ext
31421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31423 if test `eval echo '${'$as_ac_var'}'` = yes; then
31424 cat >>confdefs.h
<<_ACEOF
31425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31427 cat >>confdefs.h
<<\_ACEOF
31428 #define HAVE_INET_ATON 1
31433 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31434 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31435 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31436 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31437 echo $ECHO_N "(cached) $ECHO_C" >&6
31439 ac_check_lib_save_LIBS
=$LIBS
31440 LIBS
="-l$INET_LINK $LIBS"
31441 cat >conftest.
$ac_ext <<_ACEOF
31444 cat confdefs.h
>>conftest.
$ac_ext
31445 cat >>conftest.
$ac_ext <<_ACEOF
31446 /* end confdefs.h. */
31448 /* Override any gcc2 internal prototype to avoid an error. */
31452 /* We use char because int might match the return type of a gcc2
31453 builtin and then its argument prototype would still apply. */
31463 rm -f conftest.
$ac_objext conftest
$ac_exeext
31464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31465 (eval $ac_link) 2>conftest.er1
31467 grep -v '^ *+' conftest.er1
>conftest.err
31469 cat conftest.err
>&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } &&
31472 { ac_try
='test -z "$ac_c_werror_flag"
31473 || test ! -s conftest.err'
31474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475 (eval $ac_try) 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; } &&
31479 { ac_try
='test -s conftest$ac_exeext'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; }; then
31485 eval "$as_ac_Lib=yes"
31487 echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.
$ac_ext >&5
31490 eval "$as_ac_Lib=no"
31492 rm -f conftest.err conftest.
$ac_objext \
31493 conftest
$ac_exeext conftest.
$ac_ext
31494 LIBS
=$ac_check_lib_save_LIBS
31496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31497 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31498 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31499 cat >>confdefs.h
<<\_ACEOF
31500 #define HAVE_INET_ATON 1
31510 if test "x$INET_LINK" != "x"; then
31511 cat >>confdefs.h
<<\_ACEOF
31512 #define HAVE_INET_ADDR 1
31515 INET_LINK
=" -l$INET_LINK"
31523 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31524 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31525 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31526 echo $ECHO_N "(cached) $ECHO_C" >&6
31528 ac_check_lib_save_LIBS
=$LIBS
31530 cat >conftest.
$ac_ext <<_ACEOF
31533 cat confdefs.h
>>conftest.
$ac_ext
31534 cat >>conftest.
$ac_ext <<_ACEOF
31535 /* end confdefs.h. */
31537 /* Override any gcc2 internal prototype to avoid an error. */
31541 /* We use char because int might match the return type of a gcc2
31542 builtin and then its argument prototype would still apply. */
31552 rm -f conftest.
$ac_objext conftest
$ac_exeext
31553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31554 (eval $ac_link) 2>conftest.er1
31556 grep -v '^ *+' conftest.er1
>conftest.err
31558 cat conftest.err
>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); } &&
31561 { ac_try
='test -z "$ac_c_werror_flag"
31562 || test ! -s conftest.err'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; } &&
31568 { ac_try
='test -s conftest$ac_exeext'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; }; then
31574 ac_cv_lib_esd_esd_close
=yes
31576 echo "$as_me: failed program was:" >&5
31577 sed 's/^/| /' conftest.
$ac_ext >&5
31579 ac_cv_lib_esd_esd_close
=no
31581 rm -f conftest.err conftest.
$ac_objext \
31582 conftest
$ac_exeext conftest.
$ac_ext
31583 LIBS
=$ac_check_lib_save_LIBS
31585 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31586 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31587 if test $ac_cv_lib_esd_esd_close = yes; then
31590 for ac_header
in esd.h
31592 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31594 echo "$as_me:$LINENO: checking for $ac_header" >&5
31595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31602 # Is the header compilable?
31603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31605 cat >conftest.
$ac_ext <<_ACEOF
31608 cat confdefs.h
>>conftest.
$ac_ext
31609 cat >>conftest.
$ac_ext <<_ACEOF
31610 /* end confdefs.h. */
31611 $ac_includes_default
31612 #include <$ac_header>
31614 rm -f conftest.
$ac_objext
31615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31616 (eval $ac_compile) 2>conftest.er1
31618 grep -v '^ *+' conftest.er1
>conftest.err
31620 cat conftest.err
>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try
='test -z "$ac_c_werror_flag"
31624 || test ! -s conftest.err'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; } &&
31630 { ac_try
='test -s conftest.$ac_objext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 ac_header_compiler
=yes
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.
$ac_ext >&5
31641 ac_header_compiler
=no
31643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31645 echo "${ECHO_T}$ac_header_compiler" >&6
31647 # Is the header present?
31648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31650 cat >conftest.
$ac_ext <<_ACEOF
31653 cat confdefs.h
>>conftest.
$ac_ext
31654 cat >>conftest.
$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 #include <$ac_header>
31658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31659 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31661 grep -v '^ *+' conftest.er1
>conftest.err
31663 cat conftest.err
>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); } >/dev
/null
; then
31666 if test -s conftest.err
; then
31667 ac_cpp_err
=$ac_c_preproc_warn_flag
31668 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31675 if test -z "$ac_cpp_err"; then
31676 ac_header_preproc
=yes
31678 echo "$as_me: failed program was:" >&5
31679 sed 's/^/| /' conftest.
$ac_ext >&5
31681 ac_header_preproc
=no
31683 rm -f conftest.err conftest.
$ac_ext
31684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31685 echo "${ECHO_T}$ac_header_preproc" >&6
31687 # So? What about this header?
31688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31694 ac_header_preproc
=yes
31697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31711 ## ----------------------------------------- ##
31712 ## Report this to wx-dev@lists.wxwindows.org ##
31713 ## ----------------------------------------- ##
31716 sed "s/^/$as_me: WARNING: /" >&2
31719 echo "$as_me:$LINENO: checking for $ac_header" >&5
31720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31722 echo $ECHO_N "(cached) $ECHO_C" >&6
31724 eval "$as_ac_Header=\$ac_header_preproc"
31726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31731 cat >>confdefs.h
<<_ACEOF
31732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31735 EXTRALIBS_ESD
="-lesd"
31746 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31747 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31748 cat >conftest.
$ac_ext <<_ACEOF
31751 cat confdefs.h
>>conftest.
$ac_ext
31752 cat >>conftest.
$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31755 #include <linux/cdrom.h>
31758 #include <sys/cdio.h>
31764 struct cdrom_tocentry entry, old_entry;
31769 rm -f conftest.
$ac_objext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31771 (eval $ac_compile) 2>conftest.er1
31773 grep -v '^ *+' conftest.er1
>conftest.err
31775 cat conftest.err
>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try
='test -z "$ac_c_werror_flag"
31779 || test ! -s conftest.err'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try
='test -s conftest.$ac_objext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31791 echo "$as_me:$LINENO: result: yes" >&5
31792 echo "${ECHO_T}yes" >&6
31793 cat >>confdefs.h
<<\_ACEOF
31794 #define HAVE_KNOWN_CDROM_INTERFACE 1
31798 echo "$as_me: failed program was:" >&5
31799 sed 's/^/| /' conftest.
$ac_ext >&5
31801 echo "$as_me:$LINENO: result: no" >&5
31802 echo "${ECHO_T}no" >&6
31804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31807 cat >confcache
<<\_ACEOF
31808 # This file is a shell script that caches the results of configure
31809 # tests run on this system so they can be shared between configure
31810 # scripts and configure runs, see configure's option --config-cache.
31811 # It is not useful on other systems. If it contains results you don't
31812 # want to keep, you may remove or edit it.
31814 # config.status only pays attention to the cache file if you give it
31815 # the --recheck option to rerun configure.
31817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31819 # following values.
31823 # The following way of writing the cache mishandles newlines in values,
31824 # but we know of no workaround that is simple, portable, and efficient.
31825 # So, don't put newlines in cache variables' values.
31826 # Ultrix sh set writes to stderr and can't be redirected directly,
31827 # and sets the high bit in the cache file unless we assign to the vars.
31830 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31832 # `set' does not quote correctly, so add quotes (double-quote
31833 # substitution turns \\\\ into \\, and sed turns \\ into \).
31836 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31839 # `set' quotes correctly as required by POSIX, so do not add quotes.
31841 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31848 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31850 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31852 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31853 if test -w $cache_file; then
31854 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31855 cat confcache
>$cache_file
31857 echo "not updating unwritable cache $cache_file"
31864 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31870 if test "$wxUSE_THREADS" = "yes" ; then
31871 if test "$USE_BEOS" = 1; then
31872 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31873 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31878 if test "$wxUSE_THREADS" = "yes" ; then
31881 THREAD_OPTS
="-pthread"
31883 *-*-solaris2* | *-*-sunos4* )
31884 if test "x$GCC" = "xyes"; then
31885 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31887 THREAD_OPTS
="-mt $THREAD_OPTS"
31891 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31893 *-*-darwin* | *-*-cygwin* )
31897 THREAD_OPTS
="pthreads"
31900 if test "x$GCC" != "xyes"; then
31906 if test "x$GCC" = "xyes"; then
31912 if test "x$GCC" != "xyes"; then
31913 THREAD_OPTS
="-Ethread"
31918 THREAD_OPTS
="$THREAD_OPTS pthread none"
31921 for flag
in $THREAD_OPTS; do
31924 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31925 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31929 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31930 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31931 THREADS_CFLAGS
="$flag"
31935 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31936 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31937 THREADS_LINK
="-l$flag"
31942 save_CFLAGS
="$CFLAGS"
31943 LIBS
="$THREADS_LINK $LIBS"
31944 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31946 cat >conftest.
$ac_ext <<_ACEOF
31949 cat confdefs.h
>>conftest.
$ac_ext
31950 cat >>conftest.
$ac_ext <<_ACEOF
31951 /* end confdefs.h. */
31952 #include <pthread.h>
31956 pthread_create(0,0,0,0);
31961 rm -f conftest.
$ac_objext conftest
$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963 (eval $ac_link) 2>conftest.er1
31965 grep -v '^ *+' conftest.er1
>conftest.err
31967 cat conftest.err
>&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try
='test -z "$ac_c_werror_flag"
31971 || test ! -s conftest.err'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } &&
31977 { ac_try
='test -s conftest$ac_exeext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.
$ac_ext >&5
31989 rm -f conftest.err conftest.
$ac_objext \
31990 conftest
$ac_exeext conftest.
$ac_ext
31993 CFLAGS
="$save_CFLAGS"
31995 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31996 echo "${ECHO_T}$THREADS_OK" >&6
31997 if test "x$THREADS_OK" = "xyes"; then
32005 if test "x$THREADS_OK" != "xyes"; then
32007 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32008 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32010 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32011 LIBS
="$THREADS_LINK $LIBS"
32013 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32014 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32018 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32019 flag
="-D_THREAD_SAFE"
32022 flag
="-D_THREAD_SAFE"
32025 flag
="-D_REENTRANT"
32026 if test "x$GCC" != "xyes"; then
32027 flag
="$flag -D_RWSTD_MULTI_THREAD"
32030 *solaris
* | alpha
*-osf*)
32031 flag
="-D_REENTRANT"
32034 echo "$as_me:$LINENO: result: ${flag}" >&5
32035 echo "${ECHO_T}${flag}" >&6
32036 if test "x$flag" != xno
; then
32037 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32040 if test "x$THREADS_CFLAGS" != "x"; then
32041 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32042 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32047 if test "$wxUSE_THREADS" = "yes" ; then
32049 for ac_func
in thr_setconcurrency
32051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32052 echo "$as_me:$LINENO: checking for $ac_func" >&5
32053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32054 if eval "test \"\${$as_ac_var+set}\" = set"; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32057 cat >conftest.
$ac_ext <<_ACEOF
32060 cat confdefs.h
>>conftest.
$ac_ext
32061 cat >>conftest.
$ac_ext <<_ACEOF
32062 /* end confdefs.h. */
32063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32065 #define $ac_func innocuous_$ac_func
32067 /* System header to define __stub macros and hopefully few prototypes,
32068 which can conflict with char $ac_func (); below.
32069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32070 <limits.h> exists even on freestanding compilers. */
32073 # include <limits.h>
32075 # include <assert.h>
32080 /* Override any gcc2 internal prototype to avoid an error. */
32085 /* We use char because int might match the return type of a gcc2
32086 builtin and then its argument prototype would still apply. */
32088 /* The GNU C library defines this for functions which it implements
32089 to always fail with ENOSYS. Some functions are actually named
32090 something starting with __ and the normal name is an alias. */
32091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32094 char (*f) () = $ac_func;
32103 return f != $ac_func;
32108 rm -f conftest.
$ac_objext conftest
$ac_exeext
32109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32110 (eval $ac_link) 2>conftest.er1
32112 grep -v '^ *+' conftest.er1
>conftest.err
32114 cat conftest.err
>&5
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); } &&
32117 { ac_try
='test -z "$ac_c_werror_flag"
32118 || test ! -s conftest.err'
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); }; } &&
32124 { ac_try
='test -s conftest$ac_exeext'
32125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32126 (eval $ac_try) 2>&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); }; }; then
32130 eval "$as_ac_var=yes"
32132 echo "$as_me: failed program was:" >&5
32133 sed 's/^/| /' conftest.
$ac_ext >&5
32135 eval "$as_ac_var=no"
32137 rm -f conftest.err conftest.
$ac_objext \
32138 conftest
$ac_exeext conftest.
$ac_ext
32140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32142 if test `eval echo '${'$as_ac_var'}'` = yes; then
32143 cat >>confdefs.h
<<_ACEOF
32144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32152 for ac_header
in sched.h
32154 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32156 echo "$as_me:$LINENO: checking for $ac_header" >&5
32157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32164 # Is the header compilable?
32165 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32167 cat >conftest.
$ac_ext <<_ACEOF
32170 cat confdefs.h
>>conftest.
$ac_ext
32171 cat >>conftest.
$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173 $ac_includes_default
32174 #include <$ac_header>
32176 rm -f conftest.
$ac_objext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32178 (eval $ac_compile) 2>conftest.er1
32180 grep -v '^ *+' conftest.er1
>conftest.err
32182 cat conftest.err
>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try
='test -z "$ac_c_werror_flag"
32186 || test ! -s conftest.err'
32187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188 (eval $ac_try) 2>&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); }; } &&
32192 { ac_try
='test -s conftest.$ac_objext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 ac_header_compiler
=yes
32200 echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.
$ac_ext >&5
32203 ac_header_compiler
=no
32205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32207 echo "${ECHO_T}$ac_header_compiler" >&6
32209 # Is the header present?
32210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32212 cat >conftest.
$ac_ext <<_ACEOF
32215 cat confdefs.h
>>conftest.
$ac_ext
32216 cat >>conftest.
$ac_ext <<_ACEOF
32217 /* end confdefs.h. */
32218 #include <$ac_header>
32220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32223 grep -v '^ *+' conftest.er1
>conftest.err
32225 cat conftest.err
>&5
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); } >/dev
/null
; then
32228 if test -s conftest.err
; then
32229 ac_cpp_err
=$ac_c_preproc_warn_flag
32230 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32237 if test -z "$ac_cpp_err"; then
32238 ac_header_preproc
=yes
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.
$ac_ext >&5
32243 ac_header_preproc
=no
32245 rm -f conftest.err conftest.
$ac_ext
32246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32247 echo "${ECHO_T}$ac_header_preproc" >&6
32249 # So? What about this header?
32250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32255 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32256 ac_header_preproc
=yes
32259 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32260 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32261 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32262 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32263 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32264 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32265 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32266 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32269 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32270 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32273 ## ----------------------------------------- ##
32274 ## Report this to wx-dev@lists.wxwindows.org ##
32275 ## ----------------------------------------- ##
32278 sed "s/^/$as_me: WARNING: /" >&2
32281 echo "$as_me:$LINENO: checking for $ac_header" >&5
32282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32284 echo $ECHO_N "(cached) $ECHO_C" >&6
32286 eval "$as_ac_Header=\$ac_header_preproc"
32288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32293 cat >>confdefs.h
<<_ACEOF
32294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32301 if test "$ac_cv_header_sched_h" = "yes"; then
32302 echo "$as_me:$LINENO: checking for sched_yield" >&5
32303 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32304 if test "${ac_cv_func_sched_yield+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 cat >conftest.
$ac_ext <<_ACEOF
32310 cat confdefs.h
>>conftest.
$ac_ext
32311 cat >>conftest.
$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32313 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32315 #define sched_yield innocuous_sched_yield
32317 /* System header to define __stub macros and hopefully few prototypes,
32318 which can conflict with char sched_yield (); below.
32319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32320 <limits.h> exists even on freestanding compilers. */
32323 # include <limits.h>
32325 # include <assert.h>
32330 /* Override any gcc2 internal prototype to avoid an error. */
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32337 char sched_yield ();
32338 /* The GNU C library defines this for functions which it implements
32339 to always fail with ENOSYS. Some functions are actually named
32340 something starting with __ and the normal name is an alias. */
32341 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32344 char (*f) () = sched_yield;
32353 return f != sched_yield;
32358 rm -f conftest.
$ac_objext conftest
$ac_exeext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32360 (eval $ac_link) 2>conftest.er1
32362 grep -v '^ *+' conftest.er1
>conftest.err
32364 cat conftest.err
>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try
='test -z "$ac_c_werror_flag"
32368 || test ! -s conftest.err'
32369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370 (eval $ac_try) 2>&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); }; } &&
32374 { ac_try
='test -s conftest$ac_exeext'
32375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 (eval $ac_try) 2>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; }; then
32380 ac_cv_func_sched_yield
=yes
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.
$ac_ext >&5
32385 ac_cv_func_sched_yield
=no
32387 rm -f conftest.err conftest.
$ac_objext \
32388 conftest
$ac_exeext conftest.
$ac_ext
32390 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32391 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32392 if test $ac_cv_func_sched_yield = yes; then
32393 cat >>confdefs.h
<<\_ACEOF
32394 #define HAVE_SCHED_YIELD 1
32399 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32400 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32401 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32404 ac_check_lib_save_LIBS
=$LIBS
32405 LIBS
="-lposix4 $LIBS"
32406 cat >conftest.
$ac_ext <<_ACEOF
32409 cat confdefs.h
>>conftest.
$ac_ext
32410 cat >>conftest.
$ac_ext <<_ACEOF
32411 /* end confdefs.h. */
32413 /* Override any gcc2 internal prototype to avoid an error. */
32417 /* We use char because int might match the return type of a gcc2
32418 builtin and then its argument prototype would still apply. */
32419 char sched_yield ();
32428 rm -f conftest.
$ac_objext conftest
$ac_exeext
32429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32430 (eval $ac_link) 2>conftest.er1
32432 grep -v '^ *+' conftest.er1
>conftest.err
32434 cat conftest.err
>&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); } &&
32437 { ac_try
='test -z "$ac_c_werror_flag"
32438 || test ! -s conftest.err'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; } &&
32444 { ac_try
='test -s conftest$ac_exeext'
32445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32446 (eval $ac_try) 2>&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); }; }; then
32450 ac_cv_lib_posix4_sched_yield
=yes
32452 echo "$as_me: failed program was:" >&5
32453 sed 's/^/| /' conftest.
$ac_ext >&5
32455 ac_cv_lib_posix4_sched_yield
=no
32457 rm -f conftest.err conftest.
$ac_objext \
32458 conftest
$ac_exeext conftest.
$ac_ext
32459 LIBS
=$ac_check_lib_save_LIBS
32461 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32462 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32463 if test $ac_cv_lib_posix4_sched_yield = yes; then
32464 cat >>confdefs.h
<<\_ACEOF
32465 #define HAVE_SCHED_YIELD 1
32467 POSIX4_LINK
=" -lposix4"
32469 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32470 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32481 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32482 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32483 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32484 echo $ECHO_N "(cached) $ECHO_C" >&6
32486 cat >conftest.
$ac_ext <<_ACEOF
32489 cat confdefs.h
>>conftest.
$ac_ext
32490 cat >>conftest.
$ac_ext <<_ACEOF
32491 /* end confdefs.h. */
32492 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32494 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32496 /* System header to define __stub macros and hopefully few prototypes,
32497 which can conflict with char pthread_attr_getschedpolicy (); below.
32498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32499 <limits.h> exists even on freestanding compilers. */
32502 # include <limits.h>
32504 # include <assert.h>
32507 #undef pthread_attr_getschedpolicy
32509 /* Override any gcc2 internal prototype to avoid an error. */
32514 /* We use char because int might match the return type of a gcc2
32515 builtin and then its argument prototype would still apply. */
32516 char pthread_attr_getschedpolicy ();
32517 /* The GNU C library defines this for functions which it implements
32518 to always fail with ENOSYS. Some functions are actually named
32519 something starting with __ and the normal name is an alias. */
32520 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32523 char (*f) () = pthread_attr_getschedpolicy;
32532 return f != pthread_attr_getschedpolicy;
32537 rm -f conftest.
$ac_objext conftest
$ac_exeext
32538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32539 (eval $ac_link) 2>conftest.er1
32541 grep -v '^ *+' conftest.er1
>conftest.err
32543 cat conftest.err
>&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); } &&
32546 { ac_try
='test -z "$ac_c_werror_flag"
32547 || test ! -s conftest.err'
32548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32549 (eval $ac_try) 2>&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); }; } &&
32553 { ac_try
='test -s conftest$ac_exeext'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; }; then
32559 ac_cv_func_pthread_attr_getschedpolicy
=yes
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.
$ac_ext >&5
32564 ac_cv_func_pthread_attr_getschedpolicy
=no
32566 rm -f conftest.err conftest.
$ac_objext \
32567 conftest
$ac_exeext conftest.
$ac_ext
32569 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32570 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32571 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32572 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32573 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32574 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 cat >conftest.
$ac_ext <<_ACEOF
32580 cat confdefs.h
>>conftest.
$ac_ext
32581 cat >>conftest.
$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32585 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32587 /* System header to define __stub macros and hopefully few prototypes,
32588 which can conflict with char pthread_attr_setschedparam (); below.
32589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32590 <limits.h> exists even on freestanding compilers. */
32593 # include <limits.h>
32595 # include <assert.h>
32598 #undef pthread_attr_setschedparam
32600 /* Override any gcc2 internal prototype to avoid an error. */
32605 /* We use char because int might match the return type of a gcc2
32606 builtin and then its argument prototype would still apply. */
32607 char pthread_attr_setschedparam ();
32608 /* The GNU C library defines this for functions which it implements
32609 to always fail with ENOSYS. Some functions are actually named
32610 something starting with __ and the normal name is an alias. */
32611 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32614 char (*f) () = pthread_attr_setschedparam;
32623 return f != pthread_attr_setschedparam;
32628 rm -f conftest.
$ac_objext conftest
$ac_exeext
32629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32630 (eval $ac_link) 2>conftest.er1
32632 grep -v '^ *+' conftest.er1
>conftest.err
32634 cat conftest.err
>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } &&
32637 { ac_try
='test -z "$ac_c_werror_flag"
32638 || test ! -s conftest.err'
32639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32640 (eval $ac_try) 2>&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); }; } &&
32644 { ac_try
='test -s conftest$ac_exeext'
32645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32646 (eval $ac_try) 2>&5
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); }; }; then
32650 ac_cv_func_pthread_attr_setschedparam
=yes
32652 echo "$as_me: failed program was:" >&5
32653 sed 's/^/| /' conftest.
$ac_ext >&5
32655 ac_cv_func_pthread_attr_setschedparam
=no
32657 rm -f conftest.err conftest.
$ac_objext \
32658 conftest
$ac_exeext conftest.
$ac_ext
32660 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32661 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32662 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32663 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32664 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32665 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 cat >conftest.
$ac_ext <<_ACEOF
32671 cat confdefs.h
>>conftest.
$ac_ext
32672 cat >>conftest.
$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32676 #define sched_get_priority_max innocuous_sched_get_priority_max
32678 /* System header to define __stub macros and hopefully few prototypes,
32679 which can conflict with char sched_get_priority_max (); below.
32680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32681 <limits.h> exists even on freestanding compilers. */
32684 # include <limits.h>
32686 # include <assert.h>
32689 #undef sched_get_priority_max
32691 /* Override any gcc2 internal prototype to avoid an error. */
32696 /* We use char because int might match the return type of a gcc2
32697 builtin and then its argument prototype would still apply. */
32698 char sched_get_priority_max ();
32699 /* The GNU C library defines this for functions which it implements
32700 to always fail with ENOSYS. Some functions are actually named
32701 something starting with __ and the normal name is an alias. */
32702 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32705 char (*f) () = sched_get_priority_max;
32714 return f != sched_get_priority_max;
32719 rm -f conftest.
$ac_objext conftest
$ac_exeext
32720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32721 (eval $ac_link) 2>conftest.er1
32723 grep -v '^ *+' conftest.er1
>conftest.err
32725 cat conftest.err
>&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } &&
32728 { ac_try
='test -z "$ac_c_werror_flag"
32729 || test ! -s conftest.err'
32730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32731 (eval $ac_try) 2>&5
32733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32734 (exit $ac_status); }; } &&
32735 { ac_try
='test -s conftest$ac_exeext'
32736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32737 (eval $ac_try) 2>&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); }; }; then
32741 ac_cv_func_sched_get_priority_max
=yes
32743 echo "$as_me: failed program was:" >&5
32744 sed 's/^/| /' conftest.
$ac_ext >&5
32746 ac_cv_func_sched_get_priority_max
=no
32748 rm -f conftest.err conftest.
$ac_objext \
32749 conftest
$ac_exeext conftest.
$ac_ext
32751 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32752 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32753 if test $ac_cv_func_sched_get_priority_max = yes; then
32756 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32757 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32758 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 ac_check_lib_save_LIBS
=$LIBS
32762 LIBS
="-lposix4 $LIBS"
32763 cat >conftest.
$ac_ext <<_ACEOF
32766 cat confdefs.h
>>conftest.
$ac_ext
32767 cat >>conftest.
$ac_ext <<_ACEOF
32768 /* end confdefs.h. */
32770 /* Override any gcc2 internal prototype to avoid an error. */
32774 /* We use char because int might match the return type of a gcc2
32775 builtin and then its argument prototype would still apply. */
32776 char sched_get_priority_max ();
32780 sched_get_priority_max ();
32785 rm -f conftest.
$ac_objext conftest
$ac_exeext
32786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32787 (eval $ac_link) 2>conftest.er1
32789 grep -v '^ *+' conftest.er1
>conftest.err
32791 cat conftest.err
>&5
32792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793 (exit $ac_status); } &&
32794 { ac_try
='test -z "$ac_c_werror_flag"
32795 || test ! -s conftest.err'
32796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32797 (eval $ac_try) 2>&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); }; } &&
32801 { ac_try
='test -s conftest$ac_exeext'
32802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32803 (eval $ac_try) 2>&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); }; }; then
32807 ac_cv_lib_posix4_sched_get_priority_max
=yes
32809 echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.
$ac_ext >&5
32812 ac_cv_lib_posix4_sched_get_priority_max
=no
32814 rm -f conftest.err conftest.
$ac_objext \
32815 conftest
$ac_exeext conftest.
$ac_ext
32816 LIBS
=$ac_check_lib_save_LIBS
32818 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32819 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32820 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32823 POSIX4_LINK
=" -lposix4"
32837 if test "$HAVE_PRIOR_FUNCS" = 1; then
32838 cat >>confdefs.h
<<\_ACEOF
32839 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32843 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32844 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32847 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32848 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32849 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32850 echo $ECHO_N "(cached) $ECHO_C" >&6
32852 cat >conftest.
$ac_ext <<_ACEOF
32855 cat confdefs.h
>>conftest.
$ac_ext
32856 cat >>conftest.
$ac_ext <<_ACEOF
32857 /* end confdefs.h. */
32858 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32860 #define pthread_cancel innocuous_pthread_cancel
32862 /* System header to define __stub macros and hopefully few prototypes,
32863 which can conflict with char pthread_cancel (); below.
32864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32865 <limits.h> exists even on freestanding compilers. */
32868 # include <limits.h>
32870 # include <assert.h>
32873 #undef pthread_cancel
32875 /* Override any gcc2 internal prototype to avoid an error. */
32880 /* We use char because int might match the return type of a gcc2
32881 builtin and then its argument prototype would still apply. */
32882 char pthread_cancel ();
32883 /* The GNU C library defines this for functions which it implements
32884 to always fail with ENOSYS. Some functions are actually named
32885 something starting with __ and the normal name is an alias. */
32886 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32889 char (*f) () = pthread_cancel;
32898 return f != pthread_cancel;
32903 rm -f conftest.
$ac_objext conftest
$ac_exeext
32904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32905 (eval $ac_link) 2>conftest.er1
32907 grep -v '^ *+' conftest.er1
>conftest.err
32909 cat conftest.err
>&5
32910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 (exit $ac_status); } &&
32912 { ac_try
='test -z "$ac_c_werror_flag"
32913 || test ! -s conftest.err'
32914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32915 (eval $ac_try) 2>&5
32917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32918 (exit $ac_status); }; } &&
32919 { ac_try
='test -s conftest$ac_exeext'
32920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921 (eval $ac_try) 2>&5
32923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924 (exit $ac_status); }; }; then
32925 ac_cv_func_pthread_cancel
=yes
32927 echo "$as_me: failed program was:" >&5
32928 sed 's/^/| /' conftest.
$ac_ext >&5
32930 ac_cv_func_pthread_cancel
=no
32932 rm -f conftest.err conftest.
$ac_objext \
32933 conftest
$ac_exeext conftest.
$ac_ext
32935 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32936 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32937 if test $ac_cv_func_pthread_cancel = yes; then
32938 cat >>confdefs.h
<<\_ACEOF
32939 #define HAVE_PTHREAD_CANCEL 1
32943 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32944 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32950 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32951 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32952 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32953 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 cat >conftest.
$ac_ext <<_ACEOF
32959 cat confdefs.h
>>conftest.
$ac_ext
32960 cat >>conftest.
$ac_ext <<_ACEOF
32961 /* end confdefs.h. */
32962 #include <pthread.h>
32967 pthread_mutexattr_t attr;
32968 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32974 rm -f conftest.
$ac_objext
32975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32976 (eval $ac_compile) 2>conftest.er1
32978 grep -v '^ *+' conftest.er1
>conftest.err
32980 cat conftest.err
>&5
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); } &&
32983 { ac_try
='test -z "$ac_c_werror_flag"
32984 || test ! -s conftest.err'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; } &&
32990 { ac_try
='test -s conftest.$ac_objext'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; }; then
32997 wx_cv_type_pthread_mutexattr_t
=yes
33000 echo "$as_me: failed program was:" >&5
33001 sed 's/^/| /' conftest.
$ac_ext >&5
33004 wx_cv_type_pthread_mutexattr_t
=no
33008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33011 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33012 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33014 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33015 cat >>confdefs.h
<<\_ACEOF
33016 #define HAVE_PTHREAD_MUTEXATTR_T 1
33020 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33021 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33022 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 cat >conftest.
$ac_ext <<_ACEOF
33029 cat confdefs.h
>>conftest.
$ac_ext
33030 cat >>conftest.
$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33032 #include <pthread.h>
33037 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33043 rm -f conftest.
$ac_objext
33044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33045 (eval $ac_compile) 2>conftest.er1
33047 grep -v '^ *+' conftest.er1
>conftest.err
33049 cat conftest.err
>&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); } &&
33052 { ac_try
='test -z "$ac_c_werror_flag"
33053 || test ! -s conftest.err'
33054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33055 (eval $ac_try) 2>&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); }; } &&
33059 { ac_try
='test -s conftest.$ac_objext'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; }; then
33066 wx_cv_type_pthread_rec_mutex_init
=yes
33069 echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.
$ac_ext >&5
33073 wx_cv_type_pthread_rec_mutex_init
=no
33077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33080 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33081 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33082 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33083 cat >>confdefs.h
<<\_ACEOF
33084 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33088 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33089 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33095 if test "$wxUSE_THREADS" = "yes" ; then
33098 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33099 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33100 if test "${wx_cv_cflags_mthread+set}" = set; then
33101 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 CFLAGS_OLD
="$CFLAGS"
33105 CFLAGS
="$CFLAGS -mthreads"
33106 cat >conftest.
$ac_ext <<_ACEOF
33109 cat confdefs.h
>>conftest.
$ac_ext
33110 cat >>conftest.
$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33121 rm -f conftest.
$ac_objext
33122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33123 (eval $ac_compile) 2>conftest.er1
33125 grep -v '^ *+' conftest.er1
>conftest.err
33127 cat conftest.err
>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } &&
33130 { ac_try
='test -z "$ac_c_werror_flag"
33131 || test ! -s conftest.err'
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); }; } &&
33137 { ac_try
='test -s conftest.$ac_objext'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; }; then
33143 wx_cv_cflags_mthread
=yes
33145 echo "$as_me: failed program was:" >&5
33146 sed 's/^/| /' conftest.
$ac_ext >&5
33148 wx_cv_cflags_mthread
=no
33151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33155 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33156 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33158 if test "$wx_cv_cflags_mthread" = "yes"; then
33159 CXXFLAGS
="$CXXFLAGS -mthreads"
33160 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33161 LDFLAGS
="$LDFLAGS -mthreads"
33163 CFLAGS
="$CFLAGS_OLD"
33167 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33168 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33169 LDFLAGS
="$LDFLAGS -Zmt"
33175 if test "$wxUSE_THREADS" = "yes"; then
33176 cat >>confdefs.h
<<\_ACEOF
33177 #define wxUSE_THREADS 1
33181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33183 if test "$ac_cv_func_strtok_r" = "yes"; then
33184 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33185 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33186 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33187 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33188 echo "$as_me:$LINENO: result: yes" >&5
33189 echo "${ECHO_T}yes" >&6
33191 echo "$as_me:$LINENO: result: no" >&5
33192 echo "${ECHO_T}no" >&6
33197 if test "$WXGTK20" = 1 ; then
33198 cat >>confdefs.h
<<_ACEOF
33199 #define __WXGTK20__ $WXGTK20
33205 if test "$WXGTK12" = 1 ; then
33206 cat >>confdefs.h
<<_ACEOF
33207 #define __WXGTK12__ $WXGTK12
33212 if test "$WXGTK127" = 1 ; then
33213 cat >>confdefs.h
<<_ACEOF
33214 #define __WXGTK127__ $WXGTK127
33221 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33226 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33227 wxUSE_DEBUG_INFO
=yes
33231 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33232 cat >>confdefs.h
<<\_ACEOF
33236 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33238 if test "$wxUSE_GTK" = 1 ; then
33239 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33243 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33244 cat >>confdefs.h
<<\_ACEOF
33245 #define wxUSE_MEMORY_TRACING 1
33248 cat >>confdefs.h
<<\_ACEOF
33249 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33252 cat >>confdefs.h
<<\_ACEOF
33253 #define wxUSE_DEBUG_NEW_ALWAYS 1
33256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33259 if test "$wxUSE_DMALLOC" = "yes" ; then
33260 DMALLOC_LIBS
="-ldmalloc"
33264 if test "$wxUSE_PROFILE" = "yes" ; then
33269 CODE_GEN_FLAGS_CXX
=
33270 if test "$GCC" = "yes" ; then
33271 if test "$wxUSE_NO_RTTI" = "yes" ; then
33272 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33274 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33275 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33277 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33278 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33283 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33286 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33292 if test "$wxUSE_OPTIMISE" = "no" ; then
33293 if test "$GCC" = yes ; then
33297 if test "$GCC" = yes ; then
33301 i586
-*-*|i686
-*-* )
33302 OPTIMISE
="${OPTIMISE} "
33311 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33312 cat >>confdefs.h
<<\_ACEOF
33313 #define WXWIN_COMPATIBILITY_2_2 1
33317 WXWIN_COMPATIBILITY_2_4
="yes"
33320 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33321 cat >>confdefs.h
<<\_ACEOF
33322 #define WXWIN_COMPATIBILITY_2_4 1
33328 if test "$wxUSE_GUI" = "yes"; then
33329 cat >>confdefs.h
<<\_ACEOF
33330 #define wxUSE_GUI 1
33335 cat >>confdefs.h
<<\_ACEOF
33336 #define wxUSE_NOGUI 1
33342 if test "$wxUSE_UNIX" = "yes"; then
33343 cat >>confdefs.h
<<\_ACEOF
33344 #define wxUSE_UNIX 1
33350 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33354 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33355 if test "$USE_DARWIN" = 1; then
33359 for ac_func
in dlopen
33361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33362 echo "$as_me:$LINENO: checking for $ac_func" >&5
33363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33364 if eval "test \"\${$as_ac_var+set}\" = set"; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 cat >conftest.
$ac_ext <<_ACEOF
33370 cat confdefs.h
>>conftest.
$ac_ext
33371 cat >>conftest.
$ac_ext <<_ACEOF
33372 /* end confdefs.h. */
33373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33375 #define $ac_func innocuous_$ac_func
33377 /* System header to define __stub macros and hopefully few prototypes,
33378 which can conflict with char $ac_func (); below.
33379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33380 <limits.h> exists even on freestanding compilers. */
33383 # include <limits.h>
33385 # include <assert.h>
33390 /* Override any gcc2 internal prototype to avoid an error. */
33395 /* We use char because int might match the return type of a gcc2
33396 builtin and then its argument prototype would still apply. */
33398 /* The GNU C library defines this for functions which it implements
33399 to always fail with ENOSYS. Some functions are actually named
33400 something starting with __ and the normal name is an alias. */
33401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33404 char (*f) () = $ac_func;
33413 return f != $ac_func;
33418 rm -f conftest.
$ac_objext conftest
$ac_exeext
33419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33420 (eval $ac_link) 2>conftest.er1
33422 grep -v '^ *+' conftest.er1
>conftest.err
33424 cat conftest.err
>&5
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); } &&
33427 { ac_try
='test -z "$ac_c_werror_flag"
33428 || test ! -s conftest.err'
33429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33430 (eval $ac_try) 2>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); }; } &&
33434 { ac_try
='test -s conftest$ac_exeext'
33435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436 (eval $ac_try) 2>&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; }; then
33440 eval "$as_ac_var=yes"
33442 echo "$as_me: failed program was:" >&5
33443 sed 's/^/| /' conftest.
$ac_ext >&5
33445 eval "$as_ac_var=no"
33447 rm -f conftest.err conftest.
$ac_objext \
33448 conftest
$ac_exeext conftest.
$ac_ext
33450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33452 if test `eval echo '${'$as_ac_var'}'` = yes; then
33453 cat >>confdefs.h
<<_ACEOF
33454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33457 cat >>confdefs.h
<<\_ACEOF
33458 #define HAVE_DLOPEN 1
33465 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33466 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33467 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 ac_check_lib_save_LIBS
=$LIBS
33472 cat >conftest.
$ac_ext <<_ACEOF
33475 cat confdefs.h
>>conftest.
$ac_ext
33476 cat >>conftest.
$ac_ext <<_ACEOF
33477 /* end confdefs.h. */
33479 /* Override any gcc2 internal prototype to avoid an error. */
33483 /* We use char because int might match the return type of a gcc2
33484 builtin and then its argument prototype would still apply. */
33494 rm -f conftest.
$ac_objext conftest
$ac_exeext
33495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33496 (eval $ac_link) 2>conftest.er1
33498 grep -v '^ *+' conftest.er1
>conftest.err
33500 cat conftest.err
>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } &&
33503 { ac_try
='test -z "$ac_c_werror_flag"
33504 || test ! -s conftest.err'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; } &&
33510 { ac_try
='test -s conftest$ac_exeext'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }; then
33516 ac_cv_lib_dl_dlopen
=yes
33518 echo "$as_me: failed program was:" >&5
33519 sed 's/^/| /' conftest.
$ac_ext >&5
33521 ac_cv_lib_dl_dlopen
=no
33523 rm -f conftest.err conftest.
$ac_objext \
33524 conftest
$ac_exeext conftest.
$ac_ext
33525 LIBS
=$ac_check_lib_save_LIBS
33527 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33528 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33529 if test $ac_cv_lib_dl_dlopen = yes; then
33531 cat >>confdefs.h
<<\_ACEOF
33532 #define HAVE_DLOPEN 1
33536 DL_LINK
=" -ldl$DL_LINK"
33541 for ac_func
in shl_load
33543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33544 echo "$as_me:$LINENO: checking for $ac_func" >&5
33545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33546 if eval "test \"\${$as_ac_var+set}\" = set"; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 cat >conftest.
$ac_ext <<_ACEOF
33552 cat confdefs.h
>>conftest.
$ac_ext
33553 cat >>conftest.
$ac_ext <<_ACEOF
33554 /* end confdefs.h. */
33555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33557 #define $ac_func innocuous_$ac_func
33559 /* System header to define __stub macros and hopefully few prototypes,
33560 which can conflict with char $ac_func (); below.
33561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33562 <limits.h> exists even on freestanding compilers. */
33565 # include <limits.h>
33567 # include <assert.h>
33572 /* Override any gcc2 internal prototype to avoid an error. */
33577 /* We use char because int might match the return type of a gcc2
33578 builtin and then its argument prototype would still apply. */
33580 /* The GNU C library defines this for functions which it implements
33581 to always fail with ENOSYS. Some functions are actually named
33582 something starting with __ and the normal name is an alias. */
33583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33586 char (*f) () = $ac_func;
33595 return f != $ac_func;
33600 rm -f conftest.
$ac_objext conftest
$ac_exeext
33601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33602 (eval $ac_link) 2>conftest.er1
33604 grep -v '^ *+' conftest.er1
>conftest.err
33606 cat conftest.err
>&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); } &&
33609 { ac_try
='test -z "$ac_c_werror_flag"
33610 || test ! -s conftest.err'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; } &&
33616 { ac_try
='test -s conftest$ac_exeext'
33617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33618 (eval $ac_try) 2>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; }; then
33622 eval "$as_ac_var=yes"
33624 echo "$as_me: failed program was:" >&5
33625 sed 's/^/| /' conftest.
$ac_ext >&5
33627 eval "$as_ac_var=no"
33629 rm -f conftest.err conftest.
$ac_objext \
33630 conftest
$ac_exeext conftest.
$ac_ext
33632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33634 if test `eval echo '${'$as_ac_var'}'` = yes; then
33635 cat >>confdefs.h
<<_ACEOF
33636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33639 cat >>confdefs.h
<<\_ACEOF
33640 #define HAVE_SHL_LOAD 1
33647 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33648 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33649 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33650 echo $ECHO_N "(cached) $ECHO_C" >&6
33652 ac_check_lib_save_LIBS
=$LIBS
33653 LIBS
="-lshl_load $LIBS"
33654 cat >conftest.
$ac_ext <<_ACEOF
33657 cat confdefs.h
>>conftest.
$ac_ext
33658 cat >>conftest.
$ac_ext <<_ACEOF
33659 /* end confdefs.h. */
33661 /* Override any gcc2 internal prototype to avoid an error. */
33665 /* We use char because int might match the return type of a gcc2
33666 builtin and then its argument prototype would still apply. */
33676 rm -f conftest.
$ac_objext conftest
$ac_exeext
33677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33678 (eval $ac_link) 2>conftest.er1
33680 grep -v '^ *+' conftest.er1
>conftest.err
33682 cat conftest.err
>&5
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); } &&
33685 { ac_try
='test -z "$ac_c_werror_flag"
33686 || test ! -s conftest.err'
33687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33688 (eval $ac_try) 2>&5
33690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33691 (exit $ac_status); }; } &&
33692 { ac_try
='test -s conftest$ac_exeext'
33693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33694 (eval $ac_try) 2>&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); }; }; then
33698 ac_cv_lib_shl_load_dld
=yes
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.
$ac_ext >&5
33703 ac_cv_lib_shl_load_dld
=no
33705 rm -f conftest.err conftest.
$ac_objext \
33706 conftest
$ac_exeext conftest.
$ac_ext
33707 LIBS
=$ac_check_lib_save_LIBS
33709 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33710 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33711 if test $ac_cv_lib_shl_load_dld = yes; then
33714 DL_LINK
=" -ldld$DL_LINK"
33730 if test "$HAVE_DL_FUNCS" = 1; then
33732 for ac_func
in dlerror
33734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33735 echo "$as_me:$LINENO: checking for $ac_func" >&5
33736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33737 if eval "test \"\${$as_ac_var+set}\" = set"; then
33738 echo $ECHO_N "(cached) $ECHO_C" >&6
33740 cat >conftest.
$ac_ext <<_ACEOF
33743 cat confdefs.h
>>conftest.
$ac_ext
33744 cat >>conftest.
$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33748 #define $ac_func innocuous_$ac_func
33750 /* System header to define __stub macros and hopefully few prototypes,
33751 which can conflict with char $ac_func (); below.
33752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33753 <limits.h> exists even on freestanding compilers. */
33756 # include <limits.h>
33758 # include <assert.h>
33763 /* Override any gcc2 internal prototype to avoid an error. */
33768 /* We use char because int might match the return type of a gcc2
33769 builtin and then its argument prototype would still apply. */
33771 /* The GNU C library defines this for functions which it implements
33772 to always fail with ENOSYS. Some functions are actually named
33773 something starting with __ and the normal name is an alias. */
33774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33777 char (*f) () = $ac_func;
33786 return f != $ac_func;
33791 rm -f conftest.
$ac_objext conftest
$ac_exeext
33792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33793 (eval $ac_link) 2>conftest.er1
33795 grep -v '^ *+' conftest.er1
>conftest.err
33797 cat conftest.err
>&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); } &&
33800 { ac_try
='test -z "$ac_c_werror_flag"
33801 || test ! -s conftest.err'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; } &&
33807 { ac_try
='test -s conftest$ac_exeext'
33808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33809 (eval $ac_try) 2>&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); }; }; then
33813 eval "$as_ac_var=yes"
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.
$ac_ext >&5
33818 eval "$as_ac_var=no"
33820 rm -f conftest.err conftest.
$ac_objext \
33821 conftest
$ac_exeext conftest.
$ac_ext
33823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33825 if test `eval echo '${'$as_ac_var'}'` = yes; then
33826 cat >>confdefs.h
<<_ACEOF
33827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33829 cat >>confdefs.h
<<\_ACEOF
33830 #define HAVE_DLERROR 1
33835 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33836 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33837 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33840 ac_check_lib_save_LIBS
=$LIBS
33842 cat >conftest.
$ac_ext <<_ACEOF
33845 cat confdefs.h
>>conftest.
$ac_ext
33846 cat >>conftest.
$ac_ext <<_ACEOF
33847 /* end confdefs.h. */
33849 /* Override any gcc2 internal prototype to avoid an error. */
33853 /* We use char because int might match the return type of a gcc2
33854 builtin and then its argument prototype would still apply. */
33864 rm -f conftest.
$ac_objext conftest
$ac_exeext
33865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33866 (eval $ac_link) 2>conftest.er1
33868 grep -v '^ *+' conftest.er1
>conftest.err
33870 cat conftest.err
>&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); } &&
33873 { ac_try
='test -z "$ac_c_werror_flag"
33874 || test ! -s conftest.err'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; } &&
33880 { ac_try
='test -s conftest$ac_exeext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33886 ac_cv_lib_dl_dlerror
=yes
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.
$ac_ext >&5
33891 ac_cv_lib_dl_dlerror
=no
33893 rm -f conftest.err conftest.
$ac_objext \
33894 conftest
$ac_exeext conftest.
$ac_ext
33895 LIBS
=$ac_check_lib_save_LIBS
33897 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33898 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33899 if test $ac_cv_lib_dl_dlerror = yes; then
33900 cat >>confdefs.h
<<\_ACEOF
33901 #define HAVE_DLERROR 1
33914 if test "$HAVE_DL_FUNCS" = 0; then
33915 if test "$HAVE_SHL_FUNCS" = 0; then
33916 if test "$USE_UNIX" = 1; then
33917 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33918 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33919 wxUSE_DYNAMIC_LOADER
=no
33920 wxUSE_DYNLIB_CLASS
=no
33922 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33923 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33930 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33931 cat >>confdefs.h
<<\_ACEOF
33932 #define wxUSE_DYNAMIC_LOADER 1
33936 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33937 cat >>confdefs.h
<<\_ACEOF
33938 #define wxUSE_DYNLIB_CLASS 1
33945 if test "$wxUSE_PLUGINS" = "yes" ; then
33946 if test "$wxUSE_SHARED" = "no" ; then
33947 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33948 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33951 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33952 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33953 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33956 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33957 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33958 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33961 if test "$wxUSE_PLUGINS" = "yes" ; then
33962 cat >>confdefs.h
<<\_ACEOF
33963 #define wxUSE_PLUGINS 1
33970 if test "$wxUSE_STL" = "yes"; then
33971 cat >>confdefs.h
<<\_ACEOF
33972 #define wxUSE_STL 1
33977 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33978 cat >>confdefs.h
<<\_ACEOF
33979 #define wxUSE_APPLE_IEEE 1
33984 if test "$wxUSE_TIMER" = "yes"; then
33985 cat >>confdefs.h
<<\_ACEOF
33986 #define wxUSE_TIMER 1
33992 if test "$wxUSE_SOUND" = "yes"; then
33993 if test "$USE_UNIX" = "1" ; then
33995 for ac_header
in sys
/soundcard.h
33997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33999 echo "$as_me:$LINENO: checking for $ac_header" >&5
34000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34007 # Is the header compilable?
34008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34010 cat >conftest.
$ac_ext <<_ACEOF
34013 cat confdefs.h
>>conftest.
$ac_ext
34014 cat >>conftest.
$ac_ext <<_ACEOF
34015 /* end confdefs.h. */
34016 $ac_includes_default
34017 #include <$ac_header>
34019 rm -f conftest.
$ac_objext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34021 (eval $ac_compile) 2>conftest.er1
34023 grep -v '^ *+' conftest.er1
>conftest.err
34025 cat conftest.err
>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try
='test -z "$ac_c_werror_flag"
34029 || test ! -s conftest.err'
34030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031 (eval $ac_try) 2>&5
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); }; } &&
34035 { ac_try
='test -s conftest.$ac_objext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 ac_header_compiler
=yes
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.
$ac_ext >&5
34046 ac_header_compiler
=no
34048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34050 echo "${ECHO_T}$ac_header_compiler" >&6
34052 # Is the header present?
34053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34055 cat >conftest.
$ac_ext <<_ACEOF
34058 cat confdefs.h
>>conftest.
$ac_ext
34059 cat >>conftest.
$ac_ext <<_ACEOF
34060 /* end confdefs.h. */
34061 #include <$ac_header>
34063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34066 grep -v '^ *+' conftest.er1
>conftest.err
34068 cat conftest.err
>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } >/dev
/null
; then
34071 if test -s conftest.err
; then
34072 ac_cpp_err
=$ac_c_preproc_warn_flag
34073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34080 if test -z "$ac_cpp_err"; then
34081 ac_header_preproc
=yes
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.
$ac_ext >&5
34086 ac_header_preproc
=no
34088 rm -f conftest.err conftest.
$ac_ext
34089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34090 echo "${ECHO_T}$ac_header_preproc" >&6
34092 # So? What about this header?
34093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34099 ac_header_preproc
=yes
34102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34116 ## ----------------------------------------- ##
34117 ## Report this to wx-dev@lists.wxwindows.org ##
34118 ## ----------------------------------------- ##
34121 sed "s/^/$as_me: WARNING: /" >&2
34124 echo "$as_me:$LINENO: checking for $ac_header" >&5
34125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34127 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 eval "$as_ac_Header=\$ac_header_preproc"
34131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34136 cat >>confdefs.h
<<_ACEOF
34137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34145 if test "$wxUSE_LIBSDL" != "no"; then
34147 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34148 if test "${with_sdl_prefix+set}" = set; then
34149 withval
="$with_sdl_prefix"
34150 sdl_prefix
="$withval"
34155 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34156 if test "${with_sdl_exec_prefix+set}" = set; then
34157 withval
="$with_sdl_exec_prefix"
34158 sdl_exec_prefix
="$withval"
34162 # Check whether --enable-sdltest or --disable-sdltest was given.
34163 if test "${enable_sdltest+set}" = set; then
34164 enableval
="$enable_sdltest"
34170 if test x
$sdl_exec_prefix != x
; then
34171 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34172 if test x
${SDL_CONFIG+set} != xset
; then
34173 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34176 if test x
$sdl_prefix != x
; then
34177 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34178 if test x
${SDL_CONFIG+set} != xset
; then
34179 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34184 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34185 # Extract the first word of "sdl-config", so it can be a program name with args.
34186 set dummy sdl
-config; ac_word
=$2
34187 echo "$as_me:$LINENO: checking for $ac_word" >&5
34188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34189 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34190 echo $ECHO_N "(cached) $ECHO_C" >&6
34192 case $SDL_CONFIG in
34194 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34198 for as_dir
in $PATH
34201 test -z "$as_dir" && as_dir
=.
34202 for ac_exec_ext
in '' $ac_executable_extensions; do
34203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34204 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34211 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34215 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34217 if test -n "$SDL_CONFIG"; then
34218 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34219 echo "${ECHO_T}$SDL_CONFIG" >&6
34221 echo "$as_me:$LINENO: result: no" >&5
34222 echo "${ECHO_T}no" >&6
34225 min_sdl_version
=1.2.0
34226 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34227 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34229 if test "$SDL_CONFIG" = "no" ; then
34232 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34233 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34235 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34237 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34239 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34241 if test "x$enable_sdltest" = "xyes" ; then
34242 ac_save_CFLAGS
="$CFLAGS"
34243 ac_save_LIBS
="$LIBS"
34244 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34245 LIBS
="$LIBS $SDL_LIBS"
34247 if test "$cross_compiling" = yes; then
34248 echo $ac_n "cross compiling; assumed OK... $ac_c"
34250 cat >conftest.
$ac_ext <<_ACEOF
34253 cat confdefs.h
>>conftest.
$ac_ext
34254 cat >>conftest.
$ac_ext <<_ACEOF
34255 /* end confdefs.h. */
34258 #include <stdlib.h>
34259 #include <string.h>
34263 my_strdup (char *str)
34269 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34270 strcpy (new_str, str);
34278 int main (int argc, char *argv[])
34280 int major, minor, micro;
34283 /* This hangs on some systems (?)
34284 system ("touch conf.sdltest");
34286 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34288 /* HP/UX 9 (%@#!) writes to sscanf strings */
34289 tmp_version = my_strdup("$min_sdl_version");
34290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34291 printf("%s, bad version string\n", "$min_sdl_version");
34295 if (($sdl_major_version > major) ||
34296 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34297 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34303 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34304 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34305 printf("*** best to upgrade to the required version.\n");
34306 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34307 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34308 printf("*** config.cache before re-running configure\n");
34315 rm -f conftest
$ac_exeext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34317 (eval $ac_link) 2>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; }; then
34328 echo "$as_me: program exited with status $ac_status" >&5
34329 echo "$as_me: failed program was:" >&5
34330 sed 's/^/| /' conftest.
$ac_ext >&5
34332 ( exit $ac_status )
34335 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34337 CFLAGS
="$ac_save_CFLAGS"
34338 LIBS
="$ac_save_LIBS"
34341 if test "x$no_sdl" = x
; then
34342 echo "$as_me:$LINENO: result: yes" >&5
34343 echo "${ECHO_T}yes" >&6
34345 EXTRALIBS_SDL
="$SDL_LIBS"
34346 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34347 cat >>confdefs.h
<<\_ACEOF
34348 #define wxUSE_LIBSDL 1
34353 echo "$as_me:$LINENO: result: no" >&5
34354 echo "${ECHO_T}no" >&6
34355 if test "$SDL_CONFIG" = "no" ; then
34356 echo "*** The sdl-config script installed by SDL could not be found"
34357 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34358 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34359 echo "*** full path to sdl-config."
34361 if test -f conf.sdltest
; then
34364 echo "*** Could not run SDL test program, checking why..."
34365 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34366 LIBS
="$LIBS $SDL_LIBS"
34367 cat >conftest.
$ac_ext <<_ACEOF
34370 cat confdefs.h
>>conftest.
$ac_ext
34371 cat >>conftest.
$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34377 int main(int argc, char *argv[])
34380 #define main K_and_R_C_main
34390 rm -f conftest.
$ac_objext conftest
$ac_exeext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34392 (eval $ac_link) 2>conftest.er1
34394 grep -v '^ *+' conftest.er1
>conftest.err
34396 cat conftest.err
>&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try
='test -z "$ac_c_werror_flag"
34400 || test ! -s conftest.err'
34401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34402 (eval $ac_try) 2>&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); }; } &&
34406 { ac_try
='test -s conftest$ac_exeext'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; }; then
34412 echo "*** The test program compiled, but did not run. This usually means"
34413 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34414 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34415 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34416 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34417 echo "*** is required on your system"
34419 echo "*** If you have an old version installed, it is best to remove it, although"
34420 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.
$ac_ext >&5
34425 echo "*** The test program failed to compile or link. See the file config.log for the"
34426 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34427 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34428 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34430 rm -f conftest.err conftest.
$ac_objext \
34431 conftest
$ac_exeext conftest.
$ac_ext
34432 CFLAGS
="$ac_save_CFLAGS"
34433 LIBS
="$ac_save_LIBS"
34444 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34450 cat >>confdefs.h
<<\_ACEOF
34451 #define wxUSE_SOUND 1
34454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34457 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34458 cat >>confdefs.h
<<\_ACEOF
34459 #define wxUSE_CMDLINE_PARSER 1
34464 if test "$wxUSE_STOPWATCH" = "yes"; then
34465 cat >>confdefs.h
<<\_ACEOF
34466 #define wxUSE_STOPWATCH 1
34471 if test "$wxUSE_DATETIME" = "yes"; then
34472 cat >>confdefs.h
<<\_ACEOF
34473 #define wxUSE_DATETIME 1
34478 if test "$wxUSE_FILE" = "yes"; then
34479 cat >>confdefs.h
<<\_ACEOF
34480 #define wxUSE_FILE 1
34485 if test "$wxUSE_FFILE" = "yes"; then
34486 cat >>confdefs.h
<<\_ACEOF
34487 #define wxUSE_FFILE 1
34492 if test "$wxUSE_FILESYSTEM" = "yes"; then
34493 cat >>confdefs.h
<<\_ACEOF
34494 #define wxUSE_FILESYSTEM 1
34499 if test "$wxUSE_FS_ZIP" = "yes"; then
34500 cat >>confdefs.h
<<\_ACEOF
34501 #define wxUSE_FS_ZIP 1
34506 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34507 cat >>confdefs.h
<<\_ACEOF
34508 #define wxUSE_ZIPSTREAM 1
34513 if test "$wxUSE_GZSTREAM" = "yes"; then
34514 cat >>confdefs.h
<<\_ACEOF
34515 #define wxUSE_GZSTREAM 1
34520 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34521 cat >>confdefs.h
<<\_ACEOF
34522 #define wxUSE_ON_FATAL_EXCEPTION 1
34527 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34528 cat >>confdefs.h
<<\_ACEOF
34529 #define wxUSE_SNGLINST_CHECKER 1
34534 if test "$wxUSE_BUSYINFO" = "yes"; then
34535 cat >>confdefs.h
<<\_ACEOF
34536 #define wxUSE_BUSYINFO 1
34541 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34542 cat >>confdefs.h
<<\_ACEOF
34543 #define wxUSE_STD_IOSTREAM 1
34548 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34549 cat >>confdefs.h
<<\_ACEOF
34550 #define wxUSE_TEXTBUFFER 1
34555 if test "$wxUSE_TEXTFILE" = "yes"; then
34556 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34557 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34558 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34560 cat >>confdefs.h
<<\_ACEOF
34561 #define wxUSE_TEXTFILE 1
34567 if test "$wxUSE_CONFIG" = "yes" ; then
34568 if test "$wxUSE_TEXTFILE" != "yes"; then
34569 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34570 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34572 cat >>confdefs.h
<<\_ACEOF
34573 #define wxUSE_CONFIG 1
34576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34580 if test "$wxUSE_INTL" = "yes" ; then
34581 if test "$wxUSE_FILE" != "yes"; then
34582 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34583 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34585 cat >>confdefs.h
<<\_ACEOF
34586 #define wxUSE_INTL 1
34589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34590 GUIDIST
="$GUIDIST INTL_DIST"
34594 if test "$wxUSE_LOG" = "yes"; then
34595 cat >>confdefs.h
<<\_ACEOF
34596 #define wxUSE_LOG 1
34600 if test "$wxUSE_LOGGUI" = "yes"; then
34601 cat >>confdefs.h
<<\_ACEOF
34602 #define wxUSE_LOGGUI 1
34607 if test "$wxUSE_LOGWINDOW" = "yes"; then
34608 cat >>confdefs.h
<<\_ACEOF
34609 #define wxUSE_LOGWINDOW 1
34614 if test "$wxUSE_LOGDIALOG" = "yes"; then
34615 cat >>confdefs.h
<<\_ACEOF
34616 #define wxUSE_LOG_DIALOG 1
34622 if test "$wxUSE_LONGLONG" = "yes"; then
34623 cat >>confdefs.h
<<\_ACEOF
34624 #define wxUSE_LONGLONG 1
34629 if test "$wxUSE_GEOMETRY" = "yes"; then
34630 cat >>confdefs.h
<<\_ACEOF
34631 #define wxUSE_GEOMETRY 1
34636 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34637 cat >>confdefs.h
<<\_ACEOF
34638 #define wxUSE_DIALUP_MANAGER 1
34641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34644 if test "$wxUSE_STREAMS" = "yes" ; then
34645 cat >>confdefs.h
<<\_ACEOF
34646 #define wxUSE_STREAMS 1
34652 if test "$wxUSE_DATETIME" = "yes"; then
34654 for ac_func
in strptime
34656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34657 echo "$as_me:$LINENO: checking for $ac_func" >&5
34658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34659 if eval "test \"\${$as_ac_var+set}\" = set"; then
34660 echo $ECHO_N "(cached) $ECHO_C" >&6
34662 cat >conftest.
$ac_ext <<_ACEOF
34665 cat confdefs.h
>>conftest.
$ac_ext
34666 cat >>conftest.
$ac_ext <<_ACEOF
34667 /* end confdefs.h. */
34668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34670 #define $ac_func innocuous_$ac_func
34672 /* System header to define __stub macros and hopefully few prototypes,
34673 which can conflict with char $ac_func (); below.
34674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34675 <limits.h> exists even on freestanding compilers. */
34678 # include <limits.h>
34680 # include <assert.h>
34685 /* Override any gcc2 internal prototype to avoid an error. */
34690 /* We use char because int might match the return type of a gcc2
34691 builtin and then its argument prototype would still apply. */
34693 /* The GNU C library defines this for functions which it implements
34694 to always fail with ENOSYS. Some functions are actually named
34695 something starting with __ and the normal name is an alias. */
34696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34699 char (*f) () = $ac_func;
34708 return f != $ac_func;
34713 rm -f conftest.
$ac_objext conftest
$ac_exeext
34714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34715 (eval $ac_link) 2>conftest.er1
34717 grep -v '^ *+' conftest.er1
>conftest.err
34719 cat conftest.err
>&5
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); } &&
34722 { ac_try
='test -z "$ac_c_werror_flag"
34723 || test ! -s conftest.err'
34724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34725 (eval $ac_try) 2>&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); }; } &&
34729 { ac_try
='test -s conftest$ac_exeext'
34730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34731 (eval $ac_try) 2>&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); }; }; then
34735 eval "$as_ac_var=yes"
34737 echo "$as_me: failed program was:" >&5
34738 sed 's/^/| /' conftest.
$ac_ext >&5
34740 eval "$as_ac_var=no"
34742 rm -f conftest.err conftest.
$ac_objext \
34743 conftest
$ac_exeext conftest.
$ac_ext
34745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34747 if test `eval echo '${'$as_ac_var'}'` = yes; then
34748 cat >>confdefs.h
<<_ACEOF
34749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34756 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34757 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34758 if test "${wx_cv_var_timezone+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 cat >conftest.
$ac_ext <<_ACEOF
34765 cat confdefs.h
>>conftest.
$ac_ext
34766 cat >>conftest.
$ac_ext <<_ACEOF
34767 /* end confdefs.h. */
34782 rm -f conftest.
$ac_objext
34783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34784 (eval $ac_compile) 2>conftest.er1
34786 grep -v '^ *+' conftest.er1
>conftest.err
34788 cat conftest.err
>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } &&
34791 { ac_try
='test -z "$ac_c_werror_flag"
34792 || test ! -s conftest.err'
34793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34794 (eval $ac_try) 2>&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); }; } &&
34798 { ac_try
='test -s conftest.$ac_objext'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; }; then
34805 wx_cv_var_timezone
=timezone
34808 echo "$as_me: failed program was:" >&5
34809 sed 's/^/| /' conftest.
$ac_ext >&5
34812 cat >conftest.
$ac_ext <<_ACEOF
34815 cat confdefs.h
>>conftest.
$ac_ext
34816 cat >>conftest.
$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34832 rm -f conftest.
$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34836 grep -v '^ *+' conftest.er1
>conftest.err
34838 cat conftest.err
>&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try
='test -z "$ac_c_werror_flag"
34842 || test ! -s conftest.err'
34843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34844 (eval $ac_try) 2>&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); }; } &&
34848 { ac_try
='test -s conftest.$ac_objext'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; }; then
34855 wx_cv_var_timezone
=_timezone
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.
$ac_ext >&5
34862 cat >conftest.
$ac_ext <<_ACEOF
34865 cat confdefs.h
>>conftest.
$ac_ext
34866 cat >>conftest.
$ac_ext <<_ACEOF
34867 /* end confdefs.h. */
34882 rm -f conftest.
$ac_objext
34883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34884 (eval $ac_compile) 2>conftest.er1
34886 grep -v '^ *+' conftest.er1
>conftest.err
34888 cat conftest.err
>&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); } &&
34891 { ac_try
='test -z "$ac_c_werror_flag"
34892 || test ! -s conftest.err'
34893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34894 (eval $ac_try) 2>&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); }; } &&
34898 { ac_try
='test -s conftest.$ac_objext'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; }; then
34905 wx_cv_var_timezone
=__timezone
34908 echo "$as_me: failed program was:" >&5
34909 sed 's/^/| /' conftest.
$ac_ext >&5
34912 if test "$USE_DOS" = 0 ; then
34913 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34914 echo "$as_me: WARNING: no timezone variable" >&2;}
34919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34931 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34932 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34934 if test "x$wx_cv_var_timezone" != x
; then
34935 cat >>confdefs.h
<<_ACEOF
34936 #define WX_TIMEZONE $wx_cv_var_timezone
34942 for ac_func
in localtime
34944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34945 echo "$as_me:$LINENO: checking for $ac_func" >&5
34946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34947 if eval "test \"\${$as_ac_var+set}\" = set"; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34950 cat >conftest.
$ac_ext <<_ACEOF
34953 cat confdefs.h
>>conftest.
$ac_ext
34954 cat >>conftest.
$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34958 #define $ac_func innocuous_$ac_func
34960 /* System header to define __stub macros and hopefully few prototypes,
34961 which can conflict with char $ac_func (); below.
34962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34963 <limits.h> exists even on freestanding compilers. */
34966 # include <limits.h>
34968 # include <assert.h>
34973 /* Override any gcc2 internal prototype to avoid an error. */
34978 /* We use char because int might match the return type of a gcc2
34979 builtin and then its argument prototype would still apply. */
34981 /* The GNU C library defines this for functions which it implements
34982 to always fail with ENOSYS. Some functions are actually named
34983 something starting with __ and the normal name is an alias. */
34984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34987 char (*f) () = $ac_func;
34996 return f != $ac_func;
35001 rm -f conftest.
$ac_objext conftest
$ac_exeext
35002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35003 (eval $ac_link) 2>conftest.er1
35005 grep -v '^ *+' conftest.er1
>conftest.err
35007 cat conftest.err
>&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } &&
35010 { ac_try
='test -z "$ac_c_werror_flag"
35011 || test ! -s conftest.err'
35012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35013 (eval $ac_try) 2>&5
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); }; } &&
35017 { ac_try
='test -s conftest$ac_exeext'
35018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35019 (eval $ac_try) 2>&5
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); }; }; then
35023 eval "$as_ac_var=yes"
35025 echo "$as_me: failed program was:" >&5
35026 sed 's/^/| /' conftest.
$ac_ext >&5
35028 eval "$as_ac_var=no"
35030 rm -f conftest.err conftest.
$ac_objext \
35031 conftest
$ac_exeext conftest.
$ac_ext
35033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35035 if test `eval echo '${'$as_ac_var'}'` = yes; then
35036 cat >>confdefs.h
<<_ACEOF
35037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35044 if test "$ac_cv_func_localtime" = "yes"; then
35045 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35046 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35047 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35051 cat >conftest.
$ac_ext <<_ACEOF
35054 cat confdefs.h
>>conftest.
$ac_ext
35055 cat >>conftest.
$ac_ext <<_ACEOF
35056 /* end confdefs.h. */
35071 rm -f conftest.
$ac_objext
35072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35073 (eval $ac_compile) 2>conftest.er1
35075 grep -v '^ *+' conftest.er1
>conftest.err
35077 cat conftest.err
>&5
35078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); } &&
35080 { ac_try
='test -z "$ac_c_werror_flag"
35081 || test ! -s conftest.err'
35082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35083 (eval $ac_try) 2>&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); }; } &&
35087 { ac_try
='test -s conftest.$ac_objext'
35088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35089 (eval $ac_try) 2>&5
35091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35092 (exit $ac_status); }; }; then
35094 wx_cv_struct_tm_has_gmtoff
=yes
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.
$ac_ext >&5
35100 wx_cv_struct_tm_has_gmtoff
=no
35103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35106 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35107 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35110 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35111 cat >>confdefs.h
<<\_ACEOF
35112 #define WX_GMTOFF_IN_TM 1
35119 for ac_func
in gettimeofday ftime
35121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35122 echo "$as_me:$LINENO: checking for $ac_func" >&5
35123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35124 if eval "test \"\${$as_ac_var+set}\" = set"; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35127 cat >conftest.
$ac_ext <<_ACEOF
35130 cat confdefs.h
>>conftest.
$ac_ext
35131 cat >>conftest.
$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35135 #define $ac_func innocuous_$ac_func
35137 /* System header to define __stub macros and hopefully few prototypes,
35138 which can conflict with char $ac_func (); below.
35139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35140 <limits.h> exists even on freestanding compilers. */
35143 # include <limits.h>
35145 # include <assert.h>
35150 /* Override any gcc2 internal prototype to avoid an error. */
35155 /* We use char because int might match the return type of a gcc2
35156 builtin and then its argument prototype would still apply. */
35158 /* The GNU C library defines this for functions which it implements
35159 to always fail with ENOSYS. Some functions are actually named
35160 something starting with __ and the normal name is an alias. */
35161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35164 char (*f) () = $ac_func;
35173 return f != $ac_func;
35178 rm -f conftest.
$ac_objext conftest
$ac_exeext
35179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35180 (eval $ac_link) 2>conftest.er1
35182 grep -v '^ *+' conftest.er1
>conftest.err
35184 cat conftest.err
>&5
35185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186 (exit $ac_status); } &&
35187 { ac_try
='test -z "$ac_c_werror_flag"
35188 || test ! -s conftest.err'
35189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35190 (eval $ac_try) 2>&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); }; } &&
35194 { ac_try
='test -s conftest$ac_exeext'
35195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35196 (eval $ac_try) 2>&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); }; }; then
35200 eval "$as_ac_var=yes"
35202 echo "$as_me: failed program was:" >&5
35203 sed 's/^/| /' conftest.
$ac_ext >&5
35205 eval "$as_ac_var=no"
35207 rm -f conftest.err conftest.
$ac_objext \
35208 conftest
$ac_exeext conftest.
$ac_ext
35210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35212 if test `eval echo '${'$as_ac_var'}'` = yes; then
35213 cat >>confdefs.h
<<_ACEOF
35214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35221 if test "$ac_cv_func_gettimeofday" = "yes"; then
35222 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35223 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35224 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 ac_cpp
='$CXXCPP $CPPFLAGS'
35232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35237 cat >conftest.
$ac_ext <<_ACEOF
35240 cat confdefs.h
>>conftest.
$ac_ext
35241 cat >>conftest.
$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35244 #include <sys/time.h>
35245 #include <unistd.h>
35252 gettimeofday(&tv, NULL);
35258 rm -f conftest.
$ac_objext
35259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35260 (eval $ac_compile) 2>conftest.er1
35262 grep -v '^ *+' conftest.er1
>conftest.err
35264 cat conftest.err
>&5
35265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35266 (exit $ac_status); } &&
35267 { ac_try
='test -z "$ac_cxx_werror_flag"
35268 || test ! -s conftest.err'
35269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35270 (eval $ac_try) 2>&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); }; } &&
35274 { ac_try
='test -s conftest.$ac_objext'
35275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35276 (eval $ac_try) 2>&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); }; }; then
35280 wx_cv_func_gettimeofday_has_2_args
=yes
35282 echo "$as_me: failed program was:" >&5
35283 sed 's/^/| /' conftest.
$ac_ext >&5
35285 cat >conftest.
$ac_ext <<_ACEOF
35288 cat confdefs.h
>>conftest.
$ac_ext
35289 cat >>conftest.
$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35292 #include <sys/time.h>
35293 #include <unistd.h>
35306 rm -f conftest.
$ac_objext
35307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35308 (eval $ac_compile) 2>conftest.er1
35310 grep -v '^ *+' conftest.er1
>conftest.err
35312 cat conftest.err
>&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); } &&
35315 { ac_try
='test -z "$ac_cxx_werror_flag"
35316 || test ! -s conftest.err'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; } &&
35322 { ac_try
='test -s conftest.$ac_objext'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; }; then
35328 wx_cv_func_gettimeofday_has_2_args
=no
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.
$ac_ext >&5
35334 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35335 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35336 wx_cv_func_gettimeofday_has_2_args
=unknown
35340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35345 ac_cpp
='$CPP $CPPFLAGS'
35346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35352 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35353 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35355 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35356 cat >>confdefs.h
<<\_ACEOF
35357 #define WX_GETTIMEOFDAY_NO_TZ 1
35363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35367 if test "$wxUSE_SOCKETS" = "yes"; then
35368 if test "$wxUSE_MGL" = "1"; then
35369 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35370 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35375 if test "$wxUSE_SOCKETS" = "yes"; then
35376 if test "$TOOLKIT" != "MSW"; then
35377 echo "$as_me:$LINENO: checking for socket" >&5
35378 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35379 if test "${ac_cv_func_socket+set}" = set; then
35380 echo $ECHO_N "(cached) $ECHO_C" >&6
35382 cat >conftest.
$ac_ext <<_ACEOF
35385 cat confdefs.h
>>conftest.
$ac_ext
35386 cat >>conftest.
$ac_ext <<_ACEOF
35387 /* end confdefs.h. */
35388 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35390 #define socket innocuous_socket
35392 /* System header to define __stub macros and hopefully few prototypes,
35393 which can conflict with char socket (); below.
35394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35395 <limits.h> exists even on freestanding compilers. */
35398 # include <limits.h>
35400 # include <assert.h>
35405 /* Override any gcc2 internal prototype to avoid an error. */
35410 /* We use char because int might match the return type of a gcc2
35411 builtin and then its argument prototype would still apply. */
35413 /* The GNU C library defines this for functions which it implements
35414 to always fail with ENOSYS. Some functions are actually named
35415 something starting with __ and the normal name is an alias. */
35416 #if defined (__stub_socket) || defined (__stub___socket)
35419 char (*f) () = socket;
35428 return f != socket;
35433 rm -f conftest.
$ac_objext conftest
$ac_exeext
35434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35435 (eval $ac_link) 2>conftest.er1
35437 grep -v '^ *+' conftest.er1
>conftest.err
35439 cat conftest.err
>&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); } &&
35442 { ac_try
='test -z "$ac_c_werror_flag"
35443 || test ! -s conftest.err'
35444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35445 (eval $ac_try) 2>&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); }; } &&
35449 { ac_try
='test -s conftest$ac_exeext'
35450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35451 (eval $ac_try) 2>&5
35453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454 (exit $ac_status); }; }; then
35455 ac_cv_func_socket
=yes
35457 echo "$as_me: failed program was:" >&5
35458 sed 's/^/| /' conftest.
$ac_ext >&5
35460 ac_cv_func_socket
=no
35462 rm -f conftest.err conftest.
$ac_objext \
35463 conftest
$ac_exeext conftest.
$ac_ext
35465 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35466 echo "${ECHO_T}$ac_cv_func_socket" >&6
35467 if test $ac_cv_func_socket = yes; then
35471 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35472 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35473 if test "${ac_cv_lib_socket_socket+set}" = set; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35476 ac_check_lib_save_LIBS
=$LIBS
35477 LIBS
="-lsocket $LIBS"
35478 cat >conftest.
$ac_ext <<_ACEOF
35481 cat confdefs.h
>>conftest.
$ac_ext
35482 cat >>conftest.
$ac_ext <<_ACEOF
35483 /* end confdefs.h. */
35485 /* Override any gcc2 internal prototype to avoid an error. */
35489 /* We use char because int might match the return type of a gcc2
35490 builtin and then its argument prototype would still apply. */
35500 rm -f conftest.
$ac_objext conftest
$ac_exeext
35501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35502 (eval $ac_link) 2>conftest.er1
35504 grep -v '^ *+' conftest.er1
>conftest.err
35506 cat conftest.err
>&5
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); } &&
35509 { ac_try
='test -z "$ac_c_werror_flag"
35510 || test ! -s conftest.err'
35511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35512 (eval $ac_try) 2>&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); }; } &&
35516 { ac_try
='test -s conftest$ac_exeext'
35517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35518 (eval $ac_try) 2>&5
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); }; }; then
35522 ac_cv_lib_socket_socket
=yes
35524 echo "$as_me: failed program was:" >&5
35525 sed 's/^/| /' conftest.
$ac_ext >&5
35527 ac_cv_lib_socket_socket
=no
35529 rm -f conftest.err conftest.
$ac_objext \
35530 conftest
$ac_exeext conftest.
$ac_ext
35531 LIBS
=$ac_check_lib_save_LIBS
35533 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35534 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35535 if test $ac_cv_lib_socket_socket = yes; then
35536 if test "$INET_LINK" != " -lsocket"; then
35537 INET_LINK
="$INET_LINK -lsocket"
35541 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35542 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35555 if test "$wxUSE_SOCKETS" = "yes" ; then
35556 if test "$TOOLKIT" != "MSW"; then
35557 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35558 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35559 if test "${wx_cv_type_getsockname3+set}" = set; then
35560 echo $ECHO_N "(cached) $ECHO_C" >&6
35563 cat >conftest.
$ac_ext <<_ACEOF
35566 cat confdefs.h
>>conftest.
$ac_ext
35567 cat >>conftest.
$ac_ext <<_ACEOF
35568 /* end confdefs.h. */
35570 #include <sys/types.h>
35571 #include <sys/socket.h>
35578 getsockname(0, 0, &len);
35584 rm -f conftest.
$ac_objext
35585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35586 (eval $ac_compile) 2>conftest.er1
35588 grep -v '^ *+' conftest.er1
>conftest.err
35590 cat conftest.err
>&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } &&
35593 { ac_try
='test -z "$ac_c_werror_flag"
35594 || test ! -s conftest.err'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; } &&
35600 { ac_try
='test -s conftest.$ac_objext'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 wx_cv_type_getsockname3
=socklen_t
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.
$ac_ext >&5
35612 CFLAGS_OLD
="$CFLAGS"
35613 if test "$GCC" = yes ; then
35614 CFLAGS
="$CFLAGS -Werror"
35617 cat >conftest.
$ac_ext <<_ACEOF
35620 cat confdefs.h
>>conftest.
$ac_ext
35621 cat >>conftest.
$ac_ext <<_ACEOF
35622 /* end confdefs.h. */
35624 #include <sys/types.h>
35625 #include <sys/socket.h>
35632 getsockname(0, 0, &len);
35638 rm -f conftest.
$ac_objext
35639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35640 (eval $ac_compile) 2>conftest.er1
35642 grep -v '^ *+' conftest.er1
>conftest.err
35644 cat conftest.err
>&5
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); } &&
35647 { ac_try
='test -z "$ac_c_werror_flag"
35648 || test ! -s conftest.err'
35649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35650 (eval $ac_try) 2>&5
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); }; } &&
35654 { ac_try
='test -s conftest.$ac_objext'
35655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35656 (eval $ac_try) 2>&5
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); }; }; then
35660 wx_cv_type_getsockname3
=size_t
35662 echo "$as_me: failed program was:" >&5
35663 sed 's/^/| /' conftest.
$ac_ext >&5
35665 cat >conftest.
$ac_ext <<_ACEOF
35668 cat confdefs.h
>>conftest.
$ac_ext
35669 cat >>conftest.
$ac_ext <<_ACEOF
35670 /* end confdefs.h. */
35672 #include <sys/types.h>
35673 #include <sys/socket.h>
35680 getsockname(0, 0, &len);
35686 rm -f conftest.
$ac_objext
35687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35688 (eval $ac_compile) 2>conftest.er1
35690 grep -v '^ *+' conftest.er1
>conftest.err
35692 cat conftest.err
>&5
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); } &&
35695 { ac_try
='test -z "$ac_c_werror_flag"
35696 || test ! -s conftest.err'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; } &&
35702 { ac_try
='test -s conftest.$ac_objext'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; }; then
35708 wx_cv_type_getsockname3
=int
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.
$ac_ext >&5
35713 wx_cv_type_getsockname3
=unknown
35716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35721 CFLAGS
="$CFLAGS_OLD"
35725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35728 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35729 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35731 if test "$wx_cv_type_getsockname3" = "unknown"; then
35733 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35734 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35736 cat >>confdefs.h
<<_ACEOF
35737 #define SOCKLEN_T $wx_cv_type_getsockname3
35744 if test "$wxUSE_SOCKETS" = "yes" ; then
35745 cat >>confdefs.h
<<\_ACEOF
35746 #define wxUSE_SOCKETS 1
35749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35752 if test "$wxUSE_PROTOCOL" = "yes"; then
35753 if test "$wxUSE_SOCKETS" != "yes"; then
35754 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35755 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35760 if test "$wxUSE_PROTOCOL" = "yes"; then
35761 cat >>confdefs.h
<<\_ACEOF
35762 #define wxUSE_PROTOCOL 1
35766 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35767 cat >>confdefs.h
<<\_ACEOF
35768 #define wxUSE_PROTOCOL_HTTP 1
35772 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35773 cat >>confdefs.h
<<\_ACEOF
35774 #define wxUSE_PROTOCOL_FTP 1
35778 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35779 cat >>confdefs.h
<<\_ACEOF
35780 #define wxUSE_PROTOCOL_FILE 1
35785 if test "$wxUSE_FS_INET" = "yes"; then
35786 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35787 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35792 if test "$wxUSE_URL" = "yes"; then
35793 if test "$wxUSE_PROTOCOL" != "yes"; then
35794 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35795 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35798 if test "$wxUSE_URL" = "yes"; then
35799 cat >>confdefs.h
<<\_ACEOF
35800 #define wxUSE_URL 1
35806 if test "$wxUSE_FS_INET" = "yes"; then
35807 cat >>confdefs.h
<<\_ACEOF
35808 #define wxUSE_FS_INET 1
35814 if test "$wxUSE_GUI" = "yes"; then
35816 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35817 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35818 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35822 if test "$TOOLKIT" != "MSW"; then
35823 if test "$wxUSE_JOYSTICK" = "yes"; then
35825 for ac_header
in linux
/joystick.h
35827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35829 echo "$as_me:$LINENO: checking for $ac_header" >&5
35830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35837 # Is the header compilable?
35838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35840 cat >conftest.
$ac_ext <<_ACEOF
35843 cat confdefs.h
>>conftest.
$ac_ext
35844 cat >>conftest.
$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 $ac_includes_default
35847 #include <$ac_header>
35849 rm -f conftest.
$ac_objext
35850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35851 (eval $ac_compile) 2>conftest.er1
35853 grep -v '^ *+' conftest.er1
>conftest.err
35855 cat conftest.err
>&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } &&
35858 { ac_try
='test -z "$ac_c_werror_flag"
35859 || test ! -s conftest.err'
35860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35861 (eval $ac_try) 2>&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); }; } &&
35865 { ac_try
='test -s conftest.$ac_objext'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; }; then
35871 ac_header_compiler
=yes
35873 echo "$as_me: failed program was:" >&5
35874 sed 's/^/| /' conftest.
$ac_ext >&5
35876 ac_header_compiler
=no
35878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35880 echo "${ECHO_T}$ac_header_compiler" >&6
35882 # Is the header present?
35883 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35884 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35885 cat >conftest.
$ac_ext <<_ACEOF
35888 cat confdefs.h
>>conftest.
$ac_ext
35889 cat >>conftest.
$ac_ext <<_ACEOF
35890 /* end confdefs.h. */
35891 #include <$ac_header>
35893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35896 grep -v '^ *+' conftest.er1
>conftest.err
35898 cat conftest.err
>&5
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); } >/dev
/null
; then
35901 if test -s conftest.err
; then
35902 ac_cpp_err
=$ac_c_preproc_warn_flag
35903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35910 if test -z "$ac_cpp_err"; then
35911 ac_header_preproc
=yes
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.
$ac_ext >&5
35916 ac_header_preproc
=no
35918 rm -f conftest.err conftest.
$ac_ext
35919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35920 echo "${ECHO_T}$ac_header_preproc" >&6
35922 # So? What about this header?
35923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35925 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35926 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35928 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35929 ac_header_preproc
=yes
35932 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35933 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35934 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35935 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35936 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35937 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35938 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35939 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35941 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35942 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35943 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35946 ## ----------------------------------------- ##
35947 ## Report this to wx-dev@lists.wxwindows.org ##
35948 ## ----------------------------------------- ##
35951 sed "s/^/$as_me: WARNING: /" >&2
35954 echo "$as_me:$LINENO: checking for $ac_header" >&5
35955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35957 echo $ECHO_N "(cached) $ECHO_C" >&6
35959 eval "$as_ac_Header=\$ac_header_preproc"
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35966 cat >>confdefs.h
<<_ACEOF
35967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35974 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35976 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35977 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35982 if test "$wxUSE_JOYSTICK" = "yes"; then
35983 cat >>confdefs.h
<<\_ACEOF
35984 #define wxUSE_JOYSTICK 1
35987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35994 if test "$wxUSE_FONTMAP" = "yes" ; then
35995 cat >>confdefs.h
<<\_ACEOF
35996 #define wxUSE_FONTMAP 1
36001 if test "$wxUSE_UNICODE" = "yes" ; then
36002 cat >>confdefs.h
<<\_ACEOF
36003 #define wxUSE_UNICODE 1
36007 if test "$USE_WIN32" != 1; then
36008 wxUSE_UNICODE_MSLU
=no
36011 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36012 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36013 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36014 if test "${ac_cv_lib_unicows_main+set}" = set; then
36015 echo $ECHO_N "(cached) $ECHO_C" >&6
36017 ac_check_lib_save_LIBS
=$LIBS
36018 LIBS
="-lunicows $LIBS"
36019 cat >conftest.
$ac_ext <<_ACEOF
36022 cat confdefs.h
>>conftest.
$ac_ext
36023 cat >>conftest.
$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36035 rm -f conftest.
$ac_objext conftest
$ac_exeext
36036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36037 (eval $ac_link) 2>conftest.er1
36039 grep -v '^ *+' conftest.er1
>conftest.err
36041 cat conftest.err
>&5
36042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043 (exit $ac_status); } &&
36044 { ac_try
='test -z "$ac_c_werror_flag"
36045 || test ! -s conftest.err'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; } &&
36051 { ac_try
='test -s conftest$ac_exeext'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; }; then
36057 ac_cv_lib_unicows_main
=yes
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.
$ac_ext >&5
36062 ac_cv_lib_unicows_main
=no
36064 rm -f conftest.err conftest.
$ac_objext \
36065 conftest
$ac_exeext conftest.
$ac_ext
36066 LIBS
=$ac_check_lib_save_LIBS
36068 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36069 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36070 if test $ac_cv_lib_unicows_main = yes; then
36072 cat >>confdefs.h
<<\_ACEOF
36073 #define wxUSE_UNICODE_MSLU 1
36079 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36080 Applications will only run on Windows NT/2000/XP!" >&5
36081 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36082 Applications will only run on Windows NT/2000/XP!" >&2;}
36083 wxUSE_UNICODE_MSLU
=no
36090 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36091 cat >>confdefs.h
<<\_ACEOF
36092 #define wxUSE_EXPERIMENTAL_PRINTF 1
36098 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36099 cat >>confdefs.h
<<\_ACEOF
36100 #define wxUSE_POSTSCRIPT 1
36105 cat >>confdefs.h
<<\_ACEOF
36106 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36110 cat >>confdefs.h
<<\_ACEOF
36111 #define wxUSE_NORMALIZED_PS_FONTS 1
36116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36117 cat >>confdefs.h
<<\_ACEOF
36118 #define wxUSE_CONSTRAINTS 1
36121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36124 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36125 cat >>confdefs.h
<<\_ACEOF
36126 #define wxUSE_MDI_ARCHITECTURE 1
36129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36132 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36133 cat >>confdefs.h
<<\_ACEOF
36134 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36138 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36143 if test "$wxUSE_HELP" = "yes"; then
36144 cat >>confdefs.h
<<\_ACEOF
36145 #define wxUSE_HELP 1
36148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36150 if test "$wxUSE_MSW" = 1; then
36151 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36152 cat >>confdefs.h
<<\_ACEOF
36153 #define wxUSE_MS_HTML_HELP 1
36159 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36160 if test "$wxUSE_HTML" = "yes"; then
36161 cat >>confdefs.h
<<\_ACEOF
36162 #define wxUSE_WXHTML_HELP 1
36166 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36167 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36168 wxUSE_WXHTML_HELP
=no
36173 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36174 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36175 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36176 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36178 cat >>confdefs.h
<<\_ACEOF
36179 #define wxUSE_PRINTING_ARCHITECTURE 1
36183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36186 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36187 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36188 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36189 { (exit 1); exit 1; }; }
36193 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36194 -o "$wxUSE_CLIPBOARD" = "yes" \
36195 -o "$wxUSE_OLE" = "yes" \
36196 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36198 for ac_header
in ole2.h
36200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36202 echo "$as_me:$LINENO: checking for $ac_header" >&5
36203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36205 echo $ECHO_N "(cached) $ECHO_C" >&6
36207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36210 # Is the header compilable?
36211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36213 cat >conftest.
$ac_ext <<_ACEOF
36216 cat confdefs.h
>>conftest.
$ac_ext
36217 cat >>conftest.
$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36219 $ac_includes_default
36220 #include <$ac_header>
36222 rm -f conftest.
$ac_objext
36223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36224 (eval $ac_compile) 2>conftest.er1
36226 grep -v '^ *+' conftest.er1
>conftest.err
36228 cat conftest.err
>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } &&
36231 { ac_try
='test -z "$ac_c_werror_flag"
36232 || test ! -s conftest.err'
36233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36234 (eval $ac_try) 2>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); }; } &&
36238 { ac_try
='test -s conftest.$ac_objext'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; }; then
36244 ac_header_compiler
=yes
36246 echo "$as_me: failed program was:" >&5
36247 sed 's/^/| /' conftest.
$ac_ext >&5
36249 ac_header_compiler
=no
36251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36253 echo "${ECHO_T}$ac_header_compiler" >&6
36255 # Is the header present?
36256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36258 cat >conftest.
$ac_ext <<_ACEOF
36261 cat confdefs.h
>>conftest.
$ac_ext
36262 cat >>conftest.
$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264 #include <$ac_header>
36266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36269 grep -v '^ *+' conftest.er1
>conftest.err
36271 cat conftest.err
>&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); } >/dev
/null
; then
36274 if test -s conftest.err
; then
36275 ac_cpp_err
=$ac_c_preproc_warn_flag
36276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36283 if test -z "$ac_cpp_err"; then
36284 ac_header_preproc
=yes
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.
$ac_ext >&5
36289 ac_header_preproc
=no
36291 rm -f conftest.err conftest.
$ac_ext
36292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36293 echo "${ECHO_T}$ac_header_preproc" >&6
36295 # So? What about this header?
36296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36302 ac_header_preproc
=yes
36305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36319 ## ----------------------------------------- ##
36320 ## Report this to wx-dev@lists.wxwindows.org ##
36321 ## ----------------------------------------- ##
36324 sed "s/^/$as_me: WARNING: /" >&2
36327 echo "$as_me:$LINENO: checking for $ac_header" >&5
36328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36330 echo $ECHO_N "(cached) $ECHO_C" >&6
36332 eval "$as_ac_Header=\$ac_header_preproc"
36334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36339 cat >>confdefs.h
<<_ACEOF
36340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36348 if test "$ac_cv_header_ole2_h" = "yes" ; then
36349 if test "$GCC" = yes ; then
36353 ac_cpp
='$CXXCPP $CPPFLAGS'
36354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36359 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36360 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $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 #include <windows.h>
36377 rm -f conftest.
$ac_objext
36378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36379 (eval $ac_compile) 2>conftest.er1
36381 grep -v '^ *+' conftest.er1
>conftest.err
36383 cat conftest.err
>&5
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); } &&
36386 { ac_try
='test -z "$ac_cxx_werror_flag"
36387 || test ! -s conftest.err'
36388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36389 (eval $ac_try) 2>&5
36391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36392 (exit $ac_status); }; } &&
36393 { ac_try
='test -s conftest.$ac_objext'
36394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36395 (eval $ac_try) 2>&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); }; }; then
36399 echo "$as_me:$LINENO: result: no" >&5
36400 echo "${ECHO_T}no" >&6
36402 echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.
$ac_ext >&5
36405 echo "$as_me:$LINENO: result: yes" >&5
36406 echo "${ECHO_T}yes" >&6
36407 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36411 ac_cpp
='$CPP $CPPFLAGS'
36412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36416 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
36417 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36418 if test "$wxUSE_OLE" = "yes" ; then
36419 cat >>confdefs.h
<<\_ACEOF
36420 #define wxUSE_OLE 1
36426 if test "$wxUSE_DATAOBJ" = "yes" ; then
36427 cat >>confdefs.h
<<\_ACEOF
36428 #define wxUSE_DATAOBJ 1
36433 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36434 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36437 wxUSE_DRAG_AND_DROP
=no
36442 if test "$wxUSE_METAFILE" = "yes"; then
36443 cat >>confdefs.h
<<\_ACEOF
36444 #define wxUSE_METAFILE 1
36448 cat >>confdefs.h
<<\_ACEOF
36449 #define wxUSE_ENH_METAFILE 1
36455 if test "$wxUSE_IPC" = "yes"; then
36456 if test "$wxUSE_SOCKETS" != "yes"; then
36457 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36458 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36461 cat >>confdefs.h
<<\_ACEOF
36462 #define wxUSE_IPC 1
36467 if test "$wxUSE_CLIPBOARD" = "yes"; then
36468 if test "$wxUSE_MGL" = 1; then
36469 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36470 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36474 if test "$wxUSE_CLIPBOARD" = "yes"; then
36475 cat >>confdefs.h
<<\_ACEOF
36476 #define wxUSE_CLIPBOARD 1
36480 cat >>confdefs.h
<<\_ACEOF
36481 #define wxUSE_DATAOBJ 1
36487 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36488 if test "$wxUSE_GTK" = 1; then
36489 if test "$WXGTK12" != 1; then
36490 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36491 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36492 wxUSE_DRAG_AND_DROP
=no
36496 if test "$wxUSE_MOTIF" = 1; then
36497 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36498 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36499 wxUSE_DRAG_AND_DROP
=no
36502 if test "$wxUSE_X11" = 1; then
36503 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36504 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36505 wxUSE_DRAG_AND_DROP
=no
36508 if test "$wxUSE_MGL" = 1; then
36509 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36510 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36511 wxUSE_DRAG_AND_DROP
=no
36514 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36515 cat >>confdefs.h
<<\_ACEOF
36516 #define wxUSE_DRAG_AND_DROP 1
36519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36524 if test "$wxUSE_SPLINES" = "yes" ; then
36525 cat >>confdefs.h
<<\_ACEOF
36526 #define wxUSE_SPLINES 1
36533 if test "$wxUSE_CONTROLS" = "yes"; then
36537 if test "$wxUSE_ACCEL" = "yes"; then
36538 cat >>confdefs.h
<<\_ACEOF
36539 #define wxUSE_ACCEL 1
36545 if test "$wxUSE_BUTTON" = "yes"; then
36546 cat >>confdefs.h
<<\_ACEOF
36547 #define wxUSE_BUTTON 1
36553 if test "$wxUSE_BMPBUTTON" = "yes"; then
36554 cat >>confdefs.h
<<\_ACEOF
36555 #define wxUSE_BMPBUTTON 1
36561 if test "$wxUSE_CALCTRL" = "yes"; then
36562 cat >>confdefs.h
<<\_ACEOF
36563 #define wxUSE_CALENDARCTRL 1
36567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36570 if test "$wxUSE_CARET" = "yes"; then
36571 cat >>confdefs.h
<<\_ACEOF
36572 #define wxUSE_CARET 1
36576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36579 if test "$wxUSE_COMBOBOX" = "yes"; then
36580 cat >>confdefs.h
<<\_ACEOF
36581 #define wxUSE_COMBOBOX 1
36587 if test "$wxUSE_CHOICE" = "yes"; then
36588 cat >>confdefs.h
<<\_ACEOF
36589 #define wxUSE_CHOICE 1
36595 if test "$wxUSE_CHECKBOX" = "yes"; then
36596 cat >>confdefs.h
<<\_ACEOF
36597 #define wxUSE_CHECKBOX 1
36603 if test "$wxUSE_CHECKLST" = "yes"; then
36604 cat >>confdefs.h
<<\_ACEOF
36605 #define wxUSE_CHECKLISTBOX 1
36609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36612 if test "$wxUSE_DISPLAY" = "yes"; then
36613 cat >>confdefs.h
<<\_ACEOF
36614 #define wxUSE_DISPLAY 1
36617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36620 if test "$wxUSE_GAUGE" = "yes"; then
36621 cat >>confdefs.h
<<\_ACEOF
36622 #define wxUSE_GAUGE 1
36628 if test "$wxUSE_GRID" = "yes"; then
36629 cat >>confdefs.h
<<\_ACEOF
36630 #define wxUSE_GRID 1
36634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36637 if test "$wxUSE_IMAGLIST" = "yes"; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_IMAGLIST 1
36644 if test "$wxUSE_LISTBOOK" = "yes"; then
36645 cat >>confdefs.h
<<\_ACEOF
36646 #define wxUSE_LISTBOOK 1
36652 if test "$wxUSE_LISTBOX" = "yes"; then
36653 cat >>confdefs.h
<<\_ACEOF
36654 #define wxUSE_LISTBOX 1
36660 if test "$wxUSE_LISTCTRL" = "yes"; then
36661 if test "$wxUSE_IMAGLIST" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_LISTCTRL 1
36667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36669 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36670 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36674 if test "$wxUSE_NOTEBOOK" = "yes"; then
36675 cat >>confdefs.h
<<\_ACEOF
36676 #define wxUSE_NOTEBOOK 1
36680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36684 if test "$wxUSE_RADIOBOX" = "yes"; then
36685 cat >>confdefs.h
<<\_ACEOF
36686 #define wxUSE_RADIOBOX 1
36692 if test "$wxUSE_RADIOBTN" = "yes"; then
36693 cat >>confdefs.h
<<\_ACEOF
36694 #define wxUSE_RADIOBTN 1
36700 if test "$wxUSE_SASH" = "yes"; then
36701 cat >>confdefs.h
<<\_ACEOF
36702 #define wxUSE_SASH 1
36705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36708 if test "$wxUSE_SCROLLBAR" = "yes"; then
36709 cat >>confdefs.h
<<\_ACEOF
36710 #define wxUSE_SCROLLBAR 1
36714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36717 if test "$wxUSE_SLIDER" = "yes"; then
36718 cat >>confdefs.h
<<\_ACEOF
36719 #define wxUSE_SLIDER 1
36725 if test "$wxUSE_SPINBTN" = "yes"; then
36726 cat >>confdefs.h
<<\_ACEOF
36727 #define wxUSE_SPINBTN 1
36733 if test "$wxUSE_SPINCTRL" = "yes"; then
36734 cat >>confdefs.h
<<\_ACEOF
36735 #define wxUSE_SPINCTRL 1
36741 if test "$wxUSE_SPLITTER" = "yes"; then
36742 cat >>confdefs.h
<<\_ACEOF
36743 #define wxUSE_SPLITTER 1
36746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36749 if test "$wxUSE_STATBMP" = "yes"; then
36750 cat >>confdefs.h
<<\_ACEOF
36751 #define wxUSE_STATBMP 1
36757 if test "$wxUSE_STATBOX" = "yes"; then
36758 cat >>confdefs.h
<<\_ACEOF
36759 #define wxUSE_STATBOX 1
36765 if test "$wxUSE_STATTEXT" = "yes"; then
36766 cat >>confdefs.h
<<\_ACEOF
36767 #define wxUSE_STATTEXT 1
36773 if test "$wxUSE_STATLINE" = "yes"; then
36774 cat >>confdefs.h
<<\_ACEOF
36775 #define wxUSE_STATLINE 1
36781 if test "$wxUSE_STATUSBAR" = "yes"; then
36782 cat >>confdefs.h
<<\_ACEOF
36783 #define wxUSE_STATUSBAR 1
36788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36791 if test "$wxUSE_TABDIALOG" = "yes"; then
36792 cat >>confdefs.h
<<\_ACEOF
36793 #define wxUSE_TAB_DIALOG 1
36796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36799 if test "$wxUSE_TEXTCTRL" = "yes"; then
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_TEXTCTRL 1
36805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36808 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36809 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36810 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36811 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36814 if test "$wxUSE_UNIVERSAL" = "yes"; then
36815 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36816 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36820 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36821 cat >>confdefs.h
<<\_ACEOF
36822 #define wxUSE_TOGGLEBTN 1
36829 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36830 cat >>confdefs.h
<<\_ACEOF
36831 #define wxUSE_TOOLBAR_SIMPLE 1
36834 wxUSE_TOOLBAR
="yes"
36838 if test "$wxUSE_TOOLBAR" = "yes"; then
36839 cat >>confdefs.h
<<\_ACEOF
36840 #define wxUSE_TOOLBAR 1
36845 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36846 wxUSE_TOOLBAR_NATIVE
="yes"
36849 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36850 cat >>confdefs.h
<<\_ACEOF
36851 #define wxUSE_TOOLBAR_NATIVE 1
36857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36860 if test "$wxUSE_TOOLTIPS" = "yes"; then
36861 if test "$wxUSE_MOTIF" = 1; then
36862 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36863 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36865 if test "$wxUSE_UNIVERSAL" = "yes"; then
36866 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36867 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36869 cat >>confdefs.h
<<\_ACEOF
36870 #define wxUSE_TOOLTIPS 1
36877 if test "$wxUSE_TREECTRL" = "yes"; then
36878 if test "$wxUSE_IMAGLIST" = "yes"; then
36879 cat >>confdefs.h
<<\_ACEOF
36880 #define wxUSE_TREECTRL 1
36884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36886 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36887 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36891 if test "$wxUSE_POPUPWIN" = "yes"; then
36892 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36893 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36894 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36896 if test "$wxUSE_PM" = 1; then
36897 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36898 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36900 cat >>confdefs.h
<<\_ACEOF
36901 #define wxUSE_POPUPWIN 1
36910 if test "$wxUSE_TIPWINDOW" = "yes"; then
36911 if test "$wxUSE_PM" = 1; then
36912 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36913 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36915 cat >>confdefs.h
<<\_ACEOF
36916 #define wxUSE_TIPWINDOW 1
36922 if test "$USES_CONTROLS" = 1; then
36923 cat >>confdefs.h
<<\_ACEOF
36924 #define wxUSE_CONTROLS 1
36930 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36931 cat >>confdefs.h
<<\_ACEOF
36932 #define wxUSE_ACCESSIBILITY 1
36935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36938 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36939 cat >>confdefs.h
<<\_ACEOF
36940 #define wxUSE_DRAGIMAGE 1
36943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36946 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36947 cat >>confdefs.h
<<\_ACEOF
36948 #define wxUSE_EXCEPTIONS 1
36954 if test "$wxUSE_HTML" = "yes"; then
36955 cat >>confdefs.h
<<\_ACEOF
36956 #define wxUSE_HTML 1
36960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36963 if test "$wxUSE_MENUS" = "yes"; then
36964 cat >>confdefs.h
<<\_ACEOF
36965 #define wxUSE_MENUS 1
36968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36971 if test "$wxUSE_METAFILE" = "yes"; then
36972 cat >>confdefs.h
<<\_ACEOF
36973 #define wxUSE_METAFILE 1
36978 if test "$wxUSE_MIMETYPE" = "yes"; then
36979 cat >>confdefs.h
<<\_ACEOF
36980 #define wxUSE_MIMETYPE 1
36985 if test "$wxUSE_MINIFRAME" = "yes"; then
36986 cat >>confdefs.h
<<\_ACEOF
36987 #define wxUSE_MINIFRAME 1
36990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
36993 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36994 cat >>confdefs.h
<<\_ACEOF
36995 #define wxUSE_SYSTEM_OPTIONS 1
36998 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
36999 "$TOOLKIT" = "MOTIF"; then
37000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37005 if test "$wxUSE_VALIDATORS" = "yes"; then
37006 cat >>confdefs.h
<<\_ACEOF
37007 #define wxUSE_VALIDATORS 1
37010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37013 if test "$wxUSE_PALETTE" = "yes" ; then
37014 cat >>confdefs.h
<<\_ACEOF
37015 #define wxUSE_PALETTE 1
37020 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37021 LIBS
=" -lunicows $LIBS"
37025 if test "$wxUSE_IMAGE" = "yes" ; then
37026 cat >>confdefs.h
<<\_ACEOF
37027 #define wxUSE_IMAGE 1
37031 if test "$wxUSE_GIF" = "yes" ; then
37032 cat >>confdefs.h
<<\_ACEOF
37033 #define wxUSE_GIF 1
37038 if test "$wxUSE_PCX" = "yes" ; then
37039 cat >>confdefs.h
<<\_ACEOF
37040 #define wxUSE_PCX 1
37045 if test "$wxUSE_IFF" = "yes" ; then
37046 cat >>confdefs.h
<<\_ACEOF
37047 #define wxUSE_IFF 1
37052 if test "$wxUSE_PNM" = "yes" ; then
37053 cat >>confdefs.h
<<\_ACEOF
37054 #define wxUSE_PNM 1
37059 if test "$wxUSE_XPM" = "yes" ; then
37060 cat >>confdefs.h
<<\_ACEOF
37061 #define wxUSE_XPM 1
37066 if test "$wxUSE_ICO_CUR" = "yes" ; then
37067 cat >>confdefs.h
<<\_ACEOF
37068 #define wxUSE_ICO_CUR 1
37075 if test "$wxUSE_CHOICEDLG" = "yes"; then
37076 cat >>confdefs.h
<<\_ACEOF
37077 #define wxUSE_CHOICEDLG 1
37082 if test "$wxUSE_COLOURDLG" = "yes"; then
37083 cat >>confdefs.h
<<\_ACEOF
37084 #define wxUSE_COLOURDLG 1
37089 if test "$wxUSE_FILEDLG" = "yes"; then
37090 cat >>confdefs.h
<<\_ACEOF
37091 #define wxUSE_FILEDLG 1
37096 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37097 cat >>confdefs.h
<<\_ACEOF
37098 #define wxUSE_FINDREPLDLG 1
37103 if test "$wxUSE_FONTDLG" = "yes"; then
37104 cat >>confdefs.h
<<\_ACEOF
37105 #define wxUSE_FONTDLG 1
37110 if test "$wxUSE_DIRDLG" = "yes"; then
37111 if test "$wxUSE_TREECTRL" != "yes"; then
37112 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37113 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37115 cat >>confdefs.h
<<\_ACEOF
37116 #define wxUSE_DIRDLG 1
37122 if test "$wxUSE_MSGDLG" = "yes"; then
37123 cat >>confdefs.h
<<\_ACEOF
37124 #define wxUSE_MSGDLG 1
37129 if test "$wxUSE_NUMBERDLG" = "yes"; then
37130 cat >>confdefs.h
<<\_ACEOF
37131 #define wxUSE_NUMBERDLG 1
37136 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37137 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37138 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37139 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37141 cat >>confdefs.h
<<\_ACEOF
37142 #define wxUSE_PROGRESSDLG 1
37148 if test "$wxUSE_SPLASH" = "yes"; then
37149 cat >>confdefs.h
<<\_ACEOF
37150 #define wxUSE_SPLASH 1
37155 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37156 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37157 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37158 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37160 cat >>confdefs.h
<<\_ACEOF
37161 #define wxUSE_STARTUP_TIPS 1
37167 if test "$wxUSE_TEXTDLG" = "yes"; then
37168 cat >>confdefs.h
<<\_ACEOF
37169 #define wxUSE_TEXTDLG 1
37174 if test "$wxUSE_WIZARDDLG" = "yes"; then
37175 cat >>confdefs.h
<<\_ACEOF
37176 #define wxUSE_WIZARDDLG 1
37179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37183 if test "$cross_compiling" = "yes"; then
37186 OSINFO
=`uname -s -r -m`
37187 OSINFO
="\"$OSINFO\""
37190 cat >>confdefs.h
<<_ACEOF
37191 #define WXWIN_OS_DESCRIPTION $OSINFO
37196 if test "x$prefix" != "xNONE"; then
37199 wxPREFIX
=$ac_default_prefix
37202 cat >>confdefs.h
<<_ACEOF
37203 #define wxINSTALL_PREFIX "$wxPREFIX"
37207 top_builddir_wxconfig
=`pwd`
37211 CORE_BASE_LIBS
="net base"
37212 CORE_GUI_LIBS
="adv core"
37214 if test "$wxUSE_XML" = "yes" ; then
37215 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37217 if test "$wxUSE_ODBC" != "no" ; then
37218 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37219 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37221 if test "$wxUSE_HTML" = "yes" ; then
37222 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37225 if test "$wxUSE_GUI" != "yes"; then
37236 if test "$wxUSE_MAC" = 1 ; then
37237 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
37239 if test "$wxUSE_COCOA" = 1 ; then
37240 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
37244 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37252 echo "$as_me:$LINENO: checking for $ac_func" >&5
37253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37254 if eval "test \"\${$as_ac_var+set}\" = set"; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37257 cat >conftest.
$ac_ext <<_ACEOF
37260 cat confdefs.h
>>conftest.
$ac_ext
37261 cat >>conftest.
$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37273 # include <limits.h>
37275 # include <assert.h>
37280 /* Override any gcc2 internal prototype to avoid an error. */
37285 /* We use char because int might match the return type of a gcc2
37286 builtin and then its argument prototype would still apply. */
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37294 char (*f) () = $ac_func;
37303 return f != $ac_func;
37308 rm -f conftest.
$ac_objext conftest
$ac_exeext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37310 (eval $ac_link) 2>conftest.er1
37312 grep -v '^ *+' conftest.er1
>conftest.err
37314 cat conftest.err
>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } &&
37317 { ac_try
='test -z "$ac_c_werror_flag"
37318 || test ! -s conftest.err'
37319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37320 (eval $ac_try) 2>&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); }; } &&
37324 { ac_try
='test -s conftest$ac_exeext'
37325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37326 (eval $ac_try) 2>&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); }; }; then
37330 eval "$as_ac_var=yes"
37332 echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.
$ac_ext >&5
37335 eval "$as_ac_var=no"
37337 rm -f conftest.err conftest.
$ac_objext \
37338 conftest
$ac_exeext conftest.
$ac_ext
37340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37342 if test `eval echo '${'$as_ac_var'}'` = yes; then
37343 cat >>confdefs.h
<<_ACEOF
37344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37351 for ac_func
in floor
37353 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37354 echo "$as_me:$LINENO: checking for $ac_func" >&5
37355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37356 if eval "test \"\${$as_ac_var+set}\" = set"; then
37357 echo $ECHO_N "(cached) $ECHO_C" >&6
37359 cat >conftest.
$ac_ext <<_ACEOF
37362 cat confdefs.h
>>conftest.
$ac_ext
37363 cat >>conftest.
$ac_ext <<_ACEOF
37364 /* end confdefs.h. */
37365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37367 #define $ac_func innocuous_$ac_func
37369 /* System header to define __stub macros and hopefully few prototypes,
37370 which can conflict with char $ac_func (); below.
37371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37372 <limits.h> exists even on freestanding compilers. */
37375 # include <limits.h>
37377 # include <assert.h>
37382 /* Override any gcc2 internal prototype to avoid an error. */
37387 /* We use char because int might match the return type of a gcc2
37388 builtin and then its argument prototype would still apply. */
37390 /* The GNU C library defines this for functions which it implements
37391 to always fail with ENOSYS. Some functions are actually named
37392 something starting with __ and the normal name is an alias. */
37393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37396 char (*f) () = $ac_func;
37405 return f != $ac_func;
37410 rm -f conftest.
$ac_objext conftest
$ac_exeext
37411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37412 (eval $ac_link) 2>conftest.er1
37414 grep -v '^ *+' conftest.er1
>conftest.err
37416 cat conftest.err
>&5
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); } &&
37419 { ac_try
='test -z "$ac_c_werror_flag"
37420 || test ! -s conftest.err'
37421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37422 (eval $ac_try) 2>&5
37424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425 (exit $ac_status); }; } &&
37426 { ac_try
='test -s conftest$ac_exeext'
37427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37428 (eval $ac_try) 2>&5
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); }; }; then
37432 eval "$as_ac_var=yes"
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.
$ac_ext >&5
37437 eval "$as_ac_var=no"
37439 rm -f conftest.err conftest.
$ac_objext \
37440 conftest
$ac_exeext conftest.
$ac_ext
37442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37444 if test `eval echo '${'$as_ac_var'}'` = yes; then
37445 cat >>confdefs.h
<<_ACEOF
37446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37452 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37453 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37454 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37455 echo "$as_me:$LINENO: result: yes" >&5
37456 echo "${ECHO_T}yes" >&6
37458 echo "$as_me:$LINENO: result: no" >&5
37459 echo "${ECHO_T}no" >&6
37461 # use different functions to avoid configure caching
37467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37468 echo "$as_me:$LINENO: checking for $ac_func" >&5
37469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37470 if eval "test \"\${$as_ac_var+set}\" = set"; then
37471 echo $ECHO_N "(cached) $ECHO_C" >&6
37473 cat >conftest.
$ac_ext <<_ACEOF
37476 cat confdefs.h
>>conftest.
$ac_ext
37477 cat >>conftest.
$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37481 #define $ac_func innocuous_$ac_func
37483 /* System header to define __stub macros and hopefully few prototypes,
37484 which can conflict with char $ac_func (); below.
37485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37486 <limits.h> exists even on freestanding compilers. */
37489 # include <limits.h>
37491 # include <assert.h>
37496 /* Override any gcc2 internal prototype to avoid an error. */
37501 /* We use char because int might match the return type of a gcc2
37502 builtin and then its argument prototype would still apply. */
37504 /* The GNU C library defines this for functions which it implements
37505 to always fail with ENOSYS. Some functions are actually named
37506 something starting with __ and the normal name is an alias. */
37507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37510 char (*f) () = $ac_func;
37519 return f != $ac_func;
37524 rm -f conftest.
$ac_objext conftest
$ac_exeext
37525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37526 (eval $ac_link) 2>conftest.er1
37528 grep -v '^ *+' conftest.er1
>conftest.err
37530 cat conftest.err
>&5
37531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37532 (exit $ac_status); } &&
37533 { ac_try
='test -z "$ac_c_werror_flag"
37534 || test ! -s conftest.err'
37535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37536 (eval $ac_try) 2>&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); }; } &&
37540 { ac_try
='test -s conftest$ac_exeext'
37541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37542 (eval $ac_try) 2>&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); }; }; then
37546 eval "$as_ac_var=yes"
37548 echo "$as_me: failed program was:" >&5
37549 sed 's/^/| /' conftest.
$ac_ext >&5
37551 eval "$as_ac_var=no"
37553 rm -f conftest.err conftest.
$ac_objext \
37554 conftest
$ac_exeext conftest.
$ac_ext
37556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37558 if test `eval echo '${'$as_ac_var'}'` = yes; then
37559 cat >>confdefs.h
<<_ACEOF
37560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37567 for ac_func
in ceil
37569 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37570 echo "$as_me:$LINENO: checking for $ac_func" >&5
37571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37572 if eval "test \"\${$as_ac_var+set}\" = set"; then
37573 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 cat >conftest.
$ac_ext <<_ACEOF
37578 cat confdefs.h
>>conftest.
$ac_ext
37579 cat >>conftest.
$ac_ext <<_ACEOF
37580 /* end confdefs.h. */
37581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37583 #define $ac_func innocuous_$ac_func
37585 /* System header to define __stub macros and hopefully few prototypes,
37586 which can conflict with char $ac_func (); below.
37587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37588 <limits.h> exists even on freestanding compilers. */
37591 # include <limits.h>
37593 # include <assert.h>
37598 /* Override any gcc2 internal prototype to avoid an error. */
37603 /* We use char because int might match the return type of a gcc2
37604 builtin and then its argument prototype would still apply. */
37606 /* The GNU C library defines this for functions which it implements
37607 to always fail with ENOSYS. Some functions are actually named
37608 something starting with __ and the normal name is an alias. */
37609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37612 char (*f) () = $ac_func;
37621 return f != $ac_func;
37626 rm -f conftest.
$ac_objext conftest
$ac_exeext
37627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37628 (eval $ac_link) 2>conftest.er1
37630 grep -v '^ *+' conftest.er1
>conftest.err
37632 cat conftest.err
>&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } &&
37635 { ac_try
='test -z "$ac_c_werror_flag"
37636 || test ! -s conftest.err'
37637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37638 (eval $ac_try) 2>&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); }; } &&
37642 { ac_try
='test -s conftest$ac_exeext'
37643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37644 (eval $ac_try) 2>&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); }; }; then
37648 eval "$as_ac_var=yes"
37650 echo "$as_me: failed program was:" >&5
37651 sed 's/^/| /' conftest.
$ac_ext >&5
37653 eval "$as_ac_var=no"
37655 rm -f conftest.err conftest.
$ac_objext \
37656 conftest
$ac_exeext conftest.
$ac_ext
37658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37660 if test `eval echo '${'$as_ac_var'}'` = yes; then
37661 cat >>confdefs.h
<<_ACEOF
37662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37668 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37669 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37670 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37671 echo "$as_me:$LINENO: result: yes" >&5
37672 echo "${ECHO_T}yes" >&6
37674 echo "$as_me:$LINENO: result: no" >&5
37675 echo "${ECHO_T}no" >&6
37676 # not sure we should warn the user, crash, etc.
37680 if test "$wxUSE_GUI" = "yes"; then
37683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37684 drawing dynamic erase event exec font image \
37685 minimal propsize rotate shaped widgets render"
37687 if test "$wxUSE_MONOLITHIC" != "yes"; then
37688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37691 SAMPLES_SUBDIRS
="console"
37695 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37696 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37698 if test "$GXX" = yes ; then
37699 CXXWARNINGS
="-Wall"
37702 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37704 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37705 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37706 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37709 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
37710 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37711 EXTRALIBS_XML
="$EXPAT_LINK"
37712 EXTRALIBS_HTML
="$MSPACK_LINK"
37713 EXTRALIBS_ODBC
="$ODBC_LINK"
37714 if test "$wxUSE_GUI" = "yes"; then
37715 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37717 if test "$wxUSE_OPENGL" = "yes"; then
37718 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37721 LDFLAGS
="$LDFLAGS $PROFILE"
37723 if test "$wxUSE_GTK" = 1; then
37726 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37729 WXCONFIG_EXTRALIBS
="$LIBS"
37731 if test "$wxUSE_REGEX" = "builtin" ; then
37732 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37734 if test "$wxUSE_EXPAT" = "builtin" ; then
37735 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37737 if test "$wxUSE_ODBC" = "builtin" ; then
37738 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37740 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37741 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37743 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37744 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37746 if test "$wxUSE_LIBPNG" = "builtin" ; then
37747 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37749 if test "$wxUSE_ZLIB" = "builtin" ; then
37750 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37752 if test "$wxUSE_ODBC" = "builtin" ; then
37753 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37756 for i
in $wxconfig_3rdparty ; do
37757 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37761 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37775 if test $wxUSE_MONOLITHIC = "yes" ; then
37781 if test $wxUSE_PLUGINS = "yes" ; then
37787 if test $wxUSE_ODBC != "no" ; then
37793 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37819 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37827 if test "x$BAKEFILE_HOST" = "x"; then
37828 BAKEFILE_HOST
="${host}"
37831 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37833 if test -n "$ac_tool_prefix"; then
37834 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37835 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37836 echo "$as_me:$LINENO: checking for $ac_word" >&5
37837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37838 if test "${ac_cv_prog_RANLIB+set}" = set; then
37839 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 if test -n "$RANLIB"; then
37842 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37845 for as_dir
in $PATH
37848 test -z "$as_dir" && as_dir
=.
37849 for ac_exec_ext
in '' $ac_executable_extensions; do
37850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37851 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37860 RANLIB
=$ac_cv_prog_RANLIB
37861 if test -n "$RANLIB"; then
37862 echo "$as_me:$LINENO: result: $RANLIB" >&5
37863 echo "${ECHO_T}$RANLIB" >&6
37865 echo "$as_me:$LINENO: result: no" >&5
37866 echo "${ECHO_T}no" >&6
37870 if test -z "$ac_cv_prog_RANLIB"; then
37871 ac_ct_RANLIB
=$RANLIB
37872 # Extract the first word of "ranlib", so it can be a program name with args.
37873 set dummy ranlib
; ac_word
=$2
37874 echo "$as_me:$LINENO: checking for $ac_word" >&5
37875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37876 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37877 echo $ECHO_N "(cached) $ECHO_C" >&6
37879 if test -n "$ac_ct_RANLIB"; then
37880 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37883 for as_dir
in $PATH
37886 test -z "$as_dir" && as_dir
=.
37887 for ac_exec_ext
in '' $ac_executable_extensions; do
37888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37889 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37896 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37899 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37900 if test -n "$ac_ct_RANLIB"; then
37901 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37902 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37904 echo "$as_me:$LINENO: result: no" >&5
37905 echo "${ECHO_T}no" >&6
37908 RANLIB
=$ac_ct_RANLIB
37910 RANLIB
="$ac_cv_prog_RANLIB"
37913 # Find a good install program. We prefer a C program (faster),
37914 # so one script is as good as another. But avoid the broken or
37915 # incompatible versions:
37916 # SysV /etc/install, /usr/sbin/install
37917 # SunOS /usr/etc/install
37918 # IRIX /sbin/install
37920 # AmigaOS /C/install, which installs bootblocks on floppy discs
37921 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37922 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37923 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37924 # OS/2's system install, which has a completely different semantic
37925 # ./install, which can be erroneously created by make from ./install.sh.
37926 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37927 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37928 if test -z "$INSTALL"; then
37929 if test "${ac_cv_path_install+set}" = set; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37933 for as_dir
in $PATH
37936 test -z "$as_dir" && as_dir
=.
37937 # Account for people who put trailing slashes in PATH elements.
37939 .
/ | .
// | /cC
/* | \
37940 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37941 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37944 # OSF1 and SCO ODT 3.0 have their own names for install.
37945 # Don't use installbsd from OSF since it installs stuff as root
37947 for ac_prog
in ginstall scoinst
install; do
37948 for ac_exec_ext
in '' $ac_executable_extensions; do
37949 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37950 if test $ac_prog = install &&
37951 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37952 # AIX install. It has an incompatible calling convention.
37954 elif test $ac_prog = install &&
37955 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37956 # program-specific install script used by HP pwplus--don't use.
37959 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37971 if test "${ac_cv_path_install+set}" = set; then
37972 INSTALL
=$ac_cv_path_install
37974 # As a last resort, use the slow shell script. We don't cache a
37975 # path for INSTALL within a source directory, because that will
37976 # break other packages using the cache if that directory is
37977 # removed, or if the path is relative.
37978 INSTALL
=$ac_install_sh
37981 echo "$as_me:$LINENO: result: $INSTALL" >&5
37982 echo "${ECHO_T}$INSTALL" >&6
37984 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37985 # It thinks the first close brace ends the variable substitution.
37986 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37988 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37990 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37992 echo "$as_me:$LINENO: checking whether ln -s works" >&5
37993 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
37995 if test "$LN_S" = "ln -s"; then
37996 echo "$as_me:$LINENO: result: yes" >&5
37997 echo "${ECHO_T}yes" >&6
37999 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38000 echo "${ECHO_T}no, using $LN_S" >&6
38004 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38005 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38006 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38007 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38010 cat >conftest.
make <<\_ACEOF
38012 @
echo 'ac_maketemp="$(MAKE)"'
38014 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38015 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38016 if test -n "$ac_maketemp"; then
38017 eval ac_cv_prog_make_
${ac_make}_set
=yes
38019 eval ac_cv_prog_make_
${ac_make}_set
=no
38021 rm -f conftest.
make
38023 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38024 echo "$as_me:$LINENO: result: yes" >&5
38025 echo "${ECHO_T}yes" >&6
38028 echo "$as_me:$LINENO: result: no" >&5
38029 echo "${ECHO_T}no" >&6
38030 SET_MAKE
="MAKE=${MAKE-make}"
38035 if test -n "$ac_tool_prefix"; then
38036 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38037 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38038 echo "$as_me:$LINENO: checking for $ac_word" >&5
38039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38040 if test "${ac_cv_prog_AR+set}" = set; then
38041 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 if test -n "$AR"; then
38044 ac_cv_prog_AR
="$AR" # Let the user override the test.
38046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38047 for as_dir
in $PATH
38050 test -z "$as_dir" && as_dir
=.
38051 for ac_exec_ext
in '' $ac_executable_extensions; do
38052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38053 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38063 if test -n "$AR"; then
38064 echo "$as_me:$LINENO: result: $AR" >&5
38065 echo "${ECHO_T}$AR" >&6
38067 echo "$as_me:$LINENO: result: no" >&5
38068 echo "${ECHO_T}no" >&6
38072 if test -z "$ac_cv_prog_AR"; then
38074 # Extract the first word of "ar", so it can be a program name with args.
38075 set dummy
ar; ac_word
=$2
38076 echo "$as_me:$LINENO: checking for $ac_word" >&5
38077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38078 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38079 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 if test -n "$ac_ct_AR"; then
38082 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38085 for as_dir
in $PATH
38088 test -z "$as_dir" && as_dir
=.
38089 for ac_exec_ext
in '' $ac_executable_extensions; do
38090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38091 ac_cv_prog_ac_ct_AR
="ar"
38092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38098 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38101 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38102 if test -n "$ac_ct_AR"; then
38103 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38104 echo "${ECHO_T}$ac_ct_AR" >&6
38106 echo "$as_me:$LINENO: result: no" >&5
38107 echo "${ECHO_T}no" >&6
38112 AR
="$ac_cv_prog_AR"
38115 if test -n "$ac_tool_prefix"; then
38116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38117 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38118 echo "$as_me:$LINENO: checking for $ac_word" >&5
38119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38120 if test "${ac_cv_prog_STRIP+set}" = set; then
38121 echo $ECHO_N "(cached) $ECHO_C" >&6
38123 if test -n "$STRIP"; then
38124 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38127 for as_dir
in $PATH
38130 test -z "$as_dir" && as_dir
=.
38131 for ac_exec_ext
in '' $ac_executable_extensions; do
38132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38133 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38142 STRIP
=$ac_cv_prog_STRIP
38143 if test -n "$STRIP"; then
38144 echo "$as_me:$LINENO: result: $STRIP" >&5
38145 echo "${ECHO_T}$STRIP" >&6
38147 echo "$as_me:$LINENO: result: no" >&5
38148 echo "${ECHO_T}no" >&6
38152 if test -z "$ac_cv_prog_STRIP"; then
38154 # Extract the first word of "strip", so it can be a program name with args.
38155 set dummy strip
; ac_word
=$2
38156 echo "$as_me:$LINENO: checking for $ac_word" >&5
38157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38158 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38161 if test -n "$ac_ct_STRIP"; then
38162 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38165 for as_dir
in $PATH
38168 test -z "$as_dir" && as_dir
=.
38169 for ac_exec_ext
in '' $ac_executable_extensions; do
38170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38171 ac_cv_prog_ac_ct_STRIP
="strip"
38172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38178 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38181 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38182 if test -n "$ac_ct_STRIP"; then
38183 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38184 echo "${ECHO_T}$ac_ct_STRIP" >&6
38186 echo "$as_me:$LINENO: result: no" >&5
38187 echo "${ECHO_T}no" >&6
38192 STRIP
="$ac_cv_prog_STRIP"
38195 if test -n "$ac_tool_prefix"; then
38196 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38197 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38198 echo "$as_me:$LINENO: checking for $ac_word" >&5
38199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38200 if test "${ac_cv_prog_NM+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 if test -n "$NM"; then
38204 ac_cv_prog_NM
="$NM" # Let the user override the test.
38206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38207 for as_dir
in $PATH
38210 test -z "$as_dir" && as_dir
=.
38211 for ac_exec_ext
in '' $ac_executable_extensions; do
38212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38213 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38223 if test -n "$NM"; then
38224 echo "$as_me:$LINENO: result: $NM" >&5
38225 echo "${ECHO_T}$NM" >&6
38227 echo "$as_me:$LINENO: result: no" >&5
38228 echo "${ECHO_T}no" >&6
38232 if test -z "$ac_cv_prog_NM"; then
38234 # Extract the first word of "nm", so it can be a program name with args.
38235 set dummy nm
; ac_word
=$2
38236 echo "$as_me:$LINENO: checking for $ac_word" >&5
38237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38238 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38239 echo $ECHO_N "(cached) $ECHO_C" >&6
38241 if test -n "$ac_ct_NM"; then
38242 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38245 for as_dir
in $PATH
38248 test -z "$as_dir" && as_dir
=.
38249 for ac_exec_ext
in '' $ac_executable_extensions; do
38250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38251 ac_cv_prog_ac_ct_NM
="nm"
38252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38258 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38261 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38262 if test -n "$ac_ct_NM"; then
38263 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38264 echo "${ECHO_T}$ac_ct_NM" >&6
38266 echo "$as_me:$LINENO: result: no" >&5
38267 echo "${ECHO_T}no" >&6
38272 NM
="$ac_cv_prog_NM"
38276 case ${BAKEFILE_HOST} in
38278 INSTALL_DIR
="mkdir"
38280 *) INSTALL_DIR
="$INSTALL -d"
38286 case ${BAKEFILE_HOST} in
38287 *-*-cygwin* | *-*-mingw32* )
38288 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
38294 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38295 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38296 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38301 egrep -s GNU
> /dev
/null
); then
38302 bakefile_cv_prog_makeisgnu
="yes"
38304 bakefile_cv_prog_makeisgnu
="no"
38308 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38309 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38311 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38326 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38327 case "${BAKEFILE_HOST}" in
38328 *-*-cygwin* | *-*-mingw32* )
38334 *-pc-os2_emx | *-pc-os2-emx )
38337 powerpc
-*-darwin* )
38346 case "$BAKEFILE_FORCE_PLATFORM" in
38364 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38365 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38366 { (exit 1); exit 1; }; }
38380 SO_SUFFIX_MODULE
="so"
38386 case "${BAKEFILE_HOST}" in
38389 SO_SUFFIX_MODULE
="sl"
38393 SO_SUFFIX_MODULE
="a"
38395 *-*-cygwin* | *-*-mingw32* )
38397 SO_SUFFIX_MODULE
="dll"
38405 *-pc-os2_emx | *-pc-os2-emx )
38410 powerpc
-*-darwin* )
38412 SO_SUFFIX_MODULE
="bundle"
38424 SHARED_LD_CC
="\$(CC) -shared -o"
38425 SHARED_LD_CXX
="\$(CXX) -shared -o"
38427 if test "x$GCC" = "xyes"; then
38431 case "${BAKEFILE_HOST}" in
38433 if test "x$GCC" = "xyes"; then
38434 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38435 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38437 LDFLAGS
="$LDFLAGS -L/usr/lib"
38439 SHARED_LD_CC
="${CC} -b -o"
38440 SHARED_LD_CXX
="${CXX} -b -o"
38446 if test "x$GCC" != "xyes"; then
38447 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38448 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38449 if test "${bakefile_cv_prog_icc+set}" = set; then
38450 echo $ECHO_N "(cached) $ECHO_C" >&6
38453 cat >conftest.
$ac_ext <<_ACEOF
38456 cat confdefs.h
>>conftest.
$ac_ext
38457 cat >>conftest.
$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38464 #ifndef __INTEL_COMPILER
38472 rm -f conftest.
$ac_objext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38474 (eval $ac_compile) 2>conftest.er1
38476 grep -v '^ *+' conftest.er1
>conftest.err
38478 cat conftest.err
>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try
='test -z "$ac_c_werror_flag"
38482 || test ! -s conftest.err'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; } &&
38488 { ac_try
='test -s conftest.$ac_objext'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; }; then
38494 bakefile_cv_prog_icc
=yes
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.
$ac_ext >&5
38499 bakefile_cv_prog_icc
=no
38502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38505 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38506 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38507 if test "$bakefile_cv_prog_icc" = "yes"; then
38514 if test "x$GCC" != xyes
; then
38515 SHARED_LD_CC
="${CC} -G -o"
38516 SHARED_LD_CXX
="${CXX} -G -o"
38522 CFLAGS
="$CFLAGS -fno-common"
38523 CXXFLAGS
="$CXXFLAGS -fno-common"
38526 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38527 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38528 if test "${wx_cv_gcc31+set}" = set; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38532 cat >conftest.
$ac_ext <<_ACEOF
38535 cat confdefs.h
>>conftest.
$ac_ext
38536 cat >>conftest.
$ac_ext <<_ACEOF
38537 /* end confdefs.h. */
38543 #if (__GNUC__ < 3) || \
38544 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38552 rm -f conftest.
$ac_objext
38553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38554 (eval $ac_compile) 2>conftest.er1
38556 grep -v '^ *+' conftest.er1
>conftest.err
38558 cat conftest.err
>&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } &&
38561 { ac_try
='test -z "$ac_c_werror_flag"
38562 || test ! -s conftest.err'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; } &&
38568 { ac_try
='test -s conftest.$ac_objext'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; }; then
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.
$ac_ext >&5
38586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38589 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38590 echo "${ECHO_T}$wx_cv_gcc31" >&6
38591 if test "$wx_cv_gcc31" = "no"; then
38592 cat <<EOF >shared-ld-sh
38594 #-----------------------------------------------------------------------------
38595 #-- Name: distrib/mac/shared-ld-sh
38596 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38597 #-- Author: Gilles Depeyrot
38598 #-- Copyright: (c) 2002 Gilles Depeyrot
38599 #-- Licence: any use permitted
38600 #-----------------------------------------------------------------------------
38605 linking_flag="-dynamiclib"
38607 while test \${#} -gt 0; do
38614 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38615 # collect these options and values
38616 args="\${args} \${1} \${2}"
38620 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38621 # collect these options
38622 args="\${args} \${1}"
38625 -dynamiclib|-bundle)
38626 linking_flag="\${1}"
38630 echo "shared-ld: unhandled option '\${1}'"
38634 *.o | *.a | *.dylib)
38635 # collect object files
38636 objects="\${objects} \${1}"
38640 echo "shared-ld: unhandled argument '\${1}'"
38649 # Link one module containing all the others
38651 if test \${verbose} = 1; then
38652 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
38654 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
38656 if test \${status} != 0; then
38661 # Link the shared library from the single module created
38663 if test \${verbose} = 1; then
38664 echo "cc \${linking_flag} master.\$\$.o \${args}"
38666 c++ \${linking_flag} master.\$\$.o \${args}
38668 if test \${status} != 0; then
38673 # Remove intermediate module
38675 rm -f master.\$\$.o
38679 chmod +x shared
-ld-sh
38681 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38682 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38683 SHARED_LD_CXX
="$SHARED_LD_CC"
38684 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38686 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38687 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38688 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38689 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38692 PIC_FLAG
="-dynamic -fPIC"
38696 if test "x$GCC" != "xyes"; then
38697 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38698 set dummy makeC
++SharedLib
; ac_word
=$2
38699 echo "$as_me:$LINENO: checking for $ac_word" >&5
38700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38701 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38702 echo $ECHO_N "(cached) $ECHO_C" >&6
38704 if test -n "$AIX_CXX_LD"; then
38705 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38708 for as_dir
in $PATH
38711 test -z "$as_dir" && as_dir
=.
38712 for ac_exec_ext
in '' $ac_executable_extensions; do
38713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38714 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38721 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38724 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38725 if test -n "$AIX_CXX_LD"; then
38726 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38727 echo "${ECHO_T}$AIX_CXX_LD" >&6
38729 echo "$as_me:$LINENO: result: no" >&5
38730 echo "${ECHO_T}no" >&6
38733 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38734 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38739 SHARED_LD_CC
="${LD} -shared -o"
38740 SHARED_LD_CXX
="${LD} -shared -o"
38744 if test "x$GCC" != "xyes"; then
38749 *-*-cygwin* | *-*-mingw32* )
38753 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38757 *-pc-os2_emx | *-pc-os2-emx | \
38762 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
38763 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
38764 { (exit 1); exit 1; }; }
38767 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38768 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38770 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38771 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38788 case "${BAKEFILE_HOST}" in
38790 SONAME_FLAG
="-Wl,-soname,"
38818 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
38819 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
38822 if test "x$GCC" = "xyes"; then
38825 case "${BAKEFILE_HOST}" in
38826 powerpc
-*-darwin* )
38827 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
38830 DEPSFLAG_GCC
="-MMD"
38833 echo "$as_me:$LINENO: result: gcc" >&5
38834 echo "${ECHO_T}gcc" >&6
38836 echo "$as_me:$LINENO: result: none" >&5
38837 echo "${ECHO_T}none" >&6
38840 if test $DEPS_TRACKING = 1 ; then
38844 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
38845 # script. It is used to track C/C++ files dependencies in portable way.
38847 # Permission is given to use this file in any way.
38851 DEPSFLAG_GCC="$DEPSFLAG_GCC"
38855 if test \$DEPSMODE = gcc ; then
38856 \${*} \${DEPSFLAG_GCC}
38858 if test \${status} != 0 ; then
38861 # move created file to the location we want it in:
38862 while test \${#} -gt 0; do
38876 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
38877 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
38878 if test -f \$depfile ; then
38879 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38882 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
38883 if test -f \$depfile ; then
38884 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
38903 case ${BAKEFILE_HOST} in
38904 *-*-cygwin* | *-*-mingw32* )
38905 if test "$build" != "$host" ; then
38906 RESCOMP
=$host_alias-windres
38908 # Extract the first word of "windres", so it can be a program name with args.
38909 set dummy windres
; ac_word
=$2
38910 echo "$as_me:$LINENO: checking for $ac_word" >&5
38911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38912 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38915 if test -n "$RESCOMP"; then
38916 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38919 for as_dir
in $PATH
38922 test -z "$as_dir" && as_dir
=.
38923 for ac_exec_ext
in '' $ac_executable_extensions; do
38924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38925 ac_cv_prog_RESCOMP
="windres"
38926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38932 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
38935 RESCOMP
=$ac_cv_prog_RESCOMP
38936 if test -n "$RESCOMP"; then
38937 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38938 echo "${ECHO_T}$RESCOMP" >&6
38940 echo "$as_me:$LINENO: result: no" >&5
38941 echo "${ECHO_T}no" >&6
38948 # Extract the first word of "Rez", so it can be a program name with args.
38949 set dummy Rez
; ac_word
=$2
38950 echo "$as_me:$LINENO: checking for $ac_word" >&5
38951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38952 if test "${ac_cv_prog_RESCOMP+set}" = set; then
38953 echo $ECHO_N "(cached) $ECHO_C" >&6
38955 if test -n "$RESCOMP"; then
38956 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
38958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38959 for as_dir
in $PATH
38962 test -z "$as_dir" && as_dir
=.
38963 for ac_exec_ext
in '' $ac_executable_extensions; do
38964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38965 ac_cv_prog_RESCOMP
="Rez"
38966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38972 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
38975 RESCOMP
=$ac_cv_prog_RESCOMP
38976 if test -n "$RESCOMP"; then
38977 echo "$as_me:$LINENO: result: $RESCOMP" >&5
38978 echo "${ECHO_T}$RESCOMP" >&6
38980 echo "$as_me:$LINENO: result: no" >&5
38981 echo "${ECHO_T}no" >&6
38984 # Extract the first word of "SetFile", so it can be a program name with args.
38985 set dummy SetFile
; ac_word
=$2
38986 echo "$as_me:$LINENO: checking for $ac_word" >&5
38987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38988 if test "${ac_cv_prog_SETFILE+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 if test -n "$SETFILE"; then
38992 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
38994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38995 for as_dir
in $PATH
38998 test -z "$as_dir" && as_dir
=.
38999 for ac_exec_ext
in '' $ac_executable_extensions; do
39000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39001 ac_cv_prog_SETFILE
="SetFile"
39002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39008 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39011 SETFILE
=$ac_cv_prog_SETFILE
39012 if test -n "$SETFILE"; then
39013 echo "$as_me:$LINENO: result: $SETFILE" >&5
39014 echo "${ECHO_T}$SETFILE" >&6
39016 echo "$as_me:$LINENO: result: no" >&5
39017 echo "${ECHO_T}no" >&6
39032 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39033 if test "${enable_precomp_headers+set}" = set; then
39034 enableval
="$enable_precomp_headers"
39035 bk_use_pch
="$enableval"
39040 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39041 if test "x$GCC" = "xyes"; then
39042 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39043 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39044 cat >conftest.
$ac_ext <<_ACEOF
39047 cat confdefs.h
>>conftest.
$ac_ext
39048 cat >>conftest.
$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39055 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39056 #error "no pch support"
39059 #error "no pch support"
39061 #if (__GNUC__ == 3) && \
39062 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39063 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39064 #error "no pch support"
39071 rm -f conftest.
$ac_objext
39072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39073 (eval $ac_compile) 2>conftest.er1
39075 grep -v '^ *+' conftest.er1
>conftest.err
39077 cat conftest.err
>&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } &&
39080 { ac_try
='test -z "$ac_c_werror_flag"
39081 || test ! -s conftest.err'
39082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39083 (eval $ac_try) 2>&5
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); }; } &&
39087 { ac_try
='test -s conftest.$ac_objext'
39088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39089 (eval $ac_try) 2>&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); }; }; then
39094 echo "$as_me:$LINENO: result: yes" >&5
39095 echo "${ECHO_T}yes" >&6
39096 CPPFLAGS
="-fpch-deps $CPPFLAGS"
39100 echo "$as_me: failed program was:" >&5
39101 sed 's/^/| /' conftest.
$ac_ext >&5
39104 echo "$as_me:$LINENO: result: no" >&5
39105 echo "${ECHO_T}no" >&6
39108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39109 if test $GCC_PCH = 1 ; then
39110 cat <<EOF >bk-make-pch
39113 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39114 # script. It is used to generated precompiled headers.
39116 # Permission is given to use this file in any way.
39125 while test \${#} -gt 0; do
39128 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39129 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39130 headerfile="\${incdir}/\${header}"
39134 compiler="\${compiler} \${1}"
39138 if test "x\${headerfile}" = "x" ; then
39139 echo "error: can't find header \${header} in include paths" >2
39141 if test -f \${outfile} ; then
39144 mkdir -p \`dirname \${outfile}\`
39146 depsfile=".deps/\`basename \${outfile}\`.d"
39148 # can do this because gcc is >= 3.4:
39149 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39153 chmod +x bk
-make-pch
39162 COND_BUILD_DEBUG
="#"
39163 if test "x$BUILD" = "xdebug" ; then
39164 COND_BUILD_DEBUG
=""
39167 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39168 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39169 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39172 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39173 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39174 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39177 COND_BUILD_DEBUG_UNICODE_0
="#"
39178 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39179 COND_BUILD_DEBUG_UNICODE_0
=""
39182 COND_BUILD_DEBUG_UNICODE_1
="#"
39183 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39184 COND_BUILD_DEBUG_UNICODE_1
=""
39187 COND_BUILD_RELEASE
="#"
39188 if test "x$BUILD" = "xrelease" ; then
39189 COND_BUILD_RELEASE
=""
39192 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39193 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39194 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39197 COND_BUILD_RELEASE_UNICODE_0
="#"
39198 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39199 COND_BUILD_RELEASE_UNICODE_0
=""
39202 COND_BUILD_RELEASE_UNICODE_1
="#"
39203 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39204 COND_BUILD_RELEASE_UNICODE_1
=""
39207 COND_DEBUG_FLAG_1
="#"
39208 if test "x$DEBUG_FLAG" = "x1" ; then
39209 COND_DEBUG_FLAG_1
=""
39212 COND_DEBUG_INFO_0
="#"
39213 if test "x$DEBUG_INFO" = "x0" ; then
39214 COND_DEBUG_INFO_0
=""
39217 COND_DEBUG_INFO_1
="#"
39218 if test "x$DEBUG_INFO" = "x1" ; then
39219 COND_DEBUG_INFO_1
=""
39222 COND_DEPS_TRACKING_0
="#"
39223 if test "x$DEPS_TRACKING" = "x0" ; then
39224 COND_DEPS_TRACKING_0
=""
39227 COND_DEPS_TRACKING_1
="#"
39228 if test "x$DEPS_TRACKING" = "x1" ; then
39229 COND_DEPS_TRACKING_1
=""
39233 if test "x$GCC_PCH" = "x1" ; then
39237 COND_MONOLITHIC_0
="#"
39238 if test "x$MONOLITHIC" = "x0" ; then
39239 COND_MONOLITHIC_0
=""
39242 COND_MONOLITHIC_0_SHARED_0
="#"
39243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39244 COND_MONOLITHIC_0_SHARED_0
=""
39247 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39249 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39252 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39254 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39257 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39259 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39262 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39264 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39267 COND_MONOLITHIC_0_SHARED_1
="#"
39268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39269 COND_MONOLITHIC_0_SHARED_1
=""
39272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39274 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39282 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39284 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39287 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39289 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39292 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39293 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39294 COND_MONOLITHIC_0_USE_ODBC_1
=""
39297 COND_MONOLITHIC_1
="#"
39298 if test "x$MONOLITHIC" = "x1" ; then
39299 COND_MONOLITHIC_1
=""
39302 COND_MONOLITHIC_1_SHARED_0
="#"
39303 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39304 COND_MONOLITHIC_1_SHARED_0
=""
39307 COND_MONOLITHIC_1_SHARED_1
="#"
39308 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39309 COND_MONOLITHIC_1_SHARED_1
=""
39312 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39313 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39314 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39317 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39318 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39319 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39322 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39323 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39324 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39327 COND_PLATFORM_MACOSX_1
="#"
39328 if test "x$PLATFORM_MACOSX" = "x1" ; then
39329 COND_PLATFORM_MACOSX_1
=""
39332 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
39333 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39334 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
39337 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
39338 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39339 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
39342 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
39343 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39344 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
39347 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39348 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39349 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39352 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39353 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39354 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39357 COND_PLATFORM_MAC_1
="#"
39358 if test "x$PLATFORM_MAC" = "x1" ; then
39359 COND_PLATFORM_MAC_1
=""
39362 COND_PLATFORM_OS2_1
="#"
39363 if test "x$PLATFORM_OS2" = "x1" ; then
39364 COND_PLATFORM_OS2_1
=""
39367 COND_PLATFORM_UNIX_0
="#"
39368 if test "x$PLATFORM_UNIX" = "x0" ; then
39369 COND_PLATFORM_UNIX_0
=""
39372 COND_PLATFORM_UNIX_1
="#"
39373 if test "x$PLATFORM_UNIX" = "x1" ; then
39374 COND_PLATFORM_UNIX_1
=""
39377 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
39378 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39379 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
39382 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
39383 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39384 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
39387 COND_PLATFORM_WIN32_0
="#"
39388 if test "x$PLATFORM_WIN32" = "x0" ; then
39389 COND_PLATFORM_WIN32_0
=""
39392 COND_PLATFORM_WIN32_1
="#"
39393 if test "x$PLATFORM_WIN32" = "x1" ; then
39394 COND_PLATFORM_WIN32_1
=""
39398 if test "x$SHARED" = "x0" ; then
39402 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
39403 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39404 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
39407 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39408 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39409 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39412 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39413 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39414 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39417 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39418 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39419 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39422 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
39423 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39424 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
39427 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
39428 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
39429 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
39432 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
39433 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39434 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
39437 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
39438 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39439 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
39443 if test "x$SHARED" = "x1" ; then
39447 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
39448 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39449 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
39452 COND_TOOLKIT_COCOA
="#"
39453 if test "x$TOOLKIT" = "xCOCOA" ; then
39454 COND_TOOLKIT_COCOA
=""
39457 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
39458 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39459 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
39462 COND_TOOLKIT_GTK
="#"
39463 if test "x$TOOLKIT" = "xGTK" ; then
39464 COND_TOOLKIT_GTK
=""
39467 COND_TOOLKIT_GTK_USE_GUI_1
="#"
39468 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39469 COND_TOOLKIT_GTK_USE_GUI_1
=""
39472 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
39473 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39474 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
39477 COND_TOOLKIT_MAC
="#"
39478 if test "x$TOOLKIT" = "xMAC" ; then
39479 COND_TOOLKIT_MAC
=""
39482 COND_TOOLKIT_MAC_USE_GUI_1
="#"
39483 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
39484 COND_TOOLKIT_MAC_USE_GUI_1
=""
39487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
39488 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39489 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
39492 COND_TOOLKIT_MGL
="#"
39493 if test "x$TOOLKIT" = "xMGL" ; then
39494 COND_TOOLKIT_MGL
=""
39497 COND_TOOLKIT_MGL_USE_GUI_1
="#"
39498 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
39499 COND_TOOLKIT_MGL_USE_GUI_1
=""
39502 COND_TOOLKIT_MOTIF
="#"
39503 if test "x$TOOLKIT" = "xMOTIF" ; then
39504 COND_TOOLKIT_MOTIF
=""
39507 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
39508 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39509 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
39512 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
39513 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39514 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
39517 COND_TOOLKIT_MSW
="#"
39518 if test "x$TOOLKIT" = "xMSW" ; then
39519 COND_TOOLKIT_MSW
=""
39522 COND_TOOLKIT_MSW_USE_GUI_1
="#"
39523 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39524 COND_TOOLKIT_MSW_USE_GUI_1
=""
39527 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
39528 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39529 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
39532 COND_TOOLKIT_PM
="#"
39533 if test "x$TOOLKIT" = "xPM" ; then
39537 COND_TOOLKIT_PM_USE_GUI_1
="#"
39538 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
39539 COND_TOOLKIT_PM_USE_GUI_1
=""
39542 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
39543 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39544 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
39547 COND_TOOLKIT_X11
="#"
39548 if test "x$TOOLKIT" = "xX11" ; then
39549 COND_TOOLKIT_X11
=""
39552 COND_TOOLKIT_X11_USE_GUI_1
="#"
39553 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
39554 COND_TOOLKIT_X11_USE_GUI_1
=""
39558 if test "x$UNICODE" = "x1" ; then
39562 COND_USE_EXCEPTIONS_0
="#"
39563 if test "x$USE_EXCEPTIONS" = "x0" ; then
39564 COND_USE_EXCEPTIONS_0
=""
39567 COND_USE_EXCEPTIONS_1
="#"
39568 if test "x$USE_EXCEPTIONS" = "x1" ; then
39569 COND_USE_EXCEPTIONS_1
=""
39573 if test "x$USE_GUI" = "x0" ; then
39578 if test "x$USE_GUI" = "x1" ; then
39582 COND_USE_GUI_1_WXUNIV_0
="#"
39583 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39584 COND_USE_GUI_1_WXUNIV_0
=""
39587 COND_USE_GUI_1_WXUNIV_1
="#"
39588 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
39589 COND_USE_GUI_1_WXUNIV_1
=""
39592 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
39593 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39594 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
39597 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
39598 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39599 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
39602 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
39603 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39604 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
39607 COND_USE_ODBC_1
="#"
39608 if test "x$USE_ODBC" = "x1" ; then
39612 COND_USE_PLUGINS_0
="#"
39613 if test "x$USE_PLUGINS" = "x0" ; then
39614 COND_USE_PLUGINS_0
=""
39617 COND_USE_SOSYMLINKS_1
="#"
39618 if test "x$USE_SOSYMLINKS" = "x1" ; then
39619 COND_USE_SOSYMLINKS_1
=""
39622 COND_USE_SOVERLINUX_1
="#"
39623 if test "x$USE_SOVERLINUX" = "x1" ; then
39624 COND_USE_SOVERLINUX_1
=""
39627 COND_USE_SOVERSION_0
="#"
39628 if test "x$USE_SOVERSION" = "x0" ; then
39629 COND_USE_SOVERSION_0
=""
39632 COND_USE_SOVERSOLARIS_1
="#"
39633 if test "x$USE_SOVERSOLARIS" = "x1" ; then
39634 COND_USE_SOVERSOLARIS_1
=""
39637 COND_WITH_PLUGIN_SDL_1
="#"
39638 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
39639 COND_WITH_PLUGIN_SDL_1
=""
39642 COND_WITH_SDL_1
="#"
39643 if test "x$WITH_SDL" = "x1" ; then
39648 if test "x$WXUNIV" = "x1" ; then
39652 COND_WXUSE_EXPAT_BUILTIN
="#"
39653 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
39654 COND_WXUSE_EXPAT_BUILTIN
=""
39657 COND_WXUSE_LIBJPEG_BUILTIN
="#"
39658 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39659 COND_WXUSE_LIBJPEG_BUILTIN
=""
39662 COND_WXUSE_LIBPNG_BUILTIN
="#"
39663 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39664 COND_WXUSE_LIBPNG_BUILTIN
=""
39667 COND_WXUSE_LIBTIFF_BUILTIN
="#"
39668 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39669 COND_WXUSE_LIBTIFF_BUILTIN
=""
39672 COND_WXUSE_ODBC_BUILTIN
="#"
39673 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
39674 COND_WXUSE_ODBC_BUILTIN
=""
39677 COND_WXUSE_REGEX_BUILTIN
="#"
39678 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
39679 COND_WXUSE_REGEX_BUILTIN
=""
39682 COND_WXUSE_ZLIB_BUILTIN
="#"
39683 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
39684 COND_WXUSE_ZLIB_BUILTIN
=""
39691 if test $GCC_PCH = 1 ; then
39692 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39693 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
39696 powerpc
-*-darwin* )
39697 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
39698 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
39704 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
39805 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39806 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39807 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39808 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39809 echo $ECHO_N "(cached) $ECHO_C" >&6
39811 cat >conftest.
make <<\_ACEOF
39813 @
echo 'ac_maketemp="$(MAKE)"'
39815 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39816 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39817 if test -n "$ac_maketemp"; then
39818 eval ac_cv_prog_make_
${ac_make}_set
=yes
39820 eval ac_cv_prog_make_
${ac_make}_set
=no
39822 rm -f conftest.
make
39824 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39825 echo "$as_me:$LINENO: result: yes" >&5
39826 echo "${ECHO_T}yes" >&6
39829 echo "$as_me:$LINENO: result: no" >&5
39830 echo "${ECHO_T}no" >&6
39831 SET_MAKE
="MAKE=${MAKE-make}"
39835 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
39836 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
39839 ac_config_headers
="$ac_config_headers setup.h"
39842 ac_config_files
="$ac_config_files wx-config version-script Makefile"
39845 ac_config_commands
="$ac_config_commands default"
39849 if test "$wxUSE_GUI" = "yes"; then
39850 SUBDIRS
="samples demos utils contrib"
39851 else SUBDIRS
="samples utils"
39854 for subdir
in `echo $SUBDIRS`; do
39855 if test -d ${srcdir}/${subdir} ; then
39856 if test "$wxUSE_GUI" = "yes"; then
39857 if test ${subdir} = "samples"; then
39858 makefiles
="samples/Makefile.in $makefiles"
39859 for sample
in `echo $SAMPLES_SUBDIRS`; do
39860 if test -d $srcdir/samples
/$sample; then
39861 makefiles
="samples/$sample/Makefile.in $makefiles"
39864 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
39866 else if test ${subdir} = "samples"; then
39867 makefiles
="samples/Makefile.in samples/console/Makefile.in"
39868 else makefiles
="utils/HelpGen/Makefile.in \
39869 utils/HelpGen/src/Makefile.in \
39870 utils/tex2rtf/Makefile.in \
39871 utils/tex2rtf/src/Makefile.in"
39875 for mkin
in $makefiles ; do
39876 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39877 ac_config_files
="$ac_config_files $mk"
39884 cat >confcache
<<\_ACEOF
39885 # This file is a shell script that caches the results of configure
39886 # tests run on this system so they can be shared between configure
39887 # scripts and configure runs, see configure's option --config-cache.
39888 # It is not useful on other systems. If it contains results you don't
39889 # want to keep, you may remove or edit it.
39891 # config.status only pays attention to the cache file if you give it
39892 # the --recheck option to rerun configure.
39894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39896 # following values.
39900 # The following way of writing the cache mishandles newlines in values,
39901 # but we know of no workaround that is simple, portable, and efficient.
39902 # So, don't put newlines in cache variables' values.
39903 # Ultrix sh set writes to stderr and can't be redirected directly,
39904 # and sets the high bit in the cache file unless we assign to the vars.
39907 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39909 # `set' does not quote correctly, so add quotes (double-quote
39910 # substitution turns \\\\ into \\, and sed turns \\ into \).
39913 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39916 # `set' quotes correctly as required by POSIX, so do not add quotes.
39918 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39925 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39927 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39929 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39930 if test -w $cache_file; then
39931 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39932 cat confcache
>$cache_file
39934 echo "not updating unwritable cache $cache_file"
39939 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
39940 # Let make expand exec_prefix.
39941 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
39943 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39944 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39945 # trailing colons and then remove the whole line if VPATH becomes empty
39946 # (actually we leave an empty line to preserve line numbers).
39947 if test "x$srcdir" = x.
; then
39948 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
39949 s/:*\$(srcdir):*/:/;
39950 s/:*\${srcdir}:*/:/;
39952 s/^\([^=]*=[ ]*\):*/\1/;
39958 DEFS
=-DHAVE_CONFIG_H
39962 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
39963 # 1. Remove the extension, and $U if already installed.
39964 ac_i
=`echo "$ac_i" |
39965 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39967 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
39968 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
39970 LIBOBJS
=$ac_libobjs
39972 LTLIBOBJS
=$ac_ltlibobjs
39976 : ${CONFIG_STATUS=./config.status}
39977 ac_clean_files_save
=$ac_clean_files
39978 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
39979 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39980 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39981 cat >$CONFIG_STATUS <<_ACEOF
39983 # Generated by $as_me.
39984 # Run this file to recreate the current configuration.
39985 # Compiler output produced by configure, useful for debugging
39986 # configure, is in config.log if it exists.
39989 ac_cs_recheck=false
39991 SHELL=\${CONFIG_SHELL-$SHELL}
39994 cat >>$CONFIG_STATUS <<\_ACEOF
39995 ## --------------------- ##
39996 ## M4sh Initialization. ##
39997 ## --------------------- ##
39999 # Be Bourne compatible
40000 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40003 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40004 # is contrary to our usage. Disable this feature.
40005 alias -g '${1+"$@"}'='"$@"'
40006 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40009 DUALCASE
=1; export DUALCASE
# for MKS sh
40011 # Support unset when possible.
40012 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
40019 # Work around bugs in pre-3.0 UWIN ksh.
40020 $as_unset ENV MAIL MAILPATH
40027 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40028 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40029 LC_TELEPHONE LC_TIME
40031 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40032 eval $as_var=C
; export $as_var
40038 # Required to use basename.
40039 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40045 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40046 as_basename
=basename
40052 # Name of the executable.
40053 as_me
=`$as_basename "$0" ||
40054 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40055 X"$0" : 'X\(//\)$' \| \
40056 X"$0" : 'X\(/\)$' \| \
40057 . : '\(.\)' 2>/dev/null ||
40059 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40060 /^X\/\(\/\/\)$/{ s//\1/; q; }
40061 /^X\/\(\/\).*/{ s//\1/; q; }
40065 # PATH needs CR, and LINENO needs CR and PATH.
40066 # Avoid depending upon Character Ranges.
40067 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40068 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40069 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40070 as_cr_digits
='0123456789'
40071 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40073 # The user is always right.
40074 if test "${PATH_SEPARATOR+set}" != set; then
40075 echo "#! /bin/sh" >conf$$.sh
40076 echo "exit 0" >>conf$$.sh
40078 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40087 as_lineno_1
=$LINENO
40088 as_lineno_2
=$LINENO
40089 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40090 test "x$as_lineno_1" != "x$as_lineno_2" &&
40091 test "x$as_lineno_3" = "x$as_lineno_2" || {
40092 # Find who we are. Look in the path if we contain no path at all
40095 *[\\/]* ) as_myself
=$0 ;;
40096 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40097 for as_dir
in $PATH
40100 test -z "$as_dir" && as_dir
=.
40101 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40106 # We did not find ourselves, most probably we were run as `sh COMMAND'
40107 # in which case we are not to be found in the path.
40108 if test "x$as_myself" = x
; then
40111 if test ! -f "$as_myself"; then
40112 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40113 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40114 { (exit 1); exit 1; }; }
40116 case $CONFIG_SHELL in
40118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40119 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40122 test -z "$as_dir" && as_dir
=.
40123 for as_base
in sh bash ksh sh5
; do
40126 if ("$as_dir/$as_base" -c '
40127 as_lineno_1=$LINENO
40128 as_lineno_2=$LINENO
40129 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40130 test "x$as_lineno_1" != "x$as_lineno_2" &&
40131 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40132 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
40133 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
40134 CONFIG_SHELL
=$as_dir/$as_base
40135 export CONFIG_SHELL
40136 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40144 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40145 # uniformly replaced by the line number. The first 'sed' inserts a
40146 # line-number line before each line; the second 'sed' does the real
40147 # work. The second script uses 'N' to pair each line-number line
40148 # with the numbered line, and appends trailing '-' during
40149 # substitution so that $LINENO is not a special case at line end.
40150 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40151 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40152 sed '=' <$as_myself |
40157 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40160 s,^['$as_cr_digits']*\n,,
40161 ' >$as_me.lineno
&&
40162 chmod +x
$as_me.lineno
||
40163 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40164 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40165 { (exit 1); exit 1; }; }
40167 # Don't try to exec as it changes $[0], causing all sort of problems
40168 # (the dirname of $[0] is not the place where we might find the
40169 # original and so on. Autoconf is especially sensible to this).
40171 # Exit status is that of the last command.
40176 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40177 *c
*,-n*) ECHO_N
= ECHO_C
='
40179 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40180 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40183 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40189 rm -f conf$$ conf$$.exe conf$$.
file
40191 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40192 # We could just check for DJGPP; but this test a) works b) is more generic
40193 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40194 if test -f conf$$.exe
; then
40195 # Don't use ln at all; we don't have any links
40200 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40205 rm -f conf$$ conf$$.exe conf$$.
file
40207 if mkdir -p .
2>/dev
/null
; then
40210 test -d .
/-p && rmdir .
/-p
40214 as_executable_p
="test -f"
40216 # Sed expression to map a string onto a valid CPP name.
40217 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40219 # Sed expression to map a string onto a valid variable name.
40220 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40224 # We need space, tab and new line, in precisely that order.
40234 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40235 # report actual input values of CONFIG_FILES etc. instead of their
40236 # values after options handling. Logging --version etc. is OK.
40240 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40241 ## Running $as_me. ##
40246 This file was extended by wxWindows $as_me 2.5.1, which was
40247 generated by GNU Autoconf 2.59. Invocation command line was
40249 CONFIG_FILES = $CONFIG_FILES
40250 CONFIG_HEADERS = $CONFIG_HEADERS
40251 CONFIG_LINKS = $CONFIG_LINKS
40252 CONFIG_COMMANDS = $CONFIG_COMMANDS
40256 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40260 # Files that config.status was made for.
40261 if test -n "$ac_config_files"; then
40262 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40265 if test -n "$ac_config_headers"; then
40266 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40269 if test -n "$ac_config_links"; then
40270 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40273 if test -n "$ac_config_commands"; then
40274 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40277 cat >>$CONFIG_STATUS <<\_ACEOF
40280 \`$as_me' instantiates files from templates according to the
40281 current configuration.
40283 Usage: $0 [OPTIONS] [FILE]...
40285 -h, --help print this help, then exit
40286 -V, --version print version number, then exit
40287 -q, --quiet do not print progress messages
40288 -d, --debug don't remove temporary files
40289 --recheck update $as_me by reconfiguring in the same conditions
40290 --file=FILE[:TEMPLATE]
40291 instantiate the configuration file FILE
40292 --header=FILE[:TEMPLATE]
40293 instantiate the configuration header FILE
40295 Configuration files:
40298 Configuration headers:
40301 Configuration commands:
40304 Report bugs to <bug-autoconf@gnu.org>."
40307 cat >>$CONFIG_STATUS <<_ACEOF
40309 wxWindows config.status 2.5.1
40310 configured by $0, generated by GNU Autoconf 2.59,
40311 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40313 Copyright (C) 2003 Free Software Foundation, Inc.
40314 This config.status script is free software; the Free Software Foundation
40315 gives unlimited permission to copy, distribute and modify it."
40320 cat >>$CONFIG_STATUS <<\_ACEOF
40321 # If no file are specified by the user, then we need to provide default
40322 # value. By we need to know if files were specified by the user.
40328 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40329 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40337 *) # This is not an option, so the user has probably given explicit
40340 ac_need_defaults
=false
;;
40344 # Handling of the options.
40346 cat >>$CONFIG_STATUS <<\_ACEOF
40347 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40349 --version | --vers* | -V )
40350 echo "$ac_cs_version"; exit 0 ;;
40352 # Conflict between --help and --header
40353 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40354 Try \`$0 --help' for more information." >&5
40355 echo "$as_me: error: ambiguous option: $1
40356 Try \`$0 --help' for more information." >&2;}
40357 { (exit 1); exit 1; }; };;
40358 --help | --hel | -h )
40359 echo "$ac_cs_usage"; exit 0 ;;
40360 --debug | --d* | -d )
40362 --file | --fil | --fi | --f )
40364 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40365 ac_need_defaults
=false
;;
40366 --header | --heade | --head | --hea )
40368 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40369 ac_need_defaults
=false
;;
40370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
40371 | -silent | --silent | --silen | --sile | --sil | --si | --s)
40374 # This is an error.
40375 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40376 Try \`$0 --help' for more information." >&5
40377 echo "$as_me: error: unrecognized option: $1
40378 Try \`$0 --help' for more information." >&2;}
40379 { (exit 1); exit 1; }; } ;;
40381 *) ac_config_targets
="$ac_config_targets $1" ;;
40387 ac_configure_extra_args
=
40389 if $ac_cs_silent; then
40391 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40395 cat >>$CONFIG_STATUS <<_ACEOF
40396 if \$ac_cs_recheck; then
40397 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40398 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40403 cat >>$CONFIG_STATUS <<_ACEOF
40405 # INIT-COMMANDS section.
40409 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
40418 cat >>$CONFIG_STATUS <<\_ACEOF
40419 for ac_config_target
in $ac_config_targets
40421 case "$ac_config_target" in
40422 # Handling of arguments.
40423 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
40424 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
40425 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40426 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
40427 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
40428 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
40429 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40430 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40431 { (exit 1); exit 1; }; };;
40435 # If the user did not use the arguments to specify the items to instantiate,
40436 # then the envvar interface is used. Set only those that are not.
40437 # We use the long form for the default assignment because of an extremely
40438 # bizarre bug on SunOS 4.1.3.
40439 if $ac_need_defaults; then
40440 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40441 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40442 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40445 # Have a temporary directory for convenience. Make it in the build tree
40446 # simply because there is no reason to put it here, and in addition,
40447 # creating and moving files from /tmp can sometimes cause problems.
40448 # Create a temporary directory, and hook for its removal unless debugging.
40451 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40452 trap '{ (exit 1); exit 1; }' 1 2 13 15
40455 # Create a (secure) tmp directory for tmp files.
40458 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40459 test -n "$tmp" && test -d "$tmp"
40462 tmp
=.
/confstat$$
-$RANDOM
40463 (umask 077 && mkdir $tmp)
40466 echo "$me: cannot create a temporary directory in ." >&2
40467 { (exit 1); exit 1; }
40472 cat >>$CONFIG_STATUS <<_ACEOF
40475 # CONFIG_FILES section.
40478 # No need to generate the scripts if there are no CONFIG_FILES.
40479 # This happens for instance when ./config.status config.h
40480 if test -n "\$CONFIG_FILES"; then
40481 # Protect against being on the right side of a sed subst in config.status.
40482 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40483 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40484 s,@SHELL@,$SHELL,;t t
40485 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40486 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40487 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40488 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40489 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40490 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40491 s,@exec_prefix@,$exec_prefix,;t t
40492 s,@prefix@,$prefix,;t t
40493 s,@program_transform_name@,$program_transform_name,;t t
40494 s,@bindir@,$bindir,;t t
40495 s,@sbindir@,$sbindir,;t t
40496 s,@libexecdir@,$libexecdir,;t t
40497 s,@datadir@,$datadir,;t t
40498 s,@sysconfdir@,$sysconfdir,;t t
40499 s,@sharedstatedir@,$sharedstatedir,;t t
40500 s,@localstatedir@,$localstatedir,;t t
40501 s,@libdir@,$libdir,;t t
40502 s,@includedir@,$includedir,;t t
40503 s,@oldincludedir@,$oldincludedir,;t t
40504 s,@infodir@,$infodir,;t t
40505 s,@mandir@,$mandir,;t t
40506 s,@build_alias@,$build_alias,;t t
40507 s,@host_alias@,$host_alias,;t t
40508 s,@target_alias@,$target_alias,;t t
40509 s,@DEFS@,$DEFS,;t t
40510 s,@ECHO_C@,$ECHO_C,;t t
40511 s,@ECHO_N@,$ECHO_N,;t t
40512 s,@ECHO_T@,$ECHO_T,;t t
40513 s,@LIBS@,$LIBS,;t t
40514 s,@build@,$build,;t t
40515 s,@build_cpu@,$build_cpu,;t t
40516 s,@build_vendor@,$build_vendor,;t t
40517 s,@build_os@,$build_os,;t t
40518 s,@host@,$host,;t t
40519 s,@host_cpu@,$host_cpu,;t t
40520 s,@host_vendor@,$host_vendor,;t t
40521 s,@host_os@,$host_os,;t t
40522 s,@target@,$target,;t t
40523 s,@target_cpu@,$target_cpu,;t t
40524 s,@target_vendor@,$target_vendor,;t t
40525 s,@target_os@,$target_os,;t t
40527 s,@CFLAGS@,$CFLAGS,;t t
40528 s,@LDFLAGS@,$LDFLAGS,;t t
40529 s,@CPPFLAGS@,$CPPFLAGS,;t t
40530 s,@ac_ct_CC@,$ac_ct_CC,;t t
40531 s,@EXEEXT@,$EXEEXT,;t t
40532 s,@OBJEXT@,$OBJEXT,;t t
40534 s,@EGREP@,$EGREP,;t t
40536 s,@CXXFLAGS@,$CXXFLAGS,;t t
40537 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40538 s,@RANLIB@,$RANLIB,;t t
40539 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40541 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40542 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40543 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40544 s,@STRIP@,$STRIP,;t t
40545 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
40546 s,@LN_S@,$LN_S,;t t
40547 s,@CXXCPP@,$CXXCPP,;t t
40548 s,@subdirs@,$subdirs,;t t
40549 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
40550 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
40551 s,@GTK_LIBS@,$GTK_LIBS,;t t
40552 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
40553 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
40554 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
40555 s,@X_CFLAGS@,$X_CFLAGS,;t t
40556 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
40557 s,@X_LIBS@,$X_LIBS,;t t
40558 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
40559 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
40560 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
40561 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
40562 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
40563 s,@RESCOMP@,$RESCOMP,;t t
40564 s,@DEREZ@,$DEREZ,;t t
40565 s,@SETFILE@,$SETFILE,;t t
40566 s,@LIBICONV@,$LIBICONV,;t t
40567 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
40568 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
40569 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
40570 s,@SDL_LIBS@,$SDL_LIBS,;t t
40571 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
40572 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
40573 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
40574 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
40575 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
40576 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
40577 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
40578 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
40579 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
40580 s,@VENDOR@,$VENDOR,;t t
40581 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
40582 s,@WXUNIV@,$WXUNIV,;t t
40583 s,@MONOLITHIC@,$MONOLITHIC,;t t
40584 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40585 s,@EXTRALIBS@,$EXTRALIBS,;t t
40586 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40587 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40588 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40589 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40590 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40591 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40592 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40593 s,@UNICODE@,$UNICODE,;t t
40594 s,@BUILD@,$BUILD,;t t
40595 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40596 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40597 s,@SHARED@,$SHARED,;t t
40598 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40599 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40600 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40601 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40602 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40603 s,@SET_MAKE@,$SET_MAKE,;t t
40604 s,@MAKE_SET@,$MAKE_SET,;t t
40605 s,@ac_ct_AR@,$ac_ct_AR,;t t
40606 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40608 s,@ac_ct_NM@,$ac_ct_NM,;t t
40609 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40610 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40611 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40612 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40613 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40614 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40615 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40616 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40617 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40618 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40619 s,@LIBPREFIX@,$LIBPREFIX,;t t
40620 s,@DLLPREFIX@,$DLLPREFIX,;t t
40621 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40622 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40623 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40624 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40625 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40626 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40627 s,@PIC_FLAG@,$PIC_FLAG,;t t
40628 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40629 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40630 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40631 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40632 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40633 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40634 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40635 s,@GCC_PCH@,$GCC_PCH,;t t
40636 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40637 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40638 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40639 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40640 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40641 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40642 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40643 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40644 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40645 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40646 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40647 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40648 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40649 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40650 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40651 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40652 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40653 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40654 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
40655 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40656 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40657 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40658 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40659 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
40660 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40661 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40662 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40663 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40664 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40665 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40666 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40667 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40668 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40669 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40670 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40671 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40672 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40673 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40674 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40675 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40676 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40677 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40678 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40679 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40680 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40681 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40682 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40683 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40684 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40685 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40686 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40687 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40688 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40689 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40690 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40691 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40692 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40693 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40694 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40695 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40696 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40697 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40698 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40699 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40700 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40701 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40702 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40703 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40704 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40705 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40706 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40707 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40708 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40709 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40710 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40711 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40712 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40713 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40714 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40715 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40716 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40717 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40718 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40719 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40720 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40721 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40722 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40723 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40724 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40725 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40726 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40727 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40728 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40729 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40730 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40731 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40732 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40733 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40734 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40735 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40736 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40737 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40738 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40739 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40740 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40741 s,@PATH_IFS@,$PATH_IFS,;t t
40742 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40743 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40744 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40745 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40746 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40747 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40748 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40749 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40750 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40751 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40752 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40753 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40754 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40755 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40756 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40757 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40758 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40759 s,@WX_ALL@,$WX_ALL,;t t
40760 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40761 s,@SHARED_LD@,$SHARED_LD,;t t
40762 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40763 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40764 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40765 s,@USE_GUI@,$USE_GUI,;t t
40766 s,@AFMINSTALL@,$AFMINSTALL,;t t
40767 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40768 s,@TOOLKIT@,$TOOLKIT,;t t
40769 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40770 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40771 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40772 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40773 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40774 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40775 s,@cross_compiling@,$cross_compiling,;t t
40776 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40777 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40778 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40779 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40780 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40781 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40782 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40783 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40784 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40785 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40786 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40787 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40788 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40789 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40790 s,@GUIDIST@,$GUIDIST,;t t
40791 s,@PORT_FILES@,$PORT_FILES,;t t
40792 s,@DISTDIR@,$DISTDIR,;t t
40793 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40794 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40795 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40796 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40797 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40798 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40799 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40800 s,@RESFLAGS@,$RESFLAGS,;t t
40801 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40802 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40803 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40804 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40805 s,@MACRESCOMP@,$MACRESCOMP,;t t
40806 s,@MACSETFILE@,$MACSETFILE,;t t
40807 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40809 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40810 s,@DLLTOOL@,$DLLTOOL,;t t
40813 s,@MAKEINFO@,$MAKEINFO,;t t
40814 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40815 s,@LIBOBJS@,$LIBOBJS,;t t
40816 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40821 cat >>$CONFIG_STATUS <<\_ACEOF
40822 # Split the substitutions into bite-sized pieces for seds with
40823 # small command number limits, like on Digital OSF/1 and HP-UX.
40824 ac_max_sed_lines
=48
40825 ac_sed_frag
=1 # Number of current file.
40826 ac_beg
=1 # First line for current file.
40827 ac_end
=$ac_max_sed_lines # Line after last line for current file.
40830 while $ac_more_lines; do
40831 if test $ac_beg -gt 1; then
40832 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40834 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40836 if test ! -s $tmp/subs.frag
; then
40837 ac_more_lines
=false
40839 # The purpose of the label and of the branching condition is to
40840 # speed up the sed processing (if there are no `@' at all, there
40841 # is no need to browse any of the substitutions).
40842 # These are the two extra sed commands mentioned above.
40844 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
40845 if test -z "$ac_sed_cmds"; then
40846 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
40848 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40850 ac_sed_frag
=`expr $ac_sed_frag + 1`
40852 ac_end
=`expr $ac_end + $ac_max_sed_lines`
40855 if test -z "$ac_sed_cmds"; then
40858 fi # test -n "$CONFIG_FILES"
40861 cat >>$CONFIG_STATUS <<\_ACEOF
40862 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
40863 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40865 - | *:- | *:-:* ) # input from stdin
40867 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40868 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40869 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40870 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40871 * ) ac_file_in
=$ac_file.
in ;;
40874 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40875 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40876 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40877 X"$ac_file" : 'X\(//\)[^/]' \| \
40878 X"$ac_file" : 'X\(//\)$' \| \
40879 X"$ac_file" : 'X\(/\)' \| \
40880 . : '\(.\)' 2>/dev/null ||
40882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40884 /^X\(\/\/\)$/{ s//\1/; q; }
40885 /^X\(\/\).*/{ s//\1/; q; }
40887 { if $as_mkdir_p; then
40892 while test ! -d "$as_dir"; do
40893 as_dirs
="$as_dir $as_dirs"
40894 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40896 X"$as_dir" : 'X\(//\)[^/]' \| \
40897 X"$as_dir" : 'X\(//\)$' \| \
40898 X"$as_dir" : 'X\(/\)' \| \
40899 . : '\(.\)' 2>/dev/null ||
40901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40902 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40903 /^X\(\/\/\)$/{ s//\1/; q; }
40904 /^X\(\/\).*/{ s//\1/; q; }
40907 test ! -n "$as_dirs" || mkdir $as_dirs
40908 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40909 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40910 { (exit 1); exit 1; }; }; }
40914 if test "$ac_dir" != .
; then
40915 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40916 # A "../" for each directory in $ac_dir_suffix.
40917 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40919 ac_dir_suffix
= ac_top_builddir
=
40923 .
) # No --srcdir option. We are building in place.
40925 if test -z "$ac_top_builddir"; then
40928 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40930 [\\/]* | ?
:[\\/]* ) # Absolute path.
40931 ac_srcdir
=$srcdir$ac_dir_suffix;
40932 ac_top_srcdir
=$srcdir ;;
40933 *) # Relative path.
40934 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40935 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40938 # Do not use `cd foo && pwd` to compute absolute paths, because
40939 # the directories may not exist.
40941 .
) ac_abs_builddir
="$ac_dir";;
40944 .
) ac_abs_builddir
=`pwd`;;
40945 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
40946 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
40949 case $ac_abs_builddir in
40950 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40952 case ${ac_top_builddir}.
in
40953 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
40954 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
40955 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
40958 case $ac_abs_builddir in
40959 .
) ac_abs_srcdir
=$ac_srcdir;;
40962 .
) ac_abs_srcdir
=$ac_abs_builddir;;
40963 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
40964 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
40967 case $ac_abs_builddir in
40968 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
40970 case $ac_top_srcdir in
40971 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
40972 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
40973 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
40979 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
40980 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
40983 if test x
"$ac_file" != x
-; then
40984 { echo "$as_me:$LINENO: creating $ac_file" >&5
40985 echo "$as_me: creating $ac_file" >&6;}
40988 # Let's still pretend it is `configure' which instantiates (i.e., don't
40989 # use $as_me), people would be surprised to read:
40990 # /* config.h. Generated by config.status. */
40991 if test x
"$ac_file" = x
-; then
40994 configure_input
="$ac_file. "
40996 configure_input
=$configure_input"Generated from `echo $ac_file_in |
40997 sed 's,.*/,,'` by configure."
40999 # First look for the input files in the build tree, otherwise in the
41001 ac_file_inputs
=`IFS=:
41002 for f in $ac_file_in; do
41004 -) echo $tmp/stdin ;;
41006 # Absolute (can't be DOS-style, as IFS=:)
41007 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41008 echo "$as_me: error: cannot find input file: $f" >&2;}
41009 { (exit 1); exit 1; }; }
41012 if test -f "$f"; then
41015 elif test -f "$srcdir/$f"; then
41020 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41021 echo "$as_me: error: cannot find input file: $f" >&2;}
41022 { (exit 1); exit 1; }; }
41025 done` || { (exit 1); exit 1; }
41027 cat >>$CONFIG_STATUS <<_ACEOF
41031 cat >>$CONFIG_STATUS <<\_ACEOF
41033 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
41034 s
,@configure_input@
,$configure_input,;t t
41035 s
,@srcdir@
,$ac_srcdir,;t t
41036 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41037 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41038 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41039 s
,@builddir@
,$ac_builddir,;t t
41040 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41041 s
,@top_builddir@
,$ac_top_builddir,;t t
41042 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41043 s
,@INSTALL@
,$ac_INSTALL,;t t
41044 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41046 if test x"$ac_file" != x-; then
41047 mv $tmp/out $ac_file
41055 cat >>$CONFIG_STATUS <<\_ACEOF
41058 # CONFIG_HEADER section.
41061 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
41062 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41064 # ac_d sets the value in "#define NAME VALUE" lines.
41065 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41066 ac_dB
='[ ].*$,\1#\2'
41069 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41070 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41071 ac_uB
='$,\1#\2define\3'
41075 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41076 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41078 - | *:- | *:-:* ) # input from stdin
41080 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41081 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41082 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41083 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41084 * ) ac_file_in
=$ac_file.
in ;;
41087 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41088 echo "$as_me: creating $ac_file" >&6;}
41090 # First look for the input files in the build tree, otherwise in the
41092 ac_file_inputs
=`IFS=:
41093 for f in $ac_file_in; do
41095 -) echo $tmp/stdin ;;
41097 # Absolute (can't be DOS-style, as IFS=:)
41098 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41099 echo "$as_me: error: cannot find input file: $f" >&2;}
41100 { (exit 1); exit 1; }; }
41101 # Do quote $f, to prevent DOS paths from being IFS'd.
41104 if test -f "$f"; then
41107 elif test -f "$srcdir/$f"; then
41112 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41113 echo "$as_me: error: cannot find input file: $f" >&2;}
41114 { (exit 1); exit 1; }; }
41117 done` || { (exit 1); exit 1; }
41118 # Remove the trailing spaces.
41119 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41123 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41124 # `conftest.undefs', that substitutes the proper values into
41125 # config.h.in to produce config.h. The first handles `#define'
41126 # templates, and the second `#undef' templates.
41127 # And first: Protect against being on the right side of a sed subst in
41128 # config.status. Protect against being in an unquoted here document
41129 # in config.status.
41130 rm -f conftest.defines conftest.undefs
41131 # Using a here document instead of a string reduces the quoting nightmare.
41132 # Putting comments in sed scripts is not portable.
41134 # `end' is used to avoid that the second main sed command (meant for
41135 # 0-ary CPP macros) applies to n-ary macro definitions.
41136 # See the Autoconf documentation for `clear'.
41137 cat >confdef2sed.
sed <<\_ACEOF
41142 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41144 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41147 # If some macros were called several times there might be several times
41148 # the same #defines, which is useless. Nevertheless, we may not want to
41149 # sort them, since we want the *last* AC-DEFINE to be honored.
41150 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41151 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41152 rm -f confdef2sed.sed
41154 # This sed command replaces #undef with comments. This is necessary, for
41155 # example, in the case of _POSIX_SOURCE, which is predefined and required
41156 # on some systems where configure will not decide to define it.
41157 cat >>conftest.undefs <<\_ACEOF
41158 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41161 # Break up conftest.defines because some shells have a limit on the size
41162 # of here documents, and old seds have small limits too (100 cmds).
41163 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41164 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41165 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41166 echo ' :' >>$CONFIG_STATUS
41167 rm -f conftest.tail
41168 while grep . conftest.defines >/dev/null
41170 # Write a limited-size here document to $tmp/defines.sed.
41171 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41172 # Speed up: don't consider the non `#define' lines.
41173 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41174 # Work around the forget-to-reset-the-flag bug.
41175 echo 't clr' >>$CONFIG_STATUS
41176 echo ': clr' >>$CONFIG_STATUS
41177 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41179 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41181 mv $tmp/out $tmp/in
41183 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41184 rm -f conftest.defines
41185 mv conftest.
tail conftest.defines
41187 rm -f conftest.defines
41188 echo ' fi # grep' >>$CONFIG_STATUS
41189 echo >>$CONFIG_STATUS
41191 # Break up conftest.undefs because some shells have a limit on the size
41192 # of here documents, and old seds have small limits too (100 cmds).
41193 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41194 rm -f conftest.
tail
41195 while grep . conftest.undefs
>/dev
/null
41197 # Write a limited-size here document to $tmp/undefs.sed.
41198 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41199 # Speed up: don't consider the non
`#undef'
41200 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41201 # Work around the forget-to-reset-the-flag bug.
41202 echo 't clr' >>$CONFIG_STATUS
41203 echo ': clr' >>$CONFIG_STATUS
41204 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41206 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41208 mv $tmp/out $tmp/in
41210 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41211 rm -f conftest.undefs
41212 mv conftest.tail conftest.undefs
41214 rm -f conftest.undefs
41216 cat >>$CONFIG_STATUS <<\_ACEOF
41217 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41218 # use $as_me), people would be surprised to read:
41219 # /* config.h. Generated by config.status. */
41220 if test x
"$ac_file" = x
-; then
41221 echo "/* Generated by configure. */" >$tmp/config.h
41223 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41225 cat $tmp/in >>$tmp/config.h
41227 if test x
"$ac_file" != x
-; then
41228 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41229 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41230 echo "$as_me: $ac_file is unchanged" >&6;}
41232 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41233 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41234 X"$ac_file" : 'X\(//\)[^/]' \| \
41235 X"$ac_file" : 'X\(//\)$' \| \
41236 X"$ac_file" : 'X\(/\)' \| \
41237 . : '\(.\)' 2>/dev/null ||
41239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41240 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41241 /^X\(\/\/\)$/{ s//\1/; q; }
41242 /^X\(\/\).*/{ s//\1/; q; }
41244 { if $as_mkdir_p; then
41249 while test ! -d "$as_dir"; do
41250 as_dirs
="$as_dir $as_dirs"
41251 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41253 X"$as_dir" : 'X\(//\)[^/]' \| \
41254 X"$as_dir" : 'X\(//\)$' \| \
41255 X"$as_dir" : 'X\(/\)' \| \
41256 . : '\(.\)' 2>/dev/null ||
41258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41260 /^X\(\/\/\)$/{ s//\1/; q; }
41261 /^X\(\/\).*/{ s//\1/; q; }
41264 test ! -n "$as_dirs" || mkdir $as_dirs
41265 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41266 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41267 { (exit 1); exit 1; }; }; }
41270 mv $tmp/config.h
$ac_file
41274 rm -f $tmp/config.h
41278 cat >>$CONFIG_STATUS <<\_ACEOF
41281 # CONFIG_COMMANDS section.
41283 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41284 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41285 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41286 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41287 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41288 X"$ac_dest" : 'X\(//\)[^/]' \| \
41289 X"$ac_dest" : 'X\(//\)$' \| \
41290 X"$ac_dest" : 'X\(/\)' \| \
41291 . : '\(.\)' 2>/dev/null ||
41293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41295 /^X\(\/\/\)$/{ s//\1/; q; }
41296 /^X\(\/\).*/{ s//\1/; q; }
41298 { if $as_mkdir_p; then
41303 while test ! -d "$as_dir"; do
41304 as_dirs
="$as_dir $as_dirs"
41305 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41307 X"$as_dir" : 'X\(//\)[^/]' \| \
41308 X"$as_dir" : 'X\(//\)$' \| \
41309 X"$as_dir" : 'X\(/\)' \| \
41310 . : '\(.\)' 2>/dev/null ||
41312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41313 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41314 /^X\(\/\/\)$/{ s//\1/; q; }
41315 /^X\(\/\).*/{ s//\1/; q; }
41318 test ! -n "$as_dirs" || mkdir $as_dirs
41319 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41320 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41321 { (exit 1); exit 1; }; }; }
41325 if test "$ac_dir" != .
; then
41326 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41327 # A "../" for each directory in $ac_dir_suffix.
41328 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41330 ac_dir_suffix
= ac_top_builddir
=
41334 .
) # No --srcdir option. We are building in place.
41336 if test -z "$ac_top_builddir"; then
41339 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41341 [\\/]* | ?
:[\\/]* ) # Absolute path.
41342 ac_srcdir
=$srcdir$ac_dir_suffix;
41343 ac_top_srcdir
=$srcdir ;;
41344 *) # Relative path.
41345 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41346 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41349 # Do not use `cd foo && pwd` to compute absolute paths, because
41350 # the directories may not exist.
41352 .
) ac_abs_builddir
="$ac_dir";;
41355 .
) ac_abs_builddir
=`pwd`;;
41356 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41357 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41360 case $ac_abs_builddir in
41361 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41363 case ${ac_top_builddir}.
in
41364 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41365 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41366 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41369 case $ac_abs_builddir in
41370 .
) ac_abs_srcdir
=$ac_srcdir;;
41373 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41374 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41375 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41378 case $ac_abs_builddir in
41379 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41381 case $ac_top_srcdir in
41382 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41383 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41384 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41389 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
41390 echo "$as_me: executing $ac_dest commands" >&6;}
41393 if test ! -h wx
-config; then
41395 mv wx
-config wx
${TOOLCHAIN_NAME}-config
41396 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
41399 if test ! -d lib
; then
41402 if test ! -d lib
/wx
; then
41405 if test ! -d lib
/wx
/include
; then
41406 mkdir lib
/wx
/include
41408 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
41409 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
41411 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
41412 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
41414 if test -f setup.h
; then
41415 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
41422 cat >>$CONFIG_STATUS <<\_ACEOF
41424 { (exit 0); exit 0; }
41426 chmod +x
$CONFIG_STATUS
41427 ac_clean_files
=$ac_clean_files_save
41430 # configure is writing to config.log, and then calls config.status.
41431 # config.status does its own redirection, appending to config.log.
41432 # Unfortunately, on DOS this fails, as config.log is still kept open
41433 # by configure, so config.status won't be able to write to it; its
41434 # output is simply discarded. So we exec the FD to /dev/null,
41435 # effectively closing config.log, so it can be properly (re)opened and
41436 # appended to by config.status. When coming back to configure, we
41437 # need to make the FD available again.
41438 if test "$no_create" != yes; then
41440 ac_config_status_args
=
41441 test "$silent" = yes &&
41442 ac_config_status_args
="$ac_config_status_args --quiet"
41444 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
41446 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
41447 # would make configure fail if this is the last instruction.
41448 $ac_cs_success || { (exit 1); exit 1; }
41452 # CONFIG_SUBDIRS section.
41454 if test "$no_recursion" != yes; then
41456 # Remove --cache-file and --srcdir arguments so they do not pile up.
41457 ac_sub_configure_args
=
41459 for ac_arg
in $ac_configure_args; do
41460 if test -n "$ac_prev"; then
41465 -cache-file | --cache-file | --cache-fil | --cache-fi \
41466 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
41467 ac_prev
=cache_file
;;
41468 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
41469 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
41472 --config-cache | -C)
41474 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
41476 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
41478 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
41480 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
41482 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
41486 # Always prepend --prefix to ensure using the same prefix
41487 # in subdir configurations.
41488 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
41491 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
41493 # Do not complain, so a configure script can configure whichever
41494 # parts of a large source tree are present.
41495 test -d $srcdir/$ac_dir || continue
41497 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
41498 echo "$as_me: configuring in $ac_dir" >&6;}
41499 { if $as_mkdir_p; then
41504 while test ! -d "$as_dir"; do
41505 as_dirs
="$as_dir $as_dirs"
41506 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41507 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41508 X"$as_dir" : 'X\(//\)[^/]' \| \
41509 X"$as_dir" : 'X\(//\)$' \| \
41510 X"$as_dir" : 'X\(/\)' \| \
41511 . : '\(.\)' 2>/dev/null ||
41513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41515 /^X\(\/\/\)$/{ s//\1/; q; }
41516 /^X\(\/\).*/{ s//\1/; q; }
41519 test ! -n "$as_dirs" || mkdir $as_dirs
41520 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41521 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41522 { (exit 1); exit 1; }; }; }
41526 if test "$ac_dir" != .
; then
41527 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41528 # A "../" for each directory in $ac_dir_suffix.
41529 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41531 ac_dir_suffix
= ac_top_builddir
=
41535 .
) # No --srcdir option. We are building in place.
41537 if test -z "$ac_top_builddir"; then
41540 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41542 [\\/]* | ?
:[\\/]* ) # Absolute path.
41543 ac_srcdir
=$srcdir$ac_dir_suffix;
41544 ac_top_srcdir
=$srcdir ;;
41545 *) # Relative path.
41546 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41547 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41550 # Do not use `cd foo && pwd` to compute absolute paths, because
41551 # the directories may not exist.
41553 .
) ac_abs_builddir
="$ac_dir";;
41556 .
) ac_abs_builddir
=`pwd`;;
41557 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41558 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41561 case $ac_abs_builddir in
41562 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41564 case ${ac_top_builddir}.
in
41565 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41566 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41567 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41570 case $ac_abs_builddir in
41571 .
) ac_abs_srcdir
=$ac_srcdir;;
41574 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41575 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41576 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41579 case $ac_abs_builddir in
41580 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41582 case $ac_top_srcdir in
41583 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41584 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41585 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41592 # Check for guested configure; otherwise get Cygnus style configure.
41593 if test -f $ac_srcdir/configure.gnu
; then
41594 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
41595 elif test -f $ac_srcdir/configure
; then
41596 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
41597 elif test -f $ac_srcdir/configure.
in; then
41598 ac_sub_configure
=$ac_configure
41600 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
41601 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
41605 # The recursion is here.
41606 if test -n "$ac_sub_configure"; then
41607 # Make the cache file name correct relative to the subdirectory.
41608 case $cache_file in
41609 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
41610 *) # Relative path.
41611 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
41614 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
41615 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
41616 # The eval makes quoting arguments work.
41617 eval $ac_sub_configure $ac_sub_configure_args \
41618 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
41619 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
41620 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
41621 { (exit 1); exit 1; }; }
41630 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
41632 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
41633 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
41635 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
41636 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
41637 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
41639 echo " What level of wxWindows compatibility should be enabled?"
41640 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
41641 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
41643 echo " Which libraries should wxWindows use?"
41644 echo " jpeg ${wxUSE_LIBJPEG-none}"
41645 echo " png ${wxUSE_LIBPNG-none}"
41646 echo " regex ${wxUSE_REGEX}"
41647 echo " tiff ${wxUSE_LIBTIFF-none}"
41648 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
41649 echo " xpm ${wxUSE_LIBXPM-none}"
41651 echo " zlib ${wxUSE_ZLIB}"
41652 echo " odbc ${wxUSE_ODBC}"
41653 echo " expat ${wxUSE_EXPAT}"
41654 echo " libmspack ${wxUSE_LIBMSPACK}"
41655 echo " sdl ${wxUSE_LIBSDL}"