2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.1'
273 PACKAGE_STRING
='wxWindows 2.5.1'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 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 DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --enable-monolithic build wxWindows as single library
871 --enable-plugins build parts of wxWindows as loadable components
872 --enable-universal use wxWindows GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK
+ 2.0 if available
(EXPERIMENTAL
)
875 --enable-shared create shared library code
876 --enable-optimise create optimised code
877 --enable-debug same as debug_flag and debug_info
878 --enable-stl use STL
for containers
879 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
880 --enable-debug_info create code with debugging information
881 --enable-debug_gdb create code with extra GDB debugging information
882 --enable-debug_cntxt use wxDebugContext
883 --enable-mem_tracing create code with memory tracing
884 --enable-profile create code with profiling information
885 --enable-no_rtti create code without RTTI information
886 --enable-no_exceptions create code without C
++ exceptions handling
887 --enable-permissive compile code disregarding strict ANSI
888 --enable-no_deps create code without dependency information
889 --enable-compat22 enable wxWindows
2.2 compatibility
890 --disable-compat24 disable wxWindows
2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx
-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig
(and derived
) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP
(requires wxProtocol
896 --enable-http use wxHTTP
(requires wxProtocol
897 --enable-fileproto use wxFileProto class
(requires wxProtocol
898 --enable-sockets use socket
/network classes
899 --enable-ole use OLE classes
(Win32 only
)
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication
(wxSocket etc.
)
902 --enable-apple_ieee use the Apple IEEE codec
903 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
904 --enable-cmdline use wxCmdLineParser class
905 --enable-datetime use wxDateTime class
906 --enable-dialupman use dialup network classes
907 --enable-dynlib use wxLibrary class
for DLL loading
908 --enable-dynamicloader use
(new
) wxDynamicLibrary class
909 --enable-exceptions build exception
-safe library
910 --enable-ffile use wxFFile class
911 --enable-file use wxFile class
912 --enable-filesystem use virtual
file systems classes
913 --enable-fontmap use font encodings conversion classes
914 --enable-fs_inet use virtual HTTP
/FTP filesystems
915 --enable-fs_zip use virtual ZIP filesystems
916 --enable-geometry use geometry class
917 --enable-log use logging system
918 --enable-longlong use wxLongLong class
919 --enable-mimetype use wxMimeTypesManager
920 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
921 --enable-snglinst use wxSingleInstanceChecker class
922 --enable-streams use wxStream etc classes
923 --enable-std_iostreams use standard C
++ stream classes
924 --enable-stopwatch use wxStopWatch class
925 --enable-sysoptions use wxSystemOptions
926 --enable-textbuf use wxTextBuffer class
927 --enable-textfile use wxTextFile class
928 --enable-timer use wxTimer class
929 --enable-unicode compile wxString with Unicode support
930 --enable-sound use wxSound class
931 --enable-wxprintfv use wxWindows implementation of vprintf
()
932 --enable-zipstream use wxZipInputStream
933 --enable-gzstream use wxGzipInputStream
934 --enable-url use wxURL class
935 --enable-protocol use wxProtocol class
936 --enable-protocol-http HTTP support
in wxProtocol
937 --enable-protocol-ftp FTP support
in wxProtocol
938 --enable-protocol-file FILE support
in wxProtocol
939 --enable-threads use threads
940 --enable-docview use document view architecture
941 --enable-help use
help subsystem
942 --enable-mshtmlhelp use MS HTML Help
(win32
)
943 --enable-html use wxHTML sub
-library
944 --enable-htmlhelp use wxHTML
-based help
945 --enable-constraints use layout
-constraints system
946 --enable-printarch use printing architecture
947 --enable-mdi use multiple document interface architecture
948 --enable-loggui use standard GUI logger
949 --enable-logwin use wxLogWindow
950 --enable-logdialog use wxLogDialog
951 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
952 --enable-prologio not available
; see contrib
953 --enable-resources not available
; see contrib
954 --enable-clipboard use wxClipboard class
955 --enable-dnd use Drag
'n'Drop classes
956 --enable-metafile use win32 metafiles
957 --enable-controls use all usual controls
958 --enable-accel use accelerators
959 --enable-button use wxButton class
960 --enable-bmpbutton use wxBitmapButton class
961 --enable-calendar use wxCalendarCtrl class
962 --enable-caret use wxCaret class
963 --enable-checkbox use wxCheckBox class
964 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
965 --enable-choice use wxChoice class
966 --enable-combobox use wxComboBox class
967 --enable-display use wxDisplay class
968 --enable-gauge use wxGauge class
969 --enable-grid use wxGrid class
970 --enable-imaglist use wxImageList class
971 --enable-listbook use wxListbook class
972 --enable-listbox use wxListBox class
973 --enable-listctrl use wxListCtrl class
974 --enable-notebook use wxNotebook class
975 --enable-radiobox use wxRadioBox class
976 --enable-radiobtn use wxRadioButton class
977 --enable-sash use wxSashWindow class
978 --enable-scrollbar use wxScrollBar class and scrollable windows
979 --enable-slider use wxSlider class
980 --enable-spinbtn use wxSpinButton class
981 --enable-spinctrl use wxSpinCtrl class
982 --enable-splitter use wxSplitterWindow class
983 --enable-statbmp use wxStaticBitmap class
984 --enable-statbox use wxStaticBox class
985 --enable-statline use wxStaticLine class
986 --enable-stattext use wxStaticText class
987 --enable-statusbar use wxStatusBar class
988 --enable-tabdialog use wxTabControl class
989 --enable-textctrl use wxTextCtrl class
990 --enable-togglebtn use wxToggleButton class
991 --enable-toolbar use wxToolBar class
992 --enable-tbarnative use native wxToolBar class
993 --enable-tbarsmpl use wxToolBarSimple class
994 --enable-treectrl use wxTreeCtrl class
995 --enable-tipwindow use wxTipWindow class
996 --enable-popupwin use wxPopUpWindow class
997 --enable-commondlg use all common dialogs
998 --enable-choicedlg use wxChoiceDialog
999 --enable-coldlg use wxColourDialog
1000 --enable-filedlg use wxFileDialog
1001 --enable-finddlg use wxFindReplaceDialog
1002 --enable-fontdlg use wxFontDialog
1003 --enable-dirdlg use wxDirDialog
1004 --enable-msgdlg use wxMessageDialog
1005 --enable-numberdlg use wxNumberEntryDialog
1006 --enable-splash use wxSplashScreen
1007 --enable-textdlg use wxTextDialog
1008 --enable-tipdlg use startup tips
1009 --enable-progressdlg use wxProgressDialog
1010 --enable-wizarddlg use wxWizard
1011 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1012 --enable-miniframe use wxMiniFrame class
1013 --enable-tooltips use wxToolTip class
1014 --enable-splines use spline drawing code
1015 --enable-validators use wxValidator and derived classes
1016 --enable-busyinfo use wxBusyInfo
1017 --enable-joystick use wxJoystick
(Linux only
)
1018 --enable-metafiles use wxMetaFile
(Windows only
)
1019 --enable-dragimage use wxDragImage
1020 --enable-accessibility enable accessibility support
1021 --enable-palette use wxPalette class
1022 --enable-image use wxImage class
1023 --enable-gif use gif images
(GIF
file format
)
1024 --enable-pcx use pcx images
(PCX
file format
)
1025 --enable-iff use iff images
(IFF
file format
)
1026 --enable-pnm use pnm images
(PNM
file format
)
1027 --enable-xpm use xpm images
(XPM
file format
)
1028 --enable-icocur use Windows ICO and CUR formats
1029 --enable-official_build official build of wxWindows
(win32 DLL only
)
1030 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1031 --disable-largefile omit support
for large files
1032 --disable-gtktest do not try to compile and run a
test GTK
+ program
1033 --disable-gtktest Do not try to compile and run a
test GTK program
1034 --disable-sdltest Do not try to compile and run a
test SDL program
1035 --disable-precomp-headers don
't use precompiled headers even if compiler can
1038 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1039 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1041 --with-motif use Motif/Lesstif
1042 --with-mac use Mac OS X
1043 --with-cocoa use Cocoa
1044 --with-wine use Wine
1045 --with-msw use MS-Windows
1046 --with-pm use OS/2 Presentation Manager
1047 --with-mgl use SciTech MGL
1048 --with-microwin use MicroWindows
1050 --with-libpng use libpng (PNG image format)
1051 --with-libjpeg use libjpeg (JPEG file format)
1052 --with-libtiff use libtiff (TIFF file format)
1053 --with-libxpm use libxpm (XPM file format)
1054 --with-libmspack use libmspack (CHM help files loading)
1055 --with-sdl use SDL for audio on Unix
1056 --with-opengl use OpenGL (or Mesa)
1057 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1058 --with-regex enable support for wxRegEx class
1059 --with-zlib use zlib for LZW compression
1060 --with-odbc use the IODBC and wxODBC classes
1061 --with-expat enable XML support using expat parser
1062 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1063 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1064 --with-x use the X Window System
1065 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1066 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1067 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1069 Some influential environment variables:
1070 CC C compiler command
1071 CFLAGS C compiler flags
1072 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1073 nonstandard directory <lib dir>
1074 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1075 headers in a nonstandard directory <include dir>
1077 CXX C++ compiler command
1078 CXXFLAGS C++ compiler flags
1079 CXXCPP C++ preprocessor
1081 Use these variables to override the choices made by `configure' or to
help
1082 it to
find libraries and programs with nonstandard names
/locations.
1084 Report bugs to
<wx
-dev@lists.wxwindows.org
>.
1088 if test "$ac_init_help" = "recursive"; then
1089 # If there are subdirs, report their specific --help.
1091 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1092 test -d $ac_dir || continue
1095 if test "$ac_dir" != .
; then
1096 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1097 # A "../" for each directory in $ac_dir_suffix.
1098 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1100 ac_dir_suffix
= ac_top_builddir
=
1104 .
) # No --srcdir option. We are building in place.
1106 if test -z "$ac_top_builddir"; then
1109 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1111 [\\/]* | ?
:[\\/]* ) # Absolute path.
1112 ac_srcdir
=$srcdir$ac_dir_suffix;
1113 ac_top_srcdir
=$srcdir ;;
1115 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1116 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1118 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1120 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
1121 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1122 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1123 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1126 # Check for guested configure; otherwise get Cygnus style configure.
1127 if test -f $ac_srcdir/configure.gnu
; then
1129 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1130 elif test -f $ac_srcdir/configure
; then
1132 $SHELL $ac_srcdir/configure
--help=recursive
1133 elif test -f $ac_srcdir/configure.ac
||
1134 test -f $ac_srcdir/configure.
in; then
1136 $ac_configure --help
1138 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1144 test -n "$ac_init_help" && exit 0
1145 if $ac_init_version; then
1147 wxWindows configure
2.5.1
1148 generated by GNU Autoconf
2.57
1150 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1151 Free Software Foundation
, Inc.
1152 This configure
script is free software
; the Free Software Foundation
1153 gives unlimited permission to copy
, distribute and modify it.
1159 This file contains any messages produced by compilers while
1160 running configure, to aid debugging if configure makes a mistake.
1162 It was created by wxWindows $as_me 2.5.1, which was
1163 generated by GNU Autoconf 2.57. Invocation command line was
1174 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1175 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1176 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1177 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1178 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1180 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1181 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1183 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1184 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1185 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1186 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1187 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1188 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1189 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1197 test -z "$as_dir" && as_dir
=.
1198 echo "PATH: $as_dir"
1213 # Keep a trace of the command line.
1214 # Strip out --no-create and --no-recursion so they do not pile up.
1215 # Strip out --silent because we don't want to record it for future runs.
1216 # Also quote any args containing shell meta-characters.
1217 # Make two passes to allow for proper duplicate-argument suppression.
1222 ac_must_keep_next
=false
1228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230 | -silent | --silent | --silen | --sile | --sil)
1232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1236 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1238 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1239 if test $ac_must_keep_next = true
; then
1240 ac_must_keep_next
=false
# Got value, back to normal.
1243 *=* | --config-cache | -C | -disable-* | --disable-* \
1244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1246 | -with-* | --with-* | -without-* | --without-* | --x)
1247 case "$ac_configure_args0 " in
1248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1251 -* ) ac_must_keep_next
=true
;;
1254 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1255 # Get rid of the leading space.
1261 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1262 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1264 # When interrupted or exit'd, cleanup temporary files, and complete
1265 # config.log. We remove comments because anyway the quotes in there
1266 # would cause problems or look ugly.
1267 # WARNING: Be sure not to use single quotes in there, as some shells,
1268 # such as our DU 5.0 friend, will then `close' the trap.
1269 trap 'exit_status=$?
1270 # Save into config.log some information that might help in debugging.
1275 ## ---------------- ##
1276 ## Cache variables. ##
1277 ## ---------------- ##
1280 # The following way of writing the cache mishandles newlines in values,
1283 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1286 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1291 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1298 ## ----------------- ##
1299 ## Output variables. ##
1300 ## ----------------- ##
1303 for ac_var in $ac_subst_vars
1305 eval ac_val=$`echo $ac_var`
1306 echo "$ac_var='"'"'$ac_val'"'"'"
1310 if test -n "$ac_subst_files"; then
1317 for ac_var in $ac_subst_files
1319 eval ac_val=$`echo $ac_var`
1320 echo "$ac_var='"'"'$ac_val'"'"'"
1325 if test -s confdefs.h; then
1332 sed "/^$/d" confdefs.h | sort
1335 test "$ac_signal" != 0 &&
1336 echo "$as_me: caught signal $ac_signal"
1337 echo "$as_me: exit $exit_status"
1339 rm -f core core.* *.core &&
1340 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1343 for ac_signal
in 1 2 13 15; do
1344 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1348 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1349 rm -rf conftest
* confdefs.h
1350 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1353 # Predefined preprocessor variables.
1355 cat >>confdefs.h
<<_ACEOF
1356 #define PACKAGE_NAME "$PACKAGE_NAME"
1360 cat >>confdefs.h
<<_ACEOF
1361 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1365 cat >>confdefs.h
<<_ACEOF
1366 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1370 cat >>confdefs.h
<<_ACEOF
1371 #define PACKAGE_STRING "$PACKAGE_STRING"
1375 cat >>confdefs.h
<<_ACEOF
1376 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1380 # Let the site file select an alternate cache file if it wants to.
1381 # Prefer explicitly selected file to automatically selected ones.
1382 if test -z "$CONFIG_SITE"; then
1383 if test "x$prefix" != xNONE
; then
1384 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1386 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1389 for ac_site_file
in $CONFIG_SITE; do
1390 if test -r "$ac_site_file"; then
1391 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1392 echo "$as_me: loading site script $ac_site_file" >&6;}
1393 sed 's/^/| /' "$ac_site_file" >&5
1398 if test -r "$cache_file"; then
1399 # Some versions of bash will fail to source /dev/null (special
1400 # files actually), so we avoid doing that.
1401 if test -f "$cache_file"; then
1402 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1403 echo "$as_me: loading cache $cache_file" >&6;}
1405 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1406 *) . .
/$cache_file;;
1410 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1411 echo "$as_me: creating cache $cache_file" >&6;}
1415 # Check that the precious variables saved in the cache have kept the same
1417 ac_cache_corrupted
=false
1418 for ac_var
in `(set) 2>&1 |
1419 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1420 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1421 eval ac_new_set
=\
$ac_env_${ac_var}_set
1422 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1423 eval ac_new_val
="\$ac_env_${ac_var}_value"
1424 case $ac_old_set,$ac_new_set in
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1428 ac_cache_corrupted
=: ;;
1430 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1431 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1432 ac_cache_corrupted
=: ;;
1435 if test "x$ac_old_val" != "x$ac_new_val"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1439 echo "$as_me: former value: $ac_old_val" >&2;}
1440 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1441 echo "$as_me: current value: $ac_new_val" >&2;}
1442 ac_cache_corrupted
=:
1445 # Pass precious variables to config.status.
1446 if test "$ac_new_set" = set; then
1448 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1449 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 *) ac_arg
=$ac_var=$ac_new_val ;;
1452 case " $ac_configure_args " in
1453 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1454 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1458 if $ac_cache_corrupted; then
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1467 ac_cpp
='$CPP $CPPFLAGS'
1468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1502 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1503 if test -f $ac_dir/install-sh; then
1505 ac_install_sh
="$ac_aux_dir/install-sh -c"
1507 elif test -f $ac_dir/install.sh
; then
1509 ac_install_sh
="$ac_aux_dir/install.sh -c"
1511 elif test -f $ac_dir/shtool
; then
1513 ac_install_sh
="$ac_aux_dir/shtool install -c"
1517 if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1519 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1522 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1523 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1524 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1526 # Make sure we can run config.sub.
1527 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1528 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1529 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1530 { (exit 1); exit 1; }; }
1532 echo "$as_me:$LINENO: checking build system type" >&5
1533 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1534 if test "${ac_cv_build+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 ac_cv_build_alias
=$build_alias
1538 test -z "$ac_cv_build_alias" &&
1539 ac_cv_build_alias
=`$ac_config_guess`
1540 test -z "$ac_cv_build_alias" &&
1541 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1542 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1543 { (exit 1); exit 1; }; }
1544 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1545 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1546 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1547 { (exit 1); exit 1; }; }
1550 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1551 echo "${ECHO_T}$ac_cv_build" >&6
1553 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1554 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1555 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1558 echo "$as_me:$LINENO: checking host system type" >&5
1559 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560 if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 ac_cv_host_alias
=$host_alias
1564 test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias
=$ac_cv_build_alias
1566 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1572 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573 echo "${ECHO_T}$ac_cv_host" >&6
1575 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1580 echo "$as_me:$LINENO: checking target system type" >&5
1581 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582 if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 ac_cv_target_alias
=$target_alias
1586 test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias
=$ac_cv_host_alias
1588 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1594 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595 echo "${ECHO_T}$ac_cv_target" >&6
1596 target
=$ac_cv_target
1597 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602 # The aliases save the names the user supplied, while $host etc.
1603 # will get canonicalized.
1604 test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1607 program_prefix
=${target_alias}-
1611 WX_MAJOR_VERSION_NUMBER
=2
1612 WX_MINOR_VERSION_NUMBER
=5
1615 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1616 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1618 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1634 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1640 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1646 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1648 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1650 DEFAULT_wxUSE_COCOA
=0
1654 DEFAULT_wxUSE_MICROWIN
=0
1655 DEFAULT_wxUSE_MOTIF
=0
1660 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1661 DEFAULT_DEFAULT_wxUSE_GTK
=0
1662 DEFAULT_DEFAULT_wxUSE_MAC
=0
1663 DEFAULT_DEFAULT_wxUSE_MGL
=0
1664 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1665 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1666 DEFAULT_DEFAULT_wxUSE_MSW
=0
1667 DEFAULT_DEFAULT_wxUSE_PM
=0
1668 DEFAULT_DEFAULT_wxUSE_X11
=0
1673 SAMPLES_RPATH_POSTLINK
=
1678 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1679 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1681 cat >>confdefs.h
<<\_ACEOF
1688 cat >>confdefs.h
<<\_ACEOF
1693 if test "x$TMP" = "xalpha"; then
1695 cat >>confdefs.h
<<\_ACEOF
1700 DEFAULT_DEFAULT_wxUSE_GTK
=1
1704 cat >>confdefs.h
<<\_ACEOF
1709 if test "x$TMP" = "xalpha"; then
1711 cat >>confdefs.h
<<\_ACEOF
1716 DEFAULT_DEFAULT_wxUSE_GTK
=1
1718 *-*-irix5* | *-*-irix6* )
1721 cat >>confdefs.h
<<\_ACEOF
1725 cat >>confdefs.h
<<\_ACEOF
1729 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1735 cat >>confdefs.h
<<\_ACEOF
1739 cat >>confdefs.h
<<\_ACEOF
1740 #define __SOLARIS__ 1
1743 cat >>confdefs.h
<<\_ACEOF
1747 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1748 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1754 cat >>confdefs.h
<<\_ACEOF
1758 cat >>confdefs.h
<<\_ACEOF
1762 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1771 cat >>confdefs.h
<<\_ACEOF
1772 #define __FREEBSD__ 1
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_GTK
=1
1784 cat >>confdefs.h
<<\_ACEOF
1785 #define __OPENBSD__ 1
1788 cat >>confdefs.h
<<\_ACEOF
1792 DEFAULT_DEFAULT_wxUSE_GTK
=1
1797 cat >>confdefs.h
<<\_ACEOF
1798 #define __NETBSD__ 1
1801 cat >>confdefs.h
<<\_ACEOF
1805 DEFAULT_DEFAULT_wxUSE_GTK
=1
1810 cat >>confdefs.h
<<\_ACEOF
1814 cat >>confdefs.h
<<\_ACEOF
1818 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1819 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1824 cat >>confdefs.h
<<\_ACEOF
1828 cat >>confdefs.h
<<\_ACEOF
1832 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1837 cat >>confdefs.h
<<\_ACEOF
1841 cat >>confdefs.h
<<\_ACEOF
1845 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1852 cat >>confdefs.h
<<\_ACEOF
1856 cat >>confdefs.h
<<\_ACEOF
1860 cat >>confdefs.h
<<\_ACEOF
1864 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1871 cat >>confdefs.h
<<\_ACEOF
1872 #define __UNIXWARE__ 1
1877 *-*-cygwin* | *-*-mingw32* )
1881 DEFAULT_DEFAULT_wxUSE_MSW
=1
1887 cat >>confdefs.h
<<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_MGL
=1
1893 LIBS
="$LIBS -lstdc++"
1896 *-pc-os2_emx | *-pc-os2-emx )
1897 cat >>confdefs.h
<<\_ACEOF
1902 cat >>confdefs.h
<<\_ACEOF
1907 DEFAULT_DEFAULT_wxUSE_PM
=1
1909 LDFLAGS
="$LDFLAGS -Zcrtdll -Zsysv-signals"
1910 ac_executable_extensions
=".exe"
1911 export ac_executable_extensions
1915 for ac_dir
in $PATH; do
1917 if test -z "$ac_TEMP_PATH"; then
1918 ac_TEMP_PATH
="$ac_dir"
1920 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1923 export PATH
="$ac_TEMP_PATH"
1931 cat >>confdefs.h
<<\_ACEOF
1935 cat >>confdefs.h
<<\_ACEOF
1936 #define __DARWIN__ 1
1939 cat >>confdefs.h
<<\_ACEOF
1940 #define __POWERPC__ 1
1943 cat >>confdefs.h
<<\_ACEOF
1944 #define TARGET_CARBON 1
1947 DEFAULT_DEFAULT_wxUSE_MAC
=1
1952 cat >>confdefs.h
<<\_ACEOF
1959 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1960 echo "$as_me: error: unknown system type ${host}." >&2;}
1961 { (exit 1); exit 1; }; }
1967 wx_arg_cache_file
="configarg.cache"
1968 echo "loading argument cache $wx_arg_cache_file"
1969 rm -f ${wx_arg_cache_file}.tmp
1970 touch ${wx_arg_cache_file}.tmp
1971 touch ${wx_arg_cache_file}
1975 if test $DEBUG_CONFIGURE = 1; then
1976 DEFAULT_wxUSE_UNIVERSAL
=no
1977 DEFAULT_wxUSE_STL
=no
1979 DEFAULT_wxUSE_NANOX
=no
1981 DEFAULT_wxUSE_THREADS
=yes
1983 DEFAULT_wxUSE_SHARED
=yes
1984 DEFAULT_wxUSE_OPTIMISE
=no
1985 DEFAULT_wxUSE_PROFILE
=no
1986 DEFAULT_wxUSE_NO_DEPS
=no
1987 DEFAULT_wxUSE_NO_RTTI
=no
1988 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1989 DEFAULT_wxUSE_PERMISSIVE
=no
1990 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1991 DEFAULT_wxUSE_DEBUG_INFO
=yes
1992 DEFAULT_wxUSE_DEBUG_GDB
=yes
1993 DEFAULT_wxUSE_MEM_TRACING
=no
1994 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1995 DEFAULT_wxUSE_DMALLOC
=no
1996 DEFAULT_wxUSE_APPLE_IEEE
=no
1998 DEFAULT_wxUSE_EXCEPTIONS
=no
1999 DEFAULT_wxUSE_LOG
=yes
2000 DEFAULT_wxUSE_LOGWINDOW
=no
2001 DEFAULT_wxUSE_LOGGUI
=no
2002 DEFAULT_wxUSE_LOGDIALOG
=no
2004 DEFAULT_wxUSE_GUI
=yes
2005 DEFAULT_wxUSE_CONTROLS
=no
2007 DEFAULT_wxUSE_REGEX
=no
2008 DEFAULT_wxUSE_XML
=no
2009 DEFAULT_wxUSE_EXPAT
=no
2010 DEFAULT_wxUSE_ZLIB
=no
2011 DEFAULT_wxUSE_LIBPNG
=no
2012 DEFAULT_wxUSE_LIBJPEG
=no
2013 DEFAULT_wxUSE_LIBTIFF
=no
2014 DEFAULT_wxUSE_LIBXPM
=no
2015 DEFAULT_wxUSE_LIBMSPACK
=no
2016 DEFAULT_wxUSE_LIBSDL
=no
2017 DEFAULT_wxUSE_ODBC
=no
2018 DEFAULT_wxUSE_OPENGL
=no
2020 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2021 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2022 DEFAULT_wxUSE_STD_IOSTREAM
=no
2023 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2024 DEFAULT_wxUSE_DATETIME
=no
2025 DEFAULT_wxUSE_TIMER
=no
2026 DEFAULT_wxUSE_STOPWATCH
=no
2027 DEFAULT_wxUSE_FILE
=no
2028 DEFAULT_wxUSE_FFILE
=no
2029 DEFAULT_wxUSE_TEXTBUFFER
=no
2030 DEFAULT_wxUSE_TEXTFILE
=no
2031 DEFAULT_wxUSE_SOUND
=no
2032 DEFAULT_wxUSE_INTL
=no
2033 DEFAULT_wxUSE_CONFIG
=no
2034 DEFAULT_wxUSE_FONTMAP
=no
2035 DEFAULT_wxUSE_STREAMS
=no
2036 DEFAULT_wxUSE_SOCKETS
=no
2037 DEFAULT_wxUSE_OLE
=no
2038 DEFAULT_wxUSE_DATAOBJ
=no
2039 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2040 DEFAULT_wxUSE_JOYSTICK
=no
2041 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2042 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2043 DEFAULT_wxUSE_LONGLONG
=no
2044 DEFAULT_wxUSE_GEOMETRY
=no
2046 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2047 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2048 DEFAULT_wxUSE_POSTSCRIPT
=no
2050 DEFAULT_wxUSE_CLIPBOARD
=no
2051 DEFAULT_wxUSE_TOOLTIPS
=no
2052 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2053 DEFAULT_wxUSE_DRAGIMAGE
=no
2054 DEFAULT_wxUSE_SPLINES
=no
2056 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2057 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2058 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2060 DEFAULT_wxUSE_RESOURCES
=no
2061 DEFAULT_wxUSE_CONSTRAINTS
=no
2062 DEFAULT_wxUSE_IPC
=no
2063 DEFAULT_wxUSE_HELP
=no
2064 DEFAULT_wxUSE_MS_HTML_HELP
=no
2065 DEFAULT_wxUSE_WXHTML_HELP
=no
2066 DEFAULT_wxUSE_TREELAYOUT
=no
2067 DEFAULT_wxUSE_METAFILE
=no
2068 DEFAULT_wxUSE_MIMETYPE
=no
2069 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2070 DEFAULT_wxUSE_PROTOCOL
=no
2071 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2072 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2073 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2074 DEFAULT_wxUSE_URL
=no
2076 DEFAULT_wxUSE_COMMONDLGS
=no
2077 DEFAULT_wxUSE_CHOICEDLG
=no
2078 DEFAULT_wxUSE_COLOURDLG
=no
2079 DEFAULT_wxUSE_DIRDLG
=no
2080 DEFAULT_wxUSE_FILEDLG
=no
2081 DEFAULT_wxUSE_FINDREPLDLG
=no
2082 DEFAULT_wxUSE_FONTDLG
=no
2083 DEFAULT_wxUSE_MSGDLG
=no
2084 DEFAULT_wxUSE_NUMBERDLG
=no
2085 DEFAULT_wxUSE_TEXTDLG
=no
2086 DEFAULT_wxUSE_SPLASH
=no
2087 DEFAULT_wxUSE_STARTUP_TIPS
=no
2088 DEFAULT_wxUSE_PROGRESSDLG
=no
2089 DEFAULT_wxUSE_WIZARDDLG
=no
2091 DEFAULT_wxUSE_MENUS
=no
2092 DEFAULT_wxUSE_MINIFRAME
=no
2093 DEFAULT_wxUSE_HTML
=no
2094 DEFAULT_wxUSE_FILESYSTEM
=no
2095 DEFAULT_wxUSE_FS_INET
=no
2096 DEFAULT_wxUSE_FS_ZIP
=no
2097 DEFAULT_wxUSE_BUSYINFO
=no
2098 DEFAULT_wxUSE_ZIPSTREAM
=no
2099 DEFAULT_wxUSE_GZSTREAM
=no
2100 DEFAULT_wxUSE_VALIDATORS
=no
2102 DEFAULT_wxUSE_ACCEL
=no
2103 DEFAULT_wxUSE_BUTTON
=no
2104 DEFAULT_wxUSE_BMPBUTTON
=no
2105 DEFAULT_wxUSE_CALCTRL
=no
2106 DEFAULT_wxUSE_CARET
=no
2107 DEFAULT_wxUSE_CHECKBOX
=no
2108 DEFAULT_wxUSE_CHECKLST
=no
2109 DEFAULT_wxUSE_CHOICE
=no
2110 DEFAULT_wxUSE_COMBOBOX
=no
2111 DEFAULT_wxUSE_DISPLAY
=no
2112 DEFAULT_wxUSE_GAUGE
=no
2113 DEFAULT_wxUSE_GRID
=no
2114 DEFAULT_wxUSE_IMAGLIST
=no
2115 DEFAULT_wxUSE_LISTBOOK
=no
2116 DEFAULT_wxUSE_LISTBOX
=no
2117 DEFAULT_wxUSE_LISTCTRL
=no
2118 DEFAULT_wxUSE_NOTEBOOK
=no
2119 DEFAULT_wxUSE_RADIOBOX
=no
2120 DEFAULT_wxUSE_RADIOBTN
=no
2121 DEFAULT_wxUSE_SASH
=no
2122 DEFAULT_wxUSE_SCROLLBAR
=no
2123 DEFAULT_wxUSE_SLIDER
=no
2124 DEFAULT_wxUSE_SPINBTN
=no
2125 DEFAULT_wxUSE_SPINCTRL
=no
2126 DEFAULT_wxUSE_SPLITTER
=no
2127 DEFAULT_wxUSE_STATBMP
=no
2128 DEFAULT_wxUSE_STATBOX
=no
2129 DEFAULT_wxUSE_STATLINE
=no
2130 DEFAULT_wxUSE_STATTEXT
=no
2131 DEFAULT_wxUSE_STATUSBAR
=yes
2132 DEFAULT_wxUSE_TABDIALOG
=no
2133 DEFAULT_wxUSE_TEXTCTRL
=no
2134 DEFAULT_wxUSE_TOGGLEBTN
=no
2135 DEFAULT_wxUSE_TOOLBAR
=no
2136 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2137 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2138 DEFAULT_wxUSE_TREECTRL
=no
2139 DEFAULT_wxUSE_POPUPWIN
=no
2140 DEFAULT_wxUSE_TIPWINDOW
=no
2142 DEFAULT_wxUSE_UNICODE
=no
2143 DEFAULT_wxUSE_UNICODE_MSLU
=no
2144 DEFAULT_wxUSE_WCSRTOMBS
=no
2146 DEFAULT_wxUSE_PALETTE
=no
2147 DEFAULT_wxUSE_IMAGE
=no
2148 DEFAULT_wxUSE_GIF
=no
2149 DEFAULT_wxUSE_PCX
=no
2150 DEFAULT_wxUSE_PNM
=no
2151 DEFAULT_wxUSE_IFF
=no
2152 DEFAULT_wxUSE_XPM
=no
2153 DEFAULT_wxUSE_ICO_CUR
=no
2154 DEFAULT_wxUSE_ACCESSIBILITY
=no
2156 DEFAULT_wxUSE_MONOLITHIC
=no
2157 DEFAULT_wxUSE_PLUGINS
=no
2158 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2160 DEFAULT_wxUSE_UNIVERSAL
=no
2161 DEFAULT_wxUSE_STL
=no
2163 DEFAULT_wxUSE_NANOX
=no
2165 DEFAULT_wxUSE_THREADS
=yes
2167 DEFAULT_wxUSE_SHARED
=yes
2168 DEFAULT_wxUSE_OPTIMISE
=yes
2169 DEFAULT_wxUSE_PROFILE
=no
2170 DEFAULT_wxUSE_NO_DEPS
=no
2171 DEFAULT_wxUSE_NO_RTTI
=no
2172 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2173 DEFAULT_wxUSE_PERMISSIVE
=no
2174 DEFAULT_wxUSE_DEBUG_FLAG
=no
2175 DEFAULT_wxUSE_DEBUG_INFO
=no
2176 DEFAULT_wxUSE_DEBUG_GDB
=no
2177 DEFAULT_wxUSE_MEM_TRACING
=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2179 DEFAULT_wxUSE_DMALLOC
=no
2180 DEFAULT_wxUSE_APPLE_IEEE
=yes
2182 DEFAULT_wxUSE_EXCEPTIONS
=yes
2183 DEFAULT_wxUSE_LOG
=yes
2184 DEFAULT_wxUSE_LOGWINDOW
=yes
2185 DEFAULT_wxUSE_LOGGUI
=yes
2186 DEFAULT_wxUSE_LOGDIALOG
=yes
2188 DEFAULT_wxUSE_GUI
=yes
2190 DEFAULT_wxUSE_REGEX
=yes
2191 DEFAULT_wxUSE_XML
=yes
2192 DEFAULT_wxUSE_EXPAT
=yes
2193 DEFAULT_wxUSE_ZLIB
=yes
2194 DEFAULT_wxUSE_LIBPNG
=yes
2195 DEFAULT_wxUSE_LIBJPEG
=yes
2196 DEFAULT_wxUSE_LIBTIFF
=yes
2197 DEFAULT_wxUSE_LIBXPM
=yes
2198 DEFAULT_wxUSE_LIBMSPACK
=yes
2199 DEFAULT_wxUSE_LIBSDL
=no
2200 DEFAULT_wxUSE_ODBC
=no
2201 DEFAULT_wxUSE_OPENGL
=no
2203 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2204 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2205 DEFAULT_wxUSE_STD_IOSTREAM
=no
2206 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2207 DEFAULT_wxUSE_DATETIME
=yes
2208 DEFAULT_wxUSE_TIMER
=yes
2209 DEFAULT_wxUSE_STOPWATCH
=yes
2210 DEFAULT_wxUSE_FILE
=yes
2211 DEFAULT_wxUSE_FFILE
=yes
2212 DEFAULT_wxUSE_TEXTBUFFER
=yes
2213 DEFAULT_wxUSE_TEXTFILE
=yes
2214 DEFAULT_wxUSE_SOUND
=yes
2215 DEFAULT_wxUSE_INTL
=yes
2216 DEFAULT_wxUSE_CONFIG
=yes
2217 DEFAULT_wxUSE_FONTMAP
=yes
2218 DEFAULT_wxUSE_STREAMS
=yes
2219 DEFAULT_wxUSE_SOCKETS
=yes
2220 DEFAULT_wxUSE_OLE
=yes
2221 DEFAULT_wxUSE_DATAOBJ
=yes
2222 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2223 DEFAULT_wxUSE_JOYSTICK
=yes
2224 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2225 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2226 DEFAULT_wxUSE_LONGLONG
=yes
2227 DEFAULT_wxUSE_GEOMETRY
=yes
2229 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2230 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2231 DEFAULT_wxUSE_POSTSCRIPT
=yes
2233 DEFAULT_wxUSE_CLIPBOARD
=yes
2234 DEFAULT_wxUSE_TOOLTIPS
=yes
2235 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2236 DEFAULT_wxUSE_DRAGIMAGE
=yes
2237 DEFAULT_wxUSE_SPLINES
=yes
2239 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2240 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2241 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2243 DEFAULT_wxUSE_RESOURCES
=no
2244 DEFAULT_wxUSE_CONSTRAINTS
=yes
2245 DEFAULT_wxUSE_IPC
=yes
2246 DEFAULT_wxUSE_HELP
=yes
2247 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2248 DEFAULT_wxUSE_WXHTML_HELP
=yes
2249 DEFAULT_wxUSE_TREELAYOUT
=yes
2250 DEFAULT_wxUSE_METAFILE
=yes
2251 DEFAULT_wxUSE_MIMETYPE
=yes
2252 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2253 DEFAULT_wxUSE_PROTOCOL
=yes
2254 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2255 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2256 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2257 DEFAULT_wxUSE_URL
=yes
2259 DEFAULT_wxUSE_COMMONDLGS
=yes
2260 DEFAULT_wxUSE_CHOICEDLG
=yes
2261 DEFAULT_wxUSE_COLOURDLG
=yes
2262 DEFAULT_wxUSE_DIRDLG
=yes
2263 DEFAULT_wxUSE_FILEDLG
=yes
2264 DEFAULT_wxUSE_FINDREPLDLG
=yes
2265 DEFAULT_wxUSE_FONTDLG
=yes
2266 DEFAULT_wxUSE_MSGDLG
=yes
2267 DEFAULT_wxUSE_NUMBERDLG
=yes
2268 DEFAULT_wxUSE_TEXTDLG
=yes
2269 DEFAULT_wxUSE_SPLASH
=yes
2270 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2271 DEFAULT_wxUSE_PROGRESSDLG
=yes
2272 DEFAULT_wxUSE_WIZARDDLG
=yes
2274 DEFAULT_wxUSE_MENUS
=yes
2275 DEFAULT_wxUSE_MINIFRAME
=yes
2276 DEFAULT_wxUSE_HTML
=yes
2277 DEFAULT_wxUSE_FILESYSTEM
=yes
2278 DEFAULT_wxUSE_FS_INET
=yes
2279 DEFAULT_wxUSE_FS_ZIP
=yes
2280 DEFAULT_wxUSE_BUSYINFO
=yes
2281 DEFAULT_wxUSE_ZIPSTREAM
=yes
2282 DEFAULT_wxUSE_GZSTREAM
=yes
2283 DEFAULT_wxUSE_VALIDATORS
=yes
2285 DEFAULT_wxUSE_ACCEL
=yes
2286 DEFAULT_wxUSE_BUTTON
=yes
2287 DEFAULT_wxUSE_BMPBUTTON
=yes
2288 DEFAULT_wxUSE_CALCTRL
=yes
2289 DEFAULT_wxUSE_CARET
=yes
2290 DEFAULT_wxUSE_CHECKBOX
=yes
2291 DEFAULT_wxUSE_CHECKLST
=yes
2292 DEFAULT_wxUSE_CHOICE
=yes
2293 DEFAULT_wxUSE_COMBOBOX
=yes
2294 DEFAULT_wxUSE_DISPLAY
=no
2295 DEFAULT_wxUSE_GAUGE
=yes
2296 DEFAULT_wxUSE_GRID
=yes
2297 DEFAULT_wxUSE_IMAGLIST
=yes
2298 DEFAULT_wxUSE_LISTBOOK
=yes
2299 DEFAULT_wxUSE_LISTBOX
=yes
2300 DEFAULT_wxUSE_LISTCTRL
=yes
2301 DEFAULT_wxUSE_NOTEBOOK
=yes
2302 DEFAULT_wxUSE_RADIOBOX
=yes
2303 DEFAULT_wxUSE_RADIOBTN
=yes
2304 DEFAULT_wxUSE_SASH
=yes
2305 DEFAULT_wxUSE_SCROLLBAR
=yes
2306 DEFAULT_wxUSE_SLIDER
=yes
2307 DEFAULT_wxUSE_SPINBTN
=yes
2308 DEFAULT_wxUSE_SPINCTRL
=yes
2309 DEFAULT_wxUSE_SPLITTER
=yes
2310 DEFAULT_wxUSE_STATBMP
=yes
2311 DEFAULT_wxUSE_STATBOX
=yes
2312 DEFAULT_wxUSE_STATLINE
=yes
2313 DEFAULT_wxUSE_STATTEXT
=yes
2314 DEFAULT_wxUSE_STATUSBAR
=yes
2315 DEFAULT_wxUSE_TABDIALOG
=no
2316 DEFAULT_wxUSE_TEXTCTRL
=yes
2317 DEFAULT_wxUSE_TOGGLEBTN
=yes
2318 DEFAULT_wxUSE_TOOLBAR
=yes
2319 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2320 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2321 DEFAULT_wxUSE_TREECTRL
=yes
2322 DEFAULT_wxUSE_POPUPWIN
=yes
2323 DEFAULT_wxUSE_TIPWINDOW
=yes
2325 DEFAULT_wxUSE_UNICODE
=no
2326 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2327 DEFAULT_wxUSE_WCSRTOMBS
=no
2329 DEFAULT_wxUSE_PALETTE
=yes
2330 DEFAULT_wxUSE_IMAGE
=yes
2331 DEFAULT_wxUSE_GIF
=yes
2332 DEFAULT_wxUSE_PCX
=yes
2333 DEFAULT_wxUSE_IFF
=no
2334 DEFAULT_wxUSE_PNM
=yes
2335 DEFAULT_wxUSE_XPM
=yes
2336 DEFAULT_wxUSE_ICO_CUR
=yes
2337 DEFAULT_wxUSE_ACCESSIBILITY
=no
2339 DEFAULT_wxUSE_MONOLITHIC
=no
2340 DEFAULT_wxUSE_PLUGINS
=no
2341 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2346 for toolkit
in `echo $ALL_TOOLKITS`; do
2347 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2348 if test "x$LINE" != "x" ; then
2349 has_toolkit_in_cache
=1
2350 eval "DEFAULT_$LINE"
2351 eval "CACHE_$toolkit=1"
2358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2359 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2361 # Check whether --enable-gui or --disable-gui was given.
2362 if test "${enable_gui+set}" = set; then
2363 enableval
="$enable_gui"
2365 if test "$enableval" = yes; then
2366 ac_cv_use_gui
='wxUSE_GUI=yes'
2368 ac_cv_use_gui
='wxUSE_GUI=no'
2373 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2374 if test "x$LINE" != x
; then
2375 eval "DEFAULT_$LINE"
2380 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2384 eval "$ac_cv_use_gui"
2385 if test "$no_cache" != 1; then
2386 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2389 if test "$wxUSE_GUI" = yes; then
2390 echo "$as_me:$LINENO: result: yes" >&5
2391 echo "${ECHO_T}yes" >&6
2393 echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2400 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2402 # Check whether --enable-monolithic or --disable-monolithic was given.
2403 if test "${enable_monolithic+set}" = set; then
2404 enableval
="$enable_monolithic"
2406 if test "$enableval" = yes; then
2407 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2409 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2414 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x
; then
2416 eval "DEFAULT_$LINE"
2421 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2425 eval "$ac_cv_use_monolithic"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2430 if test "$wxUSE_MONOLITHIC" = yes; then
2431 echo "$as_me:$LINENO: result: yes" >&5
2432 echo "${ECHO_T}yes" >&6
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2441 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2443 # Check whether --enable-plugins or --disable-plugins was given.
2444 if test "${enable_plugins+set}" = set; then
2445 enableval
="$enable_plugins"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2450 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2455 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2466 eval "$ac_cv_use_plugins"
2467 if test "$no_cache" != 1; then
2468 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2471 if test "$wxUSE_PLUGINS" = yes; then
2472 echo "$as_me:$LINENO: result: yes" >&5
2473 echo "${ECHO_T}yes" >&6
2475 echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6
2480 if test "$wxUSE_GUI" = "yes"; then
2484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2485 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2487 # Check whether --enable-universal or --disable-universal was given.
2488 if test "${enable_universal+set}" = set; then
2489 enableval
="$enable_universal"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2494 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2499 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2510 eval "$ac_cv_use_universal"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2515 if test "$wxUSE_UNIVERSAL" = yes; then
2516 echo "$as_me:$LINENO: result: yes" >&5
2517 echo "${ECHO_T}yes" >&6
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2524 # Check whether --with-gtk or --without-gtk was given.
2525 if test "${with_gtk+set}" = set; then
2527 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2530 # Check whether --with-motif or --without-motif was given.
2531 if test "${with_motif+set}" = set; then
2532 withval
="$with_motif"
2533 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2536 # Check whether --with-mac or --without-mac was given.
2537 if test "${with_mac+set}" = set; then
2539 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
2542 # Check whether --with-cocoa or --without-cocoa was given.
2543 if test "${with_cocoa+set}" = set; then
2544 withval
="$with_cocoa"
2545 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
2548 # Check whether --with-wine or --without-wine was given.
2549 if test "${with_wine+set}" = set; then
2550 withval
="$with_wine"
2551 wxUSE_WINE
="$withval" CACHE_WINE
=1
2554 # Check whether --with-msw or --without-msw was given.
2555 if test "${with_msw+set}" = set; then
2557 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2560 # Check whether --with-pm or --without-pm was given.
2561 if test "${with_pm+set}" = set; then
2563 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2566 # Check whether --with-mgl or --without-mgl was given.
2567 if test "${with_mgl+set}" = set; then
2569 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2572 # Check whether --with-microwin or --without-microwin was given.
2573 if test "${with_microwin+set}" = set; then
2574 withval
="$with_microwin"
2575 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2578 # Check whether --with-x11 or --without-x11 was given.
2579 if test "${with_x11+set}" = set; then
2581 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2586 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2588 # Check whether --enable-nanox or --disable-nanox was given.
2589 if test "${enable_nanox+set}" = set; then
2590 enableval
="$enable_nanox"
2592 if test "$enableval" = yes; then
2593 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2595 ac_cv_use_nanox
='wxUSE_NANOX=no'
2600 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x
; then
2602 eval "DEFAULT_$LINE"
2607 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2611 eval "$ac_cv_use_nanox"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_NANOX" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2620 echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6
2627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2628 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2630 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2631 if test "${enable_gtk2+set}" = set; then
2632 enableval
="$enable_gtk2"
2634 if test "$enableval" = yes; then
2635 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2637 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2642 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x
; then
2644 eval "DEFAULT_$LINE"
2649 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2653 eval "$ac_cv_use_gtk2"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2658 if test "$wxUSE_GTK2" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2662 echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2668 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2669 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2672 # Check whether --with-libpng or --without-libpng was given.
2673 if test "${with_libpng+set}" = set; then
2674 withval
="$with_libpng"
2676 if test "$withval" = yes; then
2677 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2678 elif test "$withval" = no
; then
2679 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2680 elif test "$withval" = sys
; then
2681 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2682 elif test "$withval" = builtin; then
2683 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2686 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2692 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2693 if test "x$LINE" != x
; then
2694 eval "DEFAULT_$LINE"
2699 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2703 eval "$ac_cv_use_libpng"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2708 if test "$wxUSE_LIBPNG" = yes; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6
2711 elif test "$wxUSE_LIBPNG" = no
; then
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2714 elif test "$wxUSE_LIBPNG" = sys
; then
2715 echo "$as_me:$LINENO: result: system version" >&5
2716 echo "${ECHO_T}system version" >&6
2717 elif test "$wxUSE_LIBPNG" = builtin; then
2718 echo "$as_me:$LINENO: result: builtin version" >&5
2719 echo "${ECHO_T}builtin version" >&6
2721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2722 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2723 { (exit 1); exit 1; }; }
2727 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2728 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2731 # Check whether --with-libjpeg or --without-libjpeg was given.
2732 if test "${with_libjpeg+set}" = set; then
2733 withval
="$with_libjpeg"
2735 if test "$withval" = yes; then
2736 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2737 elif test "$withval" = no
; then
2738 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2739 elif test "$withval" = sys
; then
2740 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2741 elif test "$withval" = builtin; then
2742 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2745 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2751 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2762 eval "$ac_cv_use_libjpeg"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_LIBJPEG" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2770 elif test "$wxUSE_LIBJPEG" = no
; then
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 elif test "$wxUSE_LIBJPEG" = sys
; then
2774 echo "$as_me:$LINENO: result: system version" >&5
2775 echo "${ECHO_T}system version" >&6
2776 elif test "$wxUSE_LIBJPEG" = builtin; then
2777 echo "$as_me:$LINENO: result: builtin version" >&5
2778 echo "${ECHO_T}builtin version" >&6
2780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2781 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2782 { (exit 1); exit 1; }; }
2786 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2787 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2790 # Check whether --with-libtiff or --without-libtiff was given.
2791 if test "${with_libtiff+set}" = set; then
2792 withval
="$with_libtiff"
2794 if test "$withval" = yes; then
2795 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2796 elif test "$withval" = no
; then
2797 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2798 elif test "$withval" = sys
; then
2799 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2800 elif test "$withval" = builtin; then
2801 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2803 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2804 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2805 { (exit 1); exit 1; }; }
2810 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x
; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2821 eval "$ac_cv_use_libtiff"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2826 if test "$wxUSE_LIBTIFF" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2829 elif test "$wxUSE_LIBTIFF" = no
; then
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2832 elif test "$wxUSE_LIBTIFF" = sys
; then
2833 echo "$as_me:$LINENO: result: system version" >&5
2834 echo "${ECHO_T}system version" >&6
2835 elif test "$wxUSE_LIBTIFF" = builtin; then
2836 echo "$as_me:$LINENO: result: builtin version" >&5
2837 echo "${ECHO_T}builtin version" >&6
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2840 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2845 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2846 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2849 # Check whether --with-libxpm or --without-libxpm was given.
2850 if test "${with_libxpm+set}" = set; then
2851 withval
="$with_libxpm"
2853 if test "$withval" = yes; then
2854 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2855 elif test "$withval" = no
; then
2856 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2857 elif test "$withval" = sys
; then
2858 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2859 elif test "$withval" = builtin; then
2860 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2869 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x
; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2880 eval "$ac_cv_use_libxpm"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_LIBXPM" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2888 elif test "$wxUSE_LIBXPM" = no
; then
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 elif test "$wxUSE_LIBXPM" = sys
; then
2892 echo "$as_me:$LINENO: result: system version" >&5
2893 echo "${ECHO_T}system version" >&6
2894 elif test "$wxUSE_LIBXPM" = builtin; then
2895 echo "$as_me:$LINENO: result: builtin version" >&5
2896 echo "${ECHO_T}builtin version" >&6
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2905 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2908 # Check whether --with-libmspack or --without-libmspack was given.
2909 if test "${with_libmspack+set}" = set; then
2910 withval
="$with_libmspack"
2912 if test "$withval" = yes; then
2913 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
2915 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
2920 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2921 if test "x$LINE" != x
; then
2922 eval "DEFAULT_$LINE"
2927 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2931 eval "$ac_cv_use_libmspack"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2936 if test "$wxUSE_LIBMSPACK" = yes; then
2937 echo "$as_me:$LINENO: result: yes" >&5
2938 echo "${ECHO_T}yes" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2945 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2946 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2949 # Check whether --with-sdl or --without-sdl was given.
2950 if test "${with_sdl+set}" = set; then
2953 if test "$withval" = yes; then
2954 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
2956 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
2961 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x
; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
2972 eval "$ac_cv_use_sdl"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_LIBSDL" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2986 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2987 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2990 # Check whether --with-opengl or --without-opengl was given.
2991 if test "${with_opengl+set}" = set; then
2992 withval
="$with_opengl"
2994 if test "$withval" = yes; then
2995 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2997 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3002 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x
; then
3004 eval "DEFAULT_$LINE"
3009 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3013 eval "$ac_cv_use_opengl"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3018 if test "$wxUSE_OPENGL" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3030 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3031 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3034 # Check whether --with-dmalloc or --without-dmalloc was given.
3035 if test "${with_dmalloc+set}" = set; then
3036 withval
="$with_dmalloc"
3038 if test "$withval" = yes; then
3039 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3041 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3046 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x
; then
3048 eval "DEFAULT_$LINE"
3053 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3057 eval "$ac_cv_use_dmalloc"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3062 if test "$wxUSE_DMALLOC" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3066 echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6
3071 echo "$as_me:$LINENO: checking for --with-regex" >&5
3072 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3075 # Check whether --with-regex or --without-regex was given.
3076 if test "${with_regex+set}" = set; then
3077 withval
="$with_regex"
3079 if test "$withval" = yes; then
3080 ac_cv_use_regex
='wxUSE_REGEX=yes'
3081 elif test "$withval" = no
; then
3082 ac_cv_use_regex
='wxUSE_REGEX=no'
3083 elif test "$withval" = sys
; then
3084 ac_cv_use_regex
='wxUSE_REGEX=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3095 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3106 eval "$ac_cv_use_regex"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_REGEX" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_REGEX" = no
; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_REGEX" = sys
; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_REGEX" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3130 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3131 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3134 # Check whether --with-zlib or --without-zlib was given.
3135 if test "${with_zlib+set}" = set; then
3136 withval
="$with_zlib"
3138 if test "$withval" = yes; then
3139 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3140 elif test "$withval" = no
; then
3141 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3142 elif test "$withval" = sys
; then
3143 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3154 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x
; then
3156 eval "DEFAULT_$LINE"
3161 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3165 eval "$ac_cv_use_zlib"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3170 if test "$wxUSE_ZLIB" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_ZLIB" = no
; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_ZLIB" = sys
; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_ZLIB" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3189 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3190 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3193 # Check whether --with-odbc or --without-odbc was given.
3194 if test "${with_odbc+set}" = set; then
3195 withval
="$with_odbc"
3197 if test "$withval" = yes; then
3198 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3199 elif test "$withval" = no
; then
3200 ac_cv_use_odbc
='wxUSE_ODBC=no'
3201 elif test "$withval" = sys
; then
3202 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3213 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x
; then
3215 eval "DEFAULT_$LINE"
3220 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3224 eval "$ac_cv_use_odbc"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_ODBC" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_ODBC" = no
; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_ODBC" = sys
; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_ODBC" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3248 echo "$as_me:$LINENO: checking for --with-expat" >&5
3249 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3252 # Check whether --with-expat or --without-expat was given.
3253 if test "${with_expat+set}" = set; then
3254 withval
="$with_expat"
3256 if test "$withval" = yes; then
3257 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3258 elif test "$withval" = no
; then
3259 ac_cv_use_expat
='wxUSE_EXPAT=no'
3260 elif test "$withval" = sys
; then
3261 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3262 elif test "$withval" = builtin; then
3263 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3266 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3272 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x
; then
3274 eval "DEFAULT_$LINE"
3279 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3283 eval "$ac_cv_use_expat"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3288 if test "$wxUSE_EXPAT" = yes; then
3289 echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6
3291 elif test "$wxUSE_EXPAT" = no
; then
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3294 elif test "$wxUSE_EXPAT" = sys
; then
3295 echo "$as_me:$LINENO: result: system version" >&5
3296 echo "${ECHO_T}system version" >&6
3297 elif test "$wxUSE_EXPAT" = builtin; then
3298 echo "$as_me:$LINENO: result: builtin version" >&5
3299 echo "${ECHO_T}builtin version" >&6
3301 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3302 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3303 { (exit 1); exit 1; }; }
3310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3313 # Check whether --enable-shared or --disable-shared was given.
3314 if test "${enable_shared+set}" = set; then
3315 enableval
="$enable_shared"
3317 if test "$enableval" = yes; then
3318 ac_cv_use_shared
='wxUSE_SHARED=yes'
3320 ac_cv_use_shared
='wxUSE_SHARED=no'
3325 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x
; then
3327 eval "DEFAULT_$LINE"
3332 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3336 eval "$ac_cv_use_shared"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3341 if test "$wxUSE_SHARED" = yes; then
3342 echo "$as_me:$LINENO: result: yes" >&5
3343 echo "${ECHO_T}yes" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3352 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3354 # Check whether --enable-optimise or --disable-optimise was given.
3355 if test "${enable_optimise+set}" = set; then
3356 enableval
="$enable_optimise"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3361 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3366 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3377 eval "$ac_cv_use_optimise"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_OPTIMISE" = yes; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3393 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3395 # Check whether --enable-debug or --disable-debug was given.
3396 if test "${enable_debug+set}" = set; then
3397 enableval
="$enable_debug"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3402 ac_cv_use_debug
='wxUSE_DEBUG=no'
3407 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3418 eval "$ac_cv_use_debug"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_DEBUG" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3434 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3436 # Check whether --enable-stl or --disable-stl was given.
3437 if test "${enable_stl+set}" = set; then
3438 enableval
="$enable_stl"
3440 if test "$enableval" = yes; then
3441 ac_cv_use_stl
='wxUSE_STL=yes'
3443 ac_cv_use_stl
='wxUSE_STL=no'
3448 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x
; then
3450 eval "DEFAULT_$LINE"
3455 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3459 eval "$ac_cv_use_stl"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_STL" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466 echo "${ECHO_T}yes" >&6
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3473 if test "$wxUSE_DEBUG" = "yes"; then
3474 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3475 DEFAULT_wxUSE_DEBUG_INFO
=yes
3477 elif test "$wxUSE_DEBUG" = "no"; then
3478 DEFAULT_wxUSE_DEBUG_FLAG
=no
3479 DEFAULT_wxUSE_DEBUG_INFO
=no
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3488 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3489 if test "${enable_debug_flag+set}" = set; then
3490 enableval
="$enable_debug_flag"
3492 if test "$enableval" = yes; then
3493 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3495 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3500 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x
; then
3502 eval "DEFAULT_$LINE"
3507 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3511 eval "$ac_cv_use_debug_flag"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_DEBUG_FLAG" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3529 # Check whether --enable-debug_info or --disable-debug_info was given.
3530 if test "${enable_debug_info+set}" = set; then
3531 enableval
="$enable_debug_info"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3536 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3541 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3552 eval "$ac_cv_use_debug_info"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DEBUG_INFO" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3570 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3571 if test "${enable_debug_gdb+set}" = set; then
3572 enableval
="$enable_debug_gdb"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3577 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3582 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3593 eval "$ac_cv_use_debug_gdb"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_DEBUG_GDB" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3611 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3612 if test "${enable_debug_cntxt+set}" = set; then
3613 enableval
="$enable_debug_cntxt"
3615 if test "$enableval" = yes; then
3616 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3618 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3623 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x
; then
3625 eval "DEFAULT_$LINE"
3630 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3634 eval "$ac_cv_use_debug_cntxt"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3652 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3653 if test "${enable_mem_tracing+set}" = set; then
3654 enableval
="$enable_mem_tracing"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3659 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3664 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3675 eval "$ac_cv_use_mem_tracing"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_MEM_TRACING" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3693 # Check whether --enable-profile or --disable-profile was given.
3694 if test "${enable_profile+set}" = set; then
3695 enableval
="$enable_profile"
3697 if test "$enableval" = yes; then
3698 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3700 ac_cv_use_profile
='wxUSE_PROFILE=no'
3705 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x
; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3716 eval "$ac_cv_use_profile"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_PROFILE" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3734 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3735 if test "${enable_no_rtti+set}" = set; then
3736 enableval
="$enable_no_rtti"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3741 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3746 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3757 eval "$ac_cv_use_no_rtti"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3762 if test "$wxUSE_NO_RTTI" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3775 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3776 if test "${enable_no_exceptions+set}" = set; then
3777 enableval
="$enable_no_exceptions"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3782 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3787 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3798 eval "$ac_cv_use_no_exceptions"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3803 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3814 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3816 # Check whether --enable-permissive or --disable-permissive was given.
3817 if test "${enable_permissive+set}" = set; then
3818 enableval
="$enable_permissive"
3820 if test "$enableval" = yes; then
3821 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3823 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3828 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x
; then
3830 eval "DEFAULT_$LINE"
3835 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3839 eval "$ac_cv_use_permissive"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3844 if test "$wxUSE_PERMISSIVE" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846 echo "${ECHO_T}yes" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3857 # Check whether --enable-no_deps or --disable-no_deps was given.
3858 if test "${enable_no_deps+set}" = set; then
3859 enableval
="$enable_no_deps"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3864 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3869 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x
; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3880 eval "$ac_cv_use_no_deps"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3885 if test "$wxUSE_NO_DEPS" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3899 # Check whether --enable-compat22 or --disable-compat22 was given.
3900 if test "${enable_compat22+set}" = set; then
3901 enableval
="$enable_compat22"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3906 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3911 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x
; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3922 eval "$ac_cv_use_compat22"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3927 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3936 enablestring
=disable
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3940 # Check whether --enable-compat24 or --disable-compat24 was given.
3941 if test "${enable_compat24+set}" = set; then
3942 enableval
="$enable_compat24"
3944 if test "$enableval" = yes; then
3945 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3947 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3952 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x
; then
3954 eval "DEFAULT_$LINE"
3959 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3963 eval "$ac_cv_use_compat24"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3968 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3977 # Check whether --enable-rpath or --disable-rpath was given.
3978 if test "${enable_rpath+set}" = set; then
3979 enableval
="$enable_rpath"
3980 wxRPATH_DIR
="$enableval"
3983 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3984 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3994 # Check whether --enable-intl or --disable-intl was given.
3995 if test "${enable_intl+set}" = set; then
3996 enableval
="$enable_intl"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_intl
='wxUSE_INTL=yes'
4001 ac_cv_use_intl
='wxUSE_INTL=no'
4006 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4017 eval "$ac_cv_use_intl"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_INTL" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4035 # Check whether --enable-config or --disable-config was given.
4036 if test "${enable_config+set}" = set; then
4037 enableval
="$enable_config"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_config
='wxUSE_CONFIG=yes'
4042 ac_cv_use_config
='wxUSE_CONFIG=no'
4047 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4058 eval "$ac_cv_use_config"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_CONFIG" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4077 # Check whether --enable-protocols or --disable-protocols was given.
4078 if test "${enable_protocols+set}" = set; then
4079 enableval
="$enable_protocols"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4084 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4089 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x
; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4100 eval "$ac_cv_use_protocols"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4105 if test "$wxUSE_PROTOCOL" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4118 # Check whether --enable-ftp or --disable-ftp was given.
4119 if test "${enable_ftp+set}" = set; then
4120 enableval
="$enable_ftp"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4125 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4130 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4141 eval "$ac_cv_use_ftp"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4146 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4157 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4159 # Check whether --enable-http or --disable-http was given.
4160 if test "${enable_http+set}" = set; then
4161 enableval
="$enable_http"
4163 if test "$enableval" = yes; then
4164 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4166 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4171 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x
; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4182 eval "$ac_cv_use_http"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4187 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4188 echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4198 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4200 # Check whether --enable-fileproto or --disable-fileproto was given.
4201 if test "${enable_fileproto+set}" = set; then
4202 enableval
="$enable_fileproto"
4204 if test "$enableval" = yes; then
4205 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4207 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4212 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x
; then
4214 eval "DEFAULT_$LINE"
4219 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4223 eval "$ac_cv_use_fileproto"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4229 echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4239 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4241 # Check whether --enable-sockets or --disable-sockets was given.
4242 if test "${enable_sockets+set}" = set; then
4243 enableval
="$enable_sockets"
4245 if test "$enableval" = yes; then
4246 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4248 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4253 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x
; then
4255 eval "DEFAULT_$LINE"
4260 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4264 eval "$ac_cv_use_sockets"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_SOCKETS" = yes; then
4270 echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4282 # Check whether --enable-ole or --disable-ole was given.
4283 if test "${enable_ole+set}" = set; then
4284 enableval
="$enable_ole"
4286 if test "$enableval" = yes; then
4287 ac_cv_use_ole
='wxUSE_OLE=yes'
4289 ac_cv_use_ole
='wxUSE_OLE=no'
4294 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x
; then
4296 eval "DEFAULT_$LINE"
4301 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4305 eval "$ac_cv_use_ole"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4310 if test "$wxUSE_OLE" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4323 # Check whether --enable-dataobj or --disable-dataobj was given.
4324 if test "${enable_dataobj+set}" = set; then
4325 enableval
="$enable_dataobj"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4330 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4335 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4346 eval "$ac_cv_use_dataobj"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4351 if test "$wxUSE_DATAOBJ" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4365 # Check whether --enable-ipc or --disable-ipc was given.
4366 if test "${enable_ipc+set}" = set; then
4367 enableval
="$enable_ipc"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_ipc
='wxUSE_IPC=yes'
4372 ac_cv_use_ipc
='wxUSE_IPC=no'
4377 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x
; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4388 eval "$ac_cv_use_ipc"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_IPC" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4405 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4407 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4408 if test "${enable_apple_ieee+set}" = set; then
4409 enableval
="$enable_apple_ieee"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4414 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4419 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4430 eval "$ac_cv_use_apple_ieee"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4435 if test "$wxUSE_APPLE_IEEE" = yes; then
4436 echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6
4439 echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6
4445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4448 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4449 if test "${enable_catch_segvs+set}" = set; then
4450 enableval
="$enable_catch_segvs"
4452 if test "$enableval" = yes; then
4453 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4455 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4460 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4461 if test "x$LINE" != x
; then
4462 eval "DEFAULT_$LINE"
4467 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4471 eval "$ac_cv_use_catch_segvs"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4476 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4477 echo "$as_me:$LINENO: result: yes" >&5
4478 echo "${ECHO_T}yes" >&6
4480 echo "$as_me:$LINENO: result: no" >&5
4481 echo "${ECHO_T}no" >&6
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4489 # Check whether --enable-cmdline or --disable-cmdline was given.
4490 if test "${enable_cmdline+set}" = set; then
4491 enableval
="$enable_cmdline"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4496 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4501 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4512 eval "$ac_cv_use_cmdline"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4517 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4530 # Check whether --enable-datetime or --disable-datetime was given.
4531 if test "${enable_datetime+set}" = set; then
4532 enableval
="$enable_datetime"
4534 if test "$enableval" = yes; then
4535 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4537 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4542 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x
; then
4544 eval "DEFAULT_$LINE"
4549 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4553 eval "$ac_cv_use_datetime"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_DATETIME" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4571 # Check whether --enable-dialupman or --disable-dialupman was given.
4572 if test "${enable_dialupman+set}" = set; then
4573 enableval
="$enable_dialupman"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4578 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4583 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4594 eval "$ac_cv_use_dialupman"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4599 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601 echo "${ECHO_T}yes" >&6
4603 echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4612 # Check whether --enable-dynlib or --disable-dynlib was given.
4613 if test "${enable_dynlib+set}" = set; then
4614 enableval
="$enable_dynlib"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4619 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4624 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4635 eval "$ac_cv_use_dynlib"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4640 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4653 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4654 if test "${enable_dynamicloader+set}" = set; then
4655 enableval
="$enable_dynamicloader"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4660 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4665 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4676 eval "$ac_cv_use_dynamicloader"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4682 echo "$as_me:$LINENO: result: yes" >&5
4683 echo "${ECHO_T}yes" >&6
4685 echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6
4691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4694 # Check whether --enable-exceptions or --disable-exceptions was given.
4695 if test "${enable_exceptions+set}" = set; then
4696 enableval
="$enable_exceptions"
4698 if test "$enableval" = yes; then
4699 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4701 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4706 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x
; then
4708 eval "DEFAULT_$LINE"
4713 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4717 eval "$ac_cv_use_exceptions"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_EXCEPTIONS" = yes; then
4723 echo "$as_me:$LINENO: result: yes" >&5
4724 echo "${ECHO_T}yes" >&6
4726 echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4735 # Check whether --enable-ffile or --disable-ffile was given.
4736 if test "${enable_ffile+set}" = set; then
4737 enableval
="$enable_ffile"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4742 ac_cv_use_ffile
='wxUSE_FFILE=no'
4747 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4758 eval "$ac_cv_use_ffile"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_FFILE" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4776 # Check whether --enable-file or --disable-file was given.
4777 if test "${enable_file+set}" = set; then
4778 enableval
="$enable_file"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_file
='wxUSE_FILE=yes'
4783 ac_cv_use_file
='wxUSE_FILE=no'
4788 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x
; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4799 eval "$ac_cv_use_file"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4804 if test "$wxUSE_FILE" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4817 # Check whether --enable-filesystem or --disable-filesystem was given.
4818 if test "${enable_filesystem+set}" = set; then
4819 enableval
="$enable_filesystem"
4821 if test "$enableval" = yes; then
4822 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4824 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4829 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x
; then
4831 eval "DEFAULT_$LINE"
4836 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4840 eval "$ac_cv_use_filesystem"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_FILESYSTEM" = yes; then
4846 echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4858 # Check whether --enable-fontmap or --disable-fontmap was given.
4859 if test "${enable_fontmap+set}" = set; then
4860 enableval
="$enable_fontmap"
4862 if test "$enableval" = yes; then
4863 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4865 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4870 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x
; then
4872 eval "DEFAULT_$LINE"
4877 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4881 eval "$ac_cv_use_fontmap"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4886 if test "$wxUSE_FONTMAP" = yes; then
4887 echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4899 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4900 if test "${enable_fs_inet+set}" = set; then
4901 enableval
="$enable_fs_inet"
4903 if test "$enableval" = yes; then
4904 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4906 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4911 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x
; then
4913 eval "DEFAULT_$LINE"
4918 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4922 eval "$ac_cv_use_fs_inet"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_FS_INET" = yes; then
4928 echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4940 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4941 if test "${enable_fs_zip+set}" = set; then
4942 enableval
="$enable_fs_zip"
4944 if test "$enableval" = yes; then
4945 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4947 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4952 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x
; then
4954 eval "DEFAULT_$LINE"
4959 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4963 eval "$ac_cv_use_fs_zip"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_FS_ZIP" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4981 # Check whether --enable-geometry or --disable-geometry was given.
4982 if test "${enable_geometry+set}" = set; then
4983 enableval
="$enable_geometry"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4988 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4993 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5004 eval "$ac_cv_use_geometry"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5009 if test "$wxUSE_GEOMETRY" = yes; then
5010 echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6
5013 echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6
5019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5022 # Check whether --enable-log or --disable-log was given.
5023 if test "${enable_log+set}" = set; then
5024 enableval
="$enable_log"
5026 if test "$enableval" = yes; then
5027 ac_cv_use_log
='wxUSE_LOG=yes'
5029 ac_cv_use_log
='wxUSE_LOG=no'
5034 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x
; then
5036 eval "DEFAULT_$LINE"
5041 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5045 eval "$ac_cv_use_log"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_LOG" = yes; then
5051 echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5063 # Check whether --enable-longlong or --disable-longlong was given.
5064 if test "${enable_longlong+set}" = set; then
5065 enableval
="$enable_longlong"
5067 if test "$enableval" = yes; then
5068 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5070 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5075 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5082 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5086 eval "$ac_cv_use_longlong"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_LONGLONG" = yes; then
5092 echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5104 # Check whether --enable-mimetype or --disable-mimetype was given.
5105 if test "${enable_mimetype+set}" = set; then
5106 enableval
="$enable_mimetype"
5108 if test "$enableval" = yes; then
5109 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5111 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5116 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x
; then
5118 eval "DEFAULT_$LINE"
5123 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5127 eval "$ac_cv_use_mimetype"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5132 if test "$wxUSE_MIMETYPE" = yes; then
5133 echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6
5136 echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6
5142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5145 # Check whether --enable-mslu or --disable-mslu was given.
5146 if test "${enable_mslu+set}" = set; then
5147 enableval
="$enable_mslu"
5149 if test "$enableval" = yes; then
5150 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5152 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5157 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5164 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5168 eval "$ac_cv_use_mslu"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_UNICODE_MSLU" = yes; then
5174 echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6
5177 echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5186 # Check whether --enable-snglinst or --disable-snglinst was given.
5187 if test "${enable_snglinst+set}" = set; then
5188 enableval
="$enable_snglinst"
5190 if test "$enableval" = yes; then
5191 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5193 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5198 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x
; then
5200 eval "DEFAULT_$LINE"
5205 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5209 eval "$ac_cv_use_snglinst"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5214 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5215 echo "$as_me:$LINENO: result: yes" >&5
5216 echo "${ECHO_T}yes" >&6
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5225 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5227 # Check whether --enable-streams or --disable-streams was given.
5228 if test "${enable_streams+set}" = set; then
5229 enableval
="$enable_streams"
5231 if test "$enableval" = yes; then
5232 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5234 ac_cv_use_streams
='wxUSE_STREAMS=no'
5239 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5240 if test "x$LINE" != x
; then
5241 eval "DEFAULT_$LINE"
5246 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5250 eval "$ac_cv_use_streams"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5255 if test "$wxUSE_STREAMS" = yes; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5268 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5269 if test "${enable_std_iostreams+set}" = set; then
5270 enableval
="$enable_std_iostreams"
5272 if test "$enableval" = yes; then
5273 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5275 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5280 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x
; then
5282 eval "DEFAULT_$LINE"
5287 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5291 eval "$ac_cv_use_std_iostreams"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5296 if test "$wxUSE_STD_IOSTREAM" = yes; then
5297 echo "$as_me:$LINENO: result: yes" >&5
5298 echo "${ECHO_T}yes" >&6
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5309 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5310 if test "${enable_stopwatch+set}" = set; then
5311 enableval
="$enable_stopwatch"
5313 if test "$enableval" = yes; then
5314 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5316 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5321 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x
; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5332 eval "$ac_cv_use_stopwatch"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5337 if test "$wxUSE_STOPWATCH" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339 echo "${ECHO_T}yes" >&6
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5350 # Check whether --enable-system_options or --disable-system_options was given.
5351 if test "${enable_system_options+set}" = set; then
5352 enableval
="$enable_system_options"
5354 if test "$enableval" = yes; then
5355 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5357 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5362 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x
; then
5364 eval "DEFAULT_$LINE"
5369 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5373 eval "$ac_cv_use_system_options"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5378 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380 echo "${ECHO_T}yes" >&6
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5391 # Check whether --enable-textbuf or --disable-textbuf was given.
5392 if test "${enable_textbuf+set}" = set; then
5393 enableval
="$enable_textbuf"
5395 if test "$enableval" = yes; then
5396 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5398 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5403 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x
; then
5405 eval "DEFAULT_$LINE"
5410 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5414 eval "$ac_cv_use_textbuf"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5419 if test "$wxUSE_TEXTBUFFER" = yes; then
5420 echo "$as_me:$LINENO: result: yes" >&5
5421 echo "${ECHO_T}yes" >&6
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5432 # Check whether --enable-textfile or --disable-textfile was given.
5433 if test "${enable_textfile+set}" = set; then
5434 enableval
="$enable_textfile"
5436 if test "$enableval" = yes; then
5437 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5439 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5444 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5445 if test "x$LINE" != x
; then
5446 eval "DEFAULT_$LINE"
5451 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5455 eval "$ac_cv_use_textfile"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_TEXTFILE" = yes; then
5461 echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5473 # Check whether --enable-timer or --disable-timer was given.
5474 if test "${enable_timer+set}" = set; then
5475 enableval
="$enable_timer"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_timer
='wxUSE_TIMER=yes'
5480 ac_cv_use_timer
='wxUSE_TIMER=no'
5485 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5496 eval "$ac_cv_use_timer"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_TIMER" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5514 # Check whether --enable-unicode or --disable-unicode was given.
5515 if test "${enable_unicode+set}" = set; then
5516 enableval
="$enable_unicode"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5521 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5526 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x
; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5537 eval "$ac_cv_use_unicode"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_UNICODE" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5555 # Check whether --enable-sound or --disable-sound was given.
5556 if test "${enable_sound+set}" = set; then
5557 enableval
="$enable_sound"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_sound
='wxUSE_SOUND=yes'
5562 ac_cv_use_sound
='wxUSE_SOUND=no'
5567 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x
; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5578 eval "$ac_cv_use_sound"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_SOUND" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5596 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5597 if test "${enable_wxprintfv+set}" = set; then
5598 enableval
="$enable_wxprintfv"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5603 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5608 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x
; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5619 eval "$ac_cv_use_wxprintfv"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5637 # Check whether --enable-zipstream or --disable-zipstream was given.
5638 if test "${enable_zipstream+set}" = set; then
5639 enableval
="$enable_zipstream"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5644 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5649 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x
; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5660 eval "$ac_cv_use_zipstream"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_ZIPSTREAM" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5678 # Check whether --enable-gzstream or --disable-gzstream was given.
5679 if test "${enable_gzstream+set}" = set; then
5680 enableval
="$enable_gzstream"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_gzstream
='wxUSE_GZSTREAM=yes'
5685 ac_cv_use_gzstream
='wxUSE_GZSTREAM=no'
5690 LINE
=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x
; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_gzstream
='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5701 eval "$ac_cv_use_gzstream"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_GZSTREAM" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5720 # Check whether --enable-url or --disable-url was given.
5721 if test "${enable_url+set}" = set; then
5722 enableval
="$enable_url"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_url
='wxUSE_URL=yes'
5727 ac_cv_use_url
='wxUSE_URL=no'
5732 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5743 eval "$ac_cv_use_url"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_URL" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5761 # Check whether --enable-protocol or --disable-protocol was given.
5762 if test "${enable_protocol+set}" = set; then
5763 enableval
="$enable_protocol"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5768 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5773 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5784 eval "$ac_cv_use_protocol"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_PROTOCOL" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5802 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5803 if test "${enable_protocol_http+set}" = set; then
5804 enableval
="$enable_protocol_http"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5809 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5814 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5825 eval "$ac_cv_use_protocol_http"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5843 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5844 if test "${enable_protocol_ftp+set}" = set; then
5845 enableval
="$enable_protocol_ftp"
5847 if test "$enableval" = yes; then
5848 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5850 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5855 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x
; then
5857 eval "DEFAULT_$LINE"
5862 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5866 eval "$ac_cv_use_protocol_ftp"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5884 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5885 if test "${enable_protocol_file+set}" = set; then
5886 enableval
="$enable_protocol_file"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5891 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5896 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5907 eval "$ac_cv_use_protocol_file"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5912 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5928 # Check whether --enable-threads or --disable-threads was given.
5929 if test "${enable_threads+set}" = set; then
5930 enableval
="$enable_threads"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_threads
='wxUSE_THREADS=yes'
5935 ac_cv_use_threads
='wxUSE_THREADS=no'
5940 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5951 eval "$ac_cv_use_threads"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_THREADS" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5965 if test "$wxUSE_GUI" = "yes"; then
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5973 # Check whether --enable-docview or --disable-docview was given.
5974 if test "${enable_docview+set}" = set; then
5975 enableval
="$enable_docview"
5977 if test "$enableval" = yes; then
5978 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5980 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5985 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x
; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5996 eval "$ac_cv_use_docview"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6014 # Check whether --enable-help or --disable-help was given.
6015 if test "${enable_help+set}" = set; then
6016 enableval
="$enable_help"
6018 if test "$enableval" = yes; then
6019 ac_cv_use_help
='wxUSE_HELP=yes'
6021 ac_cv_use_help
='wxUSE_HELP=no'
6026 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x
; then
6028 eval "DEFAULT_$LINE"
6033 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6037 eval "$ac_cv_use_help"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6042 if test "$wxUSE_HELP" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6055 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6056 if test "${enable_mshtmlhelp+set}" = set; then
6057 enableval
="$enable_mshtmlhelp"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6062 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6067 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6078 eval "$ac_cv_use_mshtmlhelp"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_MS_HTML_HELP" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6096 # Check whether --enable-html or --disable-html was given.
6097 if test "${enable_html+set}" = set; then
6098 enableval
="$enable_html"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_html
='wxUSE_HTML=yes'
6103 ac_cv_use_html
='wxUSE_HTML=no'
6108 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6119 eval "$ac_cv_use_html"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6124 if test "$wxUSE_HTML" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6137 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6138 if test "${enable_htmlhelp+set}" = set; then
6139 enableval
="$enable_htmlhelp"
6141 if test "$enableval" = yes; then
6142 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6144 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6149 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x
; then
6151 eval "DEFAULT_$LINE"
6156 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6160 eval "$ac_cv_use_htmlhelp"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_WXHTML_HELP" = yes; then
6166 echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6
6169 echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6178 # Check whether --enable-constraints or --disable-constraints was given.
6179 if test "${enable_constraints+set}" = set; then
6180 enableval
="$enable_constraints"
6182 if test "$enableval" = yes; then
6183 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6185 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6190 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x
; then
6192 eval "DEFAULT_$LINE"
6197 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6201 eval "$ac_cv_use_constraints"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_CONSTRAINTS" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6219 # Check whether --enable-printarch or --disable-printarch was given.
6220 if test "${enable_printarch+set}" = set; then
6221 enableval
="$enable_printarch"
6223 if test "$enableval" = yes; then
6224 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6226 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6231 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x
; then
6233 eval "DEFAULT_$LINE"
6238 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6242 eval "$ac_cv_use_printarch"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6247 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6260 # Check whether --enable-mdi or --disable-mdi was given.
6261 if test "${enable_mdi+set}" = set; then
6262 enableval
="$enable_mdi"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
6267 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
6272 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6283 eval "$ac_cv_use_mdi"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6301 # Check whether --enable-loggui or --disable-loggui was given.
6302 if test "${enable_loggui+set}" = set; then
6303 enableval
="$enable_loggui"
6305 if test "$enableval" = yes; then
6306 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6308 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6313 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x
; then
6315 eval "DEFAULT_$LINE"
6320 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6324 eval "$ac_cv_use_loggui"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_LOGGUI" = yes; then
6330 echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6
6333 echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6
6339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6342 # Check whether --enable-logwin or --disable-logwin was given.
6343 if test "${enable_logwin+set}" = set; then
6344 enableval
="$enable_logwin"
6346 if test "$enableval" = yes; then
6347 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6349 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6354 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x
; then
6356 eval "DEFAULT_$LINE"
6361 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6365 eval "$ac_cv_use_logwin"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_LOGWINDOW" = yes; then
6371 echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6
6374 echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6
6380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6383 # Check whether --enable-logdialog or --disable-logdialog was given.
6384 if test "${enable_logdialog+set}" = set; then
6385 enableval
="$enable_logdialog"
6387 if test "$enableval" = yes; then
6388 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6390 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6395 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x
; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6406 eval "$ac_cv_use_logdialog"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6411 if test "$wxUSE_LOGDIALOG" = yes; then
6412 echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6
6415 echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6425 # Check whether --enable-postscript or --disable-postscript was given.
6426 if test "${enable_postscript+set}" = set; then
6427 enableval
="$enable_postscript"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6432 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6437 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x
; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6448 eval "$ac_cv_use_postscript"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_POSTSCRIPT" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6469 # Check whether --enable-prologio or --disable-prologio was given.
6470 if test "${enable_prologio+set}" = set; then
6471 enableval
="$enable_prologio"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6476 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6481 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6492 eval "$ac_cv_use_prologio"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_PROLOGIO" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6510 # Check whether --enable-resources or --disable-resources was given.
6511 if test "${enable_resources+set}" = set; then
6512 enableval
="$enable_resources"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6517 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6522 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6533 eval "$ac_cv_use_resources"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_RESOURCES" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6553 # Check whether --enable-clipboard or --disable-clipboard was given.
6554 if test "${enable_clipboard+set}" = set; then
6555 enableval
="$enable_clipboard"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6560 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6565 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6576 eval "$ac_cv_use_clipboard"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_CLIPBOARD" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6594 # Check whether --enable-dnd or --disable-dnd was given.
6595 if test "${enable_dnd+set}" = set; then
6596 enableval
="$enable_dnd"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6601 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6606 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6617 eval "$ac_cv_use_dnd"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6635 # Check whether --enable-metafile or --disable-metafile was given.
6636 if test "${enable_metafile+set}" = set; then
6637 enableval
="$enable_metafile"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6642 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6647 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6658 eval "$ac_cv_use_metafile"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_METAFILE" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6679 # Check whether --enable-controls or --disable-controls was given.
6680 if test "${enable_controls+set}" = set; then
6681 enableval
="$enable_controls"
6683 if test "$enableval" = yes; then
6684 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6686 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6691 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x
; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6702 eval "$ac_cv_use_controls"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_CONTROLS" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6716 if test "$wxUSE_CONTROLS" = "yes"; then
6717 DEFAULT_wxUSE_ACCEL
=yes
6718 DEFAULT_wxUSE_BMPBUTTON
=yes
6719 DEFAULT_wxUSE_BUTTON
=yes
6720 DEFAULT_wxUSE_CALCTRL
=no
6721 DEFAULT_wxUSE_CARET
=yes
6722 DEFAULT_wxUSE_COMBOBOX
=yes
6723 DEFAULT_wxUSE_CHECKBOX
=yes
6724 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6725 DEFAULT_wxUSE_CHOICE
=yes
6726 DEFAULT_wxUSE_GAUGE
=yes
6727 DEFAULT_wxUSE_GRID
=yes
6728 DEFAULT_wxUSE_IMAGLIST
=yes
6729 DEFAULT_wxUSE_LISTBOOK
=yes
6730 DEFAULT_wxUSE_LISTBOX
=yes
6731 DEFAULT_wxUSE_LISTCTRL
=yes
6732 DEFAULT_wxUSE_NOTEBOOK
=yes
6733 DEFAULT_wxUSE_RADIOBOX
=yes
6734 DEFAULT_wxUSE_RADIOBTN
=yes
6735 DEFAULT_wxUSE_SASH
=yes
6736 DEFAULT_wxUSE_SCROLLBAR
=yes
6737 DEFAULT_wxUSE_SLIDER
=yes
6738 DEFAULT_wxUSE_SPINBTN
=yes
6739 DEFAULT_wxUSE_SPINCTRL
=yes
6740 DEFAULT_wxUSE_SPLITTER
=yes
6741 DEFAULT_wxUSE_STATBMP
=yes
6742 DEFAULT_wxUSE_STATBOX
=yes
6743 DEFAULT_wxUSE_STATLINE
=yes
6744 DEFAULT_wxUSE_STATUSBAR
=yes
6745 DEFAULT_wxUSE_TAB_DIALOG
=yes
6746 DEFAULT_wxUSE_TOGGLEBTN
=yes
6747 DEFAULT_wxUSE_TOOLBAR
=yes
6748 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6749 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6750 DEFAULT_wxUSE_TOOLTIPS
=yes
6751 DEFAULT_wxUSE_TREECTRL
=yes
6752 DEFAULT_wxUSE_POPUPWIN
=yes
6753 DEFAULT_wxUSE_TIPWINDOW
=yes
6754 elif test "$wxUSE_CONTROLS" = "no"; then
6755 DEFAULT_wxUSE_ACCEL
=no
6756 DEFAULT_wxUSE_BMPBUTTON
=no
6757 DEFAULT_wxUSE_BUTTON
=no
6758 DEFAULT_wxUSE_CALCTRL
=no
6759 DEFAULT_wxUSE_CARET
=no
6760 DEFAULT_wxUSE_COMBOBOX
=no
6761 DEFAULT_wxUSE_CHECKBOX
=no
6762 DEFAULT_wxUSE_CHECKLISTBOX
=no
6763 DEFAULT_wxUSE_CHOICE
=no
6764 DEFAULT_wxUSE_GAUGE
=no
6765 DEFAULT_wxUSE_GRID
=no
6766 DEFAULT_wxUSE_IMAGLIST
=no
6767 DEFAULT_wxUSE_LISTBOOK
=no
6768 DEFAULT_wxUSE_LISTBOX
=no
6769 DEFAULT_wxUSE_LISTCTRL
=no
6770 DEFAULT_wxUSE_NOTEBOOK
=no
6771 DEFAULT_wxUSE_RADIOBOX
=no
6772 DEFAULT_wxUSE_RADIOBTN
=no
6773 DEFAULT_wxUSE_SASH
=no
6774 DEFAULT_wxUSE_SCROLLBAR
=no
6775 DEFAULT_wxUSE_SLIDER
=no
6776 DEFAULT_wxUSE_SPINBTN
=no
6777 DEFAULT_wxUSE_SPINCTRL
=no
6778 DEFAULT_wxUSE_SPLITTER
=no
6779 DEFAULT_wxUSE_STATBMP
=no
6780 DEFAULT_wxUSE_STATBOX
=no
6781 DEFAULT_wxUSE_STATLINE
=no
6782 DEFAULT_wxUSE_STATUSBAR
=no
6783 DEFAULT_wxUSE_TAB_DIALOG
=no
6784 DEFAULT_wxUSE_TOGGLEBTN
=no
6785 DEFAULT_wxUSE_TOOLBAR
=no
6786 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
6787 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
6788 DEFAULT_wxUSE_TOOLTIPS
=no
6789 DEFAULT_wxUSE_TREECTRL
=no
6790 DEFAULT_wxUSE_POPUPWIN
=no
6791 DEFAULT_wxUSE_TIPWINDOW
=no
6794 ## FIXME: This is a blatant hack
6795 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6796 wxUSE_PRINTING_ARCHITECTURE
=no
6797 wxUSE_DRAG_AND_DROP
=no
6798 # Generic notebook requires tab dialog
6799 DEFAULT_wxUSE_TABDIALOG
=yes
6800 DEFAULT_wxUSE_SCROLLBAR
=no
6801 DEFAULT_wxUSE_TOOLTIPS
=no
6802 DEFAULT_wxUSE_DRAGIMAGE
=no
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6810 # Check whether --enable-accel or --disable-accel was given.
6811 if test "${enable_accel+set}" = set; then
6812 enableval
="$enable_accel"
6814 if test "$enableval" = yes; then
6815 ac_cv_use_accel
='wxUSE_ACCEL=yes'
6817 ac_cv_use_accel
='wxUSE_ACCEL=no'
6822 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x
; then
6824 eval "DEFAULT_$LINE"
6829 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6833 eval "$ac_cv_use_accel"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_ACCEL" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840 echo "${ECHO_T}yes" >&6
6842 echo "$as_me:$LINENO: result: no" >&5
6843 echo "${ECHO_T}no" >&6
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6851 # Check whether --enable-button or --disable-button was given.
6852 if test "${enable_button+set}" = set; then
6853 enableval
="$enable_button"
6855 if test "$enableval" = yes; then
6856 ac_cv_use_button
='wxUSE_BUTTON=yes'
6858 ac_cv_use_button
='wxUSE_BUTTON=no'
6863 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x
; then
6865 eval "DEFAULT_$LINE"
6870 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6874 eval "$ac_cv_use_button"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_BUTTON" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881 echo "${ECHO_T}yes" >&6
6883 echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6892 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6893 if test "${enable_bmpbutton+set}" = set; then
6894 enableval
="$enable_bmpbutton"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6899 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6904 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6915 eval "$ac_cv_use_bmpbutton"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_BMPBUTTON" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6933 # Check whether --enable-calendar or --disable-calendar was given.
6934 if test "${enable_calendar+set}" = set; then
6935 enableval
="$enable_calendar"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6940 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6945 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x
; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6956 eval "$ac_cv_use_calendar"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_CALCTRL" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6974 # Check whether --enable-caret or --disable-caret was given.
6975 if test "${enable_caret+set}" = set; then
6976 enableval
="$enable_caret"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_caret
='wxUSE_CARET=yes'
6981 ac_cv_use_caret
='wxUSE_CARET=no'
6986 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x
; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6997 eval "$ac_cv_use_caret"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_CARET" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7015 # Check whether --enable-checkbox or --disable-checkbox was given.
7016 if test "${enable_checkbox+set}" = set; then
7017 enableval
="$enable_checkbox"
7019 if test "$enableval" = yes; then
7020 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7022 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7027 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x
; then
7029 eval "DEFAULT_$LINE"
7034 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7038 eval "$ac_cv_use_checkbox"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7043 if test "$wxUSE_CHECKBOX" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7056 # Check whether --enable-checklst or --disable-checklst was given.
7057 if test "${enable_checklst+set}" = set; then
7058 enableval
="$enable_checklst"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7063 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7068 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x
; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7079 eval "$ac_cv_use_checklst"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_CHECKLST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7097 # Check whether --enable-choice or --disable-choice was given.
7098 if test "${enable_choice+set}" = set; then
7099 enableval
="$enable_choice"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7104 ac_cv_use_choice
='wxUSE_CHOICE=no'
7109 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7120 eval "$ac_cv_use_choice"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_CHOICE" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7138 # Check whether --enable-combobox or --disable-combobox was given.
7139 if test "${enable_combobox+set}" = set; then
7140 enableval
="$enable_combobox"
7142 if test "$enableval" = yes; then
7143 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7145 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7150 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x
; then
7152 eval "DEFAULT_$LINE"
7157 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7161 eval "$ac_cv_use_combobox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_COMBOBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7179 # Check whether --enable-display or --disable-display was given.
7180 if test "${enable_display+set}" = set; then
7181 enableval
="$enable_display"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7186 ac_cv_use_display
='wxUSE_DISPLAY=no'
7191 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7202 eval "$ac_cv_use_display"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_DISPLAY" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7220 # Check whether --enable-gauge or --disable-gauge was given.
7221 if test "${enable_gauge+set}" = set; then
7222 enableval
="$enable_gauge"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7227 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7232 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7243 eval "$ac_cv_use_gauge"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7248 if test "$wxUSE_GAUGE" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7261 # Check whether --enable-grid or --disable-grid was given.
7262 if test "${enable_grid+set}" = set; then
7263 enableval
="$enable_grid"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_grid
='wxUSE_GRID=yes'
7268 ac_cv_use_grid
='wxUSE_GRID=no'
7273 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x
; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7284 eval "$ac_cv_use_grid"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7289 if test "$wxUSE_GRID" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7302 # Check whether --enable-imaglist or --disable-imaglist was given.
7303 if test "${enable_imaglist+set}" = set; then
7304 enableval
="$enable_imaglist"
7306 if test "$enableval" = yes; then
7307 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7309 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7314 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x
; then
7316 eval "DEFAULT_$LINE"
7321 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7325 eval "$ac_cv_use_imaglist"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_IMAGLIST" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7343 # Check whether --enable-listbook or --disable-listbook was given.
7344 if test "${enable_listbook+set}" = set; then
7345 enableval
="$enable_listbook"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7350 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7355 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x
; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7366 eval "$ac_cv_use_listbook"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7371 if test "$wxUSE_LISTBOOK" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7384 # Check whether --enable-listbox or --disable-listbox was given.
7385 if test "${enable_listbox+set}" = set; then
7386 enableval
="$enable_listbox"
7388 if test "$enableval" = yes; then
7389 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7391 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7396 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x
; then
7398 eval "DEFAULT_$LINE"
7403 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7407 eval "$ac_cv_use_listbox"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_LISTBOX" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7425 # Check whether --enable-listctrl or --disable-listctrl was given.
7426 if test "${enable_listctrl+set}" = set; then
7427 enableval
="$enable_listctrl"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7432 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7437 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x
; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7448 eval "$ac_cv_use_listctrl"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7453 if test "$wxUSE_LISTCTRL" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7466 # Check whether --enable-notebook or --disable-notebook was given.
7467 if test "${enable_notebook+set}" = set; then
7468 enableval
="$enable_notebook"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7473 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7478 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x
; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7489 eval "$ac_cv_use_notebook"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7494 if test "$wxUSE_NOTEBOOK" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7507 # Check whether --enable-radiobox or --disable-radiobox was given.
7508 if test "${enable_radiobox+set}" = set; then
7509 enableval
="$enable_radiobox"
7511 if test "$enableval" = yes; then
7512 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7514 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7519 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x
; then
7521 eval "DEFAULT_$LINE"
7526 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7530 eval "$ac_cv_use_radiobox"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7535 if test "$wxUSE_RADIOBOX" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7548 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7549 if test "${enable_radiobtn+set}" = set; then
7550 enableval
="$enable_radiobtn"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7555 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7560 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x
; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7571 eval "$ac_cv_use_radiobtn"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7576 if test "$wxUSE_RADIOBTN" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7589 # Check whether --enable-sash or --disable-sash was given.
7590 if test "${enable_sash+set}" = set; then
7591 enableval
="$enable_sash"
7593 if test "$enableval" = yes; then
7594 ac_cv_use_sash
='wxUSE_SASH=yes'
7596 ac_cv_use_sash
='wxUSE_SASH=no'
7601 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x
; then
7603 eval "DEFAULT_$LINE"
7608 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7612 eval "$ac_cv_use_sash"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_SASH" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7630 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7631 if test "${enable_scrollbar+set}" = set; then
7632 enableval
="$enable_scrollbar"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7637 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7642 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7653 eval "$ac_cv_use_scrollbar"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7658 if test "$wxUSE_SCROLLBAR" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7662 echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7671 # Check whether --enable-slider or --disable-slider was given.
7672 if test "${enable_slider+set}" = set; then
7673 enableval
="$enable_slider"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7678 ac_cv_use_slider
='wxUSE_SLIDER=no'
7683 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x
; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7694 eval "$ac_cv_use_slider"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_SLIDER" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6
7703 echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7712 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7713 if test "${enable_spinbtn+set}" = set; then
7714 enableval
="$enable_spinbtn"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7719 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7724 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x
; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7735 eval "$ac_cv_use_spinbtn"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_SPINBTN" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6
7744 echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7753 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7754 if test "${enable_spinctrl+set}" = set; then
7755 enableval
="$enable_spinctrl"
7757 if test "$enableval" = yes; then
7758 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
7760 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
7765 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x
; then
7767 eval "DEFAULT_$LINE"
7772 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7776 eval "$ac_cv_use_spinctrl"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7781 if test "$wxUSE_SPINCTRL" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7794 # Check whether --enable-splitter or --disable-splitter was given.
7795 if test "${enable_splitter+set}" = set; then
7796 enableval
="$enable_splitter"
7798 if test "$enableval" = yes; then
7799 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
7801 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7806 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x
; then
7808 eval "DEFAULT_$LINE"
7813 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7817 eval "$ac_cv_use_splitter"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_SPLITTER" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7835 # Check whether --enable-statbmp or --disable-statbmp was given.
7836 if test "${enable_statbmp+set}" = set; then
7837 enableval
="$enable_statbmp"
7839 if test "$enableval" = yes; then
7840 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7842 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7847 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x
; then
7849 eval "DEFAULT_$LINE"
7854 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7858 eval "$ac_cv_use_statbmp"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_STATBMP" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6
7867 echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7876 # Check whether --enable-statbox or --disable-statbox was given.
7877 if test "${enable_statbox+set}" = set; then
7878 enableval
="$enable_statbox"
7880 if test "$enableval" = yes; then
7881 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7883 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7888 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x
; then
7890 eval "DEFAULT_$LINE"
7895 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7899 eval "$ac_cv_use_statbox"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7904 if test "$wxUSE_STATBOX" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7917 # Check whether --enable-statline or --disable-statline was given.
7918 if test "${enable_statline+set}" = set; then
7919 enableval
="$enable_statline"
7921 if test "$enableval" = yes; then
7922 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7924 ac_cv_use_statline
='wxUSE_STATLINE=no'
7929 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x
; then
7931 eval "DEFAULT_$LINE"
7936 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7940 eval "$ac_cv_use_statline"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7945 if test "$wxUSE_STATLINE" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7958 # Check whether --enable-stattext or --disable-stattext was given.
7959 if test "${enable_stattext+set}" = set; then
7960 enableval
="$enable_stattext"
7962 if test "$enableval" = yes; then
7963 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7965 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7970 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x
; then
7972 eval "DEFAULT_$LINE"
7977 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7981 eval "$ac_cv_use_stattext"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7986 if test "$wxUSE_STATTEXT" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7999 # Check whether --enable-statusbar or --disable-statusbar was given.
8000 if test "${enable_statusbar+set}" = set; then
8001 enableval
="$enable_statusbar"
8003 if test "$enableval" = yes; then
8004 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8006 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8011 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x
; then
8013 eval "DEFAULT_$LINE"
8018 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8022 eval "$ac_cv_use_statusbar"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_STATUSBAR" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8040 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8041 if test "${enable_tabdialog+set}" = set; then
8042 enableval
="$enable_tabdialog"
8044 if test "$enableval" = yes; then
8045 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8047 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8052 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x
; then
8054 eval "DEFAULT_$LINE"
8059 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8063 eval "$ac_cv_use_tabdialog"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8068 if test "$wxUSE_TABDIALOG" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6
8072 echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8081 # Check whether --enable-textctrl or --disable-textctrl was given.
8082 if test "${enable_textctrl+set}" = set; then
8083 enableval
="$enable_textctrl"
8085 if test "$enableval" = yes; then
8086 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8088 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8093 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x
; then
8095 eval "DEFAULT_$LINE"
8100 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8104 eval "$ac_cv_use_textctrl"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_TEXTCTRL" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8122 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8123 if test "${enable_togglebtn+set}" = set; then
8124 enableval
="$enable_togglebtn"
8126 if test "$enableval" = yes; then
8127 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8129 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8134 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x
; then
8136 eval "DEFAULT_$LINE"
8141 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8145 eval "$ac_cv_use_togglebtn"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_TOGGLEBTN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6
8154 echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8163 # Check whether --enable-toolbar or --disable-toolbar was given.
8164 if test "${enable_toolbar+set}" = set; then
8165 enableval
="$enable_toolbar"
8167 if test "$enableval" = yes; then
8168 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8170 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8175 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x
; then
8177 eval "DEFAULT_$LINE"
8182 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8186 eval "$ac_cv_use_toolbar"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8191 if test "$wxUSE_TOOLBAR" = yes; then
8192 echo "$as_me:$LINENO: result: yes" >&5
8193 echo "${ECHO_T}yes" >&6
8195 echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6
8201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8204 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8205 if test "${enable_tbarnative+set}" = set; then
8206 enableval
="$enable_tbarnative"
8208 if test "$enableval" = yes; then
8209 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8211 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8216 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8217 if test "x$LINE" != x
; then
8218 eval "DEFAULT_$LINE"
8223 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8227 eval "$ac_cv_use_tbarnative"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8232 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8233 echo "$as_me:$LINENO: result: yes" >&5
8234 echo "${ECHO_T}yes" >&6
8236 echo "$as_me:$LINENO: result: no" >&5
8237 echo "${ECHO_T}no" >&6
8242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8243 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8245 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8246 if test "${enable_tbarsmpl+set}" = set; then
8247 enableval
="$enable_tbarsmpl"
8249 if test "$enableval" = yes; then
8250 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8252 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8257 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x
; then
8259 eval "DEFAULT_$LINE"
8264 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8268 eval "$ac_cv_use_tbarsmpl"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8273 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8274 echo "$as_me:$LINENO: result: yes" >&5
8275 echo "${ECHO_T}yes" >&6
8277 echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6
8283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8286 # Check whether --enable-treectrl or --disable-treectrl was given.
8287 if test "${enable_treectrl+set}" = set; then
8288 enableval
="$enable_treectrl"
8290 if test "$enableval" = yes; then
8291 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8293 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8298 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x
; then
8300 eval "DEFAULT_$LINE"
8305 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8309 eval "$ac_cv_use_treectrl"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8314 if test "$wxUSE_TREECTRL" = yes; then
8315 echo "$as_me:$LINENO: result: yes" >&5
8316 echo "${ECHO_T}yes" >&6
8318 echo "$as_me:$LINENO: result: no" >&5
8319 echo "${ECHO_T}no" >&6
8324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8327 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8328 if test "${enable_tipwindow+set}" = set; then
8329 enableval
="$enable_tipwindow"
8331 if test "$enableval" = yes; then
8332 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8334 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8339 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8340 if test "x$LINE" != x
; then
8341 eval "DEFAULT_$LINE"
8346 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8350 eval "$ac_cv_use_tipwindow"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8355 if test "$wxUSE_TIPWINDOW" = yes; then
8356 echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6
8359 echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6
8365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8366 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8368 # Check whether --enable-popupwin or --disable-popupwin was given.
8369 if test "${enable_popupwin+set}" = set; then
8370 enableval
="$enable_popupwin"
8372 if test "$enableval" = yes; then
8373 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8375 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8380 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x
; then
8382 eval "DEFAULT_$LINE"
8387 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8391 eval "$ac_cv_use_popupwin"
8392 if test "$no_cache" != 1; then
8393 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8396 if test "$wxUSE_POPUPWIN" = yes; then
8397 echo "$as_me:$LINENO: result: yes" >&5
8398 echo "${ECHO_T}yes" >&6
8400 echo "$as_me:$LINENO: result: no" >&5
8401 echo "${ECHO_T}no" >&6
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8411 # Check whether --enable-commondlg or --disable-commondlg was given.
8412 if test "${enable_commondlg+set}" = set; then
8413 enableval
="$enable_commondlg"
8415 if test "$enableval" = yes; then
8416 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8418 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8423 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x
; then
8425 eval "DEFAULT_$LINE"
8430 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8434 eval "$ac_cv_use_commondlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_COMMONDLGS" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8452 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8453 if test "${enable_choicedlg+set}" = set; then
8454 enableval
="$enable_choicedlg"
8456 if test "$enableval" = yes; then
8457 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8459 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8464 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x
; then
8466 eval "DEFAULT_$LINE"
8471 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8475 eval "$ac_cv_use_choicedlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8480 if test "$wxUSE_CHOICEDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8493 # Check whether --enable-coldlg or --disable-coldlg was given.
8494 if test "${enable_coldlg+set}" = set; then
8495 enableval
="$enable_coldlg"
8497 if test "$enableval" = yes; then
8498 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8500 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8505 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x
; then
8507 eval "DEFAULT_$LINE"
8512 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8516 eval "$ac_cv_use_coldlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8521 if test "$wxUSE_COLOURDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8534 # Check whether --enable-filedlg or --disable-filedlg was given.
8535 if test "${enable_filedlg+set}" = set; then
8536 enableval
="$enable_filedlg"
8538 if test "$enableval" = yes; then
8539 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8541 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8546 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x
; then
8548 eval "DEFAULT_$LINE"
8553 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8557 eval "$ac_cv_use_filedlg"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8562 if test "$wxUSE_FILEDLG" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8575 # Check whether --enable-finddlg or --disable-finddlg was given.
8576 if test "${enable_finddlg+set}" = set; then
8577 enableval
="$enable_finddlg"
8579 if test "$enableval" = yes; then
8580 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8582 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8587 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x
; then
8589 eval "DEFAULT_$LINE"
8594 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8598 eval "$ac_cv_use_finddlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8603 if test "$wxUSE_FINDREPLDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8616 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8617 if test "${enable_fontdlg+set}" = set; then
8618 enableval
="$enable_fontdlg"
8620 if test "$enableval" = yes; then
8621 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8623 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8628 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x
; then
8630 eval "DEFAULT_$LINE"
8635 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8639 eval "$ac_cv_use_fontdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8644 if test "$wxUSE_FONTDLG" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8657 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8658 if test "${enable_dirdlg+set}" = set; then
8659 enableval
="$enable_dirdlg"
8661 if test "$enableval" = yes; then
8662 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8664 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8669 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x
; then
8671 eval "DEFAULT_$LINE"
8676 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8680 eval "$ac_cv_use_dirdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8685 if test "$wxUSE_DIRDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8698 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8699 if test "${enable_msgdlg+set}" = set; then
8700 enableval
="$enable_msgdlg"
8702 if test "$enableval" = yes; then
8703 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8705 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8710 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x
; then
8712 eval "DEFAULT_$LINE"
8717 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8721 eval "$ac_cv_use_msgdlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8726 if test "$wxUSE_MSGDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8739 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8740 if test "${enable_numberdlg+set}" = set; then
8741 enableval
="$enable_numberdlg"
8743 if test "$enableval" = yes; then
8744 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8746 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8751 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x
; then
8753 eval "DEFAULT_$LINE"
8758 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8762 eval "$ac_cv_use_numberdlg"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8767 if test "$wxUSE_NUMBERDLG" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8780 # Check whether --enable-splash or --disable-splash was given.
8781 if test "${enable_splash+set}" = set; then
8782 enableval
="$enable_splash"
8784 if test "$enableval" = yes; then
8785 ac_cv_use_splash
='wxUSE_SPLASH=yes'
8787 ac_cv_use_splash
='wxUSE_SPLASH=no'
8792 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x
; then
8794 eval "DEFAULT_$LINE"
8799 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8803 eval "$ac_cv_use_splash"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8808 if test "$wxUSE_SPLASH" = yes; then
8809 echo "$as_me:$LINENO: result: yes" >&5
8810 echo "${ECHO_T}yes" >&6
8812 echo "$as_me:$LINENO: result: no" >&5
8813 echo "${ECHO_T}no" >&6
8818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8821 # Check whether --enable-textdlg or --disable-textdlg was given.
8822 if test "${enable_textdlg+set}" = set; then
8823 enableval
="$enable_textdlg"
8825 if test "$enableval" = yes; then
8826 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
8828 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8833 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x
; then
8835 eval "DEFAULT_$LINE"
8840 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8844 eval "$ac_cv_use_textdlg"
8845 if test "$no_cache" != 1; then
8846 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8849 if test "$wxUSE_TEXTDLG" = yes; then
8850 echo "$as_me:$LINENO: result: yes" >&5
8851 echo "${ECHO_T}yes" >&6
8853 echo "$as_me:$LINENO: result: no" >&5
8854 echo "${ECHO_T}no" >&6
8859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8862 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8863 if test "${enable_tipdlg+set}" = set; then
8864 enableval
="$enable_tipdlg"
8866 if test "$enableval" = yes; then
8867 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8869 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8874 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8875 if test "x$LINE" != x
; then
8876 eval "DEFAULT_$LINE"
8881 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8885 eval "$ac_cv_use_tipdlg"
8886 if test "$no_cache" != 1; then
8887 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8890 if test "$wxUSE_STARTUP_TIPS" = yes; then
8891 echo "$as_me:$LINENO: result: yes" >&5
8892 echo "${ECHO_T}yes" >&6
8894 echo "$as_me:$LINENO: result: no" >&5
8895 echo "${ECHO_T}no" >&6
8900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8903 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8904 if test "${enable_progressdlg+set}" = set; then
8905 enableval
="$enable_progressdlg"
8907 if test "$enableval" = yes; then
8908 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8910 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8915 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8916 if test "x$LINE" != x
; then
8917 eval "DEFAULT_$LINE"
8922 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8926 eval "$ac_cv_use_progressdlg"
8927 if test "$no_cache" != 1; then
8928 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8931 if test "$wxUSE_PROGRESSDLG" = yes; then
8932 echo "$as_me:$LINENO: result: yes" >&5
8933 echo "${ECHO_T}yes" >&6
8935 echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8944 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8945 if test "${enable_wizarddlg+set}" = set; then
8946 enableval
="$enable_wizarddlg"
8948 if test "$enableval" = yes; then
8949 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8951 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8956 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x
; then
8958 eval "DEFAULT_$LINE"
8963 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8967 eval "$ac_cv_use_wizarddlg"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8972 if test "$wxUSE_WIZARDDLG" = yes; then
8973 echo "$as_me:$LINENO: result: yes" >&5
8974 echo "${ECHO_T}yes" >&6
8976 echo "$as_me:$LINENO: result: no" >&5
8977 echo "${ECHO_T}no" >&6
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8987 # Check whether --enable-menus or --disable-menus was given.
8988 if test "${enable_menus+set}" = set; then
8989 enableval
="$enable_menus"
8991 if test "$enableval" = yes; then
8992 ac_cv_use_menus
='wxUSE_MENUS=yes'
8994 ac_cv_use_menus
='wxUSE_MENUS=no'
8999 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x
; then
9001 eval "DEFAULT_$LINE"
9006 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9010 eval "$ac_cv_use_menus"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9015 if test "$wxUSE_MENUS" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9028 # Check whether --enable-miniframe or --disable-miniframe was given.
9029 if test "${enable_miniframe+set}" = set; then
9030 enableval
="$enable_miniframe"
9032 if test "$enableval" = yes; then
9033 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9035 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9040 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x
; then
9042 eval "DEFAULT_$LINE"
9047 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9051 eval "$ac_cv_use_miniframe"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9056 if test "$wxUSE_MINIFRAME" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9069 # Check whether --enable-tooltips or --disable-tooltips was given.
9070 if test "${enable_tooltips+set}" = set; then
9071 enableval
="$enable_tooltips"
9073 if test "$enableval" = yes; then
9074 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9076 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9081 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x
; then
9083 eval "DEFAULT_$LINE"
9088 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9092 eval "$ac_cv_use_tooltips"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9097 if test "$wxUSE_TOOLTIPS" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9110 # Check whether --enable-splines or --disable-splines was given.
9111 if test "${enable_splines+set}" = set; then
9112 enableval
="$enable_splines"
9114 if test "$enableval" = yes; then
9115 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9117 ac_cv_use_splines
='wxUSE_SPLINES=no'
9122 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x
; then
9124 eval "DEFAULT_$LINE"
9129 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9133 eval "$ac_cv_use_splines"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9138 if test "$wxUSE_SPLINES" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9151 # Check whether --enable-validators or --disable-validators was given.
9152 if test "${enable_validators+set}" = set; then
9153 enableval
="$enable_validators"
9155 if test "$enableval" = yes; then
9156 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9158 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9163 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x
; then
9165 eval "DEFAULT_$LINE"
9170 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9174 eval "$ac_cv_use_validators"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9179 if test "$wxUSE_VALIDATORS" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9192 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9193 if test "${enable_busyinfo+set}" = set; then
9194 enableval
="$enable_busyinfo"
9196 if test "$enableval" = yes; then
9197 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9199 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9204 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x
; then
9206 eval "DEFAULT_$LINE"
9211 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9215 eval "$ac_cv_use_busyinfo"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9220 if test "$wxUSE_BUSYINFO" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9233 # Check whether --enable-joystick or --disable-joystick was given.
9234 if test "${enable_joystick+set}" = set; then
9235 enableval
="$enable_joystick"
9237 if test "$enableval" = yes; then
9238 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9240 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9245 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x
; then
9247 eval "DEFAULT_$LINE"
9252 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9256 eval "$ac_cv_use_joystick"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9261 if test "$wxUSE_JOYSTICK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9274 # Check whether --enable-metafile or --disable-metafile was given.
9275 if test "${enable_metafile+set}" = set; then
9276 enableval
="$enable_metafile"
9278 if test "$enableval" = yes; then
9279 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9281 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9286 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x
; then
9288 eval "DEFAULT_$LINE"
9293 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9297 eval "$ac_cv_use_metafile"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9302 if test "$wxUSE_METAFILE" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9315 # Check whether --enable-dragimage or --disable-dragimage was given.
9316 if test "${enable_dragimage+set}" = set; then
9317 enableval
="$enable_dragimage"
9319 if test "$enableval" = yes; then
9320 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9322 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9327 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x
; then
9329 eval "DEFAULT_$LINE"
9334 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9338 eval "$ac_cv_use_dragimage"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9343 if test "$wxUSE_DRAGIMAGE" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9356 # Check whether --enable-accessibility or --disable-accessibility was given.
9357 if test "${enable_accessibility+set}" = set; then
9358 enableval
="$enable_accessibility"
9360 if test "$enableval" = yes; then
9361 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9363 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9368 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x
; then
9370 eval "DEFAULT_$LINE"
9375 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9379 eval "$ac_cv_use_accessibility"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9384 if test "$wxUSE_ACCESSIBILITY" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9399 # Check whether --enable-palette or --disable-palette was given.
9400 if test "${enable_palette+set}" = set; then
9401 enableval
="$enable_palette"
9403 if test "$enableval" = yes; then
9404 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9406 ac_cv_use_palette
='wxUSE_PALETTE=no'
9411 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x
; then
9413 eval "DEFAULT_$LINE"
9418 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9422 eval "$ac_cv_use_palette"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9427 if test "$wxUSE_PALETTE" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9440 # Check whether --enable-image or --disable-image was given.
9441 if test "${enable_image+set}" = set; then
9442 enableval
="$enable_image"
9444 if test "$enableval" = yes; then
9445 ac_cv_use_image
='wxUSE_IMAGE=yes'
9447 ac_cv_use_image
='wxUSE_IMAGE=no'
9452 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x
; then
9454 eval "DEFAULT_$LINE"
9459 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9463 eval "$ac_cv_use_image"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9468 if test "$wxUSE_IMAGE" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9481 # Check whether --enable-gif or --disable-gif was given.
9482 if test "${enable_gif+set}" = set; then
9483 enableval
="$enable_gif"
9485 if test "$enableval" = yes; then
9486 ac_cv_use_gif
='wxUSE_GIF=yes'
9488 ac_cv_use_gif
='wxUSE_GIF=no'
9493 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x
; then
9495 eval "DEFAULT_$LINE"
9500 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9504 eval "$ac_cv_use_gif"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9509 if test "$wxUSE_GIF" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9522 # Check whether --enable-pcx or --disable-pcx was given.
9523 if test "${enable_pcx+set}" = set; then
9524 enableval
="$enable_pcx"
9526 if test "$enableval" = yes; then
9527 ac_cv_use_pcx
='wxUSE_PCX=yes'
9529 ac_cv_use_pcx
='wxUSE_PCX=no'
9534 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x
; then
9536 eval "DEFAULT_$LINE"
9541 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9545 eval "$ac_cv_use_pcx"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9550 if test "$wxUSE_PCX" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9563 # Check whether --enable-iff or --disable-iff was given.
9564 if test "${enable_iff+set}" = set; then
9565 enableval
="$enable_iff"
9567 if test "$enableval" = yes; then
9568 ac_cv_use_iff
='wxUSE_IFF=yes'
9570 ac_cv_use_iff
='wxUSE_IFF=no'
9575 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x
; then
9577 eval "DEFAULT_$LINE"
9582 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9586 eval "$ac_cv_use_iff"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9591 if test "$wxUSE_IFF" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9604 # Check whether --enable-pnm or --disable-pnm was given.
9605 if test "${enable_pnm+set}" = set; then
9606 enableval
="$enable_pnm"
9608 if test "$enableval" = yes; then
9609 ac_cv_use_pnm
='wxUSE_PNM=yes'
9611 ac_cv_use_pnm
='wxUSE_PNM=no'
9616 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x
; then
9618 eval "DEFAULT_$LINE"
9623 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9627 eval "$ac_cv_use_pnm"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9632 if test "$wxUSE_PNM" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9645 # Check whether --enable-xpm or --disable-xpm was given.
9646 if test "${enable_xpm+set}" = set; then
9647 enableval
="$enable_xpm"
9649 if test "$enableval" = yes; then
9650 ac_cv_use_xpm
='wxUSE_XPM=yes'
9652 ac_cv_use_xpm
='wxUSE_XPM=no'
9657 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x
; then
9659 eval "DEFAULT_$LINE"
9664 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9668 eval "$ac_cv_use_xpm"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9673 if test "$wxUSE_XPM" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9686 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9687 if test "${enable_ico_cur+set}" = set; then
9688 enableval
="$enable_ico_cur"
9690 if test "$enableval" = yes; then
9691 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9693 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9698 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x
; then
9700 eval "DEFAULT_$LINE"
9705 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9709 eval "$ac_cv_use_ico_cur"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9714 if test "$wxUSE_ICO_CUR" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9731 # Check whether --enable-official_build or --disable-official_build was given.
9732 if test "${enable_official_build+set}" = set; then
9733 enableval
="$enable_official_build"
9735 if test "$enableval" = yes; then
9736 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9738 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9743 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9744 if test "x$LINE" != x
; then
9745 eval "DEFAULT_$LINE"
9750 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9754 eval "$ac_cv_use_official_build"
9755 if test "$no_cache" != 1; then
9756 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9759 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9760 echo "$as_me:$LINENO: result: yes" >&5
9761 echo "${ECHO_T}yes" >&6
9763 echo "$as_me:$LINENO: result: no" >&5
9764 echo "${ECHO_T}no" >&6
9767 # Check whether --enable-vendor or --disable-vendor was given.
9768 if test "${enable_vendor+set}" = set; then
9769 enableval
="$enable_vendor"
9772 if test "x$VENDOR" = "x"; then
9777 *-pc-os2_emx | *-pc-os2-emx )
9787 echo "saving argument cache $wx_arg_cache_file"
9788 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
9792 echo "$as_me:$LINENO: checking for toolkit" >&5
9793 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9795 # In Wine, we need to default to MSW, not GTK or MOTIF
9796 if test "$wxUSE_WINE" = "yes"; then
9797 DEFAULT_DEFAULT_wxUSE_GTK
=0
9798 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
9799 DEFAULT_DEFAULT_wxUSE_MSW
=1
9803 if test "$wxUSE_GUI" = "yes"; then
9805 if test "$USE_BEOS" = 1; then
9806 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9807 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9808 { (exit 1); exit 1; }; }
9811 if test "$TOOLKIT_GIVEN" = 1; then
9812 for toolkit
in `echo $ALL_TOOLKITS`; do
9814 eval "value=\$${var}"
9815 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
9818 for toolkit
in `echo $ALL_TOOLKITS`; do
9819 if test "$has_toolkit_in_cache" != 1; then
9820 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
9822 var
=DEFAULT_wxUSE_
$toolkit
9824 eval "wxUSE_$toolkit=\$${var}"
9828 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9829 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9830 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9833 *-pc-os2_emx | *-pc-os2-emx )
9834 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9837 case "$NUM_TOOLKITS" in
9841 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9842 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9843 { (exit 1); exit 1; }; }
9846 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9847 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9848 { (exit 1); exit 1; }; }
9851 for toolkit
in `echo $ALL_TOOLKITS`; do
9853 eval "value=\$${var}"
9854 if test "x$value" != x
; then
9855 cache_var
=CACHE_
$toolkit
9856 eval "cache=\$${cache_var}"
9857 if test "$cache" = 1; then
9858 echo "$var=$value" >> ${wx_arg_cache_file}
9860 if test "$value" = 1; then
9861 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9862 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9863 echo "${ECHO_T}$toolkit_echo" >&6
9868 if test "x$host_alias" != "x"; then
9869 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9870 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9872 echo "$as_me:$LINENO: result: base only" >&5
9873 echo "${ECHO_T}base only" >&6
9881 if test "$wxUSE_MSW" = 1 ; then
9892 if test "$wxUSE_WINE" = "yes"; then
9897 LDFLAGS_GUI
="-mwindows"
9900 if test "$wants_win32" = 1 ; then
9903 cat >>confdefs.h
<<\_ACEOF
9907 cat >>confdefs.h
<<\_ACEOF
9911 cat >>confdefs.h
<<\_ACEOF
9912 #define __WINDOWS__ 1
9915 cat >>confdefs.h
<<\_ACEOF
9916 #define __GNUWIN32__ 1
9919 cat >>confdefs.h
<<\_ACEOF
9923 cat >>confdefs.h
<<\_ACEOF
9924 #define WINVER 0x0400
9928 if test "$doesnt_want_win32" = 1 ; then
9933 if test "$USE_UNIX" = 1 ; then
9935 cat >>confdefs.h
<<\_ACEOF
9942 cat >confcache
<<\_ACEOF
9943 # This file is a shell script that caches the results of configure
9944 # tests run on this system so they can be shared between configure
9945 # scripts and configure runs, see configure's option --config-cache.
9946 # It is not useful on other systems. If it contains results you don't
9947 # want to keep, you may remove or edit it.
9949 # config.status only pays attention to the cache file if you give it
9950 # the --recheck option to rerun configure.
9952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9958 # The following way of writing the cache mishandles newlines in values,
9959 # but we know of no workaround that is simple, portable, and efficient.
9960 # So, don't put newlines in cache variables' values.
9961 # Ultrix sh set writes to stderr and can't be redirected directly,
9962 # and sets the high bit in the cache file unless we assign to the vars.
9965 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9967 # `set' does not quote correctly, so add quotes (double-quote
9968 # substitution turns \\\\ into \\, and sed turns \\ into \).
9971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9974 # `set' quotes correctly as required by POSIX, so do not add quotes.
9976 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9985 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9987 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9988 if test -w $cache_file; then
9989 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9990 cat confcache
>$cache_file
9992 echo "not updating unwritable cache $cache_file"
9997 if test "$build" != "$host" ; then
9998 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10000 CXX
=$host_alias-c++
10002 RANLIB
=$host_alias-ranlib
10003 DLLTOOL
=$host_alias-dlltool
10004 RESCOMP
=$host_alias-windres
10007 STRIP
=$host_alias-strip
10009 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10010 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10011 { (exit 1); exit 1; }; }
10017 ac_cpp
='$CPP $CPPFLAGS'
10018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10021 if test -n "$ac_tool_prefix"; then
10022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10023 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10024 echo "$as_me:$LINENO: checking for $ac_word" >&5
10025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10026 if test "${ac_cv_prog_CC+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10029 if test -n "$CC"; then
10030 ac_cv_prog_CC
="$CC" # Let the user override the test.
10032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10033 for as_dir
in $PATH
10036 test -z "$as_dir" && as_dir
=.
10037 for ac_exec_ext
in '' $ac_executable_extensions; do
10038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10039 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10049 if test -n "$CC"; then
10050 echo "$as_me:$LINENO: result: $CC" >&5
10051 echo "${ECHO_T}$CC" >&6
10053 echo "$as_me:$LINENO: result: no" >&5
10054 echo "${ECHO_T}no" >&6
10058 if test -z "$ac_cv_prog_CC"; then
10060 # Extract the first word of "gcc", so it can be a program name with args.
10061 set dummy gcc
; ac_word
=$2
10062 echo "$as_me:$LINENO: checking for $ac_word" >&5
10063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 if test -n "$ac_ct_CC"; then
10068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10071 for as_dir
in $PATH
10074 test -z "$as_dir" && as_dir
=.
10075 for ac_exec_ext
in '' $ac_executable_extensions; do
10076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10077 ac_cv_prog_ac_ct_CC
="gcc"
10078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10087 if test -n "$ac_ct_CC"; then
10088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10089 echo "${ECHO_T}$ac_ct_CC" >&6
10091 echo "$as_me:$LINENO: result: no" >&5
10092 echo "${ECHO_T}no" >&6
10097 CC
="$ac_cv_prog_CC"
10100 if test -z "$CC"; then
10101 if test -n "$ac_tool_prefix"; then
10102 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10103 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10104 echo "$as_me:$LINENO: checking for $ac_word" >&5
10105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10106 if test "${ac_cv_prog_CC+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 if test -n "$CC"; then
10110 ac_cv_prog_CC
="$CC" # Let the user override the test.
10112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10113 for as_dir
in $PATH
10116 test -z "$as_dir" && as_dir
=.
10117 for ac_exec_ext
in '' $ac_executable_extensions; do
10118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10119 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10129 if test -n "$CC"; then
10130 echo "$as_me:$LINENO: result: $CC" >&5
10131 echo "${ECHO_T}$CC" >&6
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10138 if test -z "$ac_cv_prog_CC"; then
10140 # Extract the first word of "cc", so it can be a program name with args.
10141 set dummy cc
; ac_word
=$2
10142 echo "$as_me:$LINENO: checking for $ac_word" >&5
10143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10147 if test -n "$ac_ct_CC"; then
10148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10151 for as_dir
in $PATH
10154 test -z "$as_dir" && as_dir
=.
10155 for ac_exec_ext
in '' $ac_executable_extensions; do
10156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_ac_ct_CC
="cc"
10158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10167 if test -n "$ac_ct_CC"; then
10168 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10169 echo "${ECHO_T}$ac_ct_CC" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10177 CC
="$ac_cv_prog_CC"
10181 if test -z "$CC"; then
10182 # Extract the first word of "cc", so it can be a program name with args.
10183 set dummy cc
; ac_word
=$2
10184 echo "$as_me:$LINENO: checking for $ac_word" >&5
10185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186 if test "${ac_cv_prog_CC+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 if test -n "$CC"; then
10190 ac_cv_prog_CC
="$CC" # Let the user override the test.
10192 ac_prog_rejected
=no
10193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10194 for as_dir
in $PATH
10197 test -z "$as_dir" && as_dir
=.
10198 for ac_exec_ext
in '' $ac_executable_extensions; do
10199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10201 ac_prog_rejected
=yes
10205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 if test $ac_prog_rejected = yes; then
10212 # We found a bogon in the path, so make sure we never use it.
10213 set dummy
$ac_cv_prog_CC
10215 if test $# != 0; then
10216 # We chose a different compiler from the bogus one.
10217 # However, it has the same basename, so the bogon will be chosen
10218 # first if we set CC to just the basename; use the full file name.
10220 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10226 if test -n "$CC"; then
10227 echo "$as_me:$LINENO: result: $CC" >&5
10228 echo "${ECHO_T}$CC" >&6
10230 echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6
10235 if test -z "$CC"; then
10236 if test -n "$ac_tool_prefix"; then
10239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10240 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10241 echo "$as_me:$LINENO: checking for $ac_word" >&5
10242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10243 if test "${ac_cv_prog_CC+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 if test -n "$CC"; then
10247 ac_cv_prog_CC
="$CC" # Let the user override the test.
10249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10250 for as_dir
in $PATH
10253 test -z "$as_dir" && as_dir
=.
10254 for ac_exec_ext
in '' $ac_executable_extensions; do
10255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10256 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10266 if test -n "$CC"; then
10267 echo "$as_me:$LINENO: result: $CC" >&5
10268 echo "${ECHO_T}$CC" >&6
10270 echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6
10274 test -n "$CC" && break
10277 if test -z "$CC"; then
10281 # Extract the first word of "$ac_prog", so it can be a program name with args.
10282 set dummy
$ac_prog; ac_word
=$2
10283 echo "$as_me:$LINENO: checking for $ac_word" >&5
10284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 if test -n "$ac_ct_CC"; then
10289 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10292 for as_dir
in $PATH
10295 test -z "$as_dir" && as_dir
=.
10296 for ac_exec_ext
in '' $ac_executable_extensions; do
10297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10298 ac_cv_prog_ac_ct_CC
="$ac_prog"
10299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10308 if test -n "$ac_ct_CC"; then
10309 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10310 echo "${ECHO_T}$ac_ct_CC" >&6
10312 echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6
10316 test -n "$ac_ct_CC" && break
10325 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10326 See \`config.log' for more details." >&5
10327 echo "$as_me: error: no acceptable C compiler found in \$PATH
10328 See \`config.log' for more details." >&2;}
10329 { (exit 1); exit 1; }; }
10331 # Provide some information about the compiler.
10332 echo "$as_me:$LINENO:" \
10333 "checking for C compiler version" >&5
10334 ac_compiler
=`set X $ac_compile; echo $2`
10335 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10336 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }
10340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10341 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }
10345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10346 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }
10351 cat >conftest.
$ac_ext <<_ACEOF
10352 #line $LINENO "configure"
10355 cat confdefs.h
>>conftest.
$ac_ext
10356 cat >>conftest.
$ac_ext <<_ACEOF
10357 /* end confdefs.h. */
10367 ac_clean_files_save
=$ac_clean_files
10368 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10369 # Try to create an executable without -o first, disregard a.out.
10370 # It will help us diagnose broken compilers, and finding out an intuition
10372 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10373 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10374 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10375 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10376 (eval $ac_link_default) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; then
10380 # Find the output, starting from the most likely. This scheme is
10381 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10384 # Be careful to initialize this variable, since it used to be cached.
10385 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10387 # b.out is created by i960 compilers.
10388 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10390 test -f "$ac_file" || continue
10392 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10395 # This is the source file.
10398 # We found the default executable, but exeext='' is most
10402 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10403 # FIXME: I believe we export ac_cv_exeext for Libtool,
10404 # but it would be cool to find out if it's true. Does anybody
10405 # maintain Libtool? --akim.
10406 export ac_cv_exeext
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.
$ac_ext >&5
10416 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10417 See \`config.log' for more details." >&5
10418 echo "$as_me: error: C compiler cannot create executables
10419 See \`config.log' for more details." >&2;}
10420 { (exit 77); exit 77; }; }
10423 ac_exeext
=$ac_cv_exeext
10424 echo "$as_me:$LINENO: result: $ac_file" >&5
10425 echo "${ECHO_T}$ac_file" >&6
10427 # Check the compiler produces executables we can run. If not, either
10428 # the compiler is broken, or we cross compile.
10429 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10430 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10431 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10432 # If not cross compiling, check that we can run a simple program.
10433 if test "$cross_compiling" != yes; then
10434 if { ac_try
='./$ac_file'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; }; then
10442 if test "$cross_compiling" = maybe
; then
10443 cross_compiling
=yes
10445 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10446 If you meant to cross compile, use \`--host'.
10447 See \`config.log' for more details." >&5
10448 echo "$as_me: error: cannot run C compiled programs.
10449 If you meant to cross compile, use \`--host'.
10450 See \`config.log' for more details." >&2;}
10451 { (exit 1); exit 1; }; }
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10458 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10459 ac_clean_files
=$ac_clean_files_save
10460 # Check the compiler produces executables we can run. If not, either
10461 # the compiler is broken, or we cross compile.
10462 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10463 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10464 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10465 echo "${ECHO_T}$cross_compiling" >&6
10467 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10468 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10470 (eval $ac_link) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; then
10474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10476 # work properly (i.e., refer to `conftest.exe'), while it won't with
10478 for ac_file
in conftest.exe conftest conftest.
*; do
10479 test -f "$ac_file" || continue
10481 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10482 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10483 export ac_cv_exeext
10489 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10490 See \`config.log' for more details." >&5
10491 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10492 See \`config.log' for more details." >&2;}
10493 { (exit 1); exit 1; }; }
10496 rm -f conftest
$ac_cv_exeext
10497 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10498 echo "${ECHO_T}$ac_cv_exeext" >&6
10500 rm -f conftest.
$ac_ext
10501 EXEEXT
=$ac_cv_exeext
10503 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10504 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10505 if test "${ac_cv_objext+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 cat >conftest.
$ac_ext <<_ACEOF
10509 #line $LINENO "configure"
10512 cat confdefs.h
>>conftest.
$ac_ext
10513 cat >>conftest.
$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10524 rm -f conftest.o conftest.obj
10525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10526 (eval $ac_compile) 2>&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; then
10530 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10532 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10533 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.
$ac_ext >&5
10541 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10542 See \`config.log' for more details." >&5
10543 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10544 See \`config.log' for more details." >&2;}
10545 { (exit 1); exit 1; }; }
10548 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10550 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10551 echo "${ECHO_T}$ac_cv_objext" >&6
10552 OBJEXT
=$ac_cv_objext
10554 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10555 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10556 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 cat >conftest.
$ac_ext <<_ACEOF
10560 #line $LINENO "configure"
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10578 rm -f conftest.
$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try
='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 ac_compiler_gnu
=yes
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.
$ac_ext >&5
10597 rm -f conftest.
$ac_objext conftest.
$ac_ext
10598 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10601 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10602 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10603 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10604 ac_test_CFLAGS
=${CFLAGS+set}
10605 ac_save_CFLAGS
=$CFLAGS
10607 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10608 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10609 if test "${ac_cv_prog_cc_g+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 cat >conftest.
$ac_ext <<_ACEOF
10613 #line $LINENO "configure"
10616 cat confdefs.h
>>conftest.
$ac_ext
10617 cat >>conftest.
$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10628 rm -f conftest.
$ac_objext
10629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10630 (eval $ac_compile) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } &&
10634 { ac_try
='test -s conftest.$ac_objext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_cv_prog_cc_g
=yes
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.
$ac_ext >&5
10647 rm -f conftest.
$ac_objext conftest.
$ac_ext
10649 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10650 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10651 if test "$ac_test_CFLAGS" = set; then
10652 CFLAGS
=$ac_save_CFLAGS
10653 elif test $ac_cv_prog_cc_g = yes; then
10654 if test "$GCC" = yes; then
10660 if test "$GCC" = yes; then
10666 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10667 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10668 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 ac_cv_prog_cc_stdc
=no
10673 cat >conftest.
$ac_ext <<_ACEOF
10674 #line $LINENO "configure"
10677 cat confdefs.h
>>conftest.
$ac_ext
10678 cat >>conftest.
$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10680 #include <stdarg.h>
10682 #include <sys/types.h>
10683 #include <sys/stat.h>
10684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10685 struct buf { int x; };
10686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10687 static char *e (p, i)
10693 static char *f (char * (*g) (char **, int), char **p, ...)
10698 s = g (p, va_arg (v,int));
10702 int test (int i, double x);
10703 struct s1 {int (*f) (int a);};
10704 struct s2 {int (*f) (double a);};
10705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10716 # Don't try gcc -ansi; that turns off useful extensions and
10717 # breaks some systems' header files.
10718 # AIX -qlanglvl=ansi
10719 # Ultrix and OSF/1 -std1
10720 # HP-UX 10.20 and later -Ae
10721 # HP-UX older versions -Aa -D_HPUX_SOURCE
10722 # SVR4 -Xc -D__EXTENSIONS__
10723 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10725 CC
="$ac_save_CC $ac_arg"
10726 rm -f conftest.
$ac_objext
10727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10728 (eval $ac_compile) 2>&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } &&
10732 { ac_try
='test -s conftest.$ac_objext'
10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734 (eval $ac_try) 2>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 ac_cv_prog_cc_stdc
=$ac_arg
10741 echo "$as_me: failed program was:" >&5
10742 sed 's/^/| /' conftest.
$ac_ext >&5
10745 rm -f conftest.
$ac_objext
10747 rm -f conftest.
$ac_ext conftest.
$ac_objext
10752 case "x$ac_cv_prog_cc_stdc" in
10754 echo "$as_me:$LINENO: result: none needed" >&5
10755 echo "${ECHO_T}none needed" >&6 ;;
10757 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10758 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10759 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10762 # Some people use a C++ compiler to compile C. Since we use `exit',
10763 # in C++ we need to declare it. In case someone uses the same compiler
10764 # for both compiling C and C++ we need to have the C++ compiler decide
10765 # the declaration of exit, since it's the most demanding environment.
10766 cat >conftest.
$ac_ext <<_ACEOF
10767 #ifndef __cplusplus
10771 rm -f conftest.
$ac_objext
10772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10773 (eval $ac_compile) 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } &&
10777 { ac_try
='test -s conftest.$ac_objext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 for ac_declaration
in \
10785 '#include <stdlib.h>' \
10786 'extern "C" void std::exit (int) throw (); using std::exit;' \
10787 'extern "C" void std::exit (int); using std::exit;' \
10788 'extern "C" void exit (int) throw ();' \
10789 'extern "C" void exit (int);' \
10792 cat >conftest.
$ac_ext <<_ACEOF
10793 #line $LINENO "configure"
10796 cat confdefs.h
>>conftest.
$ac_ext
10797 cat >>conftest.
$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10799 #include <stdlib.h>
10809 rm -f conftest.
$ac_objext
10810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10811 (eval $ac_compile) 2>&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); } &&
10815 { ac_try
='test -s conftest.$ac_objext'
10816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10817 (eval $ac_try) 2>&5
10819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); }; }; then
10823 echo "$as_me: failed program was:" >&5
10824 sed 's/^/| /' conftest.
$ac_ext >&5
10828 rm -f conftest.
$ac_objext conftest.
$ac_ext
10829 cat >conftest.
$ac_ext <<_ACEOF
10830 #line $LINENO "configure"
10833 cat confdefs.h
>>conftest.
$ac_ext
10834 cat >>conftest.
$ac_ext <<_ACEOF
10835 /* end confdefs.h. */
10845 rm -f conftest.
$ac_objext
10846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10847 (eval $ac_compile) 2>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } &&
10851 { ac_try
='test -s conftest.$ac_objext'
10852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 (eval $ac_try) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); }; }; then
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10863 rm -f conftest.
$ac_objext conftest.
$ac_ext
10866 if test -n "$ac_declaration"; then
10867 echo '#ifdef __cplusplus' >>confdefs.h
10868 echo $ac_declaration >>confdefs.h
10869 echo '#endif' >>confdefs.h
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.
$ac_ext >&5
10877 rm -f conftest.
$ac_objext conftest.
$ac_ext
10879 ac_cpp
='$CPP $CPPFLAGS'
10880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10887 ac_cpp
='$CPP $CPPFLAGS'
10888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10891 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10892 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10893 # On Suns, sometimes $CPP names a directory.
10894 if test -n "$CPP" && test -d "$CPP"; then
10897 if test -z "$CPP"; then
10898 if test "${ac_cv_prog_CPP+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 # Double quotes because CPP needs to be expanded
10902 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10904 ac_preproc_ok
=false
10905 for ac_c_preproc_warn_flag
in '' yes
10907 # Use a header file that comes with gcc, so configuring glibc
10908 # with a fresh cross-compiler works.
10909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10910 # <limits.h> exists even on freestanding compilers.
10911 # On the NeXT, cc -E runs the code through the compiler's parser,
10912 # not just through cpp. "Syntax error" is here to catch this case.
10913 cat >conftest.
$ac_ext <<_ACEOF
10914 #line $LINENO "configure"
10917 cat confdefs.h
>>conftest.
$ac_ext
10918 cat >>conftest.
$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10921 # include <limits.h>
10923 # include <assert.h>
10927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10930 grep -v '^ *+' conftest.er1
>conftest.err
10932 cat conftest.err
>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } >/dev
/null
; then
10935 if test -s conftest.err
; then
10936 ac_cpp_err
=$ac_c_preproc_warn_flag
10943 if test -z "$ac_cpp_err"; then
10946 echo "$as_me: failed program was:" >&5
10947 sed 's/^/| /' conftest.
$ac_ext >&5
10949 # Broken: fails on valid input.
10952 rm -f conftest.err conftest.
$ac_ext
10954 # OK, works on sane cases. Now check whether non-existent headers
10955 # can be detected and how.
10956 cat >conftest.
$ac_ext <<_ACEOF
10957 #line $LINENO "configure"
10960 cat confdefs.h
>>conftest.
$ac_ext
10961 cat >>conftest.
$ac_ext <<_ACEOF
10962 /* end confdefs.h. */
10963 #include <ac_nonexistent.h>
10965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10968 grep -v '^ *+' conftest.er1
>conftest.err
10970 cat conftest.err
>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } >/dev
/null
; then
10973 if test -s conftest.err
; then
10974 ac_cpp_err
=$ac_c_preproc_warn_flag
10981 if test -z "$ac_cpp_err"; then
10982 # Broken: success on invalid input.
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.
$ac_ext >&5
10988 # Passes both tests.
10992 rm -f conftest.err conftest.
$ac_ext
10995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10996 rm -f conftest.err conftest.
$ac_ext
10997 if $ac_preproc_ok; then
11002 ac_cv_prog_CPP
=$CPP
11005 CPP
=$ac_cv_prog_CPP
11007 ac_cv_prog_CPP
=$CPP
11009 echo "$as_me:$LINENO: result: $CPP" >&5
11010 echo "${ECHO_T}$CPP" >&6
11011 ac_preproc_ok
=false
11012 for ac_c_preproc_warn_flag
in '' yes
11014 # Use a header file that comes with gcc, so configuring glibc
11015 # with a fresh cross-compiler works.
11016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11017 # <limits.h> exists even on freestanding compilers.
11018 # On the NeXT, cc -E runs the code through the compiler's parser,
11019 # not just through cpp. "Syntax error" is here to catch this case.
11020 cat >conftest.
$ac_ext <<_ACEOF
11021 #line $LINENO "configure"
11024 cat confdefs.h
>>conftest.
$ac_ext
11025 cat >>conftest.
$ac_ext <<_ACEOF
11026 /* end confdefs.h. */
11028 # include <limits.h>
11030 # include <assert.h>
11034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11037 grep -v '^ *+' conftest.er1
>conftest.err
11039 cat conftest.err
>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } >/dev
/null
; then
11042 if test -s conftest.err
; then
11043 ac_cpp_err
=$ac_c_preproc_warn_flag
11050 if test -z "$ac_cpp_err"; then
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11056 # Broken: fails on valid input.
11059 rm -f conftest.err conftest.
$ac_ext
11061 # OK, works on sane cases. Now check whether non-existent headers
11062 # can be detected and how.
11063 cat >conftest.
$ac_ext <<_ACEOF
11064 #line $LINENO "configure"
11067 cat confdefs.h
>>conftest.
$ac_ext
11068 cat >>conftest.
$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11070 #include <ac_nonexistent.h>
11072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11075 grep -v '^ *+' conftest.er1
>conftest.err
11077 cat conftest.err
>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } >/dev
/null
; then
11080 if test -s conftest.err
; then
11081 ac_cpp_err
=$ac_c_preproc_warn_flag
11088 if test -z "$ac_cpp_err"; then
11089 # Broken: success on invalid input.
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.
$ac_ext >&5
11095 # Passes both tests.
11099 rm -f conftest.err conftest.
$ac_ext
11102 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11103 rm -f conftest.err conftest.
$ac_ext
11104 if $ac_preproc_ok; then
11107 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11108 See \`config.log' for more details." >&5
11109 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11110 See \`config.log' for more details." >&2;}
11111 { (exit 1); exit 1; }; }
11115 ac_cpp
='$CPP $CPPFLAGS'
11116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11121 echo "$as_me:$LINENO: checking for egrep" >&5
11122 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11123 if test "${ac_cv_prog_egrep+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11127 then ac_cv_prog_egrep
='grep -E'
11128 else ac_cv_prog_egrep
='egrep'
11131 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11132 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11133 EGREP
=$ac_cv_prog_egrep
11136 if test $ac_cv_c_compiler_gnu = yes; then
11137 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11138 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11139 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 ac_pattern
="Autoconf.*'x'"
11143 cat >conftest.
$ac_ext <<_ACEOF
11144 #line $LINENO "configure"
11147 cat confdefs.h
>>conftest.
$ac_ext
11148 cat >>conftest.
$ac_ext <<_ACEOF
11149 /* end confdefs.h. */
11153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11154 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11155 ac_cv_prog_gcc_traditional
=yes
11157 ac_cv_prog_gcc_traditional
=no
11162 if test $ac_cv_prog_gcc_traditional = no
; then
11163 cat >conftest.
$ac_ext <<_ACEOF
11164 #line $LINENO "configure"
11167 cat confdefs.h
>>conftest.
$ac_ext
11168 cat >>conftest.
$ac_ext <<_ACEOF
11169 /* end confdefs.h. */
11170 #include <termio.h>
11173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11174 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11175 ac_cv_prog_gcc_traditional
=yes
11181 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11182 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11183 if test $ac_cv_prog_gcc_traditional = yes; then
11184 CC
="$CC -traditional"
11192 ac_cpp
='$CXXCPP $CPPFLAGS'
11193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11198 CXXFLAGS
=${CXXFLAGS:=}
11200 ac_cpp
='$CXXCPP $CPPFLAGS'
11201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11204 if test -n "$ac_tool_prefix"; then
11205 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11208 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11209 echo "$as_me:$LINENO: checking for $ac_word" >&5
11210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11211 if test "${ac_cv_prog_CXX+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 if test -n "$CXX"; then
11215 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11218 for as_dir
in $PATH
11221 test -z "$as_dir" && as_dir
=.
11222 for ac_exec_ext
in '' $ac_executable_extensions; do
11223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11224 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11233 CXX
=$ac_cv_prog_CXX
11234 if test -n "$CXX"; then
11235 echo "$as_me:$LINENO: result: $CXX" >&5
11236 echo "${ECHO_T}$CXX" >&6
11238 echo "$as_me:$LINENO: result: no" >&5
11239 echo "${ECHO_T}no" >&6
11242 test -n "$CXX" && break
11245 if test -z "$CXX"; then
11247 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11249 # Extract the first word of "$ac_prog", so it can be a program name with args.
11250 set dummy
$ac_prog; ac_word
=$2
11251 echo "$as_me:$LINENO: checking for $ac_word" >&5
11252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11253 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 if test -n "$ac_ct_CXX"; then
11257 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11260 for as_dir
in $PATH
11263 test -z "$as_dir" && as_dir
=.
11264 for ac_exec_ext
in '' $ac_executable_extensions; do
11265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11266 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11275 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11276 if test -n "$ac_ct_CXX"; then
11277 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11278 echo "${ECHO_T}$ac_ct_CXX" >&6
11280 echo "$as_me:$LINENO: result: no" >&5
11281 echo "${ECHO_T}no" >&6
11284 test -n "$ac_ct_CXX" && break
11286 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11292 # Provide some information about the compiler.
11293 echo "$as_me:$LINENO:" \
11294 "checking for C++ compiler version" >&5
11295 ac_compiler
=`set X $ac_compile; echo $2`
11296 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11297 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }
11301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11302 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }
11306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11307 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); }
11312 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11313 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11314 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11317 cat >conftest.
$ac_ext <<_ACEOF
11318 #line $LINENO "configure"
11321 cat confdefs.h
>>conftest.
$ac_ext
11322 cat >>conftest.
$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11336 rm -f conftest.
$ac_objext
11337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11338 (eval $ac_compile) 2>&5
11340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341 (exit $ac_status); } &&
11342 { ac_try
='test -s conftest.$ac_objext'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; }; then
11348 ac_compiler_gnu
=yes
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.
$ac_ext >&5
11355 rm -f conftest.
$ac_objext conftest.
$ac_ext
11356 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11359 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11360 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11361 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11362 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11363 ac_save_CXXFLAGS
=$CXXFLAGS
11365 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11366 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11367 if test "${ac_cv_prog_cxx_g+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 cat >conftest.
$ac_ext <<_ACEOF
11371 #line $LINENO "configure"
11374 cat confdefs.h
>>conftest.
$ac_ext
11375 cat >>conftest.
$ac_ext <<_ACEOF
11376 /* end confdefs.h. */
11386 rm -f conftest.
$ac_objext
11387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11388 (eval $ac_compile) 2>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } &&
11392 { ac_try
='test -s conftest.$ac_objext'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; }; then
11398 ac_cv_prog_cxx_g
=yes
11400 echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.
$ac_ext >&5
11403 ac_cv_prog_cxx_g
=no
11405 rm -f conftest.
$ac_objext conftest.
$ac_ext
11407 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11408 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11409 if test "$ac_test_CXXFLAGS" = set; then
11410 CXXFLAGS
=$ac_save_CXXFLAGS
11411 elif test $ac_cv_prog_cxx_g = yes; then
11412 if test "$GXX" = yes; then
11418 if test "$GXX" = yes; then
11424 for ac_declaration
in \
11426 '#include <stdlib.h>' \
11427 'extern "C" void std::exit (int) throw (); using std::exit;' \
11428 'extern "C" void std::exit (int); using std::exit;' \
11429 'extern "C" void exit (int) throw ();' \
11430 'extern "C" void exit (int);' \
11433 cat >conftest.
$ac_ext <<_ACEOF
11434 #line $LINENO "configure"
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11440 #include <stdlib.h>
11450 rm -f conftest.
$ac_objext
11451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11452 (eval $ac_compile) 2>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } &&
11456 { ac_try
='test -s conftest.$ac_objext'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; }; then
11464 echo "$as_me: failed program was:" >&5
11465 sed 's/^/| /' conftest.
$ac_ext >&5
11469 rm -f conftest.
$ac_objext conftest.
$ac_ext
11470 cat >conftest.
$ac_ext <<_ACEOF
11471 #line $LINENO "configure"
11474 cat confdefs.h
>>conftest.
$ac_ext
11475 cat >>conftest.
$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11486 rm -f conftest.
$ac_objext
11487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11488 (eval $ac_compile) 2>&5
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); } &&
11492 { ac_try
='test -s conftest.$ac_objext'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; }; then
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.
$ac_ext >&5
11504 rm -f conftest.
$ac_objext conftest.
$ac_ext
11507 if test -n "$ac_declaration"; then
11508 echo '#ifdef __cplusplus' >>confdefs.h
11509 echo $ac_declaration >>confdefs.h
11510 echo '#endif' >>confdefs.h
11514 ac_cpp
='$CXXCPP $CPPFLAGS'
11515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11521 ac_cpp
='$CPP $CPPFLAGS'
11522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11527 if test -n "$ac_tool_prefix"; then
11528 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11529 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11530 echo "$as_me:$LINENO: checking for $ac_word" >&5
11531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11532 if test "${ac_cv_prog_RANLIB+set}" = set; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 if test -n "$RANLIB"; then
11536 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11539 for as_dir
in $PATH
11542 test -z "$as_dir" && as_dir
=.
11543 for ac_exec_ext
in '' $ac_executable_extensions; do
11544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11545 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11554 RANLIB
=$ac_cv_prog_RANLIB
11555 if test -n "$RANLIB"; then
11556 echo "$as_me:$LINENO: result: $RANLIB" >&5
11557 echo "${ECHO_T}$RANLIB" >&6
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11564 if test -z "$ac_cv_prog_RANLIB"; then
11565 ac_ct_RANLIB
=$RANLIB
11566 # Extract the first word of "ranlib", so it can be a program name with args.
11567 set dummy ranlib
; ac_word
=$2
11568 echo "$as_me:$LINENO: checking for $ac_word" >&5
11569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11570 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 if test -n "$ac_ct_RANLIB"; then
11574 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11577 for as_dir
in $PATH
11580 test -z "$as_dir" && as_dir
=.
11581 for ac_exec_ext
in '' $ac_executable_extensions; do
11582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11583 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11590 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11593 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11594 if test -n "$ac_ct_RANLIB"; then
11595 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11596 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11598 echo "$as_me:$LINENO: result: no" >&5
11599 echo "${ECHO_T}no" >&6
11602 RANLIB
=$ac_ct_RANLIB
11604 RANLIB
="$ac_cv_prog_RANLIB"
11608 # Extract the first word of "ar", so it can be a program name with args.
11609 set dummy
ar; ac_word
=$2
11610 echo "$as_me:$LINENO: checking for $ac_word" >&5
11611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11612 if test "${ac_cv_prog_AR+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11615 if test -n "$AR"; then
11616 ac_cv_prog_AR
="$AR" # Let the user override the test.
11618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11619 for as_dir
in $PATH
11622 test -z "$as_dir" && as_dir
=.
11623 for ac_exec_ext
in '' $ac_executable_extensions; do
11624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11635 if test -n "$AR"; then
11636 echo "$as_me:$LINENO: result: $AR" >&5
11637 echo "${ECHO_T}$AR" >&6
11639 echo "$as_me:$LINENO: result: no" >&5
11640 echo "${ECHO_T}no" >&6
11643 if test "x$AR" = "x" ; then
11644 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11645 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11646 { (exit 1); exit 1; }; }
11649 # Find a good install program. We prefer a C program (faster),
11650 # so one script is as good as another. But avoid the broken or
11651 # incompatible versions:
11652 # SysV /etc/install, /usr/sbin/install
11653 # SunOS /usr/etc/install
11654 # IRIX /sbin/install
11656 # AmigaOS /C/install, which installs bootblocks on floppy discs
11657 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11658 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11659 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11660 # ./install, which can be erroneously created by make from ./install.sh.
11661 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11662 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11663 if test -z "$INSTALL"; then
11664 if test "${ac_cv_path_install+set}" = set; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11668 for as_dir
in $PATH
11671 test -z "$as_dir" && as_dir
=.
11672 # Account for people who put trailing slashes in PATH elements.
11674 .
/ | .
// | /cC
/* | \
11675 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11678 # OSF1 and SCO ODT 3.0 have their own names for install.
11679 # Don't use installbsd from OSF since it installs stuff as root
11681 for ac_prog
in ginstall scoinst
install; do
11682 for ac_exec_ext
in '' $ac_executable_extensions; do
11683 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11684 if test $ac_prog = install &&
11685 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11686 # AIX install. It has an incompatible calling convention.
11688 elif test $ac_prog = install &&
11689 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11690 # program-specific install script used by HP pwplus--don't use.
11693 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11705 if test "${ac_cv_path_install+set}" = set; then
11706 INSTALL
=$ac_cv_path_install
11708 # As a last resort, use the slow shell script. We don't cache a
11709 # path for INSTALL within a source directory, because that will
11710 # break other packages using the cache if that directory is
11711 # removed, or if the path is relative.
11712 INSTALL
=$ac_install_sh
11715 echo "$as_me:$LINENO: result: $INSTALL" >&5
11716 echo "${ECHO_T}$INSTALL" >&6
11718 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11719 # It thinks the first close brace ends the variable substitution.
11720 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11722 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11724 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11730 ?
:* ) # Drive letter, considered as absolute.
11733 INSTALL
=`pwd`/${INSTALL} ;;
11738 INSTALL_DIR
="mkdir"
11741 *) INSTALL_DIR
="$INSTALL -d"
11748 powerpc
-*-darwin* )
11749 INSTALL_PROGRAM
="cp -fp"
11750 INSTALL_DATA
="cp -fp"
11756 # Extract the first word of "strip", so it can be a program name with args.
11757 set dummy strip
; ac_word
=$2
11758 echo "$as_me:$LINENO: checking for $ac_word" >&5
11759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11760 if test "${ac_cv_prog_STRIP+set}" = set; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 if test -n "$STRIP"; then
11764 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11767 for as_dir
in $PATH
11770 test -z "$as_dir" && as_dir
=.
11771 for ac_exec_ext
in '' $ac_executable_extensions; do
11772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11773 ac_cv_prog_STRIP
="strip"
11774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11783 STRIP
=$ac_cv_prog_STRIP
11784 if test -n "$STRIP"; then
11785 echo "$as_me:$LINENO: result: $STRIP" >&5
11786 echo "${ECHO_T}$STRIP" >&6
11788 echo "$as_me:$LINENO: result: no" >&5
11789 echo "${ECHO_T}no" >&6
11793 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11794 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11795 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11800 egrep -s GNU
> /dev
/null
); then
11801 wx_cv_prog_makeisgnu
="yes"
11803 wx_cv_prog_makeisgnu
="no"
11807 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11808 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11810 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11818 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11819 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11820 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11821 if test "${wx_cv_prog_makevpath+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11825 cat - << EOF > confMake
11831 if test ! -d sub
; then
11834 echo dummy
> sub
/file
11835 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11837 rm -f sub
/file check final_file confMake
11839 if test "$RESULT" = 0; then
11840 wx_cv_prog_makevpath
="yes"
11842 wx_cv_prog_makevpath
="no"
11846 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11847 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11849 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11850 { { echo "$as_me:$LINENO: error:
11851 You need a make-utility that is able to use the variable
11853 If your version of make does not support VPATH correctly,
11854 please install GNU-make (possibly as gmake), and start
11855 configure with the following command:
11856 export MAKE=gmake; ./configure for sh-type shells
11857 setenv MAKE gmake; ./configure for csh-type shells
11858 Also please do remember to use gmake in this case every time
11859 you are trying to compile.
11861 echo "$as_me: error:
11862 You need a make-utility that is able to use the variable
11864 If your version of make does not support VPATH correctly,
11865 please install GNU-make (possibly as gmake), and start
11866 configure with the following command:
11867 export MAKE=gmake; ./configure for sh-type shells
11868 setenv MAKE gmake; ./configure for csh-type shells
11869 Also please do remember to use gmake in this case every time
11870 you are trying to compile.
11872 { (exit 1); exit 1; }; }
11874 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11875 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11877 if test "$LN_S" = "ln -s"; then
11878 echo "$as_me:$LINENO: result: yes" >&5
11879 echo "${ECHO_T}yes" >&6
11881 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11882 echo "${ECHO_T}no, using $LN_S" >&6
11887 *-pc-os2_emx | *-pc-os2-emx )
11888 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11889 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11890 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11891 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 ac_check_lib_save_LIBS
=$LIBS
11895 LIBS
="-lcExt $LIBS"
11896 cat >conftest.
$ac_ext <<_ACEOF
11897 #line $LINENO "configure"
11900 cat confdefs.h
>>conftest.
$ac_ext
11901 cat >>conftest.
$ac_ext <<_ACEOF
11902 /* end confdefs.h. */
11904 /* Override any gcc2 internal prototype to avoid an error. */
11908 /* We use char because int might match the return type of a gcc2
11909 builtin and then its argument prototype would still apply. */
11919 rm -f conftest.
$ac_objext conftest
$ac_exeext
11920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11921 (eval $ac_link) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } &&
11925 { ac_try
='test -s conftest$ac_exeext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_cv_lib_cExt_drand48
=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.
$ac_ext >&5
11936 ac_cv_lib_cExt_drand48
=no
11938 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11939 LIBS
=$ac_check_lib_save_LIBS
11941 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11942 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11943 if test $ac_cv_lib_cExt_drand48 = yes; then
11944 LIBS
="$LIBS -lcExt"
11948 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11950 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11951 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11952 if test "${wx_cv_gcc3+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 cat >conftest.
$ac_ext <<_ACEOF
11957 #line $LINENO "configure"
11960 cat confdefs.h
>>conftest.
$ac_ext
11961 cat >>conftest.
$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11976 rm -f conftest.
$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978 (eval $ac_compile) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try
='test -s conftest.$ac_objext'
11983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11984 (eval $ac_try) 2>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); }; }; then
11992 echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.
$ac_ext >&5
12000 rm -f conftest.
$ac_objext conftest.
$ac_ext
12003 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12004 echo "${ECHO_T}$wx_cv_gcc3" >&6
12005 if test "$wx_cv_gcc3" = "no"; then
12006 LIBS
="$LIBS -lstdcpp"
12008 LIBS
="$LIBS -lstdcxx"
12014 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12015 echo "$as_me:$LINENO: checking for strings.h" >&5
12016 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12017 if test "${ac_cv_header_strings_h+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 ac_cv_header_strings_h
=no
12022 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12023 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12024 if test "$ac_cv_header_strings_h" = "no"; then
12025 echo "$as_me:$LINENO: result: forced no into cache" >&5
12026 echo "${ECHO_T}forced no into cache" >&6
12028 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12029 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12032 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12033 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12034 if test "${ac_cv_header_stdc+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 cat >conftest.
$ac_ext <<_ACEOF
12038 #line $LINENO "configure"
12041 cat confdefs.h
>>conftest.
$ac_ext
12042 cat >>conftest.
$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12044 #include <stdlib.h>
12045 #include <stdarg.h>
12046 #include <string.h>
12057 rm -f conftest.
$ac_objext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12059 (eval $ac_compile) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try
='test -s conftest.$ac_objext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 ac_cv_header_stdc
=yes
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.
$ac_ext >&5
12074 ac_cv_header_stdc
=no
12076 rm -f conftest.
$ac_objext conftest.
$ac_ext
12078 if test $ac_cv_header_stdc = yes; then
12079 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12080 cat >conftest.
$ac_ext <<_ACEOF
12081 #line $LINENO "configure"
12084 cat confdefs.h
>>conftest.
$ac_ext
12085 cat >>conftest.
$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12087 #include <string.h>
12090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12091 $EGREP "memchr" >/dev
/null
2>&1; then
12094 ac_cv_header_stdc
=no
12100 if test $ac_cv_header_stdc = yes; then
12101 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12102 cat >conftest.
$ac_ext <<_ACEOF
12103 #line $LINENO "configure"
12106 cat confdefs.h
>>conftest.
$ac_ext
12107 cat >>conftest.
$ac_ext <<_ACEOF
12108 /* end confdefs.h. */
12109 #include <stdlib.h>
12112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12113 $EGREP "free" >/dev
/null
2>&1; then
12116 ac_cv_header_stdc
=no
12122 if test $ac_cv_header_stdc = yes; then
12123 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12124 if test "$cross_compiling" = yes; then
12127 cat >conftest.
$ac_ext <<_ACEOF
12128 #line $LINENO "configure"
12131 cat confdefs.h
>>conftest.
$ac_ext
12132 cat >>conftest.
$ac_ext <<_ACEOF
12133 /* end confdefs.h. */
12135 #if ((' ' & 0x0FF) == 0x020)
12136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12139 # define ISLOWER(c) \
12140 (('a' <= (c) && (c) <= 'i') \
12141 || ('j' <= (c) && (c) <= 'r') \
12142 || ('s' <= (c) && (c) <= 'z'))
12143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12151 for (i = 0; i < 256; i++)
12152 if (XOR (islower (i), ISLOWER (i))
12153 || toupper (i) != TOUPPER (i))
12158 rm -f conftest
$ac_exeext
12159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12160 (eval $ac_link) 2>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12165 (eval $ac_try) 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; }; then
12171 echo "$as_me: program exited with status $ac_status" >&5
12172 echo "$as_me: failed program was:" >&5
12173 sed 's/^/| /' conftest.
$ac_ext >&5
12175 ( exit $ac_status )
12176 ac_cv_header_stdc
=no
12178 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12182 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12183 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12184 if test $ac_cv_header_stdc = yes; then
12186 cat >>confdefs.h
<<\_ACEOF
12187 #define STDC_HEADERS 1
12192 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12202 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12203 inttypes.h stdint.h unistd.h
12205 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12206 echo "$as_me:$LINENO: checking for $ac_header" >&5
12207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 cat >conftest.
$ac_ext <<_ACEOF
12212 #line $LINENO "configure"
12215 cat confdefs.h
>>conftest.
$ac_ext
12216 cat >>conftest.
$ac_ext <<_ACEOF
12217 /* end confdefs.h. */
12218 $ac_includes_default
12220 #include <$ac_header>
12222 rm -f conftest.
$ac_objext
12223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12224 (eval $ac_compile) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); } &&
12228 { ac_try
='test -s conftest.$ac_objext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 eval "$as_ac_Header=yes"
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.
$ac_ext >&5
12239 eval "$as_ac_Header=no"
12241 rm -f conftest.
$ac_objext conftest.
$ac_ext
12243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12246 cat >>confdefs.h
<<_ACEOF
12247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12256 for ac_header
in strings.h
12258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12260 echo "$as_me:$LINENO: checking for $ac_header" >&5
12261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12268 # Is the header compilable?
12269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12271 cat >conftest.
$ac_ext <<_ACEOF
12272 #line $LINENO "configure"
12275 cat confdefs.h
>>conftest.
$ac_ext
12276 cat >>conftest.
$ac_ext <<_ACEOF
12277 /* end confdefs.h. */
12278 $ac_includes_default
12279 #include <$ac_header>
12281 rm -f conftest.
$ac_objext
12282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12283 (eval $ac_compile) 2>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try
='test -s conftest.$ac_objext'
12288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12289 (eval $ac_try) 2>&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }; }; then
12293 ac_header_compiler
=yes
12295 echo "$as_me: failed program was:" >&5
12296 sed 's/^/| /' conftest.
$ac_ext >&5
12298 ac_header_compiler
=no
12300 rm -f conftest.
$ac_objext conftest.
$ac_ext
12301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12302 echo "${ECHO_T}$ac_header_compiler" >&6
12304 # Is the header present?
12305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12307 cat >conftest.
$ac_ext <<_ACEOF
12308 #line $LINENO "configure"
12311 cat confdefs.h
>>conftest.
$ac_ext
12312 cat >>conftest.
$ac_ext <<_ACEOF
12313 /* end confdefs.h. */
12314 #include <$ac_header>
12316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12319 grep -v '^ *+' conftest.er1
>conftest.err
12321 cat conftest.err
>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } >/dev
/null
; then
12324 if test -s conftest.err
; then
12325 ac_cpp_err
=$ac_c_preproc_warn_flag
12332 if test -z "$ac_cpp_err"; then
12333 ac_header_preproc
=yes
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.
$ac_ext >&5
12338 ac_header_preproc
=no
12340 rm -f conftest.err conftest.
$ac_ext
12341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12342 echo "${ECHO_T}$ac_header_preproc" >&6
12344 # So? What about this header?
12345 case $ac_header_compiler:$ac_header_preproc in
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12353 ## ------------------------------------ ##
12354 ## Report this to bug-autoconf@gnu.org. ##
12355 ## ------------------------------------ ##
12358 sed "s/^/$as_me: WARNING: /" >&2
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12369 ## ------------------------------------ ##
12370 ## Report this to bug-autoconf@gnu.org. ##
12371 ## ------------------------------------ ##
12374 sed "s/^/$as_me: WARNING: /" >&2
12377 echo "$as_me:$LINENO: checking for $ac_header" >&5
12378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12382 eval "$as_ac_Header=$ac_header_preproc"
12384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12389 cat >>confdefs.h
<<_ACEOF
12390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12399 for ac_header
in stdlib.h
12401 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12403 echo "$as_me:$LINENO: checking for $ac_header" >&5
12404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12406 echo $ECHO_N "(cached) $ECHO_C" >&6
12408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12411 # Is the header compilable?
12412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12414 cat >conftest.
$ac_ext <<_ACEOF
12415 #line $LINENO "configure"
12418 cat confdefs.h
>>conftest.
$ac_ext
12419 cat >>conftest.
$ac_ext <<_ACEOF
12420 /* end confdefs.h. */
12421 $ac_includes_default
12422 #include <$ac_header>
12424 rm -f conftest.
$ac_objext
12425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12426 (eval $ac_compile) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } &&
12430 { ac_try
='test -s conftest.$ac_objext'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12436 ac_header_compiler
=yes
12438 echo "$as_me: failed program was:" >&5
12439 sed 's/^/| /' conftest.
$ac_ext >&5
12441 ac_header_compiler
=no
12443 rm -f conftest.
$ac_objext conftest.
$ac_ext
12444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12445 echo "${ECHO_T}$ac_header_compiler" >&6
12447 # Is the header present?
12448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12450 cat >conftest.
$ac_ext <<_ACEOF
12451 #line $LINENO "configure"
12454 cat confdefs.h
>>conftest.
$ac_ext
12455 cat >>conftest.
$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457 #include <$ac_header>
12459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12462 grep -v '^ *+' conftest.er1
>conftest.err
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); } >/dev
/null
; then
12467 if test -s conftest.err
; then
12468 ac_cpp_err
=$ac_c_preproc_warn_flag
12475 if test -z "$ac_cpp_err"; then
12476 ac_header_preproc
=yes
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.
$ac_ext >&5
12481 ac_header_preproc
=no
12483 rm -f conftest.err conftest.
$ac_ext
12484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12485 echo "${ECHO_T}$ac_header_preproc" >&6
12487 # So? What about this header?
12488 case $ac_header_compiler:$ac_header_preproc in
12490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12496 ## ------------------------------------ ##
12497 ## Report this to bug-autoconf@gnu.org. ##
12498 ## ------------------------------------ ##
12501 sed "s/^/$as_me: WARNING: /" >&2
12504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12512 ## ------------------------------------ ##
12513 ## Report this to bug-autoconf@gnu.org. ##
12514 ## ------------------------------------ ##
12517 sed "s/^/$as_me: WARNING: /" >&2
12520 echo "$as_me:$LINENO: checking for $ac_header" >&5
12521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12523 echo $ECHO_N "(cached) $ECHO_C" >&6
12525 eval "$as_ac_Header=$ac_header_preproc"
12527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12532 cat >>confdefs.h
<<_ACEOF
12533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12541 for ac_header
in malloc.h
12543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12545 echo "$as_me:$LINENO: checking for $ac_header" >&5
12546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12553 # Is the header compilable?
12554 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12555 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12556 cat >conftest.
$ac_ext <<_ACEOF
12557 #line $LINENO "configure"
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563 $ac_includes_default
12564 #include <$ac_header>
12566 rm -f conftest.
$ac_objext
12567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12568 (eval $ac_compile) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } &&
12572 { ac_try
='test -s conftest.$ac_objext'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; }; then
12578 ac_header_compiler
=yes
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.
$ac_ext >&5
12583 ac_header_compiler
=no
12585 rm -f conftest.
$ac_objext conftest.
$ac_ext
12586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12587 echo "${ECHO_T}$ac_header_compiler" >&6
12589 # Is the header present?
12590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12592 cat >conftest.
$ac_ext <<_ACEOF
12593 #line $LINENO "configure"
12596 cat confdefs.h
>>conftest.
$ac_ext
12597 cat >>conftest.
$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 #include <$ac_header>
12601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12602 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
12609 if test -s conftest.err
; then
12610 ac_cpp_err
=$ac_c_preproc_warn_flag
12617 if test -z "$ac_cpp_err"; then
12618 ac_header_preproc
=yes
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.
$ac_ext >&5
12623 ac_header_preproc
=no
12625 rm -f conftest.err conftest.
$ac_ext
12626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12627 echo "${ECHO_T}$ac_header_preproc" >&6
12629 # So? What about this header?
12630 case $ac_header_compiler:$ac_header_preproc in
12632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12638 ## ------------------------------------ ##
12639 ## Report this to bug-autoconf@gnu.org. ##
12640 ## ------------------------------------ ##
12643 sed "s/^/$as_me: WARNING: /" >&2
12646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12654 ## ------------------------------------ ##
12655 ## Report this to bug-autoconf@gnu.org. ##
12656 ## ------------------------------------ ##
12659 sed "s/^/$as_me: WARNING: /" >&2
12662 echo "$as_me:$LINENO: checking for $ac_header" >&5
12663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 eval "$as_ac_Header=$ac_header_preproc"
12669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12674 cat >>confdefs.h
<<_ACEOF
12675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12683 for ac_header
in unistd.h
12685 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12687 echo "$as_me:$LINENO: checking for $ac_header" >&5
12688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12695 # Is the header compilable?
12696 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12698 cat >conftest.
$ac_ext <<_ACEOF
12699 #line $LINENO "configure"
12702 cat confdefs.h
>>conftest.
$ac_ext
12703 cat >>conftest.
$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12705 $ac_includes_default
12706 #include <$ac_header>
12708 rm -f conftest.
$ac_objext
12709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try
='test -s conftest.$ac_objext'
12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; }; then
12720 ac_header_compiler
=yes
12722 echo "$as_me: failed program was:" >&5
12723 sed 's/^/| /' conftest.
$ac_ext >&5
12725 ac_header_compiler
=no
12727 rm -f conftest.
$ac_objext conftest.
$ac_ext
12728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12729 echo "${ECHO_T}$ac_header_compiler" >&6
12731 # Is the header present?
12732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12734 cat >conftest.
$ac_ext <<_ACEOF
12735 #line $LINENO "configure"
12738 cat confdefs.h
>>conftest.
$ac_ext
12739 cat >>conftest.
$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12741 #include <$ac_header>
12743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12746 grep -v '^ *+' conftest.er1
>conftest.err
12748 cat conftest.err
>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } >/dev
/null
; then
12751 if test -s conftest.err
; then
12752 ac_cpp_err
=$ac_c_preproc_warn_flag
12759 if test -z "$ac_cpp_err"; then
12760 ac_header_preproc
=yes
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 ac_header_preproc
=no
12767 rm -f conftest.err conftest.
$ac_ext
12768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12769 echo "${ECHO_T}$ac_header_preproc" >&6
12771 # So? What about this header?
12772 case $ac_header_compiler:$ac_header_preproc in
12774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12780 ## ------------------------------------ ##
12781 ## Report this to bug-autoconf@gnu.org. ##
12782 ## ------------------------------------ ##
12785 sed "s/^/$as_me: WARNING: /" >&2
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12791 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12796 ## ------------------------------------ ##
12797 ## Report this to bug-autoconf@gnu.org. ##
12798 ## ------------------------------------ ##
12801 sed "s/^/$as_me: WARNING: /" >&2
12804 echo "$as_me:$LINENO: checking for $ac_header" >&5
12805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 eval "$as_ac_Header=$ac_header_preproc"
12811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12816 cat >>confdefs.h
<<_ACEOF
12817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12825 for ac_header
in wchar.h
12827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12829 echo "$as_me:$LINENO: checking for $ac_header" >&5
12830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12837 # Is the header compilable?
12838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12840 cat >conftest.
$ac_ext <<_ACEOF
12841 #line $LINENO "configure"
12844 cat confdefs.h
>>conftest.
$ac_ext
12845 cat >>conftest.
$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12847 $ac_includes_default
12848 #include <$ac_header>
12850 rm -f conftest.
$ac_objext
12851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12852 (eval $ac_compile) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } &&
12856 { ac_try
='test -s conftest.$ac_objext'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12862 ac_header_compiler
=yes
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.
$ac_ext >&5
12867 ac_header_compiler
=no
12869 rm -f conftest.
$ac_objext conftest.
$ac_ext
12870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12871 echo "${ECHO_T}$ac_header_compiler" >&6
12873 # Is the header present?
12874 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12875 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12876 cat >conftest.
$ac_ext <<_ACEOF
12877 #line $LINENO "configure"
12880 cat confdefs.h
>>conftest.
$ac_ext
12881 cat >>conftest.
$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 #include <$ac_header>
12885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12888 grep -v '^ *+' conftest.er1
>conftest.err
12890 cat conftest.err
>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); } >/dev
/null
; then
12893 if test -s conftest.err
; then
12894 ac_cpp_err
=$ac_c_preproc_warn_flag
12901 if test -z "$ac_cpp_err"; then
12902 ac_header_preproc
=yes
12904 echo "$as_me: failed program was:" >&5
12905 sed 's/^/| /' conftest.
$ac_ext >&5
12907 ac_header_preproc
=no
12909 rm -f conftest.err conftest.
$ac_ext
12910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12911 echo "${ECHO_T}$ac_header_preproc" >&6
12913 # So? What about this header?
12914 case $ac_header_compiler:$ac_header_preproc in
12916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12922 ## ------------------------------------ ##
12923 ## Report this to bug-autoconf@gnu.org. ##
12924 ## ------------------------------------ ##
12927 sed "s/^/$as_me: WARNING: /" >&2
12930 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12931 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12933 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12938 ## ------------------------------------ ##
12939 ## Report this to bug-autoconf@gnu.org. ##
12940 ## ------------------------------------ ##
12943 sed "s/^/$as_me: WARNING: /" >&2
12946 echo "$as_me:$LINENO: checking for $ac_header" >&5
12947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12951 eval "$as_ac_Header=$ac_header_preproc"
12953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12958 cat >>confdefs.h
<<_ACEOF
12959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12967 if test "$ac_cv_header_wchar_h" != "yes"; then
12969 for ac_header
in wcstr.h
12971 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12973 echo "$as_me:$LINENO: checking for $ac_header" >&5
12974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12981 # Is the header compilable?
12982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12984 cat >conftest.
$ac_ext <<_ACEOF
12985 #line $LINENO "configure"
12988 cat confdefs.h
>>conftest.
$ac_ext
12989 cat >>conftest.
$ac_ext <<_ACEOF
12990 /* end confdefs.h. */
12991 $ac_includes_default
12992 #include <$ac_header>
12994 rm -f conftest.
$ac_objext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12996 (eval $ac_compile) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } &&
13000 { ac_try
='test -s conftest.$ac_objext'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; }; then
13006 ac_header_compiler
=yes
13008 echo "$as_me: failed program was:" >&5
13009 sed 's/^/| /' conftest.
$ac_ext >&5
13011 ac_header_compiler
=no
13013 rm -f conftest.
$ac_objext conftest.
$ac_ext
13014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13015 echo "${ECHO_T}$ac_header_compiler" >&6
13017 # Is the header present?
13018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13020 cat >conftest.
$ac_ext <<_ACEOF
13021 #line $LINENO "configure"
13024 cat confdefs.h
>>conftest.
$ac_ext
13025 cat >>conftest.
$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13027 #include <$ac_header>
13029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13032 grep -v '^ *+' conftest.er1
>conftest.err
13034 cat conftest.err
>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); } >/dev
/null
; then
13037 if test -s conftest.err
; then
13038 ac_cpp_err
=$ac_c_preproc_warn_flag
13045 if test -z "$ac_cpp_err"; then
13046 ac_header_preproc
=yes
13048 echo "$as_me: failed program was:" >&5
13049 sed 's/^/| /' conftest.
$ac_ext >&5
13051 ac_header_preproc
=no
13053 rm -f conftest.err conftest.
$ac_ext
13054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13055 echo "${ECHO_T}$ac_header_preproc" >&6
13057 # So? What about this header?
13058 case $ac_header_compiler:$ac_header_preproc in
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13066 ## ------------------------------------ ##
13067 ## Report this to bug-autoconf@gnu.org. ##
13068 ## ------------------------------------ ##
13071 sed "s/^/$as_me: WARNING: /" >&2
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13082 ## ------------------------------------ ##
13083 ## Report this to bug-autoconf@gnu.org. ##
13084 ## ------------------------------------ ##
13087 sed "s/^/$as_me: WARNING: /" >&2
13090 echo "$as_me:$LINENO: checking for $ac_header" >&5
13091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13093 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 eval "$as_ac_Header=$ac_header_preproc"
13097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13102 cat >>confdefs.h
<<_ACEOF
13103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13113 for ac_header
in fnmatch.h
13115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13117 echo "$as_me:$LINENO: checking for $ac_header" >&5
13118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13125 # Is the header compilable?
13126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13128 cat >conftest.
$ac_ext <<_ACEOF
13129 #line $LINENO "configure"
13132 cat confdefs.h
>>conftest.
$ac_ext
13133 cat >>conftest.
$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 $ac_includes_default
13136 #include <$ac_header>
13138 rm -f conftest.
$ac_objext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13140 (eval $ac_compile) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try
='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 ac_header_compiler
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_header_compiler
=no
13157 rm -f conftest.
$ac_objext conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13159 echo "${ECHO_T}$ac_header_compiler" >&6
13161 # Is the header present?
13162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13165 #line $LINENO "configure"
13168 cat confdefs.h
>>conftest.
$ac_ext
13169 cat >>conftest.
$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13171 #include <$ac_header>
13173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13174 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13176 grep -v '^ *+' conftest.er1
>conftest.err
13178 cat conftest.err
>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); } >/dev
/null
; then
13181 if test -s conftest.err
; then
13182 ac_cpp_err
=$ac_c_preproc_warn_flag
13189 if test -z "$ac_cpp_err"; then
13190 ac_header_preproc
=yes
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.
$ac_ext >&5
13195 ac_header_preproc
=no
13197 rm -f conftest.err conftest.
$ac_ext
13198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13199 echo "${ECHO_T}$ac_header_preproc" >&6
13201 # So? What about this header?
13202 case $ac_header_compiler:$ac_header_preproc in
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13210 ## ------------------------------------ ##
13211 ## Report this to bug-autoconf@gnu.org. ##
13212 ## ------------------------------------ ##
13215 sed "s/^/$as_me: WARNING: /" >&2
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13226 ## ------------------------------------ ##
13227 ## Report this to bug-autoconf@gnu.org. ##
13228 ## ------------------------------------ ##
13231 sed "s/^/$as_me: WARNING: /" >&2
13234 echo "$as_me:$LINENO: checking for $ac_header" >&5
13235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 eval "$as_ac_Header=$ac_header_preproc"
13241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13246 cat >>confdefs.h
<<_ACEOF
13247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13255 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13257 for ac_func
in fnmatch
13259 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13260 echo "$as_me:$LINENO: checking for $ac_func" >&5
13261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13262 if eval "test \"\${$as_ac_var+set}\" = set"; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13266 #line $LINENO "configure"
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 /* System header to define __stub macros and hopefully few prototypes,
13273 which can conflict with char $ac_func (); below.
13274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13275 <limits.h> exists even on freestanding compilers. */
13277 # include <limits.h>
13279 # include <assert.h>
13281 /* Override any gcc2 internal prototype to avoid an error. */
13286 /* We use char because int might match the return type of a gcc2
13287 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13295 char (*f) () = $ac_func;
13304 return f != $ac_func;
13309 rm -f conftest.
$ac_objext conftest
$ac_exeext
13310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13311 (eval $ac_link) 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try
='test -s conftest$ac_exeext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 eval "$as_ac_var=yes"
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.
$ac_ext >&5
13326 eval "$as_ac_var=no"
13328 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13332 if test `eval echo '${'$as_ac_var'}'` = yes; then
13333 cat >>confdefs.h
<<_ACEOF
13334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13343 for ac_header
in langinfo.h
13345 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13347 echo "$as_me:$LINENO: checking for $ac_header" >&5
13348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13355 # Is the header compilable?
13356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13358 cat >conftest.
$ac_ext <<_ACEOF
13359 #line $LINENO "configure"
13362 cat confdefs.h
>>conftest.
$ac_ext
13363 cat >>conftest.
$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365 $ac_includes_default
13366 #include <$ac_header>
13368 rm -f conftest.
$ac_objext
13369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13370 (eval $ac_compile) 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } &&
13374 { ac_try
='test -s conftest.$ac_objext'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; }; then
13380 ac_header_compiler
=yes
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 ac_header_compiler
=no
13387 rm -f conftest.
$ac_objext conftest.
$ac_ext
13388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13389 echo "${ECHO_T}$ac_header_compiler" >&6
13391 # Is the header present?
13392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13394 cat >conftest.
$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13398 cat confdefs.h
>>conftest.
$ac_ext
13399 cat >>conftest.
$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401 #include <$ac_header>
13403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13406 grep -v '^ *+' conftest.er1
>conftest.err
13408 cat conftest.err
>&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } >/dev
/null
; then
13411 if test -s conftest.err
; then
13412 ac_cpp_err
=$ac_c_preproc_warn_flag
13419 if test -z "$ac_cpp_err"; then
13420 ac_header_preproc
=yes
13422 echo "$as_me: failed program was:" >&5
13423 sed 's/^/| /' conftest.
$ac_ext >&5
13425 ac_header_preproc
=no
13427 rm -f conftest.err conftest.
$ac_ext
13428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13429 echo "${ECHO_T}$ac_header_preproc" >&6
13431 # So? What about this header?
13432 case $ac_header_compiler:$ac_header_preproc in
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13440 ## ------------------------------------ ##
13441 ## Report this to bug-autoconf@gnu.org. ##
13442 ## ------------------------------------ ##
13445 sed "s/^/$as_me: WARNING: /" >&2
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13456 ## ------------------------------------ ##
13457 ## Report this to bug-autoconf@gnu.org. ##
13458 ## ------------------------------------ ##
13461 sed "s/^/$as_me: WARNING: /" >&2
13464 echo "$as_me:$LINENO: checking for $ac_header" >&5
13465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 eval "$as_ac_Header=$ac_header_preproc"
13471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13476 cat >>confdefs.h
<<_ACEOF
13477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13486 *-pc-os2_emx | *-pc-os2-emx )
13487 if test $ac_cv_header_langinfo_h = "yes"; then
13488 LIBS
="$LIBS -lintl"
13493 if test "$wxUSE_GUI" = "yes"; then
13494 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13496 for ac_header
in X
11/Xlib.h
13498 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13500 echo "$as_me:$LINENO: checking for $ac_header" >&5
13501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13508 # Is the header compilable?
13509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13511 cat >conftest.
$ac_ext <<_ACEOF
13512 #line $LINENO "configure"
13515 cat confdefs.h
>>conftest.
$ac_ext
13516 cat >>conftest.
$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13518 $ac_includes_default
13519 #include <$ac_header>
13521 rm -f conftest.
$ac_objext
13522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13523 (eval $ac_compile) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } &&
13527 { ac_try
='test -s conftest.$ac_objext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_header_compiler
=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.
$ac_ext >&5
13538 ac_header_compiler
=no
13540 rm -f conftest.
$ac_objext conftest.
$ac_ext
13541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13542 echo "${ECHO_T}$ac_header_compiler" >&6
13544 # Is the header present?
13545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13547 cat >conftest.
$ac_ext <<_ACEOF
13548 #line $LINENO "configure"
13551 cat confdefs.h
>>conftest.
$ac_ext
13552 cat >>conftest.
$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554 #include <$ac_header>
13556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13559 grep -v '^ *+' conftest.er1
>conftest.err
13561 cat conftest.err
>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } >/dev
/null
; then
13564 if test -s conftest.err
; then
13565 ac_cpp_err
=$ac_c_preproc_warn_flag
13572 if test -z "$ac_cpp_err"; then
13573 ac_header_preproc
=yes
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.
$ac_ext >&5
13578 ac_header_preproc
=no
13580 rm -f conftest.err conftest.
$ac_ext
13581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13582 echo "${ECHO_T}$ac_header_preproc" >&6
13584 # So? What about this header?
13585 case $ac_header_compiler:$ac_header_preproc in
13587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13593 ## ------------------------------------ ##
13594 ## Report this to bug-autoconf@gnu.org. ##
13595 ## ------------------------------------ ##
13598 sed "s/^/$as_me: WARNING: /" >&2
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13609 ## ------------------------------------ ##
13610 ## Report this to bug-autoconf@gnu.org. ##
13611 ## ------------------------------------ ##
13614 sed "s/^/$as_me: WARNING: /" >&2
13617 echo "$as_me:$LINENO: checking for $ac_header" >&5
13618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 eval "$as_ac_Header=$ac_header_preproc"
13624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13629 cat >>confdefs.h
<<_ACEOF
13630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13638 for ac_header
in X
11/XKBlib.h
13640 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13641 echo "$as_me:$LINENO: checking for $ac_header" >&5
13642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13644 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 cat >conftest.
$ac_ext <<_ACEOF
13647 #line $LINENO "configure"
13650 cat confdefs.h
>>conftest.
$ac_ext
13651 cat >>conftest.
$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13654 #if HAVE_X11_XLIB_H
13655 #include <X11/Xlib.h>
13659 #include <$ac_header>
13661 rm -f conftest.
$ac_objext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 { ac_try
='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 eval "$as_ac_Header=yes"
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.
$ac_ext >&5
13678 eval "$as_ac_Header=no"
13680 rm -f conftest.
$ac_objext conftest.
$ac_ext
13682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13685 cat >>confdefs.h
<<_ACEOF
13686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13697 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13698 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13699 if test "${ac_cv_c_const+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 cat >conftest.
$ac_ext <<_ACEOF
13703 #line $LINENO "configure"
13706 cat confdefs.h
>>conftest.
$ac_ext
13707 cat >>conftest.
$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13713 /* FIXME: Include the comments suggested by Paul. */
13714 #ifndef __cplusplus
13715 /* Ultrix mips cc rejects this. */
13716 typedef int charset[2];
13718 /* SunOS 4.1.1 cc rejects this. */
13719 char const *const *ccp;
13721 /* NEC SVR4.0.2 mips cc rejects this. */
13722 struct point {int x, y;};
13723 static struct point const zero = {0,0};
13724 /* AIX XL C 1.02.0.0 rejects this.
13725 It does not let you subtract one const X* pointer from another in
13726 an arm of an if-expression whose if-part is not a constant
13728 const char *g = "string";
13729 ccp = &g + (g ? g-g : 0);
13730 /* HPUX 7.0 cc rejects these. */
13733 ccp = (char const *const *) p;
13734 { /* SCO 3.2v4 cc rejects this. */
13736 char const *s = 0 ? (char *) 0 : (char const *) 0;
13740 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13741 int x[] = {25, 17};
13742 const int *foo = &x[0];
13745 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13746 typedef const int *iptr;
13750 { /* AIX XL C 1.02.0.0 rejects this saying
13751 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13752 struct s { int j; const int *ap[3]; };
13753 struct s *b; b->j = 5;
13755 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13756 const int foo = 10;
13764 rm -f conftest.
$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try
='test -s conftest.$ac_objext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.
$ac_ext >&5
13783 rm -f conftest.
$ac_objext conftest.
$ac_ext
13785 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13786 echo "${ECHO_T}$ac_cv_c_const" >&6
13787 if test $ac_cv_c_const = no
; then
13789 cat >>confdefs.h
<<\_ACEOF
13795 echo "$as_me:$LINENO: checking for inline" >&5
13796 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13797 if test "${ac_cv_c_inline+set}" = set; then
13798 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 for ac_kw
in inline __inline__ __inline
; do
13802 cat >conftest.
$ac_ext <<_ACEOF
13803 #line $LINENO "configure"
13806 cat confdefs.h
>>conftest.
$ac_ext
13807 cat >>conftest.
$ac_ext <<_ACEOF
13808 /* end confdefs.h. */
13809 #ifndef __cplusplus
13811 static $ac_kw foo_t static_foo () {return 0; }
13812 $ac_kw foo_t foo () {return 0; }
13816 rm -f conftest.
$ac_objext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13818 (eval $ac_compile) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try
='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_cv_c_inline
=$ac_kw; break
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13834 rm -f conftest.
$ac_objext conftest.
$ac_ext
13838 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13839 echo "${ECHO_T}$ac_cv_c_inline" >&6
13840 case $ac_cv_c_inline in
13843 cat >>confdefs.h
<<\_ACEOF
13847 *) cat >>confdefs.h
<<_ACEOF
13848 #define inline $ac_cv_c_inline
13854 echo "$as_me:$LINENO: checking for char" >&5
13855 echo $ECHO_N "checking for char... $ECHO_C" >&6
13856 if test "${ac_cv_type_char+set}" = set; then
13857 echo $ECHO_N "(cached) $ECHO_C" >&6
13859 cat >conftest.
$ac_ext <<_ACEOF
13860 #line $LINENO "configure"
13863 cat confdefs.h
>>conftest.
$ac_ext
13864 cat >>conftest.
$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866 $ac_includes_default
13878 rm -f conftest.
$ac_objext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } &&
13884 { ac_try
='test -s conftest.$ac_objext'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; }; then
13890 ac_cv_type_char
=yes
13892 echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.
$ac_ext >&5
13897 rm -f conftest.
$ac_objext conftest.
$ac_ext
13899 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13900 echo "${ECHO_T}$ac_cv_type_char" >&6
13902 echo "$as_me:$LINENO: checking size of char" >&5
13903 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13904 if test "${ac_cv_sizeof_char+set}" = set; then
13905 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 if test "$ac_cv_type_char" = yes; then
13908 # The cast to unsigned long works around a bug in the HP C Compiler
13909 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13910 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13911 # This bug is HP SR number 8606223364.
13912 if test "$cross_compiling" = yes; then
13913 # Depending upon the size, compute the lo and hi bounds.
13914 cat >conftest.
$ac_ext <<_ACEOF
13915 #line $LINENO "configure"
13918 cat confdefs.h
>>conftest.
$ac_ext
13919 cat >>conftest.
$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13921 $ac_includes_default
13925 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13932 rm -f conftest.
$ac_objext
13933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13934 (eval $ac_compile) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try
='test -s conftest.$ac_objext'
13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13940 (eval $ac_try) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; }; then
13946 cat >conftest.
$ac_ext <<_ACEOF
13947 #line $LINENO "configure"
13950 cat confdefs.h
>>conftest.
$ac_ext
13951 cat >>conftest.
$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13953 $ac_includes_default
13957 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13964 rm -f conftest.
$ac_objext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13966 (eval $ac_compile) 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } &&
13970 { ac_try
='test -s conftest.$ac_objext'
13971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13972 (eval $ac_try) 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); }; }; then
13976 ac_hi
=$ac_mid; break
13978 echo "$as_me: failed program was:" >&5
13979 sed 's/^/| /' conftest.
$ac_ext >&5
13981 ac_lo
=`expr $ac_mid + 1`
13982 if test $ac_lo -le $ac_mid; then
13986 ac_mid
=`expr 2 '*' $ac_mid + 1`
13988 rm -f conftest.
$ac_objext conftest.
$ac_ext
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.
$ac_ext >&5
13994 cat >conftest.
$ac_ext <<_ACEOF
13995 #line $LINENO "configure"
13998 cat confdefs.h
>>conftest.
$ac_ext
13999 cat >>conftest.
$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 $ac_includes_default
14005 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14012 rm -f conftest.
$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try
='test -s conftest.$ac_objext'
14019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020 (eval $ac_try) 2>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); }; }; then
14026 cat >conftest.
$ac_ext <<_ACEOF
14027 #line $LINENO "configure"
14030 cat confdefs.h
>>conftest.
$ac_ext
14031 cat >>conftest.
$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033 $ac_includes_default
14037 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14044 rm -f conftest.
$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } &&
14050 { ac_try
='test -s conftest.$ac_objext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 ac_lo
=$ac_mid; break
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.
$ac_ext >&5
14061 ac_hi
=`expr '(' $ac_mid ')' - 1`
14062 if test $ac_mid -le $ac_hi; then
14066 ac_mid
=`expr 2 '*' $ac_mid`
14068 rm -f conftest.
$ac_objext conftest.
$ac_ext
14071 echo "$as_me: failed program was:" >&5
14072 sed 's/^/| /' conftest.
$ac_ext >&5
14076 rm -f conftest.
$ac_objext conftest.
$ac_ext
14078 rm -f conftest.
$ac_objext conftest.
$ac_ext
14079 # Binary search between lo and hi bounds.
14080 while test "x$ac_lo" != "x$ac_hi"; do
14081 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14082 cat >conftest.
$ac_ext <<_ACEOF
14083 #line $LINENO "configure"
14086 cat confdefs.h
>>conftest.
$ac_ext
14087 cat >>conftest.
$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089 $ac_includes_default
14093 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14100 rm -f conftest.
$ac_objext
14101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14102 (eval $ac_compile) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try
='test -s conftest.$ac_objext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_lo
=`expr '(' $ac_mid ')' + 1`
14119 rm -f conftest.
$ac_objext conftest.
$ac_ext
14122 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14123 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14124 See \`config.log' for more details." >&5
14125 echo "$as_me: error: cannot compute sizeof (char), 77
14126 See \`config.log' for more details." >&2;}
14127 { (exit 1); exit 1; }; } ;;
14130 if test "$cross_compiling" = yes; then
14131 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14132 See \`config.log' for more details." >&5
14133 echo "$as_me: error: cannot run test program while cross compiling
14134 See \`config.log' for more details." >&2;}
14135 { (exit 1); exit 1; }; }
14137 cat >conftest.
$ac_ext <<_ACEOF
14138 #line $LINENO "configure"
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 $ac_includes_default
14145 long longval () { return (long) (sizeof (char)); }
14146 unsigned long ulongval () { return (long) (sizeof (char)); }
14148 #include <stdlib.h>
14153 FILE *f = fopen ("conftest.val", "w");
14156 if (((long) (sizeof (char))) < 0)
14158 long i = longval ();
14159 if (i != ((long) (sizeof (char))))
14161 fprintf (f, "%ld\n", i);
14165 unsigned long i = ulongval ();
14166 if (i != ((long) (sizeof (char))))
14168 fprintf (f, "%lu\n", i);
14170 exit (ferror (f) || fclose (f) != 0);
14176 rm -f conftest
$ac_exeext
14177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14178 (eval $ac_link) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_cv_sizeof_char
=`cat conftest.val`
14189 echo "$as_me: program exited with status $ac_status" >&5
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.
$ac_ext >&5
14193 ( exit $ac_status )
14194 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14195 See \`config.log' for more details." >&5
14196 echo "$as_me: error: cannot compute sizeof (char), 77
14197 See \`config.log' for more details." >&2;}
14198 { (exit 1); exit 1; }; }
14200 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14205 ac_cv_sizeof_char
=0
14208 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14209 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14210 cat >>confdefs.h
<<_ACEOF
14211 #define SIZEOF_CHAR $ac_cv_sizeof_char
14215 echo "$as_me:$LINENO: checking for short" >&5
14216 echo $ECHO_N "checking for short... $ECHO_C" >&6
14217 if test "${ac_cv_type_short+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 cat >conftest.
$ac_ext <<_ACEOF
14221 #line $LINENO "configure"
14224 cat confdefs.h
>>conftest.
$ac_ext
14225 cat >>conftest.
$ac_ext <<_ACEOF
14226 /* end confdefs.h. */
14227 $ac_includes_default
14233 if (sizeof (short))
14239 rm -f conftest.
$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try
='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 ac_cv_type_short
=yes
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.
$ac_ext >&5
14256 ac_cv_type_short
=no
14258 rm -f conftest.
$ac_objext conftest.
$ac_ext
14260 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14261 echo "${ECHO_T}$ac_cv_type_short" >&6
14263 echo "$as_me:$LINENO: checking size of short" >&5
14264 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14265 if test "${ac_cv_sizeof_short+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 if test "$ac_cv_type_short" = yes; then
14269 # The cast to unsigned long works around a bug in the HP C Compiler
14270 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14271 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14272 # This bug is HP SR number 8606223364.
14273 if test "$cross_compiling" = yes; then
14274 # Depending upon the size, compute the lo and hi bounds.
14275 cat >conftest.
$ac_ext <<_ACEOF
14276 #line $LINENO "configure"
14279 cat confdefs.h
>>conftest.
$ac_ext
14280 cat >>conftest.
$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14282 $ac_includes_default
14286 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14293 rm -f conftest.
$ac_objext
14294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14295 (eval $ac_compile) 2>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try
='test -s conftest.$ac_objext'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14307 cat >conftest.
$ac_ext <<_ACEOF
14308 #line $LINENO "configure"
14311 cat confdefs.h
>>conftest.
$ac_ext
14312 cat >>conftest.
$ac_ext <<_ACEOF
14313 /* end confdefs.h. */
14314 $ac_includes_default
14318 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14325 rm -f conftest.
$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } &&
14331 { ac_try
='test -s conftest.$ac_objext'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; }; then
14337 ac_hi
=$ac_mid; break
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.
$ac_ext >&5
14342 ac_lo
=`expr $ac_mid + 1`
14343 if test $ac_lo -le $ac_mid; then
14347 ac_mid
=`expr 2 '*' $ac_mid + 1`
14349 rm -f conftest.
$ac_objext conftest.
$ac_ext
14352 echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.
$ac_ext >&5
14355 cat >conftest.
$ac_ext <<_ACEOF
14356 #line $LINENO "configure"
14359 cat confdefs.h
>>conftest.
$ac_ext
14360 cat >>conftest.
$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 $ac_includes_default
14366 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14373 rm -f conftest.
$ac_objext
14374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14375 (eval $ac_compile) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); } &&
14379 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14387 cat >conftest.
$ac_ext <<_ACEOF
14388 #line $LINENO "configure"
14391 cat confdefs.h
>>conftest.
$ac_ext
14392 cat >>conftest.
$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14394 $ac_includes_default
14398 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14405 rm -f conftest.
$ac_objext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14407 (eval $ac_compile) 2>&5
14409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 (exit $ac_status); } &&
14411 { ac_try
='test -s conftest.$ac_objext'
14412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 (eval $ac_try) 2>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }; }; then
14417 ac_lo
=$ac_mid; break
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.
$ac_ext >&5
14422 ac_hi
=`expr '(' $ac_mid ')' - 1`
14423 if test $ac_mid -le $ac_hi; then
14427 ac_mid
=`expr 2 '*' $ac_mid`
14429 rm -f conftest.
$ac_objext conftest.
$ac_ext
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14437 rm -f conftest.
$ac_objext conftest.
$ac_ext
14439 rm -f conftest.
$ac_objext conftest.
$ac_ext
14440 # Binary search between lo and hi bounds.
14441 while test "x$ac_lo" != "x$ac_hi"; do
14442 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14443 cat >conftest.
$ac_ext <<_ACEOF
14444 #line $LINENO "configure"
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 $ac_includes_default
14454 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14461 rm -f conftest.
$ac_objext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try
='test -s conftest.$ac_objext'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.
$ac_ext >&5
14478 ac_lo
=`expr '(' $ac_mid ')' + 1`
14480 rm -f conftest.
$ac_objext conftest.
$ac_ext
14483 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14484 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14485 See \`config.log' for more details." >&5
14486 echo "$as_me: error: cannot compute sizeof (short), 77
14487 See \`config.log' for more details." >&2;}
14488 { (exit 1); exit 1; }; } ;;
14491 if test "$cross_compiling" = yes; then
14492 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14493 See \`config.log' for more details." >&5
14494 echo "$as_me: error: cannot run test program while cross compiling
14495 See \`config.log' for more details." >&2;}
14496 { (exit 1); exit 1; }; }
14498 cat >conftest.
$ac_ext <<_ACEOF
14499 #line $LINENO "configure"
14502 cat confdefs.h
>>conftest.
$ac_ext
14503 cat >>conftest.
$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 $ac_includes_default
14506 long longval () { return (long) (sizeof (short)); }
14507 unsigned long ulongval () { return (long) (sizeof (short)); }
14509 #include <stdlib.h>
14514 FILE *f = fopen ("conftest.val", "w");
14517 if (((long) (sizeof (short))) < 0)
14519 long i = longval ();
14520 if (i != ((long) (sizeof (short))))
14522 fprintf (f, "%ld\n", i);
14526 unsigned long i = ulongval ();
14527 if (i != ((long) (sizeof (short))))
14529 fprintf (f, "%lu\n", i);
14531 exit (ferror (f) || fclose (f) != 0);
14537 rm -f conftest
$ac_exeext
14538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14539 (eval $ac_link) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_cv_sizeof_short
=`cat conftest.val`
14550 echo "$as_me: program exited with status $ac_status" >&5
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14554 ( exit $ac_status )
14555 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14556 See \`config.log' for more details." >&5
14557 echo "$as_me: error: cannot compute sizeof (short), 77
14558 See \`config.log' for more details." >&2;}
14559 { (exit 1); exit 1; }; }
14561 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14566 ac_cv_sizeof_short
=0
14569 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14570 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14571 cat >>confdefs.h
<<_ACEOF
14572 #define SIZEOF_SHORT $ac_cv_sizeof_short
14576 echo "$as_me:$LINENO: checking for void *" >&5
14577 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14578 if test "${ac_cv_type_void_p+set}" = set; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 cat >conftest.
$ac_ext <<_ACEOF
14582 #line $LINENO "configure"
14585 cat confdefs.h
>>conftest.
$ac_ext
14586 cat >>conftest.
$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14588 $ac_includes_default
14594 if (sizeof (void *))
14600 rm -f conftest.
$ac_objext
14601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602 (eval $ac_compile) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try
='test -s conftest.$ac_objext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14612 ac_cv_type_void_p
=yes
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.
$ac_ext >&5
14617 ac_cv_type_void_p
=no
14619 rm -f conftest.
$ac_objext conftest.
$ac_ext
14621 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14622 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14624 echo "$as_me:$LINENO: checking size of void *" >&5
14625 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14626 if test "${ac_cv_sizeof_void_p+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 if test "$ac_cv_type_void_p" = yes; then
14630 # The cast to unsigned long works around a bug in the HP C Compiler
14631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14633 # This bug is HP SR number 8606223364.
14634 if test "$cross_compiling" = yes; then
14635 # Depending upon the size, compute the lo and hi bounds.
14636 cat >conftest.
$ac_ext <<_ACEOF
14637 #line $LINENO "configure"
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 $ac_includes_default
14647 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14654 rm -f conftest.
$ac_objext
14655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14656 (eval $ac_compile) 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
14669 #line $LINENO "configure"
14672 cat confdefs.h
>>conftest.
$ac_ext
14673 cat >>conftest.
$ac_ext <<_ACEOF
14674 /* end confdefs.h. */
14675 $ac_includes_default
14679 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14686 rm -f conftest.
$ac_objext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14688 (eval $ac_compile) 2>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try
='test -s conftest.$ac_objext'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; }; then
14698 ac_hi
=$ac_mid; break
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.
$ac_ext >&5
14703 ac_lo
=`expr $ac_mid + 1`
14704 if test $ac_lo -le $ac_mid; then
14708 ac_mid
=`expr 2 '*' $ac_mid + 1`
14710 rm -f conftest.
$ac_objext conftest.
$ac_ext
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.
$ac_ext >&5
14716 cat >conftest.
$ac_ext <<_ACEOF
14717 #line $LINENO "configure"
14720 cat confdefs.h
>>conftest.
$ac_ext
14721 cat >>conftest.
$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14723 $ac_includes_default
14727 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14734 rm -f conftest.
$ac_objext
14735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14736 (eval $ac_compile) 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } &&
14740 { ac_try
='test -s conftest.$ac_objext'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; }; then
14748 cat >conftest.
$ac_ext <<_ACEOF
14749 #line $LINENO "configure"
14752 cat confdefs.h
>>conftest.
$ac_ext
14753 cat >>conftest.
$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14755 $ac_includes_default
14759 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14766 rm -f conftest.
$ac_objext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14768 (eval $ac_compile) 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try
='test -s conftest.$ac_objext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14778 ac_lo
=$ac_mid; break
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.
$ac_ext >&5
14783 ac_hi
=`expr '(' $ac_mid ')' - 1`
14784 if test $ac_mid -le $ac_hi; then
14788 ac_mid
=`expr 2 '*' $ac_mid`
14790 rm -f conftest.
$ac_objext conftest.
$ac_ext
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.
$ac_ext >&5
14798 rm -f conftest.
$ac_objext conftest.
$ac_ext
14800 rm -f conftest.
$ac_objext conftest.
$ac_ext
14801 # Binary search between lo and hi bounds.
14802 while test "x$ac_lo" != "x$ac_hi"; do
14803 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14804 cat >conftest.
$ac_ext <<_ACEOF
14805 #line $LINENO "configure"
14808 cat confdefs.h
>>conftest.
$ac_ext
14809 cat >>conftest.
$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 $ac_includes_default
14815 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14822 rm -f conftest.
$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try
='test -s conftest.$ac_objext'
14829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14830 (eval $ac_try) 2>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; }; then
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.
$ac_ext >&5
14839 ac_lo
=`expr '(' $ac_mid ')' + 1`
14841 rm -f conftest.
$ac_objext conftest.
$ac_ext
14844 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14845 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14846 See \`config.log' for more details." >&5
14847 echo "$as_me: error: cannot compute sizeof (void *), 77
14848 See \`config.log' for more details." >&2;}
14849 { (exit 1); exit 1; }; } ;;
14852 if test "$cross_compiling" = yes; then
14853 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14854 See \`config.log' for more details." >&5
14855 echo "$as_me: error: cannot run test program while cross compiling
14856 See \`config.log' for more details." >&2;}
14857 { (exit 1); exit 1; }; }
14859 cat >conftest.
$ac_ext <<_ACEOF
14860 #line $LINENO "configure"
14863 cat confdefs.h
>>conftest.
$ac_ext
14864 cat >>conftest.
$ac_ext <<_ACEOF
14865 /* end confdefs.h. */
14866 $ac_includes_default
14867 long longval () { return (long) (sizeof (void *)); }
14868 unsigned long ulongval () { return (long) (sizeof (void *)); }
14870 #include <stdlib.h>
14875 FILE *f = fopen ("conftest.val", "w");
14878 if (((long) (sizeof (void *))) < 0)
14880 long i = longval ();
14881 if (i != ((long) (sizeof (void *))))
14883 fprintf (f, "%ld\n", i);
14887 unsigned long i = ulongval ();
14888 if (i != ((long) (sizeof (void *))))
14890 fprintf (f, "%lu\n", i);
14892 exit (ferror (f) || fclose (f) != 0);
14898 rm -f conftest
$ac_exeext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14900 (eval $ac_link) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_cv_sizeof_void_p
=`cat conftest.val`
14911 echo "$as_me: program exited with status $ac_status" >&5
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.
$ac_ext >&5
14915 ( exit $ac_status )
14916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14917 See \`config.log' for more details." >&5
14918 echo "$as_me: error: cannot compute sizeof (void *), 77
14919 See \`config.log' for more details." >&2;}
14920 { (exit 1); exit 1; }; }
14922 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14927 ac_cv_sizeof_void_p
=0
14930 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14931 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14932 cat >>confdefs.h
<<_ACEOF
14933 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14937 echo "$as_me:$LINENO: checking for int" >&5
14938 echo $ECHO_N "checking for int... $ECHO_C" >&6
14939 if test "${ac_cv_type_int+set}" = set; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 cat >conftest.
$ac_ext <<_ACEOF
14943 #line $LINENO "configure"
14946 cat confdefs.h
>>conftest.
$ac_ext
14947 cat >>conftest.
$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949 $ac_includes_default
14961 rm -f conftest.
$ac_objext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14963 (eval $ac_compile) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try
='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14980 rm -f conftest.
$ac_objext conftest.
$ac_ext
14982 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14983 echo "${ECHO_T}$ac_cv_type_int" >&6
14985 echo "$as_me:$LINENO: checking size of int" >&5
14986 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14987 if test "${ac_cv_sizeof_int+set}" = set; then
14988 echo $ECHO_N "(cached) $ECHO_C" >&6
14990 if test "$ac_cv_type_int" = yes; then
14991 # The cast to unsigned long works around a bug in the HP C Compiler
14992 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14993 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14994 # This bug is HP SR number 8606223364.
14995 if test "$cross_compiling" = yes; then
14996 # Depending upon the size, compute the lo and hi bounds.
14997 cat >conftest.
$ac_ext <<_ACEOF
14998 #line $LINENO "configure"
15001 cat confdefs.h
>>conftest.
$ac_ext
15002 cat >>conftest.
$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15004 $ac_includes_default
15008 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15015 rm -f conftest.
$ac_objext
15016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15017 (eval $ac_compile) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } &&
15021 { ac_try
='test -s conftest.$ac_objext'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15029 cat >conftest.
$ac_ext <<_ACEOF
15030 #line $LINENO "configure"
15033 cat confdefs.h
>>conftest.
$ac_ext
15034 cat >>conftest.
$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15036 $ac_includes_default
15040 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15047 rm -f conftest.
$ac_objext
15048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15049 (eval $ac_compile) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } &&
15053 { ac_try
='test -s conftest.$ac_objext'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; }; then
15059 ac_hi
=$ac_mid; break
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.
$ac_ext >&5
15064 ac_lo
=`expr $ac_mid + 1`
15065 if test $ac_lo -le $ac_mid; then
15069 ac_mid
=`expr 2 '*' $ac_mid + 1`
15071 rm -f conftest.
$ac_objext conftest.
$ac_ext
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.
$ac_ext >&5
15077 cat >conftest.
$ac_ext <<_ACEOF
15078 #line $LINENO "configure"
15081 cat confdefs.h
>>conftest.
$ac_ext
15082 cat >>conftest.
$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084 $ac_includes_default
15088 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15095 rm -f conftest.
$ac_objext
15096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15097 (eval $ac_compile) 2>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); } &&
15101 { ac_try
='test -s conftest.$ac_objext'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15109 cat >conftest.
$ac_ext <<_ACEOF
15110 #line $LINENO "configure"
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15120 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15127 rm -f conftest.
$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } &&
15133 { ac_try
='test -s conftest.$ac_objext'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; }; then
15139 ac_lo
=$ac_mid; break
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.
$ac_ext >&5
15144 ac_hi
=`expr '(' $ac_mid ')' - 1`
15145 if test $ac_mid -le $ac_hi; then
15149 ac_mid
=`expr 2 '*' $ac_mid`
15151 rm -f conftest.
$ac_objext conftest.
$ac_ext
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.
$ac_ext >&5
15159 rm -f conftest.
$ac_objext conftest.
$ac_ext
15161 rm -f conftest.
$ac_objext conftest.
$ac_ext
15162 # Binary search between lo and hi bounds.
15163 while test "x$ac_lo" != "x$ac_hi"; do
15164 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15165 cat >conftest.
$ac_ext <<_ACEOF
15166 #line $LINENO "configure"
15169 cat confdefs.h
>>conftest.
$ac_ext
15170 cat >>conftest.
$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 $ac_includes_default
15176 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15183 rm -f conftest.
$ac_objext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15185 (eval $ac_compile) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } &&
15189 { ac_try
='test -s conftest.$ac_objext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.
$ac_ext >&5
15200 ac_lo
=`expr '(' $ac_mid ')' + 1`
15202 rm -f conftest.
$ac_objext conftest.
$ac_ext
15205 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15206 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15207 See \`config.log' for more details." >&5
15208 echo "$as_me: error: cannot compute sizeof (int), 77
15209 See \`config.log' for more details." >&2;}
15210 { (exit 1); exit 1; }; } ;;
15213 if test "$cross_compiling" = yes; then
15214 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15215 See \`config.log' for more details." >&5
15216 echo "$as_me: error: cannot run test program while cross compiling
15217 See \`config.log' for more details." >&2;}
15218 { (exit 1); exit 1; }; }
15220 cat >conftest.
$ac_ext <<_ACEOF
15221 #line $LINENO "configure"
15224 cat confdefs.h
>>conftest.
$ac_ext
15225 cat >>conftest.
$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227 $ac_includes_default
15228 long longval () { return (long) (sizeof (int)); }
15229 unsigned long ulongval () { return (long) (sizeof (int)); }
15231 #include <stdlib.h>
15236 FILE *f = fopen ("conftest.val", "w");
15239 if (((long) (sizeof (int))) < 0)
15241 long i = longval ();
15242 if (i != ((long) (sizeof (int))))
15244 fprintf (f, "%ld\n", i);
15248 unsigned long i = ulongval ();
15249 if (i != ((long) (sizeof (int))))
15251 fprintf (f, "%lu\n", i);
15253 exit (ferror (f) || fclose (f) != 0);
15259 rm -f conftest
$ac_exeext
15260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15261 (eval $ac_link) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_cv_sizeof_int
=`cat conftest.val`
15272 echo "$as_me: program exited with status $ac_status" >&5
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.
$ac_ext >&5
15276 ( exit $ac_status )
15277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15278 See \`config.log' for more details." >&5
15279 echo "$as_me: error: cannot compute sizeof (int), 77
15280 See \`config.log' for more details." >&2;}
15281 { (exit 1); exit 1; }; }
15283 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15291 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15292 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15293 cat >>confdefs.h
<<_ACEOF
15294 #define SIZEOF_INT $ac_cv_sizeof_int
15298 echo "$as_me:$LINENO: checking for long" >&5
15299 echo $ECHO_N "checking for long... $ECHO_C" >&6
15300 if test "${ac_cv_type_long+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 cat >conftest.
$ac_ext <<_ACEOF
15304 #line $LINENO "configure"
15307 cat confdefs.h
>>conftest.
$ac_ext
15308 cat >>conftest.
$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310 $ac_includes_default
15322 rm -f conftest.
$ac_objext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15324 (eval $ac_compile) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } &&
15328 { ac_try
='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_cv_type_long
=yes
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.
$ac_ext >&5
15341 rm -f conftest.
$ac_objext conftest.
$ac_ext
15343 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15344 echo "${ECHO_T}$ac_cv_type_long" >&6
15346 echo "$as_me:$LINENO: checking size of long" >&5
15347 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15348 if test "${ac_cv_sizeof_long+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 if test "$ac_cv_type_long" = yes; then
15352 # The cast to unsigned long works around a bug in the HP C Compiler
15353 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15354 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15355 # This bug is HP SR number 8606223364.
15356 if test "$cross_compiling" = yes; then
15357 # Depending upon the size, compute the lo and hi bounds.
15358 cat >conftest.
$ac_ext <<_ACEOF
15359 #line $LINENO "configure"
15362 cat confdefs.h
>>conftest.
$ac_ext
15363 cat >>conftest.
$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15365 $ac_includes_default
15369 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15376 rm -f conftest.
$ac_objext
15377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15378 (eval $ac_compile) 2>&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } &&
15382 { ac_try
='test -s conftest.$ac_objext'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; }; then
15390 cat >conftest.
$ac_ext <<_ACEOF
15391 #line $LINENO "configure"
15394 cat confdefs.h
>>conftest.
$ac_ext
15395 cat >>conftest.
$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397 $ac_includes_default
15401 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15408 rm -f conftest.
$ac_objext
15409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15410 (eval $ac_compile) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } &&
15414 { ac_try
='test -s conftest.$ac_objext'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; }; then
15420 ac_hi
=$ac_mid; break
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15425 ac_lo
=`expr $ac_mid + 1`
15426 if test $ac_lo -le $ac_mid; then
15430 ac_mid
=`expr 2 '*' $ac_mid + 1`
15432 rm -f conftest.
$ac_objext conftest.
$ac_ext
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.
$ac_ext >&5
15438 cat >conftest.
$ac_ext <<_ACEOF
15439 #line $LINENO "configure"
15442 cat confdefs.h
>>conftest.
$ac_ext
15443 cat >>conftest.
$ac_ext <<_ACEOF
15444 /* end confdefs.h. */
15445 $ac_includes_default
15449 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15456 rm -f conftest.
$ac_objext
15457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15458 (eval $ac_compile) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } &&
15462 { ac_try
='test -s conftest.$ac_objext'
15463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15464 (eval $ac_try) 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; }; then
15470 cat >conftest.
$ac_ext <<_ACEOF
15471 #line $LINENO "configure"
15474 cat confdefs.h
>>conftest.
$ac_ext
15475 cat >>conftest.
$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477 $ac_includes_default
15481 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15488 rm -f conftest.
$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_lo
=$ac_mid; break
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15505 ac_hi
=`expr '(' $ac_mid ')' - 1`
15506 if test $ac_mid -le $ac_hi; then
15510 ac_mid
=`expr 2 '*' $ac_mid`
15512 rm -f conftest.
$ac_objext conftest.
$ac_ext
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15520 rm -f conftest.
$ac_objext conftest.
$ac_ext
15522 rm -f conftest.
$ac_objext conftest.
$ac_ext
15523 # Binary search between lo and hi bounds.
15524 while test "x$ac_lo" != "x$ac_hi"; do
15525 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15526 cat >conftest.
$ac_ext <<_ACEOF
15527 #line $LINENO "configure"
15530 cat confdefs.h
>>conftest.
$ac_ext
15531 cat >>conftest.
$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 $ac_includes_default
15537 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15544 rm -f conftest.
$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try
='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.
$ac_ext >&5
15561 ac_lo
=`expr '(' $ac_mid ')' + 1`
15563 rm -f conftest.
$ac_objext conftest.
$ac_ext
15566 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15567 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15568 See \`config.log' for more details." >&5
15569 echo "$as_me: error: cannot compute sizeof (long), 77
15570 See \`config.log' for more details." >&2;}
15571 { (exit 1); exit 1; }; } ;;
15574 if test "$cross_compiling" = yes; then
15575 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15576 See \`config.log' for more details." >&5
15577 echo "$as_me: error: cannot run test program while cross compiling
15578 See \`config.log' for more details." >&2;}
15579 { (exit 1); exit 1; }; }
15581 cat >conftest.
$ac_ext <<_ACEOF
15582 #line $LINENO "configure"
15585 cat confdefs.h
>>conftest.
$ac_ext
15586 cat >>conftest.
$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 $ac_includes_default
15589 long longval () { return (long) (sizeof (long)); }
15590 unsigned long ulongval () { return (long) (sizeof (long)); }
15592 #include <stdlib.h>
15597 FILE *f = fopen ("conftest.val", "w");
15600 if (((long) (sizeof (long))) < 0)
15602 long i = longval ();
15603 if (i != ((long) (sizeof (long))))
15605 fprintf (f, "%ld\n", i);
15609 unsigned long i = ulongval ();
15610 if (i != ((long) (sizeof (long))))
15612 fprintf (f, "%lu\n", i);
15614 exit (ferror (f) || fclose (f) != 0);
15620 rm -f conftest
$ac_exeext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15622 (eval $ac_link) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 ac_cv_sizeof_long
=`cat conftest.val`
15633 echo "$as_me: program exited with status $ac_status" >&5
15634 echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.
$ac_ext >&5
15637 ( exit $ac_status )
15638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15639 See \`config.log' for more details." >&5
15640 echo "$as_me: error: cannot compute sizeof (long), 77
15641 See \`config.log' for more details." >&2;}
15642 { (exit 1); exit 1; }; }
15644 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15649 ac_cv_sizeof_long
=0
15652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15653 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15654 cat >>confdefs.h
<<_ACEOF
15655 #define SIZEOF_LONG $ac_cv_sizeof_long
15662 echo "$as_me:$LINENO: checking for long long" >&5
15663 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15664 if test "${ac_cv_type_long_long+set}" = set; then
15665 echo $ECHO_N "(cached) $ECHO_C" >&6
15667 cat >conftest.
$ac_ext <<_ACEOF
15668 #line $LINENO "configure"
15671 cat confdefs.h
>>conftest.
$ac_ext
15672 cat >>conftest.
$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15674 $ac_includes_default
15678 if ((long long *) 0)
15680 if (sizeof (long long))
15686 rm -f conftest.
$ac_objext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15688 (eval $ac_compile) 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
15698 ac_cv_type_long_long
=yes
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.
$ac_ext >&5
15703 ac_cv_type_long_long
=no
15705 rm -f conftest.
$ac_objext conftest.
$ac_ext
15707 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15708 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15710 echo "$as_me:$LINENO: checking size of long long" >&5
15711 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15712 if test "${ac_cv_sizeof_long_long+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 if test "$ac_cv_type_long_long" = yes; then
15716 # The cast to unsigned long works around a bug in the HP C Compiler
15717 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15718 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15719 # This bug is HP SR number 8606223364.
15720 if test "$cross_compiling" = yes; then
15721 # Depending upon the size, compute the lo and hi bounds.
15722 cat >conftest.
$ac_ext <<_ACEOF
15723 #line $LINENO "configure"
15726 cat confdefs.h
>>conftest.
$ac_ext
15727 cat >>conftest.
$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 $ac_includes_default
15733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15740 rm -f conftest.
$ac_objext
15741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15742 (eval $ac_compile) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } &&
15746 { ac_try
='test -s conftest.$ac_objext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15754 cat >conftest.
$ac_ext <<_ACEOF
15755 #line $LINENO "configure"
15758 cat confdefs.h
>>conftest.
$ac_ext
15759 cat >>conftest.
$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15761 $ac_includes_default
15765 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15772 rm -f conftest.
$ac_objext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15774 (eval $ac_compile) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); } &&
15778 { ac_try
='test -s conftest.$ac_objext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 ac_hi
=$ac_mid; break
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.
$ac_ext >&5
15789 ac_lo
=`expr $ac_mid + 1`
15790 if test $ac_lo -le $ac_mid; then
15794 ac_mid
=`expr 2 '*' $ac_mid + 1`
15796 rm -f conftest.
$ac_objext conftest.
$ac_ext
15799 echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.
$ac_ext >&5
15802 cat >conftest.
$ac_ext <<_ACEOF
15803 #line $LINENO "configure"
15806 cat confdefs.h
>>conftest.
$ac_ext
15807 cat >>conftest.
$ac_ext <<_ACEOF
15808 /* end confdefs.h. */
15809 $ac_includes_default
15813 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15820 rm -f conftest.
$ac_objext
15821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15822 (eval $ac_compile) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try
='test -s conftest.$ac_objext'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; }; then
15834 cat >conftest.
$ac_ext <<_ACEOF
15835 #line $LINENO "configure"
15838 cat confdefs.h
>>conftest.
$ac_ext
15839 cat >>conftest.
$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15841 $ac_includes_default
15845 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15852 rm -f conftest.
$ac_objext
15853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15854 (eval $ac_compile) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try
='test -s conftest.$ac_objext'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; }; then
15864 ac_lo
=$ac_mid; break
15866 echo "$as_me: failed program was:" >&5
15867 sed 's/^/| /' conftest.
$ac_ext >&5
15869 ac_hi
=`expr '(' $ac_mid ')' - 1`
15870 if test $ac_mid -le $ac_hi; then
15874 ac_mid
=`expr 2 '*' $ac_mid`
15876 rm -f conftest.
$ac_objext conftest.
$ac_ext
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.
$ac_ext >&5
15884 rm -f conftest.
$ac_objext conftest.
$ac_ext
15886 rm -f conftest.
$ac_objext conftest.
$ac_ext
15887 # Binary search between lo and hi bounds.
15888 while test "x$ac_lo" != "x$ac_hi"; do
15889 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15890 cat >conftest.
$ac_ext <<_ACEOF
15891 #line $LINENO "configure"
15894 cat confdefs.h
>>conftest.
$ac_ext
15895 cat >>conftest.
$ac_ext <<_ACEOF
15896 /* end confdefs.h. */
15897 $ac_includes_default
15901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15908 rm -f conftest.
$ac_objext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15910 (eval $ac_compile) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } &&
15914 { ac_try
='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.
$ac_ext >&5
15925 ac_lo
=`expr '(' $ac_mid ')' + 1`
15927 rm -f conftest.
$ac_objext conftest.
$ac_ext
15930 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15931 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15932 See \`config.log' for more details." >&5
15933 echo "$as_me: error: cannot compute sizeof (long long), 77
15934 See \`config.log' for more details." >&2;}
15935 { (exit 1); exit 1; }; } ;;
15938 if test "$cross_compiling" = yes; then
15939 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15940 See \`config.log' for more details." >&5
15941 echo "$as_me: error: cannot run test program while cross compiling
15942 See \`config.log' for more details." >&2;}
15943 { (exit 1); exit 1; }; }
15945 cat >conftest.
$ac_ext <<_ACEOF
15946 #line $LINENO "configure"
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15953 long longval () { return (long) (sizeof (long long)); }
15954 unsigned long ulongval () { return (long) (sizeof (long long)); }
15956 #include <stdlib.h>
15961 FILE *f = fopen ("conftest.val", "w");
15964 if (((long) (sizeof (long long))) < 0)
15966 long i = longval ();
15967 if (i != ((long) (sizeof (long long))))
15969 fprintf (f, "%ld\n", i);
15973 unsigned long i = ulongval ();
15974 if (i != ((long) (sizeof (long long))))
15976 fprintf (f, "%lu\n", i);
15978 exit (ferror (f) || fclose (f) != 0);
15984 rm -f conftest
$ac_exeext
15985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15986 (eval $ac_link) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15995 ac_cv_sizeof_long_long
=`cat conftest.val`
15997 echo "$as_me: program exited with status $ac_status" >&5
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.
$ac_ext >&5
16001 ( exit $ac_status )
16002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16003 See \`config.log' for more details." >&5
16004 echo "$as_me: error: cannot compute sizeof (long long), 77
16005 See \`config.log' for more details." >&2;}
16006 { (exit 1); exit 1; }; }
16008 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16013 ac_cv_sizeof_long_long
=0
16016 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16017 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16018 cat >>confdefs.h
<<_ACEOF
16019 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16025 echo "$as_me:$LINENO: checking for long long" >&5
16026 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16027 if test "${ac_cv_type_long_long+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 cat >conftest.
$ac_ext <<_ACEOF
16031 #line $LINENO "configure"
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 $ac_includes_default
16041 if ((long long *) 0)
16043 if (sizeof (long long))
16049 rm -f conftest.
$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try
='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 ac_cv_type_long_long
=yes
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.
$ac_ext >&5
16066 ac_cv_type_long_long
=no
16068 rm -f conftest.
$ac_objext conftest.
$ac_ext
16070 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16071 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16073 echo "$as_me:$LINENO: checking size of long long" >&5
16074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16075 if test "${ac_cv_sizeof_long_long+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 if test "$ac_cv_type_long_long" = yes; then
16079 # The cast to unsigned long works around a bug in the HP C Compiler
16080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16082 # This bug is HP SR number 8606223364.
16083 if test "$cross_compiling" = yes; then
16084 # Depending upon the size, compute the lo and hi bounds.
16085 cat >conftest.
$ac_ext <<_ACEOF
16086 #line $LINENO "configure"
16089 cat confdefs.h
>>conftest.
$ac_ext
16090 cat >>conftest.
$ac_ext <<_ACEOF
16091 /* end confdefs.h. */
16092 $ac_includes_default
16096 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16103 rm -f conftest.
$ac_objext
16104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16105 (eval $ac_compile) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); } &&
16109 { ac_try
='test -s conftest.$ac_objext'
16110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16111 (eval $ac_try) 2>&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); }; }; then
16117 cat >conftest.
$ac_ext <<_ACEOF
16118 #line $LINENO "configure"
16121 cat confdefs.h
>>conftest.
$ac_ext
16122 cat >>conftest.
$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124 $ac_includes_default
16128 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16135 rm -f conftest.
$ac_objext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16137 (eval $ac_compile) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try
='test -s conftest.$ac_objext'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; }; then
16147 ac_hi
=$ac_mid; break
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.
$ac_ext >&5
16152 ac_lo
=`expr $ac_mid + 1`
16153 if test $ac_lo -le $ac_mid; then
16157 ac_mid
=`expr 2 '*' $ac_mid + 1`
16159 rm -f conftest.
$ac_objext conftest.
$ac_ext
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.
$ac_ext >&5
16165 cat >conftest.
$ac_ext <<_ACEOF
16166 #line $LINENO "configure"
16169 cat confdefs.h
>>conftest.
$ac_ext
16170 cat >>conftest.
$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16172 $ac_includes_default
16176 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16183 rm -f conftest.
$ac_objext
16184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185 (eval $ac_compile) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } &&
16189 { ac_try
='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16197 cat >conftest.
$ac_ext <<_ACEOF
16198 #line $LINENO "configure"
16201 cat confdefs.h
>>conftest.
$ac_ext
16202 cat >>conftest.
$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204 $ac_includes_default
16208 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16215 rm -f conftest.
$ac_objext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try
='test -s conftest.$ac_objext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16227 ac_lo
=$ac_mid; break
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.
$ac_ext >&5
16232 ac_hi
=`expr '(' $ac_mid ')' - 1`
16233 if test $ac_mid -le $ac_hi; then
16237 ac_mid
=`expr 2 '*' $ac_mid`
16239 rm -f conftest.
$ac_objext conftest.
$ac_ext
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.
$ac_ext >&5
16247 rm -f conftest.
$ac_objext conftest.
$ac_ext
16249 rm -f conftest.
$ac_objext conftest.
$ac_ext
16250 # Binary search between lo and hi bounds.
16251 while test "x$ac_lo" != "x$ac_hi"; do
16252 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16253 cat >conftest.
$ac_ext <<_ACEOF
16254 #line $LINENO "configure"
16257 cat confdefs.h
>>conftest.
$ac_ext
16258 cat >>conftest.
$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16264 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16271 rm -f conftest.
$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try
='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.
$ac_ext >&5
16288 ac_lo
=`expr '(' $ac_mid ')' + 1`
16290 rm -f conftest.
$ac_objext conftest.
$ac_ext
16293 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16294 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16295 See \`config.log' for more details." >&5
16296 echo "$as_me: error: cannot compute sizeof (long long), 77
16297 See \`config.log' for more details." >&2;}
16298 { (exit 1); exit 1; }; } ;;
16301 if test "$cross_compiling" = yes; then
16302 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16303 See \`config.log' for more details." >&5
16304 echo "$as_me: error: cannot run test program while cross compiling
16305 See \`config.log' for more details." >&2;}
16306 { (exit 1); exit 1; }; }
16308 cat >conftest.
$ac_ext <<_ACEOF
16309 #line $LINENO "configure"
16312 cat confdefs.h
>>conftest.
$ac_ext
16313 cat >>conftest.
$ac_ext <<_ACEOF
16314 /* end confdefs.h. */
16315 $ac_includes_default
16316 long longval () { return (long) (sizeof (long long)); }
16317 unsigned long ulongval () { return (long) (sizeof (long long)); }
16319 #include <stdlib.h>
16324 FILE *f = fopen ("conftest.val", "w");
16327 if (((long) (sizeof (long long))) < 0)
16329 long i = longval ();
16330 if (i != ((long) (sizeof (long long))))
16332 fprintf (f, "%ld\n", i);
16336 unsigned long i = ulongval ();
16337 if (i != ((long) (sizeof (long long))))
16339 fprintf (f, "%lu\n", i);
16341 exit (ferror (f) || fclose (f) != 0);
16347 rm -f conftest
$ac_exeext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16349 (eval $ac_link) 2>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_cv_sizeof_long_long
=`cat conftest.val`
16360 echo "$as_me: program exited with status $ac_status" >&5
16361 echo "$as_me: failed program was:" >&5
16362 sed 's/^/| /' conftest.
$ac_ext >&5
16364 ( exit $ac_status )
16365 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16366 See \`config.log' for more details." >&5
16367 echo "$as_me: error: cannot compute sizeof (long long), 77
16368 See \`config.log' for more details." >&2;}
16369 { (exit 1); exit 1; }; }
16371 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16376 ac_cv_sizeof_long_long
=0
16379 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16380 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16381 cat >>confdefs.h
<<_ACEOF
16382 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16386 if test "$ac_cv_sizeof_long_long" != "0"; then
16387 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16391 echo "$as_me:$LINENO: checking for long long" >&5
16392 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16393 if test "${ac_cv_type_long_long+set}" = set; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 cat >conftest.
$ac_ext <<_ACEOF
16397 #line $LINENO "configure"
16400 cat confdefs.h
>>conftest.
$ac_ext
16401 cat >>conftest.
$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 $ac_includes_default
16407 if ((long long *) 0)
16409 if (sizeof (long long))
16415 rm -f conftest.
$ac_objext
16416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16417 (eval $ac_compile) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try
='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 ac_cv_type_long_long
=yes
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.
$ac_ext >&5
16432 ac_cv_type_long_long
=no
16434 rm -f conftest.
$ac_objext conftest.
$ac_ext
16436 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16437 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16439 echo "$as_me:$LINENO: checking size of long long" >&5
16440 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16441 if test "${ac_cv_sizeof_long_long+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16444 if test "$ac_cv_type_long_long" = yes; then
16445 # The cast to unsigned long works around a bug in the HP C Compiler
16446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16448 # This bug is HP SR number 8606223364.
16449 if test "$cross_compiling" = yes; then
16450 # Depending upon the size, compute the lo and hi bounds.
16451 cat >conftest.
$ac_ext <<_ACEOF
16452 #line $LINENO "configure"
16455 cat confdefs.h
>>conftest.
$ac_ext
16456 cat >>conftest.
$ac_ext <<_ACEOF
16457 /* end confdefs.h. */
16458 $ac_includes_default
16462 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16469 rm -f conftest.
$ac_objext
16470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16471 (eval $ac_compile) 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } &&
16475 { ac_try
='test -s conftest.$ac_objext'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; }; then
16483 cat >conftest.
$ac_ext <<_ACEOF
16484 #line $LINENO "configure"
16487 cat confdefs.h
>>conftest.
$ac_ext
16488 cat >>conftest.
$ac_ext <<_ACEOF
16489 /* end confdefs.h. */
16490 $ac_includes_default
16494 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16501 rm -f conftest.
$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try
='test -s conftest.$ac_objext'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; }; then
16513 ac_hi
=$ac_mid; break
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.
$ac_ext >&5
16518 ac_lo
=`expr $ac_mid + 1`
16519 if test $ac_lo -le $ac_mid; then
16523 ac_mid
=`expr 2 '*' $ac_mid + 1`
16525 rm -f conftest.
$ac_objext conftest.
$ac_ext
16528 echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.
$ac_ext >&5
16531 cat >conftest.
$ac_ext <<_ACEOF
16532 #line $LINENO "configure"
16535 cat confdefs.h
>>conftest.
$ac_ext
16536 cat >>conftest.
$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 $ac_includes_default
16542 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16549 rm -f conftest.
$ac_objext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16551 (eval $ac_compile) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } &&
16555 { ac_try
='test -s conftest.$ac_objext'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16563 cat >conftest.
$ac_ext <<_ACEOF
16564 #line $LINENO "configure"
16567 cat confdefs.h
>>conftest.
$ac_ext
16568 cat >>conftest.
$ac_ext <<_ACEOF
16569 /* end confdefs.h. */
16570 $ac_includes_default
16574 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16581 rm -f conftest.
$ac_objext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16583 (eval $ac_compile) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try
='test -s conftest.$ac_objext'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; }; then
16593 ac_lo
=$ac_mid; break
16595 echo "$as_me: failed program was:" >&5
16596 sed 's/^/| /' conftest.
$ac_ext >&5
16598 ac_hi
=`expr '(' $ac_mid ')' - 1`
16599 if test $ac_mid -le $ac_hi; then
16603 ac_mid
=`expr 2 '*' $ac_mid`
16605 rm -f conftest.
$ac_objext conftest.
$ac_ext
16608 echo "$as_me: failed program was:" >&5
16609 sed 's/^/| /' conftest.
$ac_ext >&5
16613 rm -f conftest.
$ac_objext conftest.
$ac_ext
16615 rm -f conftest.
$ac_objext conftest.
$ac_ext
16616 # Binary search between lo and hi bounds.
16617 while test "x$ac_lo" != "x$ac_hi"; do
16618 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16619 cat >conftest.
$ac_ext <<_ACEOF
16620 #line $LINENO "configure"
16623 cat confdefs.h
>>conftest.
$ac_ext
16624 cat >>conftest.
$ac_ext <<_ACEOF
16625 /* end confdefs.h. */
16626 $ac_includes_default
16630 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16637 rm -f conftest.
$ac_objext
16638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16639 (eval $ac_compile) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } &&
16643 { ac_try
='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.
$ac_ext >&5
16654 ac_lo
=`expr '(' $ac_mid ')' + 1`
16656 rm -f conftest.
$ac_objext conftest.
$ac_ext
16659 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16660 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16661 See \`config.log' for more details." >&5
16662 echo "$as_me: error: cannot compute sizeof (long long), 77
16663 See \`config.log' for more details." >&2;}
16664 { (exit 1); exit 1; }; } ;;
16667 if test "$cross_compiling" = yes; then
16668 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16669 See \`config.log' for more details." >&5
16670 echo "$as_me: error: cannot run test program while cross compiling
16671 See \`config.log' for more details." >&2;}
16672 { (exit 1); exit 1; }; }
16674 cat >conftest.
$ac_ext <<_ACEOF
16675 #line $LINENO "configure"
16678 cat confdefs.h
>>conftest.
$ac_ext
16679 cat >>conftest.
$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16682 long longval () { return (long) (sizeof (long long)); }
16683 unsigned long ulongval () { return (long) (sizeof (long long)); }
16685 #include <stdlib.h>
16690 FILE *f = fopen ("conftest.val", "w");
16693 if (((long) (sizeof (long long))) < 0)
16695 long i = longval ();
16696 if (i != ((long) (sizeof (long long))))
16698 fprintf (f, "%ld\n", i);
16702 unsigned long i = ulongval ();
16703 if (i != ((long) (sizeof (long long))))
16705 fprintf (f, "%lu\n", i);
16707 exit (ferror (f) || fclose (f) != 0);
16713 rm -f conftest
$ac_exeext
16714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16715 (eval $ac_link) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16724 ac_cv_sizeof_long_long
=`cat conftest.val`
16726 echo "$as_me: program exited with status $ac_status" >&5
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.
$ac_ext >&5
16730 ( exit $ac_status )
16731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16732 See \`config.log' for more details." >&5
16733 echo "$as_me: error: cannot compute sizeof (long long), 77
16734 See \`config.log' for more details." >&2;}
16735 { (exit 1); exit 1; }; }
16737 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16742 ac_cv_sizeof_long_long
=0
16745 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16746 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16747 cat >>confdefs.h
<<_ACEOF
16748 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16754 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16755 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16756 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16760 if test "$cross_compiling" = yes; then
16764 wx_cv_sizeof_wchar_t
=0
16767 wx_cv_sizeof_wchar_t
=4
16773 cat >conftest.
$ac_ext <<_ACEOF
16774 #line $LINENO "configure"
16777 cat confdefs.h
>>conftest.
$ac_ext
16778 cat >>conftest.
$ac_ext <<_ACEOF
16779 /* end confdefs.h. */
16781 /* DJGPP only has fake wchar_t: */
16783 # error "fake wchar_t"
16785 #ifdef HAVE_WCHAR_H
16787 # include <stddef.h>
16789 # include <wchar.h>
16791 #ifdef HAVE_STDLIB_H
16792 # include <stdlib.h>
16797 FILE *f=fopen("conftestval", "w");
16799 fprintf(f, "%i", sizeof(wchar_t));
16804 rm -f conftest
$ac_exeext
16805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16806 (eval $ac_link) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 wx_cv_sizeof_wchar_t
=`cat conftestval`
16817 echo "$as_me: program exited with status $ac_status" >&5
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16821 ( exit $ac_status )
16822 wx_cv_sizeof_wchar_t
=0
16824 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16828 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16829 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16831 cat >>confdefs.h
<<_ACEOF
16832 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16836 # Check whether --enable-largefile or --disable-largefile was given.
16837 if test "${enable_largefile+set}" = set; then
16838 enableval
="$enable_largefile"
16841 if test "$enable_largefile" != no
; then
16844 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16845 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16846 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.
$ac_ext <<_ACEOF
16851 #line $LINENO "configure"
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 #define _FILE_OFFSET_BITS 64
16858 #include <sys/types.h>
16863 unsigned int field: sizeof(off_t) == 8;
16870 rm -f conftest.
$ac_objext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16872 (eval $ac_compile) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try
='test -s conftest.$ac_objext'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; }; then
16882 ac_cv_sys_file_offset_bits
=64
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.
$ac_ext >&5
16887 ac_cv_sys_file_offset_bits
=no
16889 rm -f conftest.
$ac_objext conftest.
$ac_ext
16893 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16894 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16896 if test "$ac_cv_sys_file_offset_bits" != no
; then
16898 cat >>confdefs.h
<<_ACEOF
16899 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16904 if test "x$wx_largefile" != "xyes"; then
16906 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16907 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16908 if test "${ac_cv_sys_large_files+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 cat >conftest.
$ac_ext <<_ACEOF
16913 #line $LINENO "configure"
16916 cat confdefs.h
>>conftest.
$ac_ext
16917 cat >>conftest.
$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 #define _LARGE_FILES 1
16920 #include <sys/types.h>
16925 unsigned int field: sizeof(off_t) == 8;
16932 rm -f conftest.
$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } &&
16938 { ac_try
='test -s conftest.$ac_objext'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; }; then
16944 ac_cv_sys_large_files
=1
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.
$ac_ext >&5
16949 ac_cv_sys_large_files
=no
16951 rm -f conftest.
$ac_objext conftest.
$ac_ext
16955 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16956 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16958 if test "$ac_cv_sys_large_files" != no
; then
16960 cat >>confdefs.h
<<_ACEOF
16961 #define _LARGE_FILES $ac_cv_sys_large_files
16968 echo "$as_me:$LINENO: checking if large file support is available" >&5
16969 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16970 if test "x$wx_largefile" = "xyes"; then
16971 cat >>confdefs.h
<<\_ACEOF
16972 #define HAVE_LARGEFILE_SUPPORT 1
16976 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16977 echo "${ECHO_T}$wx_largefile" >&6
16981 if test "x$wx_largefile" = "xyes"; then
16982 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16983 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16985 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16987 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16990 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16991 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16992 if test "${ac_cv_c_bigendian+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 ac_cv_c_bigendian
=unknown
16996 # See if sys/param.h defines the BYTE_ORDER macro.
16997 cat >conftest.
$ac_ext <<_ACEOF
16998 #line $LINENO "configure"
17001 cat confdefs.h
>>conftest.
$ac_ext
17002 cat >>conftest.
$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <sys/types.h>
17005 #include <sys/param.h>
17010 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17011 bogus endian macros
17017 rm -f conftest.
$ac_objext
17018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17019 (eval $ac_compile) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); } &&
17023 { ac_try
='test -s conftest.$ac_objext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 # It does; now see whether it defined to BIG_ENDIAN or not.
17030 cat >conftest.
$ac_ext <<_ACEOF
17031 #line $LINENO "configure"
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 #include <sys/types.h>
17038 #include <sys/param.h>
17043 #if BYTE_ORDER != BIG_ENDIAN
17050 rm -f conftest.
$ac_objext
17051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17052 (eval $ac_compile) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -s conftest.$ac_objext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_cv_c_bigendian
=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 ac_cv_c_bigendian
=no
17069 rm -f conftest.
$ac_objext conftest.
$ac_ext
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17075 rm -f conftest.
$ac_objext conftest.
$ac_ext
17076 if test $ac_cv_c_bigendian = unknown
; then
17077 if test "$cross_compiling" = yes; then
17078 ac_cv_c_bigendian
=unknown
17080 cat >conftest.
$ac_ext <<_ACEOF
17081 #line $LINENO "configure"
17084 cat confdefs.h
>>conftest.
$ac_ext
17085 cat >>conftest.
$ac_ext <<_ACEOF
17086 /* end confdefs.h. */
17088 /* Are we little or big endian? From Harbison&Steele. */
17092 char c[sizeof (long)];
17095 exit (u.c[sizeof (long) - 1] == 1);
17098 rm -f conftest
$ac_exeext
17099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17100 (eval $ac_link) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 ac_cv_c_bigendian
=no
17111 echo "$as_me: program exited with status $ac_status" >&5
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.
$ac_ext >&5
17115 ( exit $ac_status )
17116 ac_cv_c_bigendian
=yes
17118 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17122 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17123 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17124 if test $ac_cv_c_bigendian = unknown
; then
17125 { 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
17126 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;}
17128 if test $ac_cv_c_bigendian = yes; then
17129 cat >>confdefs.h
<<\_ACEOF
17130 #define WORDS_BIGENDIAN 1
17138 ac_cpp
='$CXXCPP $CPPFLAGS'
17139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17142 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17143 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17144 if test -z "$CXXCPP"; then
17145 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 # Double quotes because CXXCPP needs to be expanded
17149 for CXXCPP
in "$CXX -E" "/lib/cpp"
17151 ac_preproc_ok
=false
17152 for ac_cxx_preproc_warn_flag
in '' yes
17154 # Use a header file that comes with gcc, so configuring glibc
17155 # with a fresh cross-compiler works.
17156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17157 # <limits.h> exists even on freestanding compilers.
17158 # On the NeXT, cc -E runs the code through the compiler's parser,
17159 # not just through cpp. "Syntax error" is here to catch this case.
17160 cat >conftest.
$ac_ext <<_ACEOF
17161 #line $LINENO "configure"
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17168 # include <limits.h>
17170 # include <assert.h>
17174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17175 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17177 grep -v '^ *+' conftest.er1
>conftest.err
17179 cat conftest.err
>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } >/dev
/null
; then
17182 if test -s conftest.err
; then
17183 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17190 if test -z "$ac_cpp_err"; then
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17196 # Broken: fails on valid input.
17199 rm -f conftest.err conftest.
$ac_ext
17201 # OK, works on sane cases. Now check whether non-existent headers
17202 # can be detected and how.
17203 cat >conftest.
$ac_ext <<_ACEOF
17204 #line $LINENO "configure"
17207 cat confdefs.h
>>conftest.
$ac_ext
17208 cat >>conftest.
$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 #include <ac_nonexistent.h>
17212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17215 grep -v '^ *+' conftest.er1
>conftest.err
17217 cat conftest.err
>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } >/dev
/null
; then
17220 if test -s conftest.err
; then
17221 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17228 if test -z "$ac_cpp_err"; then
17229 # Broken: success on invalid input.
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.
$ac_ext >&5
17235 # Passes both tests.
17239 rm -f conftest.err conftest.
$ac_ext
17242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17243 rm -f conftest.err conftest.
$ac_ext
17244 if $ac_preproc_ok; then
17249 ac_cv_prog_CXXCPP
=$CXXCPP
17252 CXXCPP
=$ac_cv_prog_CXXCPP
17254 ac_cv_prog_CXXCPP
=$CXXCPP
17256 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17257 echo "${ECHO_T}$CXXCPP" >&6
17258 ac_preproc_ok
=false
17259 for ac_cxx_preproc_warn_flag
in '' yes
17261 # Use a header file that comes with gcc, so configuring glibc
17262 # with a fresh cross-compiler works.
17263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17264 # <limits.h> exists even on freestanding compilers.
17265 # On the NeXT, cc -E runs the code through the compiler's parser,
17266 # not just through cpp. "Syntax error" is here to catch this case.
17267 cat >conftest.
$ac_ext <<_ACEOF
17268 #line $LINENO "configure"
17271 cat confdefs.h
>>conftest.
$ac_ext
17272 cat >>conftest.
$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17275 # include <limits.h>
17277 # include <assert.h>
17281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17284 grep -v '^ *+' conftest.er1
>conftest.err
17286 cat conftest.err
>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } >/dev
/null
; then
17289 if test -s conftest.err
; then
17290 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17297 if test -z "$ac_cpp_err"; then
17300 echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.
$ac_ext >&5
17303 # Broken: fails on valid input.
17306 rm -f conftest.err conftest.
$ac_ext
17308 # OK, works on sane cases. Now check whether non-existent headers
17309 # can be detected and how.
17310 cat >conftest.
$ac_ext <<_ACEOF
17311 #line $LINENO "configure"
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 #include <ac_nonexistent.h>
17319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17322 grep -v '^ *+' conftest.er1
>conftest.err
17324 cat conftest.err
>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } >/dev
/null
; then
17327 if test -s conftest.err
; then
17328 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17335 if test -z "$ac_cpp_err"; then
17336 # Broken: success on invalid input.
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.
$ac_ext >&5
17342 # Passes both tests.
17346 rm -f conftest.err conftest.
$ac_ext
17349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17350 rm -f conftest.err conftest.
$ac_ext
17351 if $ac_preproc_ok; then
17354 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17355 See \`config.log' for more details." >&5
17356 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17357 See \`config.log' for more details." >&2;}
17358 { (exit 1); exit 1; }; }
17362 ac_cpp
='$CXXCPP $CPPFLAGS'
17363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17369 if test "$cross_compiling" = "yes"; then
17370 cat >>confdefs.h
<<\_ACEOF
17371 #define wxUSE_IOSTREAMH 1
17378 ac_cpp
='$CXXCPP $CPPFLAGS'
17379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17385 for ac_header
in iostream
17387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17389 echo "$as_me:$LINENO: checking for $ac_header" >&5
17390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17397 # Is the header compilable?
17398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17400 cat >conftest.
$ac_ext <<_ACEOF
17401 #line $LINENO "configure"
17404 cat confdefs.h
>>conftest.
$ac_ext
17405 cat >>conftest.
$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407 $ac_includes_default
17408 #include <$ac_header>
17410 rm -f conftest.
$ac_objext
17411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17412 (eval $ac_compile) 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } &&
17416 { ac_try
='test -s conftest.$ac_objext'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; }; then
17422 ac_header_compiler
=yes
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.
$ac_ext >&5
17427 ac_header_compiler
=no
17429 rm -f conftest.
$ac_objext conftest.
$ac_ext
17430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17431 echo "${ECHO_T}$ac_header_compiler" >&6
17433 # Is the header present?
17434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17436 cat >conftest.
$ac_ext <<_ACEOF
17437 #line $LINENO "configure"
17440 cat confdefs.h
>>conftest.
$ac_ext
17441 cat >>conftest.
$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 #include <$ac_header>
17445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17448 grep -v '^ *+' conftest.er1
>conftest.err
17450 cat conftest.err
>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } >/dev
/null
; then
17453 if test -s conftest.err
; then
17454 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17461 if test -z "$ac_cpp_err"; then
17462 ac_header_preproc
=yes
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.
$ac_ext >&5
17467 ac_header_preproc
=no
17469 rm -f conftest.err conftest.
$ac_ext
17470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17471 echo "${ECHO_T}$ac_header_preproc" >&6
17473 # So? What about this header?
17474 case $ac_header_compiler:$ac_header_preproc in
17476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17482 ## ------------------------------------ ##
17483 ## Report this to bug-autoconf@gnu.org. ##
17484 ## ------------------------------------ ##
17487 sed "s/^/$as_me: WARNING: /" >&2
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17498 ## ------------------------------------ ##
17499 ## Report this to bug-autoconf@gnu.org. ##
17500 ## ------------------------------------ ##
17503 sed "s/^/$as_me: WARNING: /" >&2
17506 echo "$as_me:$LINENO: checking for $ac_header" >&5
17507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 eval "$as_ac_Header=$ac_header_preproc"
17513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17518 cat >>confdefs.h
<<_ACEOF
17519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17527 if test "$ac_cv_header_iostream" = "yes" ; then
17530 cat >>confdefs.h
<<\_ACEOF
17531 #define wxUSE_IOSTREAMH 1
17537 ac_cpp
='$CPP $CPPFLAGS'
17538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17546 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17547 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17548 if test "${wx_cv_cpp_bool+set}" = set; then
17549 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 ac_cpp
='$CXXCPP $CPPFLAGS'
17556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17561 cat >conftest.
$ac_ext <<_ACEOF
17562 #line $LINENO "configure"
17565 cat confdefs.h
>>conftest.
$ac_ext
17566 cat >>conftest.
$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17582 rm -f conftest.
$ac_objext
17583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17584 (eval $ac_compile) 2>&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } &&
17588 { ac_try
='test -s conftest.$ac_objext'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; }; then
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.
$ac_ext >&5
17606 rm -f conftest.
$ac_objext conftest.
$ac_ext
17609 ac_cpp
='$CPP $CPPFLAGS'
17610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17616 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17617 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17619 if test "$wx_cv_cpp_bool" = "yes"; then
17620 cat >>confdefs.h
<<\_ACEOF
17621 #define HAVE_BOOL 1
17628 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17629 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17630 if test "${wx_cv_explicit+set}" = set; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 ac_cpp
='$CXXCPP $CPPFLAGS'
17638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17643 cat >conftest.
$ac_ext <<_ACEOF
17644 #line $LINENO "configure"
17647 cat confdefs.h
>>conftest.
$ac_ext
17648 cat >>conftest.
$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17651 class Foo { public: explicit Foo(int) {} };
17663 rm -f conftest.
$ac_objext
17664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17665 (eval $ac_compile) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17676 cat >conftest.
$ac_ext <<_ACEOF
17677 #line $LINENO "configure"
17680 cat confdefs.h
>>conftest.
$ac_ext
17681 cat >>conftest.
$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17684 class Foo { public: explicit Foo(int) {} };
17685 static void TakeFoo(const Foo& foo) { }
17698 rm -f conftest.
$ac_objext
17699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17700 (eval $ac_compile) 2>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try
='test -s conftest.$ac_objext'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; }; then
17712 echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.
$ac_ext >&5
17718 rm -f conftest.
$ac_objext conftest.
$ac_ext
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.
$ac_ext >&5
17727 rm -f conftest.
$ac_objext conftest.
$ac_ext
17730 ac_cpp
='$CPP $CPPFLAGS'
17731 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17732 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17733 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17737 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17738 echo "${ECHO_T}$wx_cv_explicit" >&6
17740 if test "$wx_cv_explicit" = "yes"; then
17741 cat >>confdefs.h
<<\_ACEOF
17742 #define HAVE_EXPLICIT 1
17748 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17749 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17750 if test "${ac_cv_cxx_const_cast+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 ac_cpp
='$CXXCPP $CPPFLAGS'
17757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17761 cat >conftest.
$ac_ext <<_ACEOF
17762 #line $LINENO "configure"
17765 cat confdefs.h
>>conftest.
$ac_ext
17766 cat >>conftest.
$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17772 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17777 rm -f conftest.
$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try
='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789 ac_cv_cxx_const_cast
=yes
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.
$ac_ext >&5
17794 ac_cv_cxx_const_cast
=no
17796 rm -f conftest.
$ac_objext conftest.
$ac_ext
17798 ac_cpp
='$CPP $CPPFLAGS'
17799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17805 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17806 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17807 if test "$ac_cv_cxx_const_cast" = yes; then
17809 cat >>confdefs.h
<<\_ACEOF
17810 #define HAVE_CONST_CAST
17816 if test "$wxUSE_STL" = "yes"; then
17818 ac_cpp
='$CXXCPP $CPPFLAGS'
17819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17824 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17825 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17826 cat >conftest.
$ac_ext <<_ACEOF
17827 #line $LINENO "configure"
17830 cat confdefs.h
>>conftest.
$ac_ext
17831 cat >>conftest.
$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17834 #include <functional>
17835 #include <algorithm>
17841 std::vector<int> moo;
17842 std::list<int> foo;
17843 std::vector<int>::iterator it =
17844 std::find_if(moo.begin(), moo.end(),
17845 std::bind2nd(std::less<int>(), 3));
17850 rm -f conftest.
$ac_objext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try
='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 echo "$as_me:$LINENO: result: yes" >&5
17863 echo "${ECHO_T}yes" >&6
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.
$ac_ext >&5
17868 echo "$as_me:$LINENO: result: no" >&5
17869 echo "${ECHO_T}no" >&6
17870 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17871 echo "$as_me: error: Basic STL functionality missing" >&2;}
17872 { (exit 1); exit 1; }; }
17874 rm -f conftest.
$ac_objext conftest.
$ac_ext
17876 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17877 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17878 cat >conftest.
$ac_ext <<_ACEOF
17879 #line $LINENO "configure"
17882 cat confdefs.h
>>conftest.
$ac_ext
17883 cat >>conftest.
$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17894 rm -f conftest.
$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } &&
17900 { ac_try
='test -s conftest.$ac_objext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 echo "$as_me:$LINENO: result: yes" >&5
17907 echo "${ECHO_T}yes" >&6
17908 cat >>confdefs.h
<<\_ACEOF
17909 #define HAVE_STD_WSTRING 1
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.
$ac_ext >&5
17916 echo "$as_me:$LINENO: result: no" >&5
17917 echo "${ECHO_T}no" >&6
17919 rm -f conftest.
$ac_objext conftest.
$ac_ext
17921 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17922 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17923 cat >conftest.
$ac_ext <<_ACEOF
17924 #line $LINENO "configure"
17927 cat confdefs.h
>>conftest.
$ac_ext
17928 cat >>conftest.
$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17934 std::string foo, bar;
17936 foo.compare(1, 1, bar);
17937 foo.compare(1, 1, bar, 1, 1);
17939 foo.compare(1, 1, "");
17940 foo.compare(1, 1, "", 2);
17945 rm -f conftest.
$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try
='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 echo "$as_me:$LINENO: result: yes" >&5
17958 echo "${ECHO_T}yes" >&6
17959 cat >>confdefs.h
<<\_ACEOF
17960 #define HAVE_STD_STRING_COMPARE 1
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.
$ac_ext >&5
17967 echo "$as_me:$LINENO: result: no" >&5
17968 echo "${ECHO_T}no" >&6
17970 rm -f conftest.
$ac_objext conftest.
$ac_ext
17973 ac_cpp
='$CPP $CPPFLAGS'
17974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17982 /usr/local/include \
17984 /usr/Motif-2.1/include \
17985 /usr/Motif-1.2/include \
17986 /usr/include/Motif1.2 \
17987 /opt/xpm/include/X11 \
17988 /opt/GBxpm/include/ \
17989 /opt/GBxpm/X11/include/ \
17992 /usr/openwin/include \
17996 /usr/X11R6/include \
17997 /usr/X11R6.4/include \
17998 /usr/X11R5/include \
17999 /usr/X11R4/include \
18001 /usr/include/X11R6 \
18002 /usr/include/X11R5 \
18003 /usr/include/X11R4 \
18005 /usr/local/X11R6/include \
18006 /usr/local/X11R5/include \
18007 /usr/local/X11R4/include \
18009 /usr/local/include/X11R6 \
18010 /usr/local/include/X11R5 \
18011 /usr/local/include/X11R4 \
18015 /usr/local/X11/include \
18016 /usr/local/include/X11 \
18018 /usr/X386/include \
18019 /usr/x386/include \
18020 /usr/XFree86/include/X11 \
18022 X:/XFree86/include \
18023 X:/XFree86/include/X11 \
18026 /usr/local/include/gtk \
18027 /usr/include/glib \
18028 /usr/local/include/glib \
18031 /usr/local/include/qt \
18033 /usr/include/windows \
18034 /usr/include/wine \
18035 /usr/local/include/wine \
18037 /usr/unsupported/include \
18038 /usr/athena/include \
18039 /usr/local/x11r5/include \
18040 /usr/lpp/Xamples/include \
18042 /usr/openwin/share/include"
18044 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18047 cat >confcache
<<\_ACEOF
18048 # This file is a shell script that caches the results of configure
18049 # tests run on this system so they can be shared between configure
18050 # scripts and configure runs, see configure's option --config-cache.
18051 # It is not useful on other systems. If it contains results you don't
18052 # want to keep, you may remove or edit it.
18054 # config.status only pays attention to the cache file if you give it
18055 # the --recheck option to rerun configure.
18057 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18058 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18059 # following values.
18063 # The following way of writing the cache mishandles newlines in values,
18064 # but we know of no workaround that is simple, portable, and efficient.
18065 # So, don't put newlines in cache variables' values.
18066 # Ultrix sh set writes to stderr and can't be redirected directly,
18067 # and sets the high bit in the cache file unless we assign to the vars.
18070 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18072 # `set' does not quote correctly, so add quotes (double-quote
18073 # substitution turns \\\\ into \\, and sed turns \\ into \).
18076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18079 # `set' quotes correctly as required by POSIX, so do not add quotes.
18081 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18088 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18090 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18092 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18093 if test -w $cache_file; then
18094 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18095 cat confcache
>$cache_file
18097 echo "not updating unwritable cache $cache_file"
18102 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18103 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18104 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18105 if test "${wx_cv_lib_glibc21+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 cat >conftest.
$ac_ext <<_ACEOF
18110 #line $LINENO "configure"
18113 cat confdefs.h
>>conftest.
$ac_ext
18114 cat >>conftest.
$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 #include <features.h>
18121 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18122 #error not glibc2.1
18129 rm -f conftest.
$ac_objext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } &&
18135 { ac_try
='test -s conftest.$ac_objext'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; }; then
18142 wx_cv_lib_glibc21
=yes
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18149 wx_cv_lib_glibc21
=no
18153 rm -f conftest.
$ac_objext conftest.
$ac_ext
18156 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18157 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18158 if test "$wx_cv_lib_glibc21" = "yes"; then
18159 cat >>confdefs.h
<<\_ACEOF
18160 #define wxHAVE_GLIBC2 1
18166 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18167 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18168 cat >>confdefs.h
<<\_ACEOF
18169 #define _GNU_SOURCE 1
18177 if test "$wxUSE_REGEX" != "no"; then
18178 cat >>confdefs.h
<<\_ACEOF
18179 #define wxUSE_REGEX 1
18183 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18184 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18185 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18186 wxUSE_REGEX
=builtin
18189 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18190 if test "${ac_cv_header_regex_h+set}" = set; then
18191 echo "$as_me:$LINENO: checking for regex.h" >&5
18192 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18193 if test "${ac_cv_header_regex_h+set}" = set; then
18194 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18197 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18199 # Is the header compilable?
18200 echo "$as_me:$LINENO: checking regex.h usability" >&5
18201 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18202 cat >conftest.
$ac_ext <<_ACEOF
18203 #line $LINENO "configure"
18206 cat confdefs.h
>>conftest.
$ac_ext
18207 cat >>conftest.
$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 $ac_includes_default
18212 rm -f conftest.
$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try
='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 ac_header_compiler
=yes
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.
$ac_ext >&5
18229 ac_header_compiler
=no
18231 rm -f conftest.
$ac_objext conftest.
$ac_ext
18232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18233 echo "${ECHO_T}$ac_header_compiler" >&6
18235 # Is the header present?
18236 echo "$as_me:$LINENO: checking regex.h presence" >&5
18237 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18238 cat >conftest.
$ac_ext <<_ACEOF
18239 #line $LINENO "configure"
18242 cat confdefs.h
>>conftest.
$ac_ext
18243 cat >>conftest.
$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18250 grep -v '^ *+' conftest.er1
>conftest.err
18252 cat conftest.err
>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } >/dev
/null
; then
18255 if test -s conftest.err
; then
18256 ac_cpp_err
=$ac_c_preproc_warn_flag
18263 if test -z "$ac_cpp_err"; then
18264 ac_header_preproc
=yes
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.
$ac_ext >&5
18269 ac_header_preproc
=no
18271 rm -f conftest.err conftest.
$ac_ext
18272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18273 echo "${ECHO_T}$ac_header_preproc" >&6
18275 # So? What about this header?
18276 case $ac_header_compiler:$ac_header_preproc in
18278 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18279 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18280 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18281 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18284 ## ------------------------------------ ##
18285 ## Report this to bug-autoconf@gnu.org. ##
18286 ## ------------------------------------ ##
18289 sed "s/^/$as_me: WARNING: /" >&2
18292 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18293 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18294 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18295 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18296 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18297 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18300 ## ------------------------------------ ##
18301 ## Report this to bug-autoconf@gnu.org. ##
18302 ## ------------------------------------ ##
18305 sed "s/^/$as_me: WARNING: /" >&2
18308 echo "$as_me:$LINENO: checking for regex.h" >&5
18309 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18310 if test "${ac_cv_header_regex_h+set}" = set; then
18311 echo $ECHO_N "(cached) $ECHO_C" >&6
18313 ac_cv_header_regex_h
=$ac_header_preproc
18315 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18316 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18319 if test $ac_cv_header_regex_h = yes; then
18321 for ac_func
in regcomp
18323 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18324 echo "$as_me:$LINENO: checking for $ac_func" >&5
18325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18326 if eval "test \"\${$as_ac_var+set}\" = set"; then
18327 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 cat >conftest.
$ac_ext <<_ACEOF
18330 #line $LINENO "configure"
18333 cat confdefs.h
>>conftest.
$ac_ext
18334 cat >>conftest.
$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 /* System header to define __stub macros and hopefully few prototypes,
18337 which can conflict with char $ac_func (); below.
18338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18339 <limits.h> exists even on freestanding compilers. */
18341 # include <limits.h>
18343 # include <assert.h>
18345 /* Override any gcc2 internal prototype to avoid an error. */
18350 /* We use char because int might match the return type of a gcc2
18351 builtin and then its argument prototype would still apply. */
18353 /* The GNU C library defines this for functions which it implements
18354 to always fail with ENOSYS. Some functions are actually named
18355 something starting with __ and the normal name is an alias. */
18356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18359 char (*f) () = $ac_func;
18368 return f != $ac_func;
18373 rm -f conftest.
$ac_objext conftest
$ac_exeext
18374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18375 (eval $ac_link) 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try
='test -s conftest$ac_exeext'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; }; then
18385 eval "$as_ac_var=yes"
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.
$ac_ext >&5
18390 eval "$as_ac_var=no"
18392 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18396 if test `eval echo '${'$as_ac_var'}'` = yes; then
18397 cat >>confdefs.h
<<_ACEOF
18398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18408 if test "x$ac_cv_func_regcomp" != "xyes"; then
18409 if test "$wxUSE_REGEX" = "sys" ; then
18410 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18411 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18412 { (exit 1); exit 1; }; }
18414 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18415 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18416 wxUSE_REGEX
=builtin
18426 if test "$wxUSE_ZLIB" != "no" ; then
18427 cat >>confdefs.h
<<\_ACEOF
18428 #define wxUSE_ZLIB 1
18432 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18433 if test "$USE_DARWIN" = 1; then
18434 system_zlib_h_ok
="yes"
18436 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18437 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18438 if test "${ac_cv_header_zlib_h+set}" = set; then
18439 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 if test "$cross_compiling" = yes; then
18442 unset ac_cv_header_zlib_h
18445 cat >conftest.
$ac_ext <<_ACEOF
18446 #line $LINENO "configure"
18449 cat confdefs.h
>>conftest.
$ac_ext
18450 cat >>conftest.
$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18458 FILE *f=fopen("conftestval", "w");
18461 ZLIB_VERSION[0] == '1' &&
18462 (ZLIB_VERSION[2] > '1' ||
18463 (ZLIB_VERSION[2] == '1' &&
18464 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18469 rm -f conftest
$ac_exeext
18470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18471 (eval $ac_link) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; }; then
18480 ac_cv_header_zlib_h
=`cat conftestval`
18482 echo "$as_me: program exited with status $ac_status" >&5
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.
$ac_ext >&5
18486 ( exit $ac_status )
18487 ac_cv_header_zlib_h
=no
18489 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18493 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18494 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18495 if test "${ac_cv_header_zlib_h+set}" = set; then
18496 echo "$as_me:$LINENO: checking for zlib.h" >&5
18497 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18498 if test "${ac_cv_header_zlib_h+set}" = set; then
18499 echo $ECHO_N "(cached) $ECHO_C" >&6
18501 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18502 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18504 # Is the header compilable?
18505 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18506 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18507 cat >conftest.
$ac_ext <<_ACEOF
18508 #line $LINENO "configure"
18511 cat confdefs.h
>>conftest.
$ac_ext
18512 cat >>conftest.
$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 $ac_includes_default
18517 rm -f conftest.
$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } &&
18523 { ac_try
='test -s conftest.$ac_objext'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; }; then
18529 ac_header_compiler
=yes
18531 echo "$as_me: failed program was:" >&5
18532 sed 's/^/| /' conftest.
$ac_ext >&5
18534 ac_header_compiler
=no
18536 rm -f conftest.
$ac_objext conftest.
$ac_ext
18537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18538 echo "${ECHO_T}$ac_header_compiler" >&6
18540 # Is the header present?
18541 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18542 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18543 cat >conftest.
$ac_ext <<_ACEOF
18544 #line $LINENO "configure"
18547 cat confdefs.h
>>conftest.
$ac_ext
18548 cat >>conftest.
$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18555 grep -v '^ *+' conftest.er1
>conftest.err
18557 cat conftest.err
>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } >/dev
/null
; then
18560 if test -s conftest.err
; then
18561 ac_cpp_err
=$ac_c_preproc_warn_flag
18568 if test -z "$ac_cpp_err"; then
18569 ac_header_preproc
=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.
$ac_ext >&5
18574 ac_header_preproc
=no
18576 rm -f conftest.err conftest.
$ac_ext
18577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18578 echo "${ECHO_T}$ac_header_preproc" >&6
18580 # So? What about this header?
18581 case $ac_header_compiler:$ac_header_preproc in
18583 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18584 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18585 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18586 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18589 ## ------------------------------------ ##
18590 ## Report this to bug-autoconf@gnu.org. ##
18591 ## ------------------------------------ ##
18594 sed "s/^/$as_me: WARNING: /" >&2
18597 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18598 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18599 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18600 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18601 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18602 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18605 ## ------------------------------------ ##
18606 ## Report this to bug-autoconf@gnu.org. ##
18607 ## ------------------------------------ ##
18610 sed "s/^/$as_me: WARNING: /" >&2
18613 echo "$as_me:$LINENO: checking for zlib.h" >&5
18614 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18615 if test "${ac_cv_header_zlib_h+set}" = set; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 ac_cv_header_zlib_h
=$ac_header_preproc
18620 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18621 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18627 system_zlib_h_ok
=$ac_cv_header_zlib_h
18630 if test "$system_zlib_h_ok" = "yes"; then
18631 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18632 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18633 if test "${ac_cv_lib_z_deflate+set}" = set; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18636 ac_check_lib_save_LIBS
=$LIBS
18638 cat >conftest.
$ac_ext <<_ACEOF
18639 #line $LINENO "configure"
18642 cat confdefs.h
>>conftest.
$ac_ext
18643 cat >>conftest.
$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18646 /* Override any gcc2 internal prototype to avoid an error. */
18650 /* We use char because int might match the return type of a gcc2
18651 builtin and then its argument prototype would still apply. */
18661 rm -f conftest.
$ac_objext conftest
$ac_exeext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18663 (eval $ac_link) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } &&
18667 { ac_try
='test -s conftest$ac_exeext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_lib_z_deflate
=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 ac_cv_lib_z_deflate
=no
18680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18681 LIBS
=$ac_check_lib_save_LIBS
18683 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18684 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18685 if test $ac_cv_lib_z_deflate = yes; then
18691 if test "x$ZLIB_LINK" = "x" ; then
18692 if test "$wxUSE_ZLIB" = "sys" ; then
18693 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18694 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18695 { (exit 1); exit 1; }; }
18697 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18698 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18709 if test "$wxUSE_LIBPNG" != "no" ; then
18710 cat >>confdefs.h
<<\_ACEOF
18711 #define wxUSE_LIBPNG 1
18715 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18716 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18717 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18721 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18722 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18723 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18724 wxUSE_LIBPNG
=builtin
18727 if test "$wxUSE_MGL" != 1 ; then
18728 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18729 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18730 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18731 if test "${ac_cv_header_png_h+set}" = set; then
18732 echo $ECHO_N "(cached) $ECHO_C" >&6
18734 if test "$cross_compiling" = yes; then
18735 unset ac_cv_header_png_h
18738 cat >conftest.
$ac_ext <<_ACEOF
18739 #line $LINENO "configure"
18742 cat confdefs.h
>>conftest.
$ac_ext
18743 cat >>conftest.
$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18751 FILE *f=fopen("conftestval", "w");
18754 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18759 rm -f conftest
$ac_exeext
18760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18761 (eval $ac_link) 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_cv_header_png_h
=`cat conftestval`
18772 echo "$as_me: program exited with status $ac_status" >&5
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.
$ac_ext >&5
18776 ( exit $ac_status )
18777 ac_cv_header_png_h
=no
18779 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18783 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18784 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18785 if test "${ac_cv_header_png_h+set}" = set; then
18786 echo "$as_me:$LINENO: checking for png.h" >&5
18787 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18788 if test "${ac_cv_header_png_h+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18792 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18794 # Is the header compilable?
18795 echo "$as_me:$LINENO: checking png.h usability" >&5
18796 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18797 cat >conftest.
$ac_ext <<_ACEOF
18798 #line $LINENO "configure"
18801 cat confdefs.h
>>conftest.
$ac_ext
18802 cat >>conftest.
$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 $ac_includes_default
18807 rm -f conftest.
$ac_objext
18808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18809 (eval $ac_compile) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } &&
18813 { ac_try
='test -s conftest.$ac_objext'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; }; then
18819 ac_header_compiler
=yes
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.
$ac_ext >&5
18824 ac_header_compiler
=no
18826 rm -f conftest.
$ac_objext conftest.
$ac_ext
18827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18828 echo "${ECHO_T}$ac_header_compiler" >&6
18830 # Is the header present?
18831 echo "$as_me:$LINENO: checking png.h presence" >&5
18832 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18833 cat >conftest.
$ac_ext <<_ACEOF
18834 #line $LINENO "configure"
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18845 grep -v '^ *+' conftest.er1
>conftest.err
18847 cat conftest.err
>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } >/dev
/null
; then
18850 if test -s conftest.err
; then
18851 ac_cpp_err
=$ac_c_preproc_warn_flag
18858 if test -z "$ac_cpp_err"; then
18859 ac_header_preproc
=yes
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.
$ac_ext >&5
18864 ac_header_preproc
=no
18866 rm -f conftest.err conftest.
$ac_ext
18867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18868 echo "${ECHO_T}$ac_header_preproc" >&6
18870 # So? What about this header?
18871 case $ac_header_compiler:$ac_header_preproc in
18873 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18874 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18875 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18876 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18879 ## ------------------------------------ ##
18880 ## Report this to bug-autoconf@gnu.org. ##
18881 ## ------------------------------------ ##
18884 sed "s/^/$as_me: WARNING: /" >&2
18887 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18888 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18889 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18890 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18891 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18892 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18895 ## ------------------------------------ ##
18896 ## Report this to bug-autoconf@gnu.org. ##
18897 ## ------------------------------------ ##
18900 sed "s/^/$as_me: WARNING: /" >&2
18903 echo "$as_me:$LINENO: checking for png.h" >&5
18904 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18905 if test "${ac_cv_header_png_h+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 ac_cv_header_png_h
=$ac_header_preproc
18910 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18911 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18917 if test "$ac_cv_header_png_h" = "yes"; then
18918 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18919 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18920 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18921 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 ac_check_lib_save_LIBS
=$LIBS
18924 LIBS
="-lpng -lz -lm $LIBS"
18925 cat >conftest.
$ac_ext <<_ACEOF
18926 #line $LINENO "configure"
18929 cat confdefs.h
>>conftest.
$ac_ext
18930 cat >>conftest.
$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18933 /* Override any gcc2 internal prototype to avoid an error. */
18937 /* We use char because int might match the return type of a gcc2
18938 builtin and then its argument prototype would still apply. */
18939 char png_check_sig ();
18948 rm -f conftest.
$ac_objext conftest
$ac_exeext
18949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18950 (eval $ac_link) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try
='test -s conftest$ac_exeext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_lib_png_png_check_sig
=yes
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.
$ac_ext >&5
18965 ac_cv_lib_png_png_check_sig
=no
18967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18968 LIBS
=$ac_check_lib_save_LIBS
18970 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18971 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18972 if test $ac_cv_lib_png_png_check_sig = yes; then
18978 if test "x$PNG_LINK" = "x" ; then
18979 if test "$wxUSE_LIBPNG" = "sys" ; then
18980 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18981 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18982 { (exit 1); exit 1; }; }
18984 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18985 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18986 wxUSE_LIBPNG
=builtin
18994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18999 if test "$wxUSE_LIBJPEG" != "no" ; then
19000 cat >>confdefs.h
<<\_ACEOF
19001 #define wxUSE_LIBJPEG 1
19005 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19006 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19007 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19011 if test "$wxUSE_MGL" != 1 ; then
19012 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19013 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19014 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19015 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 cat >conftest.
$ac_ext <<_ACEOF
19019 #line $LINENO "configure"
19022 cat confdefs.h
>>conftest.
$ac_ext
19023 cat >>conftest.
$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19026 #undef HAVE_STDLIB_H
19028 #include <jpeglib.h>
19039 rm -f conftest.
$ac_objext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19041 (eval $ac_compile) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_cv_header_jpeglib_h
=yes
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.
$ac_ext >&5
19056 ac_cv_header_jpeglib_h
=no
19059 rm -f conftest.
$ac_objext conftest.
$ac_ext
19063 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19064 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19066 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19067 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19068 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19069 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 ac_check_lib_save_LIBS
=$LIBS
19073 LIBS
="-ljpeg $LIBS"
19074 cat >conftest.
$ac_ext <<_ACEOF
19075 #line $LINENO "configure"
19078 cat confdefs.h
>>conftest.
$ac_ext
19079 cat >>conftest.
$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19082 /* Override any gcc2 internal prototype to avoid an error. */
19086 /* We use char because int might match the return type of a gcc2
19087 builtin and then its argument prototype would still apply. */
19088 char jpeg_read_header ();
19092 jpeg_read_header ();
19097 rm -f conftest.
$ac_objext conftest
$ac_exeext
19098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19099 (eval $ac_link) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try
='test -s conftest$ac_exeext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_cv_lib_jpeg_jpeg_read_header
=yes
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.
$ac_ext >&5
19114 ac_cv_lib_jpeg_jpeg_read_header
=no
19116 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19117 LIBS
=$ac_check_lib_save_LIBS
19119 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19120 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19121 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19122 JPEG_LINK
=" -ljpeg"
19127 if test "x$JPEG_LINK" = "x" ; then
19128 if test "$wxUSE_LIBJPEG" = "sys" ; then
19129 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19130 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19131 { (exit 1); exit 1; }; }
19133 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19134 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19135 wxUSE_LIBJPEG
=builtin
19146 TIFF_PREREQ_LINKS
=-lm
19147 if test "$wxUSE_LIBTIFF" != "no" ; then
19148 cat >>confdefs.h
<<\_ACEOF
19149 #define wxUSE_LIBTIFF 1
19153 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19154 if test "$wxUSE_LIBJPEG" = "sys"; then
19155 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19157 if test "$wxUSE_ZLIB" = "sys"; then
19158 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19160 if test "${ac_cv_header_tiffio_h+set}" = set; then
19161 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19162 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19163 if test "${ac_cv_header_tiffio_h+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19166 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19167 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19169 # Is the header compilable?
19170 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19171 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19172 cat >conftest.
$ac_ext <<_ACEOF
19173 #line $LINENO "configure"
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180 #include <tiffio.h>
19182 rm -f conftest.
$ac_objext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184 (eval $ac_compile) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } &&
19188 { ac_try
='test -s conftest.$ac_objext'
19189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19190 (eval $ac_try) 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19194 ac_header_compiler
=yes
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.
$ac_ext >&5
19199 ac_header_compiler
=no
19201 rm -f conftest.
$ac_objext conftest.
$ac_ext
19202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19203 echo "${ECHO_T}$ac_header_compiler" >&6
19205 # Is the header present?
19206 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19207 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19208 cat >conftest.
$ac_ext <<_ACEOF
19209 #line $LINENO "configure"
19212 cat confdefs.h
>>conftest.
$ac_ext
19213 cat >>conftest.
$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19215 #include <tiffio.h>
19217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19220 grep -v '^ *+' conftest.er1
>conftest.err
19222 cat conftest.err
>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } >/dev
/null
; then
19225 if test -s conftest.err
; then
19226 ac_cpp_err
=$ac_c_preproc_warn_flag
19233 if test -z "$ac_cpp_err"; then
19234 ac_header_preproc
=yes
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.
$ac_ext >&5
19239 ac_header_preproc
=no
19241 rm -f conftest.err conftest.
$ac_ext
19242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19243 echo "${ECHO_T}$ac_header_preproc" >&6
19245 # So? What about this header?
19246 case $ac_header_compiler:$ac_header_preproc in
19248 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19249 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19250 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19251 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19254 ## ------------------------------------ ##
19255 ## Report this to bug-autoconf@gnu.org. ##
19256 ## ------------------------------------ ##
19259 sed "s/^/$as_me: WARNING: /" >&2
19262 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19263 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19264 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19265 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19266 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19267 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19270 ## ------------------------------------ ##
19271 ## Report this to bug-autoconf@gnu.org. ##
19272 ## ------------------------------------ ##
19275 sed "s/^/$as_me: WARNING: /" >&2
19278 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19279 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19280 if test "${ac_cv_header_tiffio_h+set}" = set; then
19281 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 ac_cv_header_tiffio_h
=$ac_header_preproc
19285 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19286 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19289 if test $ac_cv_header_tiffio_h = yes; then
19291 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19292 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19293 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19294 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 ac_check_lib_save_LIBS
=$LIBS
19297 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19298 cat >conftest.
$ac_ext <<_ACEOF
19299 #line $LINENO "configure"
19302 cat confdefs.h
>>conftest.
$ac_ext
19303 cat >>conftest.
$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19306 /* Override any gcc2 internal prototype to avoid an error. */
19310 /* We use char because int might match the return type of a gcc2
19311 builtin and then its argument prototype would still apply. */
19321 rm -f conftest.
$ac_objext conftest
$ac_exeext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19323 (eval $ac_link) 2>&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try
='test -s conftest$ac_exeext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333 ac_cv_lib_tiff_TIFFError
=yes
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.
$ac_ext >&5
19338 ac_cv_lib_tiff_TIFFError
=no
19340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19341 LIBS
=$ac_check_lib_save_LIBS
19343 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19344 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19345 if test $ac_cv_lib_tiff_TIFFError = yes; then
19346 TIFF_LINK
=" -ltiff"
19355 if test "x$TIFF_LINK" = "x" ; then
19356 if test "$wxUSE_LIBTIFF" = "sys" ; then
19357 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19358 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19359 { (exit 1); exit 1; }; }
19361 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19362 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19363 wxUSE_LIBTIFF
=builtin
19372 if test "$wxUSE_EXPAT" != "no"; then
19374 cat >>confdefs.h
<<\_ACEOF
19375 #define wxUSE_EXPAT 1
19378 cat >>confdefs.h
<<\_ACEOF
19379 #define wxUSE_XML 1
19383 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19384 if test "${ac_cv_header_expat_h+set}" = set; then
19385 echo "$as_me:$LINENO: checking for expat.h" >&5
19386 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19387 if test "${ac_cv_header_expat_h+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19391 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19393 # Is the header compilable?
19394 echo "$as_me:$LINENO: checking expat.h usability" >&5
19395 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19396 cat >conftest.
$ac_ext <<_ACEOF
19397 #line $LINENO "configure"
19400 cat confdefs.h
>>conftest.
$ac_ext
19401 cat >>conftest.
$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19403 $ac_includes_default
19406 rm -f conftest.
$ac_objext
19407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19408 (eval $ac_compile) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try
='test -s conftest.$ac_objext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 ac_header_compiler
=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.
$ac_ext >&5
19423 ac_header_compiler
=no
19425 rm -f conftest.
$ac_objext conftest.
$ac_ext
19426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19427 echo "${ECHO_T}$ac_header_compiler" >&6
19429 # Is the header present?
19430 echo "$as_me:$LINENO: checking expat.h presence" >&5
19431 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19432 cat >conftest.
$ac_ext <<_ACEOF
19433 #line $LINENO "configure"
19436 cat confdefs.h
>>conftest.
$ac_ext
19437 cat >>conftest.
$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19442 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
19449 if test -s conftest.err
; then
19450 ac_cpp_err
=$ac_c_preproc_warn_flag
19457 if test -z "$ac_cpp_err"; then
19458 ac_header_preproc
=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.
$ac_ext >&5
19463 ac_header_preproc
=no
19465 rm -f conftest.err conftest.
$ac_ext
19466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19467 echo "${ECHO_T}$ac_header_preproc" >&6
19469 # So? What about this header?
19470 case $ac_header_compiler:$ac_header_preproc in
19472 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19473 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19474 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19475 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19478 ## ------------------------------------ ##
19479 ## Report this to bug-autoconf@gnu.org. ##
19480 ## ------------------------------------ ##
19483 sed "s/^/$as_me: WARNING: /" >&2
19486 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19487 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19488 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19489 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19490 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19491 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19494 ## ------------------------------------ ##
19495 ## Report this to bug-autoconf@gnu.org. ##
19496 ## ------------------------------------ ##
19499 sed "s/^/$as_me: WARNING: /" >&2
19502 echo "$as_me:$LINENO: checking for expat.h" >&5
19503 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19504 if test "${ac_cv_header_expat_h+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 ac_cv_header_expat_h
=$ac_header_preproc
19509 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19510 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19513 if test $ac_cv_header_expat_h = yes; then
19518 if test "x$found_expat_h" = "x1"; then
19519 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19520 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19521 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19522 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 ac_cpp
='$CXXCPP $CPPFLAGS'
19529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19533 cat >conftest.
$ac_ext <<_ACEOF
19534 #line $LINENO "configure"
19537 cat confdefs.h
>>conftest.
$ac_ext
19538 cat >>conftest.
$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19549 rm -f conftest.
$ac_objext
19550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19551 (eval $ac_compile) 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } &&
19555 { ac_try
='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 wx_cv_expat_is_not_broken
=yes
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.
$ac_ext >&5
19566 wx_cv_expat_is_not_broken
=no
19569 rm -f conftest.
$ac_objext conftest.
$ac_ext
19571 ac_cpp
='$CPP $CPPFLAGS'
19572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19579 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19580 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19581 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19582 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19583 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19584 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19585 echo $ECHO_N "(cached) $ECHO_C" >&6
19587 ac_check_lib_save_LIBS
=$LIBS
19588 LIBS
="-lexpat $LIBS"
19589 cat >conftest.
$ac_ext <<_ACEOF
19590 #line $LINENO "configure"
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19597 /* Override any gcc2 internal prototype to avoid an error. */
19601 /* We use char because int might match the return type of a gcc2
19602 builtin and then its argument prototype would still apply. */
19603 char XML_ParserCreate ();
19607 XML_ParserCreate ();
19612 rm -f conftest.
$ac_objext conftest
$ac_exeext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19614 (eval $ac_link) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } &&
19618 { ac_try
='test -s conftest$ac_exeext'
19619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620 (eval $ac_try) 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; }; then
19624 ac_cv_lib_expat_XML_ParserCreate
=yes
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.
$ac_ext >&5
19629 ac_cv_lib_expat_XML_ParserCreate
=no
19631 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19632 LIBS
=$ac_check_lib_save_LIBS
19634 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19635 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19636 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19637 EXPAT_LINK
=" -lexpat"
19642 if test "x$EXPAT_LINK" = "x" ; then
19643 if test "$wxUSE_EXPAT" = "sys" ; then
19644 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19645 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19646 { (exit 1); exit 1; }; }
19648 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19649 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19650 wxUSE_EXPAT
=builtin
19656 if test "$wxUSE_EXPAT" = "builtin" ; then
19659 subdirs
="$subdirs src/expat"
19666 if test "$wxUSE_LIBMSPACK" != "no"; then
19668 if test "${ac_cv_header_mspack_h+set}" = set; then
19669 echo "$as_me:$LINENO: checking for mspack.h" >&5
19670 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19671 if test "${ac_cv_header_mspack_h+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19675 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19677 # Is the header compilable?
19678 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19679 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19680 cat >conftest.
$ac_ext <<_ACEOF
19681 #line $LINENO "configure"
19684 cat confdefs.h
>>conftest.
$ac_ext
19685 cat >>conftest.
$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 $ac_includes_default
19688 #include <mspack.h>
19690 rm -f conftest.
$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692 (eval $ac_compile) 2>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } &&
19696 { ac_try
='test -s conftest.$ac_objext'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; }; then
19702 ac_header_compiler
=yes
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.
$ac_ext >&5
19707 ac_header_compiler
=no
19709 rm -f conftest.
$ac_objext conftest.
$ac_ext
19710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19711 echo "${ECHO_T}$ac_header_compiler" >&6
19713 # Is the header present?
19714 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19715 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19716 cat >conftest.
$ac_ext <<_ACEOF
19717 #line $LINENO "configure"
19720 cat confdefs.h
>>conftest.
$ac_ext
19721 cat >>conftest.
$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #include <mspack.h>
19725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19726 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19728 grep -v '^ *+' conftest.er1
>conftest.err
19730 cat conftest.err
>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } >/dev
/null
; then
19733 if test -s conftest.err
; then
19734 ac_cpp_err
=$ac_c_preproc_warn_flag
19741 if test -z "$ac_cpp_err"; then
19742 ac_header_preproc
=yes
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.
$ac_ext >&5
19747 ac_header_preproc
=no
19749 rm -f conftest.err conftest.
$ac_ext
19750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19751 echo "${ECHO_T}$ac_header_preproc" >&6
19753 # So? What about this header?
19754 case $ac_header_compiler:$ac_header_preproc in
19756 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19757 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19758 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19759 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19762 ## ------------------------------------ ##
19763 ## Report this to bug-autoconf@gnu.org. ##
19764 ## ------------------------------------ ##
19767 sed "s/^/$as_me: WARNING: /" >&2
19770 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19771 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19773 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19775 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19778 ## ------------------------------------ ##
19779 ## Report this to bug-autoconf@gnu.org. ##
19780 ## ------------------------------------ ##
19783 sed "s/^/$as_me: WARNING: /" >&2
19786 echo "$as_me:$LINENO: checking for mspack.h" >&5
19787 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19788 if test "${ac_cv_header_mspack_h+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 ac_cv_header_mspack_h
=$ac_header_preproc
19793 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19794 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19797 if test $ac_cv_header_mspack_h = yes; then
19802 if test "x$found_mspack_h" = "x1"; then
19803 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19804 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19805 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 ac_check_lib_save_LIBS
=$LIBS
19809 LIBS
="-lmspack $LIBS"
19810 cat >conftest.
$ac_ext <<_ACEOF
19811 #line $LINENO "configure"
19814 cat confdefs.h
>>conftest.
$ac_ext
19815 cat >>conftest.
$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19818 /* Override any gcc2 internal prototype to avoid an error. */
19822 /* We use char because int might match the return type of a gcc2
19823 builtin and then its argument prototype would still apply. */
19824 char mspack_create_chm_decompressor ();
19828 mspack_create_chm_decompressor ();
19833 rm -f conftest.
$ac_objext conftest
$ac_exeext
19834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19835 (eval $ac_link) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try
='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.
$ac_ext >&5
19850 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
19852 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19853 LIBS
=$ac_check_lib_save_LIBS
19855 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19856 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19857 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19858 MSPACK_LINK
=" -lmspack"
19862 if test "x$MSPACK_LINK" = "x" ; then
19865 cat >>confdefs.h
<<\_ACEOF
19866 #define wxUSE_LIBMSPACK 1
19881 if test "$USE_WIN32" = 1 ; then
19883 for ac_header
in w32api.h
19885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19887 echo "$as_me:$LINENO: checking for $ac_header" >&5
19888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19895 # Is the header compilable?
19896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19898 cat >conftest.
$ac_ext <<_ACEOF
19899 #line $LINENO "configure"
19902 cat confdefs.h
>>conftest.
$ac_ext
19903 cat >>conftest.
$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 $ac_includes_default
19906 #include <$ac_header>
19908 rm -f conftest.
$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } &&
19914 { ac_try
='test -s conftest.$ac_objext'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; }; then
19920 ac_header_compiler
=yes
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.
$ac_ext >&5
19925 ac_header_compiler
=no
19927 rm -f conftest.
$ac_objext conftest.
$ac_ext
19928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19929 echo "${ECHO_T}$ac_header_compiler" >&6
19931 # Is the header present?
19932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19934 cat >conftest.
$ac_ext <<_ACEOF
19935 #line $LINENO "configure"
19938 cat confdefs.h
>>conftest.
$ac_ext
19939 cat >>conftest.
$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19941 #include <$ac_header>
19943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19944 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } >/dev
/null
; then
19951 if test -s conftest.err
; then
19952 ac_cpp_err
=$ac_c_preproc_warn_flag
19959 if test -z "$ac_cpp_err"; then
19960 ac_header_preproc
=yes
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.
$ac_ext >&5
19965 ac_header_preproc
=no
19967 rm -f conftest.err conftest.
$ac_ext
19968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19969 echo "${ECHO_T}$ac_header_preproc" >&6
19971 # So? What about this header?
19972 case $ac_header_compiler:$ac_header_preproc in
19974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19980 ## ------------------------------------ ##
19981 ## Report this to bug-autoconf@gnu.org. ##
19982 ## ------------------------------------ ##
19985 sed "s/^/$as_me: WARNING: /" >&2
19988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19996 ## ------------------------------------ ##
19997 ## Report this to bug-autoconf@gnu.org. ##
19998 ## ------------------------------------ ##
20001 sed "s/^/$as_me: WARNING: /" >&2
20004 echo "$as_me:$LINENO: checking for $ac_header" >&5
20005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20007 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 eval "$as_ac_Header=$ac_header_preproc"
20011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20016 cat >>confdefs.h
<<_ACEOF
20017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20024 if test "${ac_cv_header_windows_h+set}" = set; then
20025 echo "$as_me:$LINENO: checking for windows.h" >&5
20026 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20027 if test "${ac_cv_header_windows_h+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20031 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20033 # Is the header compilable?
20034 echo "$as_me:$LINENO: checking windows.h usability" >&5
20035 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20036 cat >conftest.
$ac_ext <<_ACEOF
20037 #line $LINENO "configure"
20040 cat confdefs.h
>>conftest.
$ac_ext
20041 cat >>conftest.
$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20043 $ac_includes_default
20044 #include <windows.h>
20046 rm -f conftest.
$ac_objext
20047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20048 (eval $ac_compile) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); } &&
20052 { ac_try
='test -s conftest.$ac_objext'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; }; then
20058 ac_header_compiler
=yes
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.
$ac_ext >&5
20063 ac_header_compiler
=no
20065 rm -f conftest.
$ac_objext conftest.
$ac_ext
20066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20067 echo "${ECHO_T}$ac_header_compiler" >&6
20069 # Is the header present?
20070 echo "$as_me:$LINENO: checking windows.h presence" >&5
20071 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20072 cat >conftest.
$ac_ext <<_ACEOF
20073 #line $LINENO "configure"
20076 cat confdefs.h
>>conftest.
$ac_ext
20077 cat >>conftest.
$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <windows.h>
20081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20084 grep -v '^ *+' conftest.er1
>conftest.err
20086 cat conftest.err
>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } >/dev
/null
; then
20089 if test -s conftest.err
; then
20090 ac_cpp_err
=$ac_c_preproc_warn_flag
20097 if test -z "$ac_cpp_err"; then
20098 ac_header_preproc
=yes
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.
$ac_ext >&5
20103 ac_header_preproc
=no
20105 rm -f conftest.err conftest.
$ac_ext
20106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20107 echo "${ECHO_T}$ac_header_preproc" >&6
20109 # So? What about this header?
20110 case $ac_header_compiler:$ac_header_preproc in
20112 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20113 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20114 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20115 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20118 ## ------------------------------------ ##
20119 ## Report this to bug-autoconf@gnu.org. ##
20120 ## ------------------------------------ ##
20123 sed "s/^/$as_me: WARNING: /" >&2
20126 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20127 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20128 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20129 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20130 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20131 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20134 ## ------------------------------------ ##
20135 ## Report this to bug-autoconf@gnu.org. ##
20136 ## ------------------------------------ ##
20139 sed "s/^/$as_me: WARNING: /" >&2
20142 echo "$as_me:$LINENO: checking for windows.h" >&5
20143 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20144 if test "${ac_cv_header_windows_h+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 ac_cv_header_windows_h
=$ac_header_preproc
20149 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20150 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20153 if test $ac_cv_header_windows_h = yes; then
20157 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20158 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20159 { (exit 1); exit 1; }; }
20165 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20167 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20168 LIBS
="$LIBS -loleacc"
20173 LIBS
="$LIBS -lkernel32 -luser32"
20174 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20177 if test "$wxUSE_ODBC" = "sys" ; then
20180 if test "$wxUSE_ODBC" = "yes" ; then
20181 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20182 cat >>confdefs.h
<<\_ACEOF
20183 #define wxUSE_ODBC 1
20188 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20189 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20191 WIN32INSTALL
=win32install
20194 if test "$wxUSE_GUI" = "yes"; then
20203 if test "$wxUSE_MSW" = 1 ; then
20209 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20213 if test "$wxUSE_GTK" = 1; then
20214 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20215 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20217 gtk_version_cached
=1
20218 if test "${wx_cv_lib_gtk+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20222 gtk_version_cached
=0
20223 echo "$as_me:$LINENO: result: " >&5
20224 echo "${ECHO_T}" >&6
20227 if test "$wxUSE_THREADS" = "yes"; then
20228 GTK_MODULES
=gthread
20232 if test "x$wxUSE_GTK2" = "xyes"; then
20233 # Check whether --enable-gtktest or --disable-gtktest was given.
20234 if test "${enable_gtktest+set}" = set; then
20235 enableval
="$enable_gtktest"
20241 pkg_config_args
=gtk
+-2.0
20242 for module
in .
$GTK_MODULES
20246 pkg_config_args
="$pkg_config_args gthread-2.0"
20253 # Extract the first word of "pkg-config", so it can be a program name with args.
20254 set dummy pkg
-config; ac_word
=$2
20255 echo "$as_me:$LINENO: checking for $ac_word" >&5
20256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20257 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 case $PKG_CONFIG in
20262 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20266 for as_dir
in $PATH
20269 test -z "$as_dir" && as_dir
=.
20270 for ac_exec_ext
in '' $ac_executable_extensions; do
20271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20272 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20279 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20283 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20285 if test -n "$PKG_CONFIG"; then
20286 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20287 echo "${ECHO_T}$PKG_CONFIG" >&6
20289 echo "$as_me:$LINENO: result: no" >&5
20290 echo "${ECHO_T}no" >&6
20294 if test x
$PKG_CONFIG != xno
; then
20295 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20298 echo *** pkg
-config too old
; version
0.7 or better required.
20306 min_gtk_version
=2.0.0
20307 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20308 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20310 if test x
$PKG_CONFIG != xno
; then
20311 ## don't try to run the test against uninstalled libtool libs
20312 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20313 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20317 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20324 if test x
"$no_gtk" = x
; then
20325 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20326 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20327 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20329 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20331 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20333 if test "x$enable_gtktest" = "xyes" ; then
20334 ac_save_CFLAGS
="$CFLAGS"
20335 ac_save_LIBS
="$LIBS"
20336 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20337 LIBS
="$GTK_LIBS $LIBS"
20339 if test "$cross_compiling" = yes; then
20340 echo $ac_n "cross compiling; assumed OK... $ac_c"
20342 cat >conftest.
$ac_ext <<_ACEOF
20343 #line $LINENO "configure"
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20350 #include <gtk/gtk.h>
20352 #include <stdlib.h>
20357 int major, minor, micro;
20360 system ("touch conf.gtktest");
20362 /* HP/UX 9 (%@#!) writes to sscanf strings */
20363 tmp_version = g_strdup("$min_gtk_version");
20364 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20365 printf("%s, bad version string\n", "$min_gtk_version");
20369 if ((gtk_major_version != $gtk_config_major_version) ||
20370 (gtk_minor_version != $gtk_config_minor_version) ||
20371 (gtk_micro_version != $gtk_config_micro_version))
20373 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20374 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20375 gtk_major_version, gtk_minor_version, gtk_micro_version);
20376 printf ("*** was found! If pkg-config was correct, then it is best\n");
20377 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20378 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20379 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20380 printf("*** required on your system.\n");
20381 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20382 printf("*** to point to the correct configuration files\n");
20384 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20385 (gtk_minor_version != GTK_MINOR_VERSION) ||
20386 (gtk_micro_version != GTK_MICRO_VERSION))
20388 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20389 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20390 printf("*** library (version %d.%d.%d)\n",
20391 gtk_major_version, gtk_minor_version, gtk_micro_version);
20395 if ((gtk_major_version > major) ||
20396 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20397 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20403 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20404 gtk_major_version, gtk_minor_version, gtk_micro_version);
20405 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20406 major, minor, micro);
20407 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20409 printf("*** If you have already installed a sufficiently new version, this error\n");
20410 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20411 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20412 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20413 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20414 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20415 printf("*** so that the correct libraries are found at run-time))\n");
20422 rm -f conftest
$ac_exeext
20423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20424 (eval $ac_link) 2>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; }; then
20435 echo "$as_me: program exited with status $ac_status" >&5
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.
$ac_ext >&5
20439 ( exit $ac_status )
20442 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20444 CFLAGS
="$ac_save_CFLAGS"
20445 LIBS
="$ac_save_LIBS"
20448 if test "x$no_gtk" = x
; then
20449 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20450 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20453 echo "$as_me:$LINENO: result: no" >&5
20454 echo "${ECHO_T}no" >&6
20455 if test "$PKG_CONFIG" = "no" ; then
20456 echo "*** A new enough version of pkg-config was not found."
20457 echo "*** See http://pkgconfig.sourceforge.net"
20459 if test -f conf.gtktest
; then
20462 echo "*** Could not run GTK+ test program, checking why..."
20463 ac_save_CFLAGS
="$CFLAGS"
20464 ac_save_LIBS
="$LIBS"
20465 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20466 LIBS
="$LIBS $GTK_LIBS"
20467 cat >conftest.
$ac_ext <<_ACEOF
20468 #line $LINENO "configure"
20471 cat confdefs.h
>>conftest.
$ac_ext
20472 cat >>conftest.
$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20475 #include <gtk/gtk.h>
20481 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20486 rm -f conftest.
$ac_objext conftest
$ac_exeext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20488 (eval $ac_link) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try
='test -s conftest$ac_exeext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 echo "*** The test program compiled, but did not run. This usually means"
20499 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20500 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20501 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20502 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20503 echo "*** is required on your system"
20505 echo "*** If you have an old version installed, it is best to remove it, although"
20506 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.
$ac_ext >&5
20511 echo "*** The test program failed to compile or link. See the file config.log for the"
20512 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20515 CFLAGS
="$ac_save_CFLAGS"
20516 LIBS
="$ac_save_LIBS"
20529 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20530 if test "${with_gtk_prefix+set}" = set; then
20531 withval
="$with_gtk_prefix"
20532 gtk_config_prefix
="$withval"
20534 gtk_config_prefix
=""
20537 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20538 if test "${with_gtk_exec_prefix+set}" = set; then
20539 withval
="$with_gtk_exec_prefix"
20540 gtk_config_exec_prefix
="$withval"
20542 gtk_config_exec_prefix
=""
20544 # Check whether --enable-gtktest or --disable-gtktest was given.
20545 if test "${enable_gtktest+set}" = set; then
20546 enableval
="$enable_gtktest"
20552 for module
in .
$GTK_MODULES
20556 gtk_config_args
="$gtk_config_args gthread"
20561 if test x
$gtk_config_exec_prefix != x
; then
20562 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20563 if test x
${GTK_CONFIG+set} != xset
; then
20564 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20567 if test x
$gtk_config_prefix != x
; then
20568 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20569 if test x
${GTK_CONFIG+set} != xset
; then
20570 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20574 # Extract the first word of "gtk-config", so it can be a program name with args.
20575 set dummy gtk
-config; ac_word
=$2
20576 echo "$as_me:$LINENO: checking for $ac_word" >&5
20577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20578 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20581 case $GTK_CONFIG in
20583 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20587 for as_dir
in $PATH
20590 test -z "$as_dir" && as_dir
=.
20591 for ac_exec_ext
in '' $ac_executable_extensions; do
20592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20593 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20600 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20604 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20606 if test -n "$GTK_CONFIG"; then
20607 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20608 echo "${ECHO_T}$GTK_CONFIG" >&6
20610 echo "$as_me:$LINENO: result: no" >&5
20611 echo "${ECHO_T}no" >&6
20614 min_gtk_version
=1.2.7
20615 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20616 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20618 if test "$GTK_CONFIG" = "no" ; then
20621 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20622 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20623 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20624 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20625 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20626 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20627 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20628 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20629 if test "x$enable_gtktest" = "xyes" ; then
20630 ac_save_CFLAGS
="$CFLAGS"
20631 ac_save_LIBS
="$LIBS"
20632 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20633 LIBS
="$GTK_LIBS $LIBS"
20635 if test "$cross_compiling" = yes; then
20636 echo $ac_n "cross compiling; assumed OK... $ac_c"
20638 cat >conftest.
$ac_ext <<_ACEOF
20639 #line $LINENO "configure"
20642 cat confdefs.h
>>conftest.
$ac_ext
20643 cat >>conftest.
$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20646 #include <gtk/gtk.h>
20648 #include <stdlib.h>
20653 int major, minor, micro;
20656 system ("touch conf.gtktest");
20658 /* HP/UX 9 (%@#!) writes to sscanf strings */
20659 tmp_version = g_strdup("$min_gtk_version");
20660 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20661 printf("%s, bad version string\n", "$min_gtk_version");
20665 if ((gtk_major_version != $gtk_config_major_version) ||
20666 (gtk_minor_version != $gtk_config_minor_version) ||
20667 (gtk_micro_version != $gtk_config_micro_version))
20669 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20670 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20671 gtk_major_version, gtk_minor_version, gtk_micro_version);
20672 printf ("*** was found! If gtk-config was correct, then it is best\n");
20673 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20674 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20675 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20676 printf("*** required on your system.\n");
20677 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20678 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20679 printf("*** before re-running configure\n");
20681 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20682 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20683 (gtk_minor_version != GTK_MINOR_VERSION) ||
20684 (gtk_micro_version != GTK_MICRO_VERSION))
20686 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20687 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20688 printf("*** library (version %d.%d.%d)\n",
20689 gtk_major_version, gtk_minor_version, gtk_micro_version);
20691 #endif /* defined (GTK_MAJOR_VERSION) ... */
20694 if ((gtk_major_version > major) ||
20695 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20696 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20702 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20703 gtk_major_version, gtk_minor_version, gtk_micro_version);
20704 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20705 major, minor, micro);
20706 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20708 printf("*** If you have already installed a sufficiently new version, this error\n");
20709 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20710 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20711 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20712 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20713 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20714 printf("*** so that the correct libraries are found at run-time))\n");
20721 rm -f conftest
$ac_exeext
20722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20723 (eval $ac_link) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20734 echo "$as_me: program exited with status $ac_status" >&5
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.
$ac_ext >&5
20738 ( exit $ac_status )
20741 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20743 CFLAGS
="$ac_save_CFLAGS"
20744 LIBS
="$ac_save_LIBS"
20747 if test "x$no_gtk" = x
; then
20748 echo "$as_me:$LINENO: result: yes" >&5
20749 echo "${ECHO_T}yes" >&6
20750 wx_cv_lib_gtk
=1.2.7
20752 echo "$as_me:$LINENO: result: no" >&5
20753 echo "${ECHO_T}no" >&6
20754 if test "$GTK_CONFIG" = "no" ; then
20755 echo "*** The gtk-config script installed by GTK could not be found"
20756 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20757 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20758 echo "*** full path to gtk-config."
20760 if test -f conf.gtktest
; then
20763 echo "*** Could not run GTK test program, checking why..."
20764 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20765 LIBS
="$LIBS $GTK_LIBS"
20766 cat >conftest.
$ac_ext <<_ACEOF
20767 #line $LINENO "configure"
20770 cat confdefs.h
>>conftest.
$ac_ext
20771 cat >>conftest.
$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20774 #include <gtk/gtk.h>
20780 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20785 rm -f conftest.
$ac_objext conftest
$ac_exeext
20786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20787 (eval $ac_link) 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } &&
20791 { ac_try
='test -s conftest$ac_exeext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 echo "*** The test program compiled, but did not run. This usually means"
20798 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20799 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20800 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20801 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20802 echo "*** is required on your system"
20804 echo "*** If you have an old version installed, it is best to remove it, although"
20805 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20807 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20808 echo "*** came with the system with the command"
20810 echo "*** rpm --erase --nodeps gtk gtk-devel"
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.
$ac_ext >&5
20815 echo "*** The test program failed to compile or link. See the file config.log for the"
20816 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20817 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20818 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20821 CFLAGS
="$ac_save_CFLAGS"
20822 LIBS
="$ac_save_LIBS"
20834 if test -z "$wx_cv_lib_gtk"; then
20836 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20837 if test "${with_gtk_prefix+set}" = set; then
20838 withval
="$with_gtk_prefix"
20839 gtk_config_prefix
="$withval"
20841 gtk_config_prefix
=""
20844 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20845 if test "${with_gtk_exec_prefix+set}" = set; then
20846 withval
="$with_gtk_exec_prefix"
20847 gtk_config_exec_prefix
="$withval"
20849 gtk_config_exec_prefix
=""
20851 # Check whether --enable-gtktest or --disable-gtktest was given.
20852 if test "${enable_gtktest+set}" = set; then
20853 enableval
="$enable_gtktest"
20859 for module
in .
$GTK_MODULES
20863 gtk_config_args
="$gtk_config_args gthread"
20868 if test x
$gtk_config_exec_prefix != x
; then
20869 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20870 if test x
${GTK_CONFIG+set} != xset
; then
20871 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20874 if test x
$gtk_config_prefix != x
; then
20875 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20876 if test x
${GTK_CONFIG+set} != xset
; then
20877 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20881 # Extract the first word of "gtk-config", so it can be a program name with args.
20882 set dummy gtk
-config; ac_word
=$2
20883 echo "$as_me:$LINENO: checking for $ac_word" >&5
20884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20885 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20888 case $GTK_CONFIG in
20890 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20894 for as_dir
in $PATH
20897 test -z "$as_dir" && as_dir
=.
20898 for ac_exec_ext
in '' $ac_executable_extensions; do
20899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20900 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20907 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20911 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20913 if test -n "$GTK_CONFIG"; then
20914 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20915 echo "${ECHO_T}$GTK_CONFIG" >&6
20917 echo "$as_me:$LINENO: result: no" >&5
20918 echo "${ECHO_T}no" >&6
20921 min_gtk_version
=1.2.3
20922 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20923 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20925 if test "$GTK_CONFIG" = "no" ; then
20928 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20929 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20930 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20932 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20934 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20936 if test "x$enable_gtktest" = "xyes" ; then
20937 ac_save_CFLAGS
="$CFLAGS"
20938 ac_save_LIBS
="$LIBS"
20939 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20940 LIBS
="$GTK_LIBS $LIBS"
20942 if test "$cross_compiling" = yes; then
20943 echo $ac_n "cross compiling; assumed OK... $ac_c"
20945 cat >conftest.
$ac_ext <<_ACEOF
20946 #line $LINENO "configure"
20949 cat confdefs.h
>>conftest.
$ac_ext
20950 cat >>conftest.
$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20953 #include <gtk/gtk.h>
20955 #include <stdlib.h>
20960 int major, minor, micro;
20963 system ("touch conf.gtktest");
20965 /* HP/UX 9 (%@#!) writes to sscanf strings */
20966 tmp_version = g_strdup("$min_gtk_version");
20967 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20968 printf("%s, bad version string\n", "$min_gtk_version");
20972 if ((gtk_major_version != $gtk_config_major_version) ||
20973 (gtk_minor_version != $gtk_config_minor_version) ||
20974 (gtk_micro_version != $gtk_config_micro_version))
20976 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20977 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20978 gtk_major_version, gtk_minor_version, gtk_micro_version);
20979 printf ("*** was found! If gtk-config was correct, then it is best\n");
20980 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20981 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20982 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20983 printf("*** required on your system.\n");
20984 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20985 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20986 printf("*** before re-running configure\n");
20988 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20989 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20990 (gtk_minor_version != GTK_MINOR_VERSION) ||
20991 (gtk_micro_version != GTK_MICRO_VERSION))
20993 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20994 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20995 printf("*** library (version %d.%d.%d)\n",
20996 gtk_major_version, gtk_minor_version, gtk_micro_version);
20998 #endif /* defined (GTK_MAJOR_VERSION) ... */
21001 if ((gtk_major_version > major) ||
21002 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21003 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21009 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21010 gtk_major_version, gtk_minor_version, gtk_micro_version);
21011 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21012 major, minor, micro);
21013 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21015 printf("*** If you have already installed a sufficiently new version, this error\n");
21016 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21017 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21018 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21019 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21020 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21021 printf("*** so that the correct libraries are found at run-time))\n");
21028 rm -f conftest
$ac_exeext
21029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21030 (eval $ac_link) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; }; then
21041 echo "$as_me: program exited with status $ac_status" >&5
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.
$ac_ext >&5
21045 ( exit $ac_status )
21048 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21050 CFLAGS
="$ac_save_CFLAGS"
21051 LIBS
="$ac_save_LIBS"
21054 if test "x$no_gtk" = x
; then
21055 echo "$as_me:$LINENO: result: yes" >&5
21056 echo "${ECHO_T}yes" >&6
21057 wx_cv_lib_gtk
=1.2.3
21059 echo "$as_me:$LINENO: result: no" >&5
21060 echo "${ECHO_T}no" >&6
21061 if test "$GTK_CONFIG" = "no" ; then
21062 echo "*** The gtk-config script installed by GTK could not be found"
21063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21065 echo "*** full path to gtk-config."
21067 if test -f conf.gtktest
; then
21070 echo "*** Could not run GTK test program, checking why..."
21071 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21072 LIBS
="$LIBS $GTK_LIBS"
21073 cat >conftest.
$ac_ext <<_ACEOF
21074 #line $LINENO "configure"
21077 cat confdefs.h
>>conftest.
$ac_ext
21078 cat >>conftest.
$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21081 #include <gtk/gtk.h>
21087 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21092 rm -f conftest.
$ac_objext conftest
$ac_exeext
21093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21094 (eval $ac_link) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); } &&
21098 { ac_try
='test -s conftest$ac_exeext'
21099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21100 (eval $ac_try) 2>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); }; }; then
21104 echo "*** The test program compiled, but did not run. This usually means"
21105 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21106 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21107 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21108 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21109 echo "*** is required on your system"
21111 echo "*** If you have an old version installed, it is best to remove it, although"
21112 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21114 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21115 echo "*** came with the system with the command"
21117 echo "*** rpm --erase --nodeps gtk gtk-devel"
21119 echo "$as_me: failed program was:" >&5
21120 sed 's/^/| /' conftest.
$ac_ext >&5
21122 echo "*** The test program failed to compile or link. See the file config.log for the"
21123 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21124 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21125 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21127 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21128 CFLAGS
="$ac_save_CFLAGS"
21129 LIBS
="$ac_save_LIBS"
21143 if test -z "$wx_cv_lib_gtk"; then
21146 wx_cv_cflags_gtk
=$GTK_CFLAGS
21147 wx_cv_libs_gtk
=$GTK_LIBS
21154 if test "$gtk_version_cached" = 1; then
21155 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21156 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21159 case "$wx_cv_lib_gtk" in
21168 *) { { echo "$as_me:$LINENO: error:
21169 Please check that gtk-config is in path, the directory
21170 where GTK+ libraries are installed (returned by
21171 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21172 equivalent variable and GTK+ is version 1.2.3 or above.
21174 echo "$as_me: error:
21175 Please check that gtk-config is in path, the directory
21176 where GTK+ libraries are installed (returned by
21177 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21178 equivalent variable and GTK+ is version 1.2.3 or above.
21180 { (exit 1); exit 1; }; }
21184 if test "$WXGTK20" = 1; then
21185 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21189 if test -z "$PKG_CONFIG"; then
21190 # Extract the first word of "pkg-config", so it can be a program name with args.
21191 set dummy pkg
-config; ac_word
=$2
21192 echo "$as_me:$LINENO: checking for $ac_word" >&5
21193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 case $PKG_CONFIG in
21199 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21203 for as_dir
in $PATH
21206 test -z "$as_dir" && as_dir
=.
21207 for ac_exec_ext
in '' $ac_executable_extensions; do
21208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21209 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21216 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21220 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21222 if test -n "$PKG_CONFIG"; then
21223 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21224 echo "${ECHO_T}$PKG_CONFIG" >&6
21226 echo "$as_me:$LINENO: result: no" >&5
21227 echo "${ECHO_T}no" >&6
21232 if test "$PKG_CONFIG" = "no" ; then
21233 echo "*** The pkg-config script could not be found. Make sure it is"
21234 echo "*** in your path, or set the PKG_CONFIG environment variable"
21235 echo "*** to the full path to pkg-config."
21236 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21238 PKG_CONFIG_MIN_VERSION
=0.9.0
21239 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21240 echo "$as_me:$LINENO: checking for pangoft2" >&5
21241 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21243 if $PKG_CONFIG --exists "pangoft2" ; then
21244 echo "$as_me:$LINENO: result: yes" >&5
21245 echo "${ECHO_T}yes" >&6
21248 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21249 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21250 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21251 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21252 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21254 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21255 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21256 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21257 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21258 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21262 ## If we have a custom action on failure, don't print errors, but
21263 ## do set a variable so people can do so.
21264 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21271 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21272 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21276 if test $succeeded = yes; then
21278 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21279 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21283 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21284 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21285 wxUSE_PRINTING_ARCHITECTURE
="no"
21292 if test "$wxUSE_UNICODE" = "yes"; then
21293 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21294 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21299 if test "$USE_DARWIN" != 1; then
21301 for ac_func
in poll
21303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21304 echo "$as_me:$LINENO: checking for $ac_func" >&5
21305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21306 if eval "test \"\${$as_ac_var+set}\" = set"; then
21307 echo $ECHO_N "(cached) $ECHO_C" >&6
21309 cat >conftest.
$ac_ext <<_ACEOF
21310 #line $LINENO "configure"
21313 cat confdefs.h
>>conftest.
$ac_ext
21314 cat >>conftest.
$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 /* System header to define __stub macros and hopefully few prototypes,
21317 which can conflict with char $ac_func (); below.
21318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21319 <limits.h> exists even on freestanding compilers. */
21321 # include <limits.h>
21323 # include <assert.h>
21325 /* Override any gcc2 internal prototype to avoid an error. */
21330 /* We use char because int might match the return type of a gcc2
21331 builtin and then its argument prototype would still apply. */
21333 /* The GNU C library defines this for functions which it implements
21334 to always fail with ENOSYS. Some functions are actually named
21335 something starting with __ and the normal name is an alias. */
21336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21339 char (*f) () = $ac_func;
21348 return f != $ac_func;
21353 rm -f conftest.
$ac_objext conftest
$ac_exeext
21354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21355 (eval $ac_link) 2>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); } &&
21359 { ac_try
='test -s conftest$ac_exeext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 eval "$as_ac_var=yes"
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.
$ac_ext >&5
21370 eval "$as_ac_var=no"
21372 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21376 if test `eval echo '${'$as_ac_var'}'` = yes; then
21377 cat >>confdefs.h
<<_ACEOF
21378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21386 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21387 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21389 AFMINSTALL
=afminstall
21393 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21394 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21395 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21396 echo $ECHO_N "(cached) $ECHO_C" >&6
21398 ac_check_lib_save_LIBS
=$LIBS
21400 cat >conftest.
$ac_ext <<_ACEOF
21401 #line $LINENO "configure"
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21408 /* Override any gcc2 internal prototype to avoid an error. */
21412 /* We use char because int might match the return type of a gcc2
21413 builtin and then its argument prototype would still apply. */
21414 char gdk_im_open ();
21423 rm -f conftest.
$ac_objext conftest
$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425 (eval $ac_link) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try
='test -s conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_lib_gdk_gdk_im_open
=yes
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21440 ac_cv_lib_gdk_gdk_im_open
=no
21442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21443 LIBS
=$ac_check_lib_save_LIBS
21445 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21446 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21447 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21448 cat >>confdefs.h
<<\_ACEOF
21456 if test "$wxUSE_MGL" = 1; then
21457 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21458 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21459 if test "x$MGL_ROOT" = x
; then
21460 echo "$as_me:$LINENO: result: not found" >&5
21461 echo "${ECHO_T}not found" >&6
21462 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21463 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21464 { (exit 1); exit 1; }; }
21466 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21467 echo "${ECHO_T}$MGL_ROOT" >&6
21470 echo "$as_me:$LINENO: checking for libmgl location" >&5
21471 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21474 if test "x$wxUSE_SHARED" = xyes
; then
21475 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21477 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21481 mgl_os_candidates
="dos32/dj2"
21484 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21485 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21486 { (exit 1); exit 1; }; }
21492 for mgl_os_i
in $mgl_os_candidates ; do
21493 if test "x$mgl_os" = x
; then
21494 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21495 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21496 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21501 if test "x$mgl_lib_type" = x
; then
21502 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21503 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21504 mgl_lib_type
=release
21511 if test "x$mgl_os" = x
; then
21512 echo "$as_me:$LINENO: result: not found" >&5
21513 echo "${ECHO_T}not found" >&6
21514 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21515 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21516 { (exit 1); exit 1; }; }
21518 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21519 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21521 wxUSE_UNIVERSAL
="yes"
21523 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21524 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21526 AFMINSTALL
=afminstall
21531 if test "$wxUSE_MICROWIN" = 1; then
21532 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21533 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21534 if test "x$MICROWINDOWS" = x
; then
21535 echo "$as_me:$LINENO: result: not found" >&5
21536 echo "${ECHO_T}not found" >&6
21537 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21538 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21539 { (exit 1); exit 1; }; }
21541 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21542 echo "${ECHO_T}$MICROWINDOWS" >&6
21545 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21546 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21547 echo "${ECHO_T}MicroWindows' libraries found." >&6
21549 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21550 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21551 { (exit 1); exit 1; }; }
21554 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21555 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21557 wxUSE_UNIVERSAL
="yes"
21559 AFMINSTALL
=afminstall
21561 GUIDIST
=MICROWIN_DIST
21563 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21566 if test "$wxUSE_X11" = 1; then
21567 echo "$as_me:$LINENO: checking for X" >&5
21568 echo $ECHO_N "checking for X... $ECHO_C" >&6
21571 # Check whether --with-x or --without-x was given.
21572 if test "${with_x+set}" = set; then
21576 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21577 if test "x$with_x" = xno
; then
21578 # The user explicitly disabled X.
21581 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21582 # Both variables are already set.
21585 if test "${ac_cv_have_x+set}" = set; then
21586 echo $ECHO_N "(cached) $ECHO_C" >&6
21588 # One or both of the vars are not set, and there is no cached value.
21589 ac_x_includes
=no ac_x_libraries
=no
21590 rm -fr conftest.dir
21591 if mkdir conftest.dir
; then
21593 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21594 cat >Imakefile
<<'_ACEOF'
21596 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21598 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21599 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21600 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21601 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21602 for ac_extension
in a so sl
; do
21603 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21604 test -f $ac_im_libdir/libX11.
$ac_extension; then
21605 ac_im_usrlibdir
=$ac_im_libdir; break
21608 # Screen out bogus values from the imake configuration. They are
21609 # bogus both because they are the default anyway, and because
21610 # using them would break gcc on systems where it needs fixed includes.
21611 case $ac_im_incroot in
21613 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21615 case $ac_im_usrlibdir in
21616 /usr
/lib
| /lib
) ;;
21617 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21621 rm -fr conftest.dir
21624 # Standard set of common directories for X headers.
21625 # Check X11 before X11Rn because it is often a symlink to the current release.
21637 /usr/local/X11/include
21638 /usr/local/X11R6/include
21639 /usr/local/X11R5/include
21640 /usr/local/X11R4/include
21642 /usr/local/include/X11
21643 /usr/local/include/X11R6
21644 /usr/local/include/X11R5
21645 /usr/local/include/X11R4
21649 /usr/XFree86/include/X11
21653 /usr/unsupported/include
21654 /usr/athena/include
21655 /usr/local/x11r5/include
21656 /usr/lpp/Xamples/include
21658 /usr/openwin/include
21659 /usr/openwin/share/include'
21661 if test "$ac_x_includes" = no
; then
21662 # Guess where to find include files, by looking for Intrinsic.h.
21663 # First, try using that file with no special directory specified.
21664 cat >conftest.
$ac_ext <<_ACEOF
21665 #line $LINENO "configure"
21668 cat confdefs.h
>>conftest.
$ac_ext
21669 cat >>conftest.
$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 #include <X11/Intrinsic.h>
21673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21674 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21676 grep -v '^ *+' conftest.er1
>conftest.err
21678 cat conftest.err
>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); } >/dev
/null
; then
21681 if test -s conftest.err
; then
21682 ac_cpp_err
=$ac_c_preproc_warn_flag
21689 if test -z "$ac_cpp_err"; then
21690 # We can compile using X headers with no special include directory.
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.
$ac_ext >&5
21696 for ac_dir
in $ac_x_header_dirs; do
21697 if test -r "$ac_dir/X11/Intrinsic.h"; then
21698 ac_x_includes
=$ac_dir
21703 rm -f conftest.err conftest.
$ac_ext
21704 fi # $ac_x_includes = no
21706 if test "$ac_x_libraries" = no
; then
21707 # Check for the libraries.
21708 # See if we find them without any special options.
21709 # Don't add to $LIBS permanently.
21712 cat >conftest.
$ac_ext <<_ACEOF
21713 #line $LINENO "configure"
21716 cat confdefs.h
>>conftest.
$ac_ext
21717 cat >>conftest.
$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 #include <X11/Intrinsic.h>
21728 rm -f conftest.
$ac_objext conftest
$ac_exeext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } &&
21734 { ac_try
='test -s conftest$ac_exeext'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; }; then
21741 # We can link X programs with no special library path.
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21748 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21750 # Don't even attempt the hair of trying to link an X program!
21751 for ac_extension
in a so sl
; do
21752 if test -r $ac_dir/libXt.
$ac_extension; then
21753 ac_x_libraries
=$ac_dir
21759 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21760 fi # $ac_x_libraries = no
21762 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21763 # Didn't find X anywhere. Cache the known absence of X.
21764 ac_cv_have_x
="have_x=no"
21766 # Record where we found X for the cache.
21767 ac_cv_have_x
="have_x=yes \
21768 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21773 eval "$ac_cv_have_x"
21776 if test "$have_x" != yes; then
21777 echo "$as_me:$LINENO: result: $have_x" >&5
21778 echo "${ECHO_T}$have_x" >&6
21781 # If each of the values was on the command line, it overrides each guess.
21782 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21783 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21784 # Update the cache value to reflect the command line values.
21785 ac_cv_have_x
="have_x=yes \
21786 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21787 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21788 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21791 if test "$no_x" = yes; then
21792 # Not all programs may use this symbol, but it does not hurt to define it.
21794 cat >>confdefs.h
<<\_ACEOF
21795 #define X_DISPLAY_MISSING 1
21798 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21800 if test -n "$x_includes"; then
21801 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21804 # It would also be nice to do this for all -L options, not just this one.
21805 if test -n "$x_libraries"; then
21806 X_LIBS
="$X_LIBS -L$x_libraries"
21807 # For Solaris; some versions of Sun CC require a space after -R and
21808 # others require no space. Words are not sufficient . . . .
21809 case `(uname -sr) 2>/dev/null` in
21811 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21812 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21813 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21814 cat >conftest.
$ac_ext <<_ACEOF
21815 #line $LINENO "configure"
21818 cat confdefs.h
>>conftest.
$ac_ext
21819 cat >>conftest.
$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21830 rm -f conftest.
$ac_objext conftest
$ac_exeext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21832 (eval $ac_link) 2>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } &&
21836 { ac_try
='test -s conftest$ac_exeext'
21837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21838 (eval $ac_try) 2>&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); }; }; then
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.
$ac_ext >&5
21849 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21850 if test $ac_R_nospace = yes; then
21851 echo "$as_me:$LINENO: result: no" >&5
21852 echo "${ECHO_T}no" >&6
21853 X_LIBS
="$X_LIBS -R$x_libraries"
21855 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21856 cat >conftest.
$ac_ext <<_ACEOF
21857 #line $LINENO "configure"
21860 cat confdefs.h
>>conftest.
$ac_ext
21861 cat >>conftest.
$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21872 rm -f conftest.
$ac_objext conftest
$ac_exeext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21874 (eval $ac_link) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try
='test -s conftest$ac_exeext'
21879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21880 (eval $ac_try) 2>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; }; then
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.
$ac_ext >&5
21891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21892 if test $ac_R_space = yes; then
21893 echo "$as_me:$LINENO: result: yes" >&5
21894 echo "${ECHO_T}yes" >&6
21895 X_LIBS
="$X_LIBS -R $x_libraries"
21897 echo "$as_me:$LINENO: result: neither works" >&5
21898 echo "${ECHO_T}neither works" >&6
21901 LIBS
=$ac_xsave_LIBS
21905 # Check for system-dependent libraries X programs must link with.
21906 # Do this before checking for the system-independent R6 libraries
21907 # (-lICE), since we may need -lsocket or whatever for X linking.
21909 if test "$ISC" = yes; then
21910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21912 # Martyn Johnson says this is needed for Ultrix, if the X
21913 # libraries were built with DECnet support. And Karl Berry says
21914 # the Alpha needs dnet_stub (dnet does not exist).
21915 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21916 cat >conftest.
$ac_ext <<_ACEOF
21917 #line $LINENO "configure"
21920 cat confdefs.h
>>conftest.
$ac_ext
21921 cat >>conftest.
$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21924 /* Override any gcc2 internal prototype to avoid an error. */
21928 /* We use char because int might match the return type of a gcc2
21929 builtin and then its argument prototype would still apply. */
21930 char XOpenDisplay ();
21939 rm -f conftest.
$ac_objext conftest
$ac_exeext
21940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21941 (eval $ac_link) 2>&5
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); } &&
21945 { ac_try
='test -s conftest$ac_exeext'
21946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947 (eval $ac_try) 2>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; }; then
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.
$ac_ext >&5
21956 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21957 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21958 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21959 echo $ECHO_N "(cached) $ECHO_C" >&6
21961 ac_check_lib_save_LIBS
=$LIBS
21962 LIBS
="-ldnet $LIBS"
21963 cat >conftest.
$ac_ext <<_ACEOF
21964 #line $LINENO "configure"
21967 cat confdefs.h
>>conftest.
$ac_ext
21968 cat >>conftest.
$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21971 /* Override any gcc2 internal prototype to avoid an error. */
21975 /* We use char because int might match the return type of a gcc2
21976 builtin and then its argument prototype would still apply. */
21986 rm -f conftest.
$ac_objext conftest
$ac_exeext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21988 (eval $ac_link) 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try
='test -s conftest$ac_exeext'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; }; then
21998 ac_cv_lib_dnet_dnet_ntoa
=yes
22000 echo "$as_me: failed program was:" >&5
22001 sed 's/^/| /' conftest.
$ac_ext >&5
22003 ac_cv_lib_dnet_dnet_ntoa
=no
22005 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22006 LIBS
=$ac_check_lib_save_LIBS
22008 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22009 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22010 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22011 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22014 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22015 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22016 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22017 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 ac_check_lib_save_LIBS
=$LIBS
22021 LIBS
="-ldnet_stub $LIBS"
22022 cat >conftest.
$ac_ext <<_ACEOF
22023 #line $LINENO "configure"
22026 cat confdefs.h
>>conftest.
$ac_ext
22027 cat >>conftest.
$ac_ext <<_ACEOF
22028 /* end confdefs.h. */
22030 /* Override any gcc2 internal prototype to avoid an error. */
22034 /* We use char because int might match the return type of a gcc2
22035 builtin and then its argument prototype would still apply. */
22045 rm -f conftest.
$ac_objext conftest
$ac_exeext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22047 (eval $ac_link) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try
='test -s conftest$ac_exeext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.
$ac_ext >&5
22062 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22065 LIBS
=$ac_check_lib_save_LIBS
22067 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22068 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22069 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22070 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22076 LIBS
="$ac_xsave_LIBS"
22078 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22079 # to get the SysV transport functions.
22080 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22082 # The nsl library prevents programs from opening the X display
22083 # on Irix 5.2, according to T.E. Dickey.
22084 # The functions gethostbyname, getservbyname, and inet_addr are
22085 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22086 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22087 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22088 if test "${ac_cv_func_gethostbyname+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 cat >conftest.
$ac_ext <<_ACEOF
22092 #line $LINENO "configure"
22095 cat confdefs.h
>>conftest.
$ac_ext
22096 cat >>conftest.
$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22098 /* System header to define __stub macros and hopefully few prototypes,
22099 which can conflict with char gethostbyname (); below.
22100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22101 <limits.h> exists even on freestanding compilers. */
22103 # include <limits.h>
22105 # include <assert.h>
22107 /* Override any gcc2 internal prototype to avoid an error. */
22112 /* We use char because int might match the return type of a gcc2
22113 builtin and then its argument prototype would still apply. */
22114 char gethostbyname ();
22115 /* The GNU C library defines this for functions which it implements
22116 to always fail with ENOSYS. Some functions are actually named
22117 something starting with __ and the normal name is an alias. */
22118 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22121 char (*f) () = gethostbyname;
22130 return f != gethostbyname;
22135 rm -f conftest.
$ac_objext conftest
$ac_exeext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137 (eval $ac_link) 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try
='test -s conftest$ac_exeext'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; }; then
22147 ac_cv_func_gethostbyname
=yes
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.
$ac_ext >&5
22152 ac_cv_func_gethostbyname
=no
22154 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22156 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22157 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22159 if test $ac_cv_func_gethostbyname = no
; then
22160 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22161 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22162 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 ac_check_lib_save_LIBS
=$LIBS
22167 cat >conftest.
$ac_ext <<_ACEOF
22168 #line $LINENO "configure"
22171 cat confdefs.h
>>conftest.
$ac_ext
22172 cat >>conftest.
$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22175 /* Override any gcc2 internal prototype to avoid an error. */
22179 /* We use char because int might match the return type of a gcc2
22180 builtin and then its argument prototype would still apply. */
22181 char gethostbyname ();
22190 rm -f conftest.
$ac_objext conftest
$ac_exeext
22191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22192 (eval $ac_link) 2>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try
='test -s conftest$ac_exeext'
22197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22198 (eval $ac_try) 2>&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); }; }; then
22202 ac_cv_lib_nsl_gethostbyname
=yes
22204 echo "$as_me: failed program was:" >&5
22205 sed 's/^/| /' conftest.
$ac_ext >&5
22207 ac_cv_lib_nsl_gethostbyname
=no
22209 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22210 LIBS
=$ac_check_lib_save_LIBS
22212 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22213 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22214 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22218 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22219 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22220 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22221 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 ac_check_lib_save_LIBS
=$LIBS
22226 cat >conftest.
$ac_ext <<_ACEOF
22227 #line $LINENO "configure"
22230 cat confdefs.h
>>conftest.
$ac_ext
22231 cat >>conftest.
$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22234 /* Override any gcc2 internal prototype to avoid an error. */
22238 /* We use char because int might match the return type of a gcc2
22239 builtin and then its argument prototype would still apply. */
22240 char gethostbyname ();
22249 rm -f conftest.
$ac_objext conftest
$ac_exeext
22250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22251 (eval $ac_link) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try
='test -s conftest$ac_exeext'
22256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22257 (eval $ac_try) 2>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); }; }; then
22261 ac_cv_lib_bsd_gethostbyname
=yes
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.
$ac_ext >&5
22266 ac_cv_lib_bsd_gethostbyname
=no
22268 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22269 LIBS
=$ac_check_lib_save_LIBS
22271 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22272 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22273 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22274 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22280 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22281 # socket/setsockopt and other routines are undefined under SCO ODT
22282 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22283 # on later versions), says Simon Leinen: it contains gethostby*
22284 # variants that don't use the name server (or something). -lsocket
22285 # must be given before -lnsl if both are needed. We assume that
22286 # if connect needs -lnsl, so does gethostbyname.
22287 echo "$as_me:$LINENO: checking for connect" >&5
22288 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22289 if test "${ac_cv_func_connect+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 cat >conftest.
$ac_ext <<_ACEOF
22293 #line $LINENO "configure"
22296 cat confdefs.h
>>conftest.
$ac_ext
22297 cat >>conftest.
$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 /* System header to define __stub macros and hopefully few prototypes,
22300 which can conflict with char connect (); below.
22301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22302 <limits.h> exists even on freestanding compilers. */
22304 # include <limits.h>
22306 # include <assert.h>
22308 /* Override any gcc2 internal prototype to avoid an error. */
22313 /* We use char because int might match the return type of a gcc2
22314 builtin and then its argument prototype would still apply. */
22316 /* The GNU C library defines this for functions which it implements
22317 to always fail with ENOSYS. Some functions are actually named
22318 something starting with __ and the normal name is an alias. */
22319 #if defined (__stub_connect) || defined (__stub___connect)
22322 char (*f) () = connect;
22331 return f != connect;
22336 rm -f conftest.
$ac_objext conftest
$ac_exeext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22338 (eval $ac_link) 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } &&
22342 { ac_try
='test -s conftest$ac_exeext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 ac_cv_func_connect
=yes
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.
$ac_ext >&5
22353 ac_cv_func_connect
=no
22355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22357 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22358 echo "${ECHO_T}$ac_cv_func_connect" >&6
22360 if test $ac_cv_func_connect = no
; then
22361 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22362 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22363 if test "${ac_cv_lib_socket_connect+set}" = set; then
22364 echo $ECHO_N "(cached) $ECHO_C" >&6
22366 ac_check_lib_save_LIBS
=$LIBS
22367 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22368 cat >conftest.
$ac_ext <<_ACEOF
22369 #line $LINENO "configure"
22372 cat confdefs.h
>>conftest.
$ac_ext
22373 cat >>conftest.
$ac_ext <<_ACEOF
22374 /* end confdefs.h. */
22376 /* Override any gcc2 internal prototype to avoid an error. */
22380 /* We use char because int might match the return type of a gcc2
22381 builtin and then its argument prototype would still apply. */
22391 rm -f conftest.
$ac_objext conftest
$ac_exeext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22393 (eval $ac_link) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } &&
22397 { ac_try
='test -s conftest$ac_exeext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 ac_cv_lib_socket_connect
=yes
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.
$ac_ext >&5
22408 ac_cv_lib_socket_connect
=no
22410 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22411 LIBS
=$ac_check_lib_save_LIBS
22413 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22414 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22415 if test $ac_cv_lib_socket_connect = yes; then
22416 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22421 # Guillermo Gomez says -lposix is necessary on A/UX.
22422 echo "$as_me:$LINENO: checking for remove" >&5
22423 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22424 if test "${ac_cv_func_remove+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 cat >conftest.
$ac_ext <<_ACEOF
22428 #line $LINENO "configure"
22431 cat confdefs.h
>>conftest.
$ac_ext
22432 cat >>conftest.
$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 /* System header to define __stub macros and hopefully few prototypes,
22435 which can conflict with char remove (); below.
22436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22437 <limits.h> exists even on freestanding compilers. */
22439 # include <limits.h>
22441 # include <assert.h>
22443 /* Override any gcc2 internal prototype to avoid an error. */
22448 /* We use char because int might match the return type of a gcc2
22449 builtin and then its argument prototype would still apply. */
22451 /* The GNU C library defines this for functions which it implements
22452 to always fail with ENOSYS. Some functions are actually named
22453 something starting with __ and the normal name is an alias. */
22454 #if defined (__stub_remove) || defined (__stub___remove)
22457 char (*f) () = remove;
22466 return f != remove;
22471 rm -f conftest.
$ac_objext conftest
$ac_exeext
22472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22473 (eval $ac_link) 2>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } &&
22477 { ac_try
='test -s conftest$ac_exeext'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22483 ac_cv_func_remove
=yes
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.
$ac_ext >&5
22488 ac_cv_func_remove
=no
22490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22492 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22493 echo "${ECHO_T}$ac_cv_func_remove" >&6
22495 if test $ac_cv_func_remove = no
; then
22496 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22497 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22498 if test "${ac_cv_lib_posix_remove+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 ac_check_lib_save_LIBS
=$LIBS
22502 LIBS
="-lposix $LIBS"
22503 cat >conftest.
$ac_ext <<_ACEOF
22504 #line $LINENO "configure"
22507 cat confdefs.h
>>conftest.
$ac_ext
22508 cat >>conftest.
$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22511 /* Override any gcc2 internal prototype to avoid an error. */
22515 /* We use char because int might match the return type of a gcc2
22516 builtin and then its argument prototype would still apply. */
22526 rm -f conftest.
$ac_objext conftest
$ac_exeext
22527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22528 (eval $ac_link) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try
='test -s conftest$ac_exeext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_cv_lib_posix_remove
=yes
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.
$ac_ext >&5
22543 ac_cv_lib_posix_remove
=no
22545 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22546 LIBS
=$ac_check_lib_save_LIBS
22548 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22549 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22550 if test $ac_cv_lib_posix_remove = yes; then
22551 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22556 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22557 echo "$as_me:$LINENO: checking for shmat" >&5
22558 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22559 if test "${ac_cv_func_shmat+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 cat >conftest.
$ac_ext <<_ACEOF
22563 #line $LINENO "configure"
22566 cat confdefs.h
>>conftest.
$ac_ext
22567 cat >>conftest.
$ac_ext <<_ACEOF
22568 /* end confdefs.h. */
22569 /* System header to define __stub macros and hopefully few prototypes,
22570 which can conflict with char shmat (); below.
22571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22572 <limits.h> exists even on freestanding compilers. */
22574 # include <limits.h>
22576 # include <assert.h>
22578 /* Override any gcc2 internal prototype to avoid an error. */
22583 /* We use char because int might match the return type of a gcc2
22584 builtin and then its argument prototype would still apply. */
22586 /* The GNU C library defines this for functions which it implements
22587 to always fail with ENOSYS. Some functions are actually named
22588 something starting with __ and the normal name is an alias. */
22589 #if defined (__stub_shmat) || defined (__stub___shmat)
22592 char (*f) () = shmat;
22606 rm -f conftest.
$ac_objext conftest
$ac_exeext
22607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22608 (eval $ac_link) 2>&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); } &&
22612 { ac_try
='test -s conftest$ac_exeext'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; }; then
22618 ac_cv_func_shmat
=yes
22620 echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.
$ac_ext >&5
22623 ac_cv_func_shmat
=no
22625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22627 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22628 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22630 if test $ac_cv_func_shmat = no
; then
22631 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22632 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22633 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 ac_check_lib_save_LIBS
=$LIBS
22638 cat >conftest.
$ac_ext <<_ACEOF
22639 #line $LINENO "configure"
22642 cat confdefs.h
>>conftest.
$ac_ext
22643 cat >>conftest.
$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22646 /* Override any gcc2 internal prototype to avoid an error. */
22650 /* We use char because int might match the return type of a gcc2
22651 builtin and then its argument prototype would still apply. */
22661 rm -f conftest.
$ac_objext conftest
$ac_exeext
22662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22663 (eval $ac_link) 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } &&
22667 { ac_try
='test -s conftest$ac_exeext'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 ac_cv_lib_ipc_shmat
=yes
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.
$ac_ext >&5
22678 ac_cv_lib_ipc_shmat
=no
22680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22681 LIBS
=$ac_check_lib_save_LIBS
22683 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22684 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22685 if test $ac_cv_lib_ipc_shmat = yes; then
22686 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22692 # Check for libraries that X11R6 Xt/Xaw programs need.
22693 ac_save_LDFLAGS
=$LDFLAGS
22694 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22695 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22696 # check for ICE first), but we must link in the order -lSM -lICE or
22697 # we get undefined symbols. So assume we have SM if we have ICE.
22698 # These have to be linked with before -lX11, unlike the other
22699 # libraries we check for below, so use a different variable.
22700 # John Interrante, Karl Berry
22701 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22702 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22703 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22706 ac_check_lib_save_LIBS
=$LIBS
22707 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22708 cat >conftest.
$ac_ext <<_ACEOF
22709 #line $LINENO "configure"
22712 cat confdefs.h
>>conftest.
$ac_ext
22713 cat >>conftest.
$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22716 /* Override any gcc2 internal prototype to avoid an error. */
22720 /* We use char because int might match the return type of a gcc2
22721 builtin and then its argument prototype would still apply. */
22722 char IceConnectionNumber ();
22726 IceConnectionNumber ();
22731 rm -f conftest.
$ac_objext conftest
$ac_exeext
22732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22733 (eval $ac_link) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } &&
22737 { ac_try
='test -s conftest$ac_exeext'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; }; then
22743 ac_cv_lib_ICE_IceConnectionNumber
=yes
22745 echo "$as_me: failed program was:" >&5
22746 sed 's/^/| /' conftest.
$ac_ext >&5
22748 ac_cv_lib_ICE_IceConnectionNumber
=no
22750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22751 LIBS
=$ac_check_lib_save_LIBS
22753 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22754 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22755 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22756 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22759 LDFLAGS
=$ac_save_LDFLAGS
22764 if test "$no_x" = "yes"; then
22765 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22766 echo "$as_me: error: X11 not found" >&2;}
22767 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22770 GUI_TK_LIBRARY
="$X_LIBS"
22771 TOOLKIT_INCLUDE
="$X_CFLAGS"
22772 AFMINSTALL
=afminstall
22773 COMPILED_X_PROGRAM
=0
22775 if test "$wxUSE_NANOX" = "yes"; then
22776 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22777 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22778 if test "x$MICROWIN" = x
; then
22779 echo "$as_me:$LINENO: result: not found" >&5
22780 echo "${ECHO_T}not found" >&6
22781 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22782 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22783 { (exit 1); exit 1; }; }
22785 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22786 echo "${ECHO_T}$MICROWIN" >&6
22787 cat >>confdefs.h
<<\_ACEOF
22788 #define wxUSE_NANOX 1
22794 if test "$wxUSE_UNICODE" = "yes"; then
22798 if test -z "$PKG_CONFIG"; then
22799 # Extract the first word of "pkg-config", so it can be a program name with args.
22800 set dummy pkg
-config; ac_word
=$2
22801 echo "$as_me:$LINENO: checking for $ac_word" >&5
22802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22803 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22804 echo $ECHO_N "(cached) $ECHO_C" >&6
22806 case $PKG_CONFIG in
22808 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22812 for as_dir
in $PATH
22815 test -z "$as_dir" && as_dir
=.
22816 for ac_exec_ext
in '' $ac_executable_extensions; do
22817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22818 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22825 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22829 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22831 if test -n "$PKG_CONFIG"; then
22832 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22833 echo "${ECHO_T}$PKG_CONFIG" >&6
22835 echo "$as_me:$LINENO: result: no" >&5
22836 echo "${ECHO_T}no" >&6
22841 if test "$PKG_CONFIG" = "no" ; then
22842 echo "*** The pkg-config script could not be found. Make sure it is"
22843 echo "*** in your path, or set the PKG_CONFIG environment variable"
22844 echo "*** to the full path to pkg-config."
22845 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22847 PKG_CONFIG_MIN_VERSION
=0.9.0
22848 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22849 echo "$as_me:$LINENO: checking for pangox" >&5
22850 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22852 if $PKG_CONFIG --exists "pangox" ; then
22853 echo "$as_me:$LINENO: result: yes" >&5
22854 echo "${ECHO_T}yes" >&6
22857 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22858 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22859 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22860 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22861 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22863 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22864 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22865 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22866 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22867 echo "${ECHO_T}$PANGOX_LIBS" >&6
22871 ## If we have a custom action on failure, don't print errors, but
22872 ## do set a variable so people can do so.
22873 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22880 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22881 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22885 if test $succeeded = yes; then
22887 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22888 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22892 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22893 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22894 { (exit 1); exit 1; }; }
22902 if test -z "$PKG_CONFIG"; then
22903 # Extract the first word of "pkg-config", so it can be a program name with args.
22904 set dummy pkg
-config; ac_word
=$2
22905 echo "$as_me:$LINENO: checking for $ac_word" >&5
22906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22907 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22910 case $PKG_CONFIG in
22912 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22916 for as_dir
in $PATH
22919 test -z "$as_dir" && as_dir
=.
22920 for ac_exec_ext
in '' $ac_executable_extensions; do
22921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22922 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22929 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22933 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22935 if test -n "$PKG_CONFIG"; then
22936 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22937 echo "${ECHO_T}$PKG_CONFIG" >&6
22939 echo "$as_me:$LINENO: result: no" >&5
22940 echo "${ECHO_T}no" >&6
22945 if test "$PKG_CONFIG" = "no" ; then
22946 echo "*** The pkg-config script could not be found. Make sure it is"
22947 echo "*** in your path, or set the PKG_CONFIG environment variable"
22948 echo "*** to the full path to pkg-config."
22949 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22951 PKG_CONFIG_MIN_VERSION
=0.9.0
22952 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22953 echo "$as_me:$LINENO: checking for pangoft2" >&5
22954 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22956 if $PKG_CONFIG --exists "pangoft2" ; then
22957 echo "$as_me:$LINENO: result: yes" >&5
22958 echo "${ECHO_T}yes" >&6
22961 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22962 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22963 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22964 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22965 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22967 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22968 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22969 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22970 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22971 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22975 ## If we have a custom action on failure, don't print errors, but
22976 ## do set a variable so people can do so.
22977 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22984 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22985 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22989 if test $succeeded = yes; then
22991 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22992 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22996 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22997 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22998 wxUSE_PRINTING_ARCHITECTURE
="no"
23006 if test -z "$PKG_CONFIG"; then
23007 # Extract the first word of "pkg-config", so it can be a program name with args.
23008 set dummy pkg
-config; ac_word
=$2
23009 echo "$as_me:$LINENO: checking for $ac_word" >&5
23010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23011 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23012 echo $ECHO_N "(cached) $ECHO_C" >&6
23014 case $PKG_CONFIG in
23016 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23020 for as_dir
in $PATH
23023 test -z "$as_dir" && as_dir
=.
23024 for ac_exec_ext
in '' $ac_executable_extensions; do
23025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23026 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23033 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23037 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23039 if test -n "$PKG_CONFIG"; then
23040 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23041 echo "${ECHO_T}$PKG_CONFIG" >&6
23043 echo "$as_me:$LINENO: result: no" >&5
23044 echo "${ECHO_T}no" >&6
23049 if test "$PKG_CONFIG" = "no" ; then
23050 echo "*** The pkg-config script could not be found. Make sure it is"
23051 echo "*** in your path, or set the PKG_CONFIG environment variable"
23052 echo "*** to the full path to pkg-config."
23053 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23055 PKG_CONFIG_MIN_VERSION
=0.9.0
23056 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23057 echo "$as_me:$LINENO: checking for pangoxft" >&5
23058 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23060 if $PKG_CONFIG --exists "pangoxft" ; then
23061 echo "$as_me:$LINENO: result: yes" >&5
23062 echo "${ECHO_T}yes" >&6
23065 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23066 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23067 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
23068 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23069 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23071 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23072 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23073 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23074 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23075 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23079 ## If we have a custom action on failure, don't print errors, but
23080 ## do set a variable so people can do so.
23081 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23088 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23089 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23093 if test $succeeded = yes; then
23095 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23096 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23100 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23101 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23108 wxUSE_UNIVERSAL
="yes"
23110 if test "$wxUSE_NANOX" = "yes"; then
23111 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23112 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"
23113 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23115 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
23118 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23123 if test "$wxUSE_MOTIF" = 1; then
23124 if test "$no_x" = yes; then
23125 # Not all programs may use this symbol, but it does not hurt to define it.
23127 cat >>confdefs.h
<<\_ACEOF
23128 #define X_DISPLAY_MISSING 1
23131 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23133 if test -n "$x_includes"; then
23134 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23137 # It would also be nice to do this for all -L options, not just this one.
23138 if test -n "$x_libraries"; then
23139 X_LIBS
="$X_LIBS -L$x_libraries"
23140 # For Solaris; some versions of Sun CC require a space after -R and
23141 # others require no space. Words are not sufficient . . . .
23142 case `(uname -sr) 2>/dev/null` in
23144 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23145 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23146 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23147 cat >conftest.
$ac_ext <<_ACEOF
23148 #line $LINENO "configure"
23151 cat confdefs.h
>>conftest.
$ac_ext
23152 cat >>conftest.
$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23163 rm -f conftest.
$ac_objext conftest
$ac_exeext
23164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23165 (eval $ac_link) 2>&5
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); } &&
23169 { ac_try
='test -s conftest$ac_exeext'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; }; then
23177 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.
$ac_ext >&5
23182 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23183 if test $ac_R_nospace = yes; then
23184 echo "$as_me:$LINENO: result: no" >&5
23185 echo "${ECHO_T}no" >&6
23186 X_LIBS
="$X_LIBS -R$x_libraries"
23188 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23189 cat >conftest.
$ac_ext <<_ACEOF
23190 #line $LINENO "configure"
23193 cat confdefs.h
>>conftest.
$ac_ext
23194 cat >>conftest.
$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23205 rm -f conftest.
$ac_objext conftest
$ac_exeext
23206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23207 (eval $ac_link) 2>&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } &&
23211 { ac_try
='test -s conftest$ac_exeext'
23212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23213 (eval $ac_try) 2>&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); }; }; then
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.
$ac_ext >&5
23224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23225 if test $ac_R_space = yes; then
23226 echo "$as_me:$LINENO: result: yes" >&5
23227 echo "${ECHO_T}yes" >&6
23228 X_LIBS
="$X_LIBS -R $x_libraries"
23230 echo "$as_me:$LINENO: result: neither works" >&5
23231 echo "${ECHO_T}neither works" >&6
23234 LIBS
=$ac_xsave_LIBS
23238 # Check for system-dependent libraries X programs must link with.
23239 # Do this before checking for the system-independent R6 libraries
23240 # (-lICE), since we may need -lsocket or whatever for X linking.
23242 if test "$ISC" = yes; then
23243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23245 # Martyn Johnson says this is needed for Ultrix, if the X
23246 # libraries were built with DECnet support. And Karl Berry says
23247 # the Alpha needs dnet_stub (dnet does not exist).
23248 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23249 cat >conftest.
$ac_ext <<_ACEOF
23250 #line $LINENO "configure"
23253 cat confdefs.h
>>conftest.
$ac_ext
23254 cat >>conftest.
$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23257 /* Override any gcc2 internal prototype to avoid an error. */
23261 /* We use char because int might match the return type of a gcc2
23262 builtin and then its argument prototype would still apply. */
23263 char XOpenDisplay ();
23272 rm -f conftest.
$ac_objext conftest
$ac_exeext
23273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23274 (eval $ac_link) 2>&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } &&
23278 { ac_try
='test -s conftest$ac_exeext'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.
$ac_ext >&5
23289 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23290 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23291 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 ac_check_lib_save_LIBS
=$LIBS
23295 LIBS
="-ldnet $LIBS"
23296 cat >conftest.
$ac_ext <<_ACEOF
23297 #line $LINENO "configure"
23300 cat confdefs.h
>>conftest.
$ac_ext
23301 cat >>conftest.
$ac_ext <<_ACEOF
23302 /* end confdefs.h. */
23304 /* Override any gcc2 internal prototype to avoid an error. */
23308 /* We use char because int might match the return type of a gcc2
23309 builtin and then its argument prototype would still apply. */
23319 rm -f conftest.
$ac_objext conftest
$ac_exeext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23321 (eval $ac_link) 2>&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); } &&
23325 { ac_try
='test -s conftest$ac_exeext'
23326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23327 (eval $ac_try) 2>&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); }; }; then
23331 ac_cv_lib_dnet_dnet_ntoa
=yes
23333 echo "$as_me: failed program was:" >&5
23334 sed 's/^/| /' conftest.
$ac_ext >&5
23336 ac_cv_lib_dnet_dnet_ntoa
=no
23338 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23339 LIBS
=$ac_check_lib_save_LIBS
23341 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23342 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23343 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23344 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23347 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23348 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23349 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23350 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 ac_check_lib_save_LIBS
=$LIBS
23354 LIBS
="-ldnet_stub $LIBS"
23355 cat >conftest.
$ac_ext <<_ACEOF
23356 #line $LINENO "configure"
23359 cat confdefs.h
>>conftest.
$ac_ext
23360 cat >>conftest.
$ac_ext <<_ACEOF
23361 /* end confdefs.h. */
23363 /* Override any gcc2 internal prototype to avoid an error. */
23367 /* We use char because int might match the return type of a gcc2
23368 builtin and then its argument prototype would still apply. */
23378 rm -f conftest.
$ac_objext conftest
$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try
='test -s conftest$ac_exeext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23390 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.
$ac_ext >&5
23395 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23398 LIBS
=$ac_check_lib_save_LIBS
23400 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23401 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23402 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23403 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23409 LIBS
="$ac_xsave_LIBS"
23411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23412 # to get the SysV transport functions.
23413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23415 # The nsl library prevents programs from opening the X display
23416 # on Irix 5.2, according to T.E. Dickey.
23417 # The functions gethostbyname, getservbyname, and inet_addr are
23418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23419 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23420 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23421 if test "${ac_cv_func_gethostbyname+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 cat >conftest.
$ac_ext <<_ACEOF
23425 #line $LINENO "configure"
23428 cat confdefs.h
>>conftest.
$ac_ext
23429 cat >>conftest.
$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23431 /* System header to define __stub macros and hopefully few prototypes,
23432 which can conflict with char gethostbyname (); below.
23433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23434 <limits.h> exists even on freestanding compilers. */
23436 # include <limits.h>
23438 # include <assert.h>
23440 /* Override any gcc2 internal prototype to avoid an error. */
23445 /* We use char because int might match the return type of a gcc2
23446 builtin and then its argument prototype would still apply. */
23447 char gethostbyname ();
23448 /* The GNU C library defines this for functions which it implements
23449 to always fail with ENOSYS. Some functions are actually named
23450 something starting with __ and the normal name is an alias. */
23451 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23454 char (*f) () = gethostbyname;
23463 return f != gethostbyname;
23468 rm -f conftest.
$ac_objext conftest
$ac_exeext
23469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23470 (eval $ac_link) 2>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try
='test -s conftest$ac_exeext'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480 ac_cv_func_gethostbyname
=yes
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.
$ac_ext >&5
23485 ac_cv_func_gethostbyname
=no
23487 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23489 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23490 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23492 if test $ac_cv_func_gethostbyname = no
; then
23493 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23494 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23495 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23496 echo $ECHO_N "(cached) $ECHO_C" >&6
23498 ac_check_lib_save_LIBS
=$LIBS
23500 cat >conftest.
$ac_ext <<_ACEOF
23501 #line $LINENO "configure"
23504 cat confdefs.h
>>conftest.
$ac_ext
23505 cat >>conftest.
$ac_ext <<_ACEOF
23506 /* end confdefs.h. */
23508 /* Override any gcc2 internal prototype to avoid an error. */
23512 /* We use char because int might match the return type of a gcc2
23513 builtin and then its argument prototype would still apply. */
23514 char gethostbyname ();
23523 rm -f conftest.
$ac_objext conftest
$ac_exeext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23525 (eval $ac_link) 2>&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } &&
23529 { ac_try
='test -s conftest$ac_exeext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 ac_cv_lib_nsl_gethostbyname
=yes
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.
$ac_ext >&5
23540 ac_cv_lib_nsl_gethostbyname
=no
23542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23543 LIBS
=$ac_check_lib_save_LIBS
23545 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23546 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23547 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23548 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23551 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23552 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23553 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23554 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 ac_check_lib_save_LIBS
=$LIBS
23559 cat >conftest.
$ac_ext <<_ACEOF
23560 #line $LINENO "configure"
23563 cat confdefs.h
>>conftest.
$ac_ext
23564 cat >>conftest.
$ac_ext <<_ACEOF
23565 /* end confdefs.h. */
23567 /* Override any gcc2 internal prototype to avoid an error. */
23571 /* We use char because int might match the return type of a gcc2
23572 builtin and then its argument prototype would still apply. */
23573 char gethostbyname ();
23582 rm -f conftest.
$ac_objext conftest
$ac_exeext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23584 (eval $ac_link) 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try
='test -s conftest$ac_exeext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 ac_cv_lib_bsd_gethostbyname
=yes
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.
$ac_ext >&5
23599 ac_cv_lib_bsd_gethostbyname
=no
23601 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23602 LIBS
=$ac_check_lib_save_LIBS
23604 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23605 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23606 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23607 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23613 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23614 # socket/setsockopt and other routines are undefined under SCO ODT
23615 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23616 # on later versions), says Simon Leinen: it contains gethostby*
23617 # variants that don't use the name server (or something). -lsocket
23618 # must be given before -lnsl if both are needed. We assume that
23619 # if connect needs -lnsl, so does gethostbyname.
23620 echo "$as_me:$LINENO: checking for connect" >&5
23621 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23622 if test "${ac_cv_func_connect+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23625 cat >conftest.
$ac_ext <<_ACEOF
23626 #line $LINENO "configure"
23629 cat confdefs.h
>>conftest.
$ac_ext
23630 cat >>conftest.
$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23632 /* System header to define __stub macros and hopefully few prototypes,
23633 which can conflict with char connect (); below.
23634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23635 <limits.h> exists even on freestanding compilers. */
23637 # include <limits.h>
23639 # include <assert.h>
23641 /* Override any gcc2 internal prototype to avoid an error. */
23646 /* We use char because int might match the return type of a gcc2
23647 builtin and then its argument prototype would still apply. */
23649 /* The GNU C library defines this for functions which it implements
23650 to always fail with ENOSYS. Some functions are actually named
23651 something starting with __ and the normal name is an alias. */
23652 #if defined (__stub_connect) || defined (__stub___connect)
23655 char (*f) () = connect;
23664 return f != connect;
23669 rm -f conftest.
$ac_objext conftest
$ac_exeext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23671 (eval $ac_link) 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } &&
23675 { ac_try
='test -s conftest$ac_exeext'
23676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23677 (eval $ac_try) 2>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); }; }; then
23681 ac_cv_func_connect
=yes
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.
$ac_ext >&5
23686 ac_cv_func_connect
=no
23688 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23690 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23691 echo "${ECHO_T}$ac_cv_func_connect" >&6
23693 if test $ac_cv_func_connect = no
; then
23694 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23695 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23696 if test "${ac_cv_lib_socket_connect+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23699 ac_check_lib_save_LIBS
=$LIBS
23700 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23701 cat >conftest.
$ac_ext <<_ACEOF
23702 #line $LINENO "configure"
23705 cat confdefs.h
>>conftest.
$ac_ext
23706 cat >>conftest.
$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23709 /* Override any gcc2 internal prototype to avoid an error. */
23713 /* We use char because int might match the return type of a gcc2
23714 builtin and then its argument prototype would still apply. */
23724 rm -f conftest.
$ac_objext conftest
$ac_exeext
23725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23726 (eval $ac_link) 2>&5
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); } &&
23730 { ac_try
='test -s conftest$ac_exeext'
23731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23732 (eval $ac_try) 2>&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); }; }; then
23736 ac_cv_lib_socket_connect
=yes
23738 echo "$as_me: failed program was:" >&5
23739 sed 's/^/| /' conftest.
$ac_ext >&5
23741 ac_cv_lib_socket_connect
=no
23743 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23744 LIBS
=$ac_check_lib_save_LIBS
23746 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23747 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23748 if test $ac_cv_lib_socket_connect = yes; then
23749 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23754 # Guillermo Gomez says -lposix is necessary on A/UX.
23755 echo "$as_me:$LINENO: checking for remove" >&5
23756 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23757 if test "${ac_cv_func_remove+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 cat >conftest.
$ac_ext <<_ACEOF
23761 #line $LINENO "configure"
23764 cat confdefs.h
>>conftest.
$ac_ext
23765 cat >>conftest.
$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767 /* System header to define __stub macros and hopefully few prototypes,
23768 which can conflict with char remove (); below.
23769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23770 <limits.h> exists even on freestanding compilers. */
23772 # include <limits.h>
23774 # include <assert.h>
23776 /* Override any gcc2 internal prototype to avoid an error. */
23781 /* We use char because int might match the return type of a gcc2
23782 builtin and then its argument prototype would still apply. */
23784 /* The GNU C library defines this for functions which it implements
23785 to always fail with ENOSYS. Some functions are actually named
23786 something starting with __ and the normal name is an alias. */
23787 #if defined (__stub_remove) || defined (__stub___remove)
23790 char (*f) () = remove;
23799 return f != remove;
23804 rm -f conftest.
$ac_objext conftest
$ac_exeext
23805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23806 (eval $ac_link) 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } &&
23810 { ac_try
='test -s conftest$ac_exeext'
23811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23812 (eval $ac_try) 2>&5
23814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23815 (exit $ac_status); }; }; then
23816 ac_cv_func_remove
=yes
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.
$ac_ext >&5
23821 ac_cv_func_remove
=no
23823 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23825 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23826 echo "${ECHO_T}$ac_cv_func_remove" >&6
23828 if test $ac_cv_func_remove = no
; then
23829 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23830 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23831 if test "${ac_cv_lib_posix_remove+set}" = set; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23834 ac_check_lib_save_LIBS
=$LIBS
23835 LIBS
="-lposix $LIBS"
23836 cat >conftest.
$ac_ext <<_ACEOF
23837 #line $LINENO "configure"
23840 cat confdefs.h
>>conftest.
$ac_ext
23841 cat >>conftest.
$ac_ext <<_ACEOF
23842 /* end confdefs.h. */
23844 /* Override any gcc2 internal prototype to avoid an error. */
23848 /* We use char because int might match the return type of a gcc2
23849 builtin and then its argument prototype would still apply. */
23859 rm -f conftest.
$ac_objext conftest
$ac_exeext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23861 (eval $ac_link) 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); } &&
23865 { ac_try
='test -s conftest$ac_exeext'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; }; then
23871 ac_cv_lib_posix_remove
=yes
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.
$ac_ext >&5
23876 ac_cv_lib_posix_remove
=no
23878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23879 LIBS
=$ac_check_lib_save_LIBS
23881 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23882 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23883 if test $ac_cv_lib_posix_remove = yes; then
23884 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23889 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23890 echo "$as_me:$LINENO: checking for shmat" >&5
23891 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23892 if test "${ac_cv_func_shmat+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 cat >conftest.
$ac_ext <<_ACEOF
23896 #line $LINENO "configure"
23899 cat confdefs.h
>>conftest.
$ac_ext
23900 cat >>conftest.
$ac_ext <<_ACEOF
23901 /* end confdefs.h. */
23902 /* System header to define __stub macros and hopefully few prototypes,
23903 which can conflict with char shmat (); below.
23904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23905 <limits.h> exists even on freestanding compilers. */
23907 # include <limits.h>
23909 # include <assert.h>
23911 /* Override any gcc2 internal prototype to avoid an error. */
23916 /* We use char because int might match the return type of a gcc2
23917 builtin and then its argument prototype would still apply. */
23919 /* The GNU C library defines this for functions which it implements
23920 to always fail with ENOSYS. Some functions are actually named
23921 something starting with __ and the normal name is an alias. */
23922 #if defined (__stub_shmat) || defined (__stub___shmat)
23925 char (*f) () = shmat;
23939 rm -f conftest.
$ac_objext conftest
$ac_exeext
23940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23941 (eval $ac_link) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } &&
23945 { ac_try
='test -s conftest$ac_exeext'
23946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947 (eval $ac_try) 2>&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); }; }; then
23951 ac_cv_func_shmat
=yes
23953 echo "$as_me: failed program was:" >&5
23954 sed 's/^/| /' conftest.
$ac_ext >&5
23956 ac_cv_func_shmat
=no
23958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23960 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23961 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23963 if test $ac_cv_func_shmat = no
; then
23964 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23965 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23966 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23967 echo $ECHO_N "(cached) $ECHO_C" >&6
23969 ac_check_lib_save_LIBS
=$LIBS
23971 cat >conftest.
$ac_ext <<_ACEOF
23972 #line $LINENO "configure"
23975 cat confdefs.h
>>conftest.
$ac_ext
23976 cat >>conftest.
$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23979 /* Override any gcc2 internal prototype to avoid an error. */
23983 /* We use char because int might match the return type of a gcc2
23984 builtin and then its argument prototype would still apply. */
23994 rm -f conftest.
$ac_objext conftest
$ac_exeext
23995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23996 (eval $ac_link) 2>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } &&
24000 { ac_try
='test -s conftest$ac_exeext'
24001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24002 (eval $ac_try) 2>&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); }; }; then
24006 ac_cv_lib_ipc_shmat
=yes
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 ac_cv_lib_ipc_shmat
=no
24013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24014 LIBS
=$ac_check_lib_save_LIBS
24016 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24017 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24018 if test $ac_cv_lib_ipc_shmat = yes; then
24019 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24025 # Check for libraries that X11R6 Xt/Xaw programs need.
24026 ac_save_LDFLAGS
=$LDFLAGS
24027 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24028 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24029 # check for ICE first), but we must link in the order -lSM -lICE or
24030 # we get undefined symbols. So assume we have SM if we have ICE.
24031 # These have to be linked with before -lX11, unlike the other
24032 # libraries we check for below, so use a different variable.
24033 # John Interrante, Karl Berry
24034 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24035 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24036 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24037 echo $ECHO_N "(cached) $ECHO_C" >&6
24039 ac_check_lib_save_LIBS
=$LIBS
24040 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24041 cat >conftest.
$ac_ext <<_ACEOF
24042 #line $LINENO "configure"
24045 cat confdefs.h
>>conftest.
$ac_ext
24046 cat >>conftest.
$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24049 /* Override any gcc2 internal prototype to avoid an error. */
24053 /* We use char because int might match the return type of a gcc2
24054 builtin and then its argument prototype would still apply. */
24055 char IceConnectionNumber ();
24059 IceConnectionNumber ();
24064 rm -f conftest.
$ac_objext conftest
$ac_exeext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24066 (eval $ac_link) 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } &&
24070 { ac_try
='test -s conftest$ac_exeext'
24071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24072 (eval $ac_try) 2>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); }; }; then
24076 ac_cv_lib_ICE_IceConnectionNumber
=yes
24078 echo "$as_me: failed program was:" >&5
24079 sed 's/^/| /' conftest.
$ac_ext >&5
24081 ac_cv_lib_ICE_IceConnectionNumber
=no
24083 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24084 LIBS
=$ac_check_lib_save_LIBS
24086 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24087 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24088 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24089 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24092 LDFLAGS
=$ac_save_LDFLAGS
24097 if test "$no_x" = "yes"; then
24098 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24099 echo "$as_me: error: X11 not found" >&2;}
24100 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24103 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24104 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24105 AFMINSTALL
=afminstall
24106 COMPILED_X_PROGRAM
=0
24108 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24109 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24112 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24114 if test -f "$ac_dir/Xm/Xm.h"; then
24115 ac_find_includes
=$ac_dir
24120 if test "$ac_find_includes" != "" ; then
24121 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24122 echo "${ECHO_T}found in $ac_find_includes" >&6
24124 if test "x$ac_find_includes" = "x/usr/include"; then
24125 ac_path_to_include
=""
24127 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24129 if test $result = 0; then
24130 ac_path_to_include
=""
24132 ac_path_to_include
=" -I$ac_find_includes"
24136 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24138 cat >conftest.
$ac_ext <<_ACEOF
24139 #line $LINENO "configure"
24142 cat confdefs.h
>>conftest.
$ac_ext
24143 cat >>conftest.
$ac_ext <<_ACEOF
24144 /* end confdefs.h. */
24153 version = xmUseVersion;
24159 rm -f conftest.
$ac_objext
24160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24161 (eval $ac_compile) 2>&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } &&
24165 { ac_try
='test -s conftest.$ac_objext'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; }; then
24172 echo "$as_me:$LINENO: result: found in default search path" >&5
24173 echo "${ECHO_T}found in default search path" >&6
24174 COMPILED_X_PROGRAM
=1
24177 echo "$as_me: failed program was:" >&5
24178 sed 's/^/| /' conftest.
$ac_ext >&5
24181 echo "$as_me:$LINENO: result: no" >&5
24182 echo "${ECHO_T}no" >&6
24183 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24184 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24185 { (exit 1); exit 1; }; }
24189 rm -f conftest.
$ac_objext conftest.
$ac_ext
24192 if test "$COMPILED_X_PROGRAM" = 0; then
24193 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24194 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24197 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24199 for ac_extension
in a so sl dylib
; do
24200 if test -f "$ac_dir/libXm.$ac_extension"; then
24201 ac_find_libraries
=$ac_dir
24207 if test "$ac_find_libraries" != "" ; then
24208 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24209 echo "${ECHO_T}found at $ac_find_libraries" >&6
24212 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24214 if test $result = 0; then
24217 ac_path_to_link
=" -L$ac_find_libraries"
24220 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24222 save_CFLAGS
=$CFLAGS
24223 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24225 cat >conftest.
$ac_ext <<_ACEOF
24226 #line $LINENO "configure"
24229 cat confdefs.h
>>conftest.
$ac_ext
24230 cat >>conftest.
$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24240 version = xmUseVersion;
24246 rm -f conftest.
$ac_objext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24248 (eval $ac_compile) 2>&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try
='test -s conftest.$ac_objext'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; }; then
24259 echo "$as_me:$LINENO: result: found in default search path" >&5
24260 echo "${ECHO_T}found in default search path" >&6
24261 COMPILED_X_PROGRAM
=1
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.
$ac_ext >&5
24268 echo "$as_me:$LINENO: result: no" >&5
24269 echo "${ECHO_T}no" >&6
24270 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24271 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24272 { (exit 1); exit 1; }; }
24276 rm -f conftest.
$ac_objext conftest.
$ac_ext
24278 CFLAGS
=$save_CFLAGS
24282 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24283 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24287 for libp
in "" " -lXp"; do
24288 if test "$libs_found" = "0"; then
24289 for libsm_ice
in "" " -lSM -lICE"; do
24290 if test "$libs_found" = "0"; then
24292 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24293 save_CFLAGS
=$CFLAGS
24294 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24296 cat >conftest.
$ac_ext <<_ACEOF
24297 #line $LINENO "configure"
24300 cat confdefs.h
>>conftest.
$ac_ext
24301 cat >>conftest.
$ac_ext <<_ACEOF
24302 /* end confdefs.h. */
24305 #include <Xm/List.h>
24311 XmString string = NULL;
24314 XmListAddItem(w, string, position);
24320 rm -f conftest.
$ac_objext conftest
$ac_exeext
24321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24322 (eval $ac_link) 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } &&
24326 { ac_try
='test -s conftest$ac_exeext'
24327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24328 (eval $ac_try) 2>&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); }; }; then
24334 libsm_ice_link
="$libsm_ice"
24335 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24336 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24340 echo "$as_me: failed program was:" >&5
24341 sed 's/^/| /' conftest.
$ac_ext >&5
24346 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24349 CFLAGS
=$save_CFLAGS
24355 if test "$libs_found" = "0"; then
24356 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24357 echo "${ECHO_T}can't find the right libraries" >&6
24358 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24359 echo "$as_me: error: can't link a simple motif program" >&2;}
24360 { (exit 1); exit 1; }; }
24363 save_CFLAGS
=$CFLAGS
24364 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24365 echo "$as_me:$LINENO: checking for Motif 2" >&5
24366 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24367 cat >conftest.
$ac_ext <<_ACEOF
24368 #line $LINENO "configure"
24371 cat confdefs.h
>>conftest.
$ac_ext
24372 cat >>conftest.
$ac_ext <<_ACEOF
24373 /* end confdefs.h. */
24381 #if XmVersion < 2000
24382 #error "Not Motif 2"
24389 rm -f conftest.
$ac_objext
24390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24391 (eval $ac_compile) 2>&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } &&
24395 { ac_try
='test -s conftest.$ac_objext'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; }; then
24402 cat >>confdefs.h
<<\_ACEOF
24403 #define __WXMOTIF20__ 1
24406 echo "$as_me:$LINENO: result: found" >&5
24407 echo "${ECHO_T}found" >&6
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.
$ac_ext >&5
24414 cat >>confdefs.h
<<\_ACEOF
24415 #define __WXMOTIF20__ 0
24418 echo "$as_me:$LINENO: result: not found" >&5
24419 echo "${ECHO_T}not found" >&6
24422 rm -f conftest.
$ac_objext conftest.
$ac_ext
24423 CFLAGS
=$save_CFLAGS
24425 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24426 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24431 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24432 if test "$wxUSE_LIBXPM" = "sys"; then
24433 echo "$as_me:$LINENO: checking for Xpm library" >&5
24434 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24437 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24439 for ac_extension
in a so sl dylib
; do
24440 if test -f "$ac_dir/libXpm.$ac_extension"; then
24441 ac_find_libraries
=$ac_dir
24447 if test "$ac_find_libraries" != "" ; then
24449 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24451 if test $result = 0; then
24454 ac_path_to_link
=" -L$ac_find_libraries"
24457 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24458 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24459 echo "${ECHO_T}found at $ac_find_libraries" >&6
24461 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24462 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24463 if test "${wx_cv_x11_xpm_h+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 save_CFLAGS
=$CFLAGS
24468 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24470 cat >conftest.
$ac_ext <<_ACEOF
24471 #line $LINENO "configure"
24474 cat confdefs.h
>>conftest.
$ac_ext
24475 cat >>conftest.
$ac_ext <<_ACEOF
24476 /* end confdefs.h. */
24478 #include <X11/xpm.h>
24485 version = XpmLibraryVersion();
24491 rm -f conftest.
$ac_objext
24492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24493 (eval $ac_compile) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } &&
24497 { ac_try
='test -s conftest.$ac_objext'
24498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24499 (eval $ac_try) 2>&5
24501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24502 (exit $ac_status); }; }; then
24503 wx_cv_x11_xpm_h
=yes
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.
$ac_ext >&5
24511 rm -f conftest.
$ac_objext conftest.
$ac_ext
24513 CFLAGS
=$save_CFLAGS
24517 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24518 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24520 if test $wx_cv_x11_xpm_h = "yes"; then
24521 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
24522 cat >>confdefs.h
<<\_ACEOF
24523 #define wxHAVE_LIB_XPM 1
24527 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24528 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24534 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24535 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24536 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24537 echo $ECHO_N "(cached) $ECHO_C" >&6
24539 ac_check_lib_save_LIBS
=$LIBS
24540 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24541 cat >conftest.
$ac_ext <<_ACEOF
24542 #line $LINENO "configure"
24545 cat confdefs.h
>>conftest.
$ac_ext
24546 cat >>conftest.
$ac_ext <<_ACEOF
24547 /* end confdefs.h. */
24549 /* Override any gcc2 internal prototype to avoid an error. */
24553 /* We use char because int might match the return type of a gcc2
24554 builtin and then its argument prototype would still apply. */
24555 char XShapeQueryExtension ();
24559 XShapeQueryExtension ();
24564 rm -f conftest.
$ac_objext conftest
$ac_exeext
24565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24566 (eval $ac_link) 2>&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); } &&
24570 { ac_try
='test -s conftest$ac_exeext'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; }; then
24576 ac_cv_lib_Xext_XShapeQueryExtension
=yes
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.
$ac_ext >&5
24581 ac_cv_lib_Xext_XShapeQueryExtension
=no
24583 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24584 LIBS
=$ac_check_lib_save_LIBS
24586 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24587 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24588 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24590 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
24596 if test "$wxHAVE_XEXT_LIB" = 1; then
24597 save_CFLAGS
="$CFLAGS"
24598 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24600 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24601 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24602 cat >conftest.
$ac_ext <<_ACEOF
24603 #line $LINENO "configure"
24606 cat confdefs.h
>>conftest.
$ac_ext
24607 cat >>conftest.
$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24610 #include <X11/Xlib.h>
24611 #include <X11/extensions/shape.h>
24617 int dummy1, dummy2;
24618 XShapeQueryExtension((Display*)NULL,
24619 (int*)NULL, (int*)NULL);
24625 rm -f conftest.
$ac_objext
24626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24627 (eval $ac_compile) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } &&
24631 { ac_try
='test -s conftest.$ac_objext'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; }; then
24638 cat >>confdefs.h
<<\_ACEOF
24639 #define HAVE_XSHAPE 1
24642 echo "$as_me:$LINENO: result: found" >&5
24643 echo "${ECHO_T}found" >&6
24646 echo "$as_me: failed program was:" >&5
24647 sed 's/^/| /' conftest.
$ac_ext >&5
24650 echo "$as_me:$LINENO: result: not found" >&5
24651 echo "${ECHO_T}not found" >&6
24654 rm -f conftest.
$ac_objext conftest.
$ac_ext
24655 CFLAGS
="$save_CFLAGS"
24660 if test "$wxUSE_MAC" = 1; then
24661 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24662 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24663 if test "$GCC" = yes; then
24664 echo "$as_me:$LINENO: result: gcc" >&5
24665 echo "${ECHO_T}gcc" >&6
24666 CPPFLAGS_PASCAL
="-fpascal-strings"
24667 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24668 echo "$as_me:$LINENO: result: xlc" >&5
24669 echo "${ECHO_T}xlc" >&6
24670 CPPFLAGS_PASCAL
="-qmacpstr"
24672 echo "$as_me:$LINENO: result: none" >&5
24673 echo "${ECHO_T}none" >&6
24676 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24678 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24681 WXBASEPORT
="_carbon"
24684 if test "$wxUSE_COCOA" = 1; then
24685 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24690 if test "$wxUSE_PM" = 1; then
24695 if test "$TOOLKIT" = "PM" ; then
24698 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24701 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24703 if test "$wxUSE_UNIVERSAL" = "yes"; then
24704 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24706 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24707 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24709 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24710 if test "$wxUSE_X11" = 1; then
24711 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24713 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24715 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24718 ALL_OBJECTS
="\$(GUIOBJS)"
24719 ALL_SOURCES
="\$(ALL_SOURCES)"
24720 ALL_HEADERS
="\$(ALL_HEADERS)"
24723 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24725 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24726 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24729 if test "$wxUSE_HTML" = "yes"; then
24730 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24733 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24734 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24736 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24737 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24739 if test "$wxUSE_LIBPNG" = "builtin" ; then
24740 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24743 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24744 DISTDIR
="wx\$(TOOLKIT)"
24750 if test "$USE_WIN32" = 1 ; then
24751 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24752 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24756 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24757 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24760 ALL_SOURCES
="\$(ALL_SOURCES)"
24761 ALL_HEADERS
="\$(ALL_HEADERS)"
24763 PORT_FILES
="\${top_srcdir}/src/files.lst"
24765 GUIDIST
="BASE_DIST"
24775 if test "$TOOLKIT" != "MSW" ; then
24777 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24779 if test "${ac_cv_header_sql_h+set}" = set; then
24780 echo "$as_me:$LINENO: checking for sql.h" >&5
24781 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24782 if test "${ac_cv_header_sql_h+set}" = set; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24785 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24786 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24788 # Is the header compilable?
24789 echo "$as_me:$LINENO: checking sql.h usability" >&5
24790 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24791 cat >conftest.
$ac_ext <<_ACEOF
24792 #line $LINENO "configure"
24795 cat confdefs.h
>>conftest.
$ac_ext
24796 cat >>conftest.
$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798 $ac_includes_default
24801 rm -f conftest.
$ac_objext
24802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24803 (eval $ac_compile) 2>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } &&
24807 { ac_try
='test -s conftest.$ac_objext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 ac_header_compiler
=yes
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.
$ac_ext >&5
24818 ac_header_compiler
=no
24820 rm -f conftest.
$ac_objext conftest.
$ac_ext
24821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24822 echo "${ECHO_T}$ac_header_compiler" >&6
24824 # Is the header present?
24825 echo "$as_me:$LINENO: checking sql.h presence" >&5
24826 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24827 cat >conftest.
$ac_ext <<_ACEOF
24828 #line $LINENO "configure"
24831 cat confdefs.h
>>conftest.
$ac_ext
24832 cat >>conftest.
$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24839 grep -v '^ *+' conftest.er1
>conftest.err
24841 cat conftest.err
>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } >/dev
/null
; then
24844 if test -s conftest.err
; then
24845 ac_cpp_err
=$ac_c_preproc_warn_flag
24852 if test -z "$ac_cpp_err"; then
24853 ac_header_preproc
=yes
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.
$ac_ext >&5
24858 ac_header_preproc
=no
24860 rm -f conftest.err conftest.
$ac_ext
24861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24862 echo "${ECHO_T}$ac_header_preproc" >&6
24864 # So? What about this header?
24865 case $ac_header_compiler:$ac_header_preproc in
24867 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24868 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24869 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24870 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24873 ## ------------------------------------ ##
24874 ## Report this to bug-autoconf@gnu.org. ##
24875 ## ------------------------------------ ##
24878 sed "s/^/$as_me: WARNING: /" >&2
24881 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24882 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24883 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24884 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24885 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24886 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24889 ## ------------------------------------ ##
24890 ## Report this to bug-autoconf@gnu.org. ##
24891 ## ------------------------------------ ##
24894 sed "s/^/$as_me: WARNING: /" >&2
24897 echo "$as_me:$LINENO: checking for sql.h" >&5
24898 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24899 if test "${ac_cv_header_sql_h+set}" = set; then
24900 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 ac_cv_header_sql_h
=$ac_header_preproc
24904 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24905 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24908 if test $ac_cv_header_sql_h = yes; then
24913 if test "x$found_sql_h" = "x1" ; then
24914 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24915 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24916 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24919 ac_check_lib_save_LIBS
=$LIBS
24920 LIBS
="-liodbc $LIBS"
24921 cat >conftest.
$ac_ext <<_ACEOF
24922 #line $LINENO "configure"
24925 cat confdefs.h
>>conftest.
$ac_ext
24926 cat >>conftest.
$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24929 /* Override any gcc2 internal prototype to avoid an error. */
24933 /* We use char because int might match the return type of a gcc2
24934 builtin and then its argument prototype would still apply. */
24935 char SQLAllocEnv ();
24944 rm -f conftest.
$ac_objext conftest
$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } &&
24950 { ac_try
='test -s conftest$ac_exeext'
24951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24952 (eval $ac_try) 2>&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); }; }; then
24956 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.
$ac_ext >&5
24961 ac_cv_lib_iodbc_SQLAllocEnv
=no
24963 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24964 LIBS
=$ac_check_lib_save_LIBS
24966 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24967 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24968 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24969 ODBC_LINK
=" -liodbc"
24972 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24973 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24974 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24975 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 ac_check_lib_save_LIBS
=$LIBS
24978 LIBS
="-lunixodbc $LIBS"
24979 cat >conftest.
$ac_ext <<_ACEOF
24980 #line $LINENO "configure"
24983 cat confdefs.h
>>conftest.
$ac_ext
24984 cat >>conftest.
$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24987 /* Override any gcc2 internal prototype to avoid an error. */
24991 /* We use char because int might match the return type of a gcc2
24992 builtin and then its argument prototype would still apply. */
24993 char SQLAllocEnv ();
25002 rm -f conftest.
$ac_objext conftest
$ac_exeext
25003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25004 (eval $ac_link) 2>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } &&
25008 { ac_try
='test -s conftest$ac_exeext'
25009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010 (eval $ac_try) 2>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); }; }; then
25014 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.
$ac_ext >&5
25019 ac_cv_lib_unixodbc_SQLAllocEnv
=no
25021 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25022 LIBS
=$ac_check_lib_save_LIBS
25024 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25025 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25026 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25027 ODBC_LINK
=" -lunixodbc"
25030 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25031 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25032 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 ac_check_lib_save_LIBS
=$LIBS
25036 LIBS
="-lodbc $LIBS"
25037 cat >conftest.
$ac_ext <<_ACEOF
25038 #line $LINENO "configure"
25041 cat confdefs.h
>>conftest.
$ac_ext
25042 cat >>conftest.
$ac_ext <<_ACEOF
25043 /* end confdefs.h. */
25045 /* Override any gcc2 internal prototype to avoid an error. */
25049 /* We use char because int might match the return type of a gcc2
25050 builtin and then its argument prototype would still apply. */
25051 char SQLAllocEnv ();
25060 rm -f conftest.
$ac_objext conftest
$ac_exeext
25061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25062 (eval $ac_link) 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } &&
25066 { ac_try
='test -s conftest$ac_exeext'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; }; then
25072 ac_cv_lib_odbc_SQLAllocEnv
=yes
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.
$ac_ext >&5
25077 ac_cv_lib_odbc_SQLAllocEnv
=no
25079 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25080 LIBS
=$ac_check_lib_save_LIBS
25082 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25083 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25084 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25085 ODBC_LINK
=" -lodbc"
25095 if test "x$ODBC_LINK" = "x" ; then
25096 if test "$wxUSE_ODBC" = "sys" ; then
25097 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25098 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25099 { (exit 1); exit 1; }; }
25101 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25102 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25109 if test "$wxUSE_ODBC" != "no" ; then
25110 cat >>confdefs.h
<<\_ACEOF
25111 #define wxUSE_ODBC 1
25114 if test "$wxUSE_ODBC" = "builtin" ; then
25115 cat >>confdefs.h
<<\_ACEOF
25116 #define wxUSE_BUILTIN_IODBC 1
25120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25122 WXODBCFLAG
="-D_IODBC_"
25126 if test "$wxUSE_REGEX" = "builtin" ; then
25127 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25129 if test "$wxUSE_ZLIB" = "builtin" ; then
25130 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25133 if test "$wxUSE_DISPLAY" = "yes"; then
25134 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25135 echo "$as_me:$LINENO: checking for Xinerama" >&5
25136 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25139 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25141 for ac_extension
in a so sl dylib
; do
25142 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25143 ac_find_libraries
=$ac_dir
25149 if test "$ac_find_libraries" != "" ; then
25151 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25153 if test $result = 0; then
25156 ac_path_to_link
=" -L$ac_find_libraries"
25159 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25160 LDFLAGS
="$LDFLAGS $ac_path_to_link"
25162 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
25163 echo "$as_me:$LINENO: result: yes" >&5
25164 echo "${ECHO_T}yes" >&6
25166 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25167 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25170 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25172 for ac_extension
in a so sl dylib
; do
25173 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25174 ac_find_libraries
=$ac_dir
25180 if test "$ac_find_libraries" != "" ; then
25181 echo "$as_me:$LINENO: result: yes" >&5
25182 echo "${ECHO_T}yes" >&6
25184 for ac_header
in X
11/extensions
/xf86vmode.h
25186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25187 echo "$as_me:$LINENO: checking for $ac_header" >&5
25188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 cat >conftest.
$ac_ext <<_ACEOF
25193 #line $LINENO "configure"
25196 cat confdefs.h
>>conftest.
$ac_ext
25197 cat >>conftest.
$ac_ext <<_ACEOF
25198 /* end confdefs.h. */
25200 #if HAVE_X11_XLIB_H
25201 #include <X11/Xlib.h>
25205 #include <$ac_header>
25207 rm -f conftest.
$ac_objext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25209 (eval $ac_compile) 2>&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } &&
25213 { ac_try
='test -s conftest.$ac_objext'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; }; then
25219 eval "$as_ac_Header=yes"
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.
$ac_ext >&5
25224 eval "$as_ac_Header=no"
25226 rm -f conftest.
$ac_objext conftest.
$ac_ext
25228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25231 cat >>confdefs.h
<<_ACEOF
25232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25235 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
25242 echo "$as_me:$LINENO: result: no" >&5
25243 echo "${ECHO_T}no" >&6
25247 echo "$as_me:$LINENO: result: no" >&5
25248 echo "${ECHO_T}no" >&6
25249 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25250 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25258 if test "$wxUSE_OPENGL" = "yes"; then
25259 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25260 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25261 elif test "$wxUSE_MSW" = 1; then
25262 OPENGL_LIBS
="-lopengl32 -lglu32"
25267 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25269 if test -f "$ac_dir/GL/gl.h"; then
25270 ac_find_includes
=$ac_dir
25275 if test "$ac_find_includes" != "" ; then
25276 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25277 echo "${ECHO_T}found in $ac_find_includes" >&6
25279 if test "x$ac_find_includes" = "x/usr/include"; then
25280 ac_path_to_include
=""
25282 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25284 if test $result = 0; then
25285 ac_path_to_include
=""
25287 ac_path_to_include
=" -I$ac_find_includes"
25291 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25294 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25295 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25296 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25297 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25301 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25303 # Is the header compilable?
25304 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25305 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25306 cat >conftest.
$ac_ext <<_ACEOF
25307 #line $LINENO "configure"
25310 cat confdefs.h
>>conftest.
$ac_ext
25311 cat >>conftest.
$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25313 $ac_includes_default
25316 rm -f conftest.
$ac_objext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25318 (eval $ac_compile) 2>&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); } &&
25322 { ac_try
='test -s conftest.$ac_objext'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; }; then
25328 ac_header_compiler
=yes
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.
$ac_ext >&5
25333 ac_header_compiler
=no
25335 rm -f conftest.
$ac_objext conftest.
$ac_ext
25336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25337 echo "${ECHO_T}$ac_header_compiler" >&6
25339 # Is the header present?
25340 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25341 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25342 cat >conftest.
$ac_ext <<_ACEOF
25343 #line $LINENO "configure"
25346 cat confdefs.h
>>conftest.
$ac_ext
25347 cat >>conftest.
$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25354 grep -v '^ *+' conftest.er1
>conftest.err
25356 cat conftest.err
>&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } >/dev
/null
; then
25359 if test -s conftest.err
; then
25360 ac_cpp_err
=$ac_c_preproc_warn_flag
25367 if test -z "$ac_cpp_err"; then
25368 ac_header_preproc
=yes
25370 echo "$as_me: failed program was:" >&5
25371 sed 's/^/| /' conftest.
$ac_ext >&5
25373 ac_header_preproc
=no
25375 rm -f conftest.err conftest.
$ac_ext
25376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25377 echo "${ECHO_T}$ac_header_preproc" >&6
25379 # So? What about this header?
25380 case $ac_header_compiler:$ac_header_preproc in
25382 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25383 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25384 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25385 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25388 ## ------------------------------------ ##
25389 ## Report this to bug-autoconf@gnu.org. ##
25390 ## ------------------------------------ ##
25393 sed "s/^/$as_me: WARNING: /" >&2
25396 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25397 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25398 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25399 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25400 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25401 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25404 ## ------------------------------------ ##
25405 ## Report this to bug-autoconf@gnu.org. ##
25406 ## ------------------------------------ ##
25409 sed "s/^/$as_me: WARNING: /" >&2
25412 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25413 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25414 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25415 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 ac_cv_header_GL_gl_h
=$ac_header_preproc
25419 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25420 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25423 if test $ac_cv_header_GL_gl_h = yes; then
25427 echo "$as_me:$LINENO: checking for -lGL" >&5
25428 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25431 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25433 for ac_extension
in a so sl dylib
; do
25434 if test -f "$ac_dir/libGL.$ac_extension"; then
25435 ac_find_libraries
=$ac_dir
25441 if test "$ac_find_libraries" != "" ; then
25443 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25445 if test $result = 0; then
25448 ac_path_to_link
=" -L$ac_find_libraries"
25451 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25452 LDFLAGS_GL
="$ac_path_to_link"
25457 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25459 for ac_extension
in a so sl dylib
; do
25460 if test -f "$ac_dir/libGLU.$ac_extension"; then
25461 ac_find_libraries
=$ac_dir
25467 if test "$ac_find_libraries" != "" ; then
25469 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25471 if test $result = 0; then
25474 ac_path_to_link
=" -L$ac_find_libraries"
25477 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25478 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25479 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25483 OPENGL_LIBS
="-lGL -lGLU"
25484 echo "$as_me:$LINENO: result: yes" >&5
25485 echo "${ECHO_T}yes" >&6
25489 if test "$found_gl" != 1; then
25490 echo "$as_me:$LINENO: result: no" >&5
25491 echo "${ECHO_T}no" >&6
25492 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25493 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25496 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25498 for ac_extension
in a so sl dylib
; do
25499 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25500 ac_find_libraries
=$ac_dir
25506 if test "$ac_find_libraries" != "" ; then
25508 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25510 if test $result = 0; then
25513 ac_path_to_link
=" -L$ac_find_libraries"
25516 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25517 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25518 echo "$as_me:$LINENO: result: yes" >&5
25519 echo "${ECHO_T}yes" >&6
25521 echo "$as_me:$LINENO: result: no" >&5
25522 echo "${ECHO_T}no" >&6
25530 if test "x$OPENGL_LIBS" = "x"; then
25531 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25532 echo "$as_me: error: OpenGL libraries not available" >&2;}
25533 { (exit 1); exit 1; }; }
25537 if test "$wxUSE_OPENGL" = "yes"; then
25539 cat >>confdefs.h
<<\_ACEOF
25540 #define wxUSE_OPENGL 1
25543 cat >>confdefs.h
<<\_ACEOF
25544 #define wxUSE_GLCANVAS 1
25547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25551 if test -z "$TOOLKIT_VPATH" ; then
25552 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25555 if test -n "$TOOLKIT" ; then
25556 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25560 lib_unicode_suffix
=
25561 if test "$wxUSE_UNICODE" = "yes"; then
25562 lib_unicode_suffix
=u
25568 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25574 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25578 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25580 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25581 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25583 if test "$cross_compiling" = "yes"; then
25584 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25585 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25586 HOST_SUFFIX
="-${host_alias}"
25589 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25590 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25591 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25592 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25594 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25595 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25597 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25598 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25599 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25600 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25603 *-*-cygwin* | *-*-mingw32* )
25604 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25605 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25610 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25611 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25613 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25614 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25615 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25616 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25618 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25619 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25620 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25625 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25626 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25628 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25629 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25631 if test "$wxUSE_OPENGL" = "yes"; then
25632 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25633 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25638 if test "$wxUSE_SHARED" = "yes"; then
25640 *-pc-os2_emx | *-pc-os2-emx | \
25643 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25644 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25650 if test "$wxUSE_SHARED" = "yes"; then
25654 found_versioning
=no
25657 if test $found_versioning = no
; then
25658 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25659 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25660 if test "${wx_cv_version_script+set}" = set; then
25661 echo $ECHO_N "(cached) $ECHO_C" >&6
25664 echo "VER_1 { *; };" >conftest.sym
25665 echo "int main() { return 0; }" >conftest.cpp
25668 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25669 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671 (eval $ac_try) 2>&5
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); }; } ; then
25675 if test -s conftest.stderr
; then
25676 wx_cv_version_script
=no
25678 wx_cv_version_script
=yes
25681 wx_cv_version_script
=no
25683 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25686 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25687 echo "${ECHO_T}$wx_cv_version_script" >&6
25688 if test $wx_cv_version_script = yes ; then
25689 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25695 *-*-linux* | *-*-gnu* )
25696 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25700 if test "$GCC" = yes ; then
25701 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25703 saveLdflags
="$LDFLAGS"
25704 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25705 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25706 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25707 cat >conftest.
$ac_ext <<_ACEOF
25708 #line $LINENO "configure"
25711 cat confdefs.h
>>conftest.
$ac_ext
25712 cat >>conftest.
$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25723 rm -f conftest.
$ac_objext conftest
$ac_exeext
25724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25725 (eval $ac_link) 2>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try
='test -s conftest$ac_exeext'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; }; then
25736 echo "$as_me:$LINENO: result: yes" >&5
25737 echo "${ECHO_T}yes" >&6
25738 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25741 echo "$as_me: failed program was:" >&5
25742 sed 's/^/| /' conftest.
$ac_ext >&5
25745 echo "$as_me:$LINENO: result: no" >&5
25746 echo "${ECHO_T}no" >&6
25747 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25748 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25749 LDFLAGS
="$saveLdflags -Wl,-R,/"
25750 cat >conftest.
$ac_ext <<_ACEOF
25751 #line $LINENO "configure"
25754 cat confdefs.h
>>conftest.
$ac_ext
25755 cat >>conftest.
$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25766 rm -f conftest.
$ac_objext conftest
$ac_exeext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25768 (eval $ac_link) 2>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try
='test -s conftest$ac_exeext'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; }; then
25779 echo "$as_me:$LINENO: result: yes" >&5
25780 echo "${ECHO_T}yes" >&6
25781 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.
$ac_ext >&5
25787 echo "$as_me:$LINENO: result: no" >&5
25788 echo "${ECHO_T}no" >&6
25791 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25794 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25795 LDFLAGS
="$saveLdflags"
25797 SHARED_LD
="${CXX} -G -o"
25799 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25803 powerpc
-*-darwin* )
25804 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25805 cat <<EOF >change-install-names
25807 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25808 inst_cmd="install_name_tool "
25809 for i in \${libnames} ; do
25810 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25814 chmod +x change
-install-names
25819 if test "x$WX_TARGET_LIBRARY" = "x"; then
25820 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25821 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25824 WX_TARGET_LIBRARY_TYPE
="so"
25825 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25828 if test "$wxUSE_SHARED" = "no"; then
25830 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25831 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25834 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25835 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25838 if test "$wxUSE_OPENGL" = "yes"; then
25839 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25840 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25842 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25845 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25846 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25848 WX_TARGET_LIBRARY_TYPE
="a"
25849 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25856 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
25857 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25858 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25859 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25861 # Extract the first word of "Rez", so it can be a program name with args.
25862 set dummy Rez
; ac_word
=$2
25863 echo "$as_me:$LINENO: checking for $ac_word" >&5
25864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25865 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25866 echo $ECHO_N "(cached) $ECHO_C" >&6
25868 if test -n "$RESCOMP"; then
25869 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25872 for as_dir
in $PATH
25875 test -z "$as_dir" && as_dir
=.
25876 for ac_exec_ext
in '' $ac_executable_extensions; do
25877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25878 ac_cv_prog_RESCOMP
="Rez"
25879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25885 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25888 RESCOMP
=$ac_cv_prog_RESCOMP
25889 if test -n "$RESCOMP"; then
25890 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25891 echo "${ECHO_T}$RESCOMP" >&6
25893 echo "$as_me:$LINENO: result: no" >&5
25894 echo "${ECHO_T}no" >&6
25897 # Extract the first word of "DeRez", so it can be a program name with args.
25898 set dummy DeRez
; ac_word
=$2
25899 echo "$as_me:$LINENO: checking for $ac_word" >&5
25900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25901 if test "${ac_cv_prog_DEREZ+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 if test -n "$DEREZ"; then
25905 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25908 for as_dir
in $PATH
25911 test -z "$as_dir" && as_dir
=.
25912 for ac_exec_ext
in '' $ac_executable_extensions; do
25913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25914 ac_cv_prog_DEREZ
="DeRez"
25915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25921 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25924 DEREZ
=$ac_cv_prog_DEREZ
25925 if test -n "$DEREZ"; then
25926 echo "$as_me:$LINENO: result: $DEREZ" >&5
25927 echo "${ECHO_T}$DEREZ" >&6
25929 echo "$as_me:$LINENO: result: no" >&5
25930 echo "${ECHO_T}no" >&6
25933 # Extract the first word of "SetFile", so it can be a program name with args.
25934 set dummy SetFile
; ac_word
=$2
25935 echo "$as_me:$LINENO: checking for $ac_word" >&5
25936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25937 if test "${ac_cv_prog_SETFILE+set}" = set; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25940 if test -n "$SETFILE"; then
25941 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25944 for as_dir
in $PATH
25947 test -z "$as_dir" && as_dir
=.
25948 for ac_exec_ext
in '' $ac_executable_extensions; do
25949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25950 ac_cv_prog_SETFILE
="SetFile"
25951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25957 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25960 SETFILE
=$ac_cv_prog_SETFILE
25961 if test -n "$SETFILE"; then
25962 echo "$as_me:$LINENO: result: $SETFILE" >&5
25963 echo "${ECHO_T}$SETFILE" >&6
25965 echo "$as_me:$LINENO: result: no" >&5
25966 echo "${ECHO_T}no" >&6
25970 MACSETFILE
="\$(SETFILE)"
25972 if test "$wxUSE_MAC" = 1; then
25973 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25975 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25977 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25978 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25984 if test "$wxUSE_PM" = 1; then
25985 MACRESCOMP
="emxbind -ep"
25993 echo "$as_me:$LINENO: checking for mode_t" >&5
25994 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25995 if test "${ac_cv_type_mode_t+set}" = set; then
25996 echo $ECHO_N "(cached) $ECHO_C" >&6
25998 cat >conftest.
$ac_ext <<_ACEOF
25999 #line $LINENO "configure"
26002 cat confdefs.h
>>conftest.
$ac_ext
26003 cat >>conftest.
$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005 $ac_includes_default
26011 if (sizeof (mode_t))
26017 rm -f conftest.
$ac_objext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26019 (eval $ac_compile) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } &&
26023 { ac_try
='test -s conftest.$ac_objext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 ac_cv_type_mode_t
=yes
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.
$ac_ext >&5
26034 ac_cv_type_mode_t
=no
26036 rm -f conftest.
$ac_objext conftest.
$ac_ext
26038 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26039 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26040 if test $ac_cv_type_mode_t = yes; then
26044 cat >>confdefs.h
<<_ACEOF
26050 echo "$as_me:$LINENO: checking for off_t" >&5
26051 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26052 if test "${ac_cv_type_off_t+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26055 cat >conftest.
$ac_ext <<_ACEOF
26056 #line $LINENO "configure"
26059 cat confdefs.h
>>conftest.
$ac_ext
26060 cat >>conftest.
$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062 $ac_includes_default
26068 if (sizeof (off_t))
26074 rm -f conftest.
$ac_objext
26075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26076 (eval $ac_compile) 2>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
26086 ac_cv_type_off_t
=yes
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.
$ac_ext >&5
26091 ac_cv_type_off_t
=no
26093 rm -f conftest.
$ac_objext conftest.
$ac_ext
26095 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26096 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26097 if test $ac_cv_type_off_t = yes; then
26101 cat >>confdefs.h
<<_ACEOF
26107 echo "$as_me:$LINENO: checking for pid_t" >&5
26108 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26109 if test "${ac_cv_type_pid_t+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 cat >conftest.
$ac_ext <<_ACEOF
26113 #line $LINENO "configure"
26116 cat confdefs.h
>>conftest.
$ac_ext
26117 cat >>conftest.
$ac_ext <<_ACEOF
26118 /* end confdefs.h. */
26119 $ac_includes_default
26125 if (sizeof (pid_t))
26131 rm -f conftest.
$ac_objext
26132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26133 (eval $ac_compile) 2>&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } &&
26137 { ac_try
='test -s conftest.$ac_objext'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; }; then
26143 ac_cv_type_pid_t
=yes
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.
$ac_ext >&5
26148 ac_cv_type_pid_t
=no
26150 rm -f conftest.
$ac_objext conftest.
$ac_ext
26152 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26153 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26154 if test $ac_cv_type_pid_t = yes; then
26158 cat >>confdefs.h
<<_ACEOF
26164 echo "$as_me:$LINENO: checking for size_t" >&5
26165 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26166 if test "${ac_cv_type_size_t+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 cat >conftest.
$ac_ext <<_ACEOF
26170 #line $LINENO "configure"
26173 cat confdefs.h
>>conftest.
$ac_ext
26174 cat >>conftest.
$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26176 $ac_includes_default
26182 if (sizeof (size_t))
26188 rm -f conftest.
$ac_objext
26189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26190 (eval $ac_compile) 2>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } &&
26194 { ac_try
='test -s conftest.$ac_objext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 ac_cv_type_size_t
=yes
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.
$ac_ext >&5
26205 ac_cv_type_size_t
=no
26207 rm -f conftest.
$ac_objext conftest.
$ac_ext
26209 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26210 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26211 if test $ac_cv_type_size_t = yes; then
26215 cat >>confdefs.h
<<_ACEOF
26216 #define size_t unsigned
26221 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26222 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26223 if test "${ac_cv_type_uid_t+set}" = set; then
26224 echo $ECHO_N "(cached) $ECHO_C" >&6
26226 cat >conftest.
$ac_ext <<_ACEOF
26227 #line $LINENO "configure"
26230 cat confdefs.h
>>conftest.
$ac_ext
26231 cat >>conftest.
$ac_ext <<_ACEOF
26232 /* end confdefs.h. */
26233 #include <sys/types.h>
26236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26237 $EGREP "uid_t" >/dev
/null
2>&1; then
26238 ac_cv_type_uid_t
=yes
26240 ac_cv_type_uid_t
=no
26245 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26246 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26247 if test $ac_cv_type_uid_t = no
; then
26249 cat >>confdefs.h
<<\_ACEOF
26254 cat >>confdefs.h
<<\_ACEOF
26264 ac_cpp
='$CXXCPP $CPPFLAGS'
26265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26269 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26270 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26271 if test "${wx_cv_size_t_is_uint+set}" = set; then
26272 echo $ECHO_N "(cached) $ECHO_C" >&6
26275 cat >conftest.
$ac_ext <<_ACEOF
26276 #line $LINENO "configure"
26279 cat confdefs.h
>>conftest.
$ac_ext
26280 cat >>conftest.
$ac_ext <<_ACEOF
26281 /* end confdefs.h. */
26282 #include <stddef.h>
26289 struct Foo { void foo(size_t); void foo(unsigned int); };
26297 rm -f conftest.
$ac_objext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26299 (eval $ac_compile) 2>&5
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } &&
26303 { ac_try
='test -s conftest.$ac_objext'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; }; then
26309 wx_cv_size_t_is_uint
=no
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26314 wx_cv_size_t_is_uint
=yes
26317 rm -f conftest.
$ac_objext conftest.
$ac_ext
26321 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26322 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26324 if test "$wx_cv_size_t_is_uint" = "yes"; then
26325 cat >>confdefs.h
<<\_ACEOF
26326 #define wxSIZE_T_IS_UINT 1
26330 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26331 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26332 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26335 cat >conftest.
$ac_ext <<_ACEOF
26336 #line $LINENO "configure"
26339 cat confdefs.h
>>conftest.
$ac_ext
26340 cat >>conftest.
$ac_ext <<_ACEOF
26341 /* end confdefs.h. */
26342 #include <stddef.h>
26349 struct Foo { void foo(size_t); void foo(unsigned long); };
26357 rm -f conftest.
$ac_objext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26359 (eval $ac_compile) 2>&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); } &&
26363 { ac_try
='test -s conftest.$ac_objext'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; }; then
26369 wx_cv_size_t_is_ulong
=no
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.
$ac_ext >&5
26374 wx_cv_size_t_is_ulong
=yes
26377 rm -f conftest.
$ac_objext conftest.
$ac_ext
26380 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26381 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26383 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26384 cat >>confdefs.h
<<\_ACEOF
26385 #define wxSIZE_T_IS_ULONG 1
26392 ac_cpp
='$CPP $CPPFLAGS'
26393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26399 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26400 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26401 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 cat >conftest.
$ac_ext <<_ACEOF
26406 #line $LINENO "configure"
26409 cat confdefs.h
>>conftest.
$ac_ext
26410 cat >>conftest.
$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26425 rm -f conftest.
$ac_objext
26426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26427 (eval $ac_compile) 2>&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); } &&
26431 { ac_try
='test -s conftest.$ac_objext'
26432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26433 (eval $ac_try) 2>&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); }; }; then
26438 wx_cv_struct_pw_gecos
=yes
26441 echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.
$ac_ext >&5
26445 wx_cv_struct_pw_gecos
=no
26449 rm -f conftest.
$ac_objext conftest.
$ac_ext
26453 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26454 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26456 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26457 cat >>confdefs.h
<<\_ACEOF
26458 #define HAVE_PW_GECOS 1
26464 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26465 cat >>confdefs.h
<<\_ACEOF
26466 #define wxUSE_WCHAR_T 1
26473 for ac_func
in wcslen
26475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26476 echo "$as_me:$LINENO: checking for $ac_func" >&5
26477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26478 if eval "test \"\${$as_ac_var+set}\" = set"; then
26479 echo $ECHO_N "(cached) $ECHO_C" >&6
26481 cat >conftest.
$ac_ext <<_ACEOF
26482 #line $LINENO "configure"
26485 cat confdefs.h
>>conftest.
$ac_ext
26486 cat >>conftest.
$ac_ext <<_ACEOF
26487 /* end confdefs.h. */
26488 /* System header to define __stub macros and hopefully few prototypes,
26489 which can conflict with char $ac_func (); below.
26490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26491 <limits.h> exists even on freestanding compilers. */
26493 # include <limits.h>
26495 # include <assert.h>
26497 /* Override any gcc2 internal prototype to avoid an error. */
26502 /* We use char because int might match the return type of a gcc2
26503 builtin and then its argument prototype would still apply. */
26505 /* The GNU C library defines this for functions which it implements
26506 to always fail with ENOSYS. Some functions are actually named
26507 something starting with __ and the normal name is an alias. */
26508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26511 char (*f) () = $ac_func;
26520 return f != $ac_func;
26525 rm -f conftest.
$ac_objext conftest
$ac_exeext
26526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26527 (eval $ac_link) 2>&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } &&
26531 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26537 eval "$as_ac_var=yes"
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.
$ac_ext >&5
26542 eval "$as_ac_var=no"
26544 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26548 if test `eval echo '${'$as_ac_var'}'` = yes; then
26549 cat >>confdefs.h
<<_ACEOF
26550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26557 if test "$WCSLEN_FOUND" = 0; then
26558 if test "$TOOLKIT" = "MSW"; then
26559 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26560 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26561 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26564 ac_check_lib_save_LIBS
=$LIBS
26565 LIBS
="-lmsvcrt $LIBS"
26566 cat >conftest.
$ac_ext <<_ACEOF
26567 #line $LINENO "configure"
26570 cat confdefs.h
>>conftest.
$ac_ext
26571 cat >>conftest.
$ac_ext <<_ACEOF
26572 /* end confdefs.h. */
26574 /* Override any gcc2 internal prototype to avoid an error. */
26578 /* We use char because int might match the return type of a gcc2
26579 builtin and then its argument prototype would still apply. */
26589 rm -f conftest.
$ac_objext conftest
$ac_exeext
26590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26591 (eval $ac_link) 2>&5
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); } &&
26595 { ac_try
='test -s conftest$ac_exeext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 ac_cv_lib_msvcrt_wcslen
=yes
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.
$ac_ext >&5
26606 ac_cv_lib_msvcrt_wcslen
=no
26608 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26609 LIBS
=$ac_check_lib_save_LIBS
26611 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26612 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26613 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26618 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26619 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26620 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26621 echo $ECHO_N "(cached) $ECHO_C" >&6
26623 ac_check_lib_save_LIBS
=$LIBS
26625 cat >conftest.
$ac_ext <<_ACEOF
26626 #line $LINENO "configure"
26629 cat confdefs.h
>>conftest.
$ac_ext
26630 cat >>conftest.
$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26633 /* Override any gcc2 internal prototype to avoid an error. */
26637 /* We use char because int might match the return type of a gcc2
26638 builtin and then its argument prototype would still apply. */
26648 rm -f conftest.
$ac_objext conftest
$ac_exeext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 (eval $ac_link) 2>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try
='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 ac_cv_lib_w_wcslen
=yes
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.
$ac_ext >&5
26665 ac_cv_lib_w_wcslen
=no
26667 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26668 LIBS
=$ac_check_lib_save_LIBS
26670 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26671 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26672 if test $ac_cv_lib_w_wcslen = yes; then
26682 if test "$WCSLEN_FOUND" = 1; then
26683 cat >>confdefs.h
<<\_ACEOF
26684 #define HAVE_WCSLEN 1
26690 for ac_func
in wcsrtombs
26692 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26693 echo "$as_me:$LINENO: checking for $ac_func" >&5
26694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26695 if eval "test \"\${$as_ac_var+set}\" = set"; then
26696 echo $ECHO_N "(cached) $ECHO_C" >&6
26698 cat >conftest.
$ac_ext <<_ACEOF
26699 #line $LINENO "configure"
26702 cat confdefs.h
>>conftest.
$ac_ext
26703 cat >>conftest.
$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26705 /* System header to define __stub macros and hopefully few prototypes,
26706 which can conflict with char $ac_func (); below.
26707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26708 <limits.h> exists even on freestanding compilers. */
26710 # include <limits.h>
26712 # include <assert.h>
26714 /* Override any gcc2 internal prototype to avoid an error. */
26719 /* We use char because int might match the return type of a gcc2
26720 builtin and then its argument prototype would still apply. */
26722 /* The GNU C library defines this for functions which it implements
26723 to always fail with ENOSYS. Some functions are actually named
26724 something starting with __ and the normal name is an alias. */
26725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26728 char (*f) () = $ac_func;
26737 return f != $ac_func;
26742 rm -f conftest.
$ac_objext conftest
$ac_exeext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26744 (eval $ac_link) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try
='test -s conftest$ac_exeext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 eval "$as_ac_var=yes"
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.
$ac_ext >&5
26759 eval "$as_ac_var=no"
26761 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26765 if test `eval echo '${'$as_ac_var'}'` = yes; then
26766 cat >>confdefs.h
<<_ACEOF
26767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26774 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26775 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26781 ac_cpp
='$CXXCPP $CPPFLAGS'
26782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26788 for ac_func
in vsnprintf
26790 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26791 echo "$as_me:$LINENO: checking for $ac_func" >&5
26792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26793 if eval "test \"\${$as_ac_var+set}\" = set"; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26796 cat >conftest.
$ac_ext <<_ACEOF
26797 #line $LINENO "configure"
26800 cat confdefs.h
>>conftest.
$ac_ext
26801 cat >>conftest.
$ac_ext <<_ACEOF
26802 /* end confdefs.h. */
26803 /* System header to define __stub macros and hopefully few prototypes,
26804 which can conflict with char $ac_func (); below.
26805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26806 <limits.h> exists even on freestanding compilers. */
26808 # include <limits.h>
26810 # include <assert.h>
26812 /* Override any gcc2 internal prototype to avoid an error. */
26817 /* We use char because int might match the return type of a gcc2
26818 builtin and then its argument prototype would still apply. */
26820 /* The GNU C library defines this for functions which it implements
26821 to always fail with ENOSYS. Some functions are actually named
26822 something starting with __ and the normal name is an alias. */
26823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26826 char (*f) () = $ac_func;
26835 return f != $ac_func;
26840 rm -f conftest.
$ac_objext conftest
$ac_exeext
26841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26842 (eval $ac_link) 2>&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try
='test -s conftest$ac_exeext'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; }; then
26852 eval "$as_ac_var=yes"
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.
$ac_ext >&5
26857 eval "$as_ac_var=no"
26859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26863 if test `eval echo '${'$as_ac_var'}'` = yes; then
26864 cat >>confdefs.h
<<_ACEOF
26865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26872 if test "$ac_cv_func_vsnprintf" = "yes"; then
26873 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26874 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26875 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26876 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 cat >conftest.
$ac_ext <<_ACEOF
26880 #line $LINENO "configure"
26883 cat confdefs.h
>>conftest.
$ac_ext
26884 cat >>conftest.
$ac_ext <<_ACEOF
26885 /* end confdefs.h. */
26888 #include <stdarg.h>
26896 vsnprintf(buf, 10u, "%s", ap);
26902 rm -f conftest.
$ac_objext
26903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26904 (eval $ac_compile) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try
='test -s conftest.$ac_objext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 wx_cv_func_vsnprintf_decl
=yes
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.
$ac_ext >&5
26919 wx_cv_func_vsnprintf_decl
=no
26922 rm -f conftest.
$ac_objext conftest.
$ac_ext
26926 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26927 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26929 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26930 cat >>confdefs.h
<<\_ACEOF
26931 #define HAVE_VSNPRINTF_DECL 1
26937 if test "$wxUSE_UNICODE" = yes; then
26941 for ac_func
in fputwc wprintf vswprintf
26943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26944 echo "$as_me:$LINENO: checking for $ac_func" >&5
26945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26946 if eval "test \"\${$as_ac_var+set}\" = set"; then
26947 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 cat >conftest.
$ac_ext <<_ACEOF
26950 #line $LINENO "configure"
26953 cat confdefs.h
>>conftest.
$ac_ext
26954 cat >>conftest.
$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956 /* System header to define __stub macros and hopefully few prototypes,
26957 which can conflict with char $ac_func (); below.
26958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26959 <limits.h> exists even on freestanding compilers. */
26961 # include <limits.h>
26963 # include <assert.h>
26965 /* Override any gcc2 internal prototype to avoid an error. */
26970 /* We use char because int might match the return type of a gcc2
26971 builtin and then its argument prototype would still apply. */
26973 /* The GNU C library defines this for functions which it implements
26974 to always fail with ENOSYS. Some functions are actually named
26975 something starting with __ and the normal name is an alias. */
26976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26979 char (*f) () = $ac_func;
26988 return f != $ac_func;
26993 rm -f conftest.
$ac_objext conftest
$ac_exeext
26994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26995 (eval $ac_link) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } &&
26999 { ac_try
='test -s conftest$ac_exeext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 eval "$as_ac_var=yes"
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.
$ac_ext >&5
27010 eval "$as_ac_var=no"
27012 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27016 if test `eval echo '${'$as_ac_var'}'` = yes; then
27017 cat >>confdefs.h
<<_ACEOF
27018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27025 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27026 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27027 cat >conftest.
$ac_ext <<_ACEOF
27028 #line $LINENO "configure"
27031 cat confdefs.h
>>conftest.
$ac_ext
27032 cat >>conftest.
$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27043 rm -f conftest.
$ac_objext
27044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27045 (eval $ac_compile) 2>&5
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); } &&
27049 { ac_try
='test -s conftest.$ac_objext'
27050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051 (eval $ac_try) 2>&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); }; }; then
27055 echo "$as_me:$LINENO: result: yes" >&5
27056 echo "${ECHO_T}yes" >&6
27057 cat >>confdefs.h
<<\_ACEOF
27058 #define HAVE__VSNWPRINTF 1
27062 echo "$as_me: failed program was:" >&5
27063 sed 's/^/| /' conftest.
$ac_ext >&5
27065 echo "$as_me:$LINENO: result: no" >&5
27066 echo "${ECHO_T}no" >&6
27068 rm -f conftest.
$ac_objext conftest.
$ac_ext;
27072 ac_cpp
='$CPP $CPPFLAGS'
27073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27080 if test "$TOOLKIT" != "MSW"; then
27086 ac_cpp
='$CXXCPP $CPPFLAGS'
27087 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27088 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27089 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27094 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27095 if test "${with_libiconv_prefix+set}" = set; then
27096 withval
="$with_libiconv_prefix"
27098 for dir
in `echo "$withval" | tr : ' '`; do
27099 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27100 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27105 echo "$as_me:$LINENO: checking for iconv" >&5
27106 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27107 if test "${am_cv_func_iconv+set}" = set; then
27108 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 am_cv_func_iconv
="no, consider installing GNU libiconv"
27113 cat >conftest.
$ac_ext <<_ACEOF
27114 #line $LINENO "configure"
27117 cat confdefs.h
>>conftest.
$ac_ext
27118 cat >>conftest.
$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120 #include <stdlib.h>
27125 iconv_t cd = iconv_open("","");
27126 iconv(cd,NULL,NULL,NULL,NULL);
27132 rm -f conftest.
$ac_objext conftest
$ac_exeext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27134 (eval $ac_link) 2>&5
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); } &&
27138 { ac_try
='test -s conftest$ac_exeext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27144 am_cv_func_iconv
=yes
27146 echo "$as_me: failed program was:" >&5
27147 sed 's/^/| /' conftest.
$ac_ext >&5
27150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27151 if test "$am_cv_func_iconv" != yes; then
27152 am_save_LIBS
="$LIBS"
27153 LIBS
="$LIBS -liconv"
27154 cat >conftest.
$ac_ext <<_ACEOF
27155 #line $LINENO "configure"
27158 cat confdefs.h
>>conftest.
$ac_ext
27159 cat >>conftest.
$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27161 #include <stdlib.h>
27166 iconv_t cd = iconv_open("","");
27167 iconv(cd,NULL,NULL,NULL,NULL);
27173 rm -f conftest.
$ac_objext conftest
$ac_exeext
27174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27175 (eval $ac_link) 2>&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); } &&
27179 { ac_try
='test -s conftest$ac_exeext'
27180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181 (eval $ac_try) 2>&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); }; }; then
27185 am_cv_lib_iconv
=yes
27186 am_cv_func_iconv
=yes
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.
$ac_ext >&5
27192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27193 LIBS
="$am_save_LIBS"
27197 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27198 echo "${ECHO_T}$am_cv_func_iconv" >&6
27199 if test "$am_cv_func_iconv" = yes; then
27201 cat >>confdefs.h
<<\_ACEOF
27202 #define HAVE_ICONV 1
27205 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27206 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27207 if test "${wx_cv_func_iconv_const+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27210 cat >conftest.
$ac_ext <<_ACEOF
27211 #line $LINENO "configure"
27214 cat confdefs.h
>>conftest.
$ac_ext
27215 cat >>conftest.
$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27218 #include <stdlib.h>
27224 #if defined(__STDC__) || defined(__cplusplus)
27225 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27238 rm -f conftest.
$ac_objext
27239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27240 (eval $ac_compile) 2>&5
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); } &&
27244 { ac_try
='test -s conftest.$ac_objext'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; }; then
27250 wx_cv_func_iconv_const
="no"
27252 echo "$as_me: failed program was:" >&5
27253 sed 's/^/| /' conftest.
$ac_ext >&5
27255 wx_cv_func_iconv_const
="yes"
27258 rm -f conftest.
$ac_objext conftest.
$ac_ext
27261 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27262 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27265 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27266 iconv_const
="const"
27270 cat >>confdefs.h
<<_ACEOF
27271 #define ICONV_CONST $iconv_const
27276 if test "$am_cv_lib_iconv" = yes; then
27281 LIBS
="$LIBICONV $LIBS"
27283 ac_cpp
='$CPP $CPPFLAGS'
27284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27289 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27291 for ac_func
in sigaction
27293 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27294 echo "$as_me:$LINENO: checking for $ac_func" >&5
27295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27296 if eval "test \"\${$as_ac_var+set}\" = set"; then
27297 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 cat >conftest.
$ac_ext <<_ACEOF
27300 #line $LINENO "configure"
27303 cat confdefs.h
>>conftest.
$ac_ext
27304 cat >>conftest.
$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 /* System header to define __stub macros and hopefully few prototypes,
27307 which can conflict with char $ac_func (); below.
27308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27309 <limits.h> exists even on freestanding compilers. */
27311 # include <limits.h>
27313 # include <assert.h>
27315 /* Override any gcc2 internal prototype to avoid an error. */
27320 /* We use char because int might match the return type of a gcc2
27321 builtin and then its argument prototype would still apply. */
27323 /* The GNU C library defines this for functions which it implements
27324 to always fail with ENOSYS. Some functions are actually named
27325 something starting with __ and the normal name is an alias. */
27326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27329 char (*f) () = $ac_func;
27338 return f != $ac_func;
27343 rm -f conftest.
$ac_objext conftest
$ac_exeext
27344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27345 (eval $ac_link) 2>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } &&
27349 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
27355 eval "$as_ac_var=yes"
27357 echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.
$ac_ext >&5
27360 eval "$as_ac_var=no"
27362 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27366 if test `eval echo '${'$as_ac_var'}'` = yes; then
27367 cat >>confdefs.h
<<_ACEOF
27368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27375 if test "$ac_cv_func_sigaction" = "no"; then
27376 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27377 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27378 wxUSE_ON_FATAL_EXCEPTION
=no
27381 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27385 ac_cpp
='$CXXCPP $CPPFLAGS'
27386 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27387 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27388 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27391 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27392 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27393 if test "${wx_cv_type_sa_handler+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27397 cat >conftest.
$ac_ext <<_ACEOF
27398 #line $LINENO "configure"
27401 cat confdefs.h
>>conftest.
$ac_ext
27402 cat >>conftest.
$ac_ext <<_ACEOF
27403 /* end confdefs.h. */
27404 #include <signal.h>
27409 extern void testSigHandler(int);
27411 struct sigaction sa;
27412 sa.sa_handler = testSigHandler;
27418 rm -f conftest.
$ac_objext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27420 (eval $ac_compile) 2>&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } &&
27424 { ac_try
='test -s conftest.$ac_objext'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; }; then
27431 wx_cv_type_sa_handler
=int
27434 echo "$as_me: failed program was:" >&5
27435 sed 's/^/| /' conftest.
$ac_ext >&5
27438 wx_cv_type_sa_handler
=void
27441 rm -f conftest.
$ac_objext conftest.
$ac_ext
27444 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27445 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27448 ac_cpp
='$CPP $CPPFLAGS'
27449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27454 cat >>confdefs.h
<<_ACEOF
27455 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27463 for ac_func
in mkstemp mktemp
27465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27466 echo "$as_me:$LINENO: checking for $ac_func" >&5
27467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27468 if eval "test \"\${$as_ac_var+set}\" = set"; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 cat >conftest.
$ac_ext <<_ACEOF
27472 #line $LINENO "configure"
27475 cat confdefs.h
>>conftest.
$ac_ext
27476 cat >>conftest.
$ac_ext <<_ACEOF
27477 /* end confdefs.h. */
27478 /* System header to define __stub macros and hopefully few prototypes,
27479 which can conflict with char $ac_func (); below.
27480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27481 <limits.h> exists even on freestanding compilers. */
27483 # include <limits.h>
27485 # include <assert.h>
27487 /* Override any gcc2 internal prototype to avoid an error. */
27492 /* We use char because int might match the return type of a gcc2
27493 builtin and then its argument prototype would still apply. */
27495 /* The GNU C library defines this for functions which it implements
27496 to always fail with ENOSYS. Some functions are actually named
27497 something starting with __ and the normal name is an alias. */
27498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27501 char (*f) () = $ac_func;
27510 return f != $ac_func;
27515 rm -f conftest.
$ac_objext conftest
$ac_exeext
27516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27517 (eval $ac_link) 2>&5
27519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520 (exit $ac_status); } &&
27521 { ac_try
='test -s conftest$ac_exeext'
27522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27523 (eval $ac_try) 2>&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); }; }; then
27527 eval "$as_ac_var=yes"
27529 echo "$as_me: failed program was:" >&5
27530 sed 's/^/| /' conftest.
$ac_ext >&5
27532 eval "$as_ac_var=no"
27534 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27538 if test `eval echo '${'$as_ac_var'}'` = yes; then
27539 cat >>confdefs.h
<<_ACEOF
27540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27547 echo "$as_me:$LINENO: checking for statfs" >&5
27548 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27549 if test "${wx_cv_func_statfs+set}" = set; then
27550 echo $ECHO_N "(cached) $ECHO_C" >&6
27552 cat >conftest.
$ac_ext <<_ACEOF
27553 #line $LINENO "configure"
27556 cat confdefs.h
>>conftest.
$ac_ext
27557 cat >>conftest.
$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27560 #if defined(__BSD__)
27561 #include <sys/param.h>
27562 #include <sys/mount.h>
27564 #include <sys/vfs.h>
27582 rm -f conftest.
$ac_objext
27583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27584 (eval $ac_compile) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } &&
27588 { ac_try
='test -s conftest.$ac_objext'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; }; then
27595 wx_cv_func_statfs
=yes
27598 echo "$as_me: failed program was:" >&5
27599 sed 's/^/| /' conftest.
$ac_ext >&5
27602 wx_cv_func_statfs
=no
27606 rm -f conftest.
$ac_objext conftest.
$ac_ext
27609 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27610 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27612 if test "$wx_cv_func_statfs" = "yes"; then
27613 wx_cv_type_statvfs_t
="struct statfs"
27614 cat >>confdefs.h
<<\_ACEOF
27615 #define HAVE_STATFS 1
27619 echo "$as_me:$LINENO: checking for statvfs" >&5
27620 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27621 if test "${wx_cv_func_statvfs+set}" = set; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 cat >conftest.
$ac_ext <<_ACEOF
27625 #line $LINENO "configure"
27628 cat confdefs.h
>>conftest.
$ac_ext
27629 cat >>conftest.
$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27632 #include <stddef.h>
27633 #include <sys/statvfs.h>
27639 statvfs("/", NULL);
27645 rm -f conftest.
$ac_objext
27646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27647 (eval $ac_compile) 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } &&
27651 { ac_try
='test -s conftest.$ac_objext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 wx_cv_func_statvfs
=yes
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.
$ac_ext >&5
27662 wx_cv_func_statvfs
=no
27665 rm -f conftest.
$ac_objext conftest.
$ac_ext
27668 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27669 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27671 if test "$wx_cv_func_statvfs" = "yes"; then
27675 ac_cpp
='$CXXCPP $CPPFLAGS'
27676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27681 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27682 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27683 if test "${wx_cv_type_statvfs_t+set}" = set; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27686 cat >conftest.
$ac_ext <<_ACEOF
27687 #line $LINENO "configure"
27690 cat confdefs.h
>>conftest.
$ac_ext
27691 cat >>conftest.
$ac_ext <<_ACEOF
27692 /* end confdefs.h. */
27694 #include <sys/statvfs.h>
27711 rm -f conftest.
$ac_objext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27713 (eval $ac_compile) 2>&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); } &&
27717 { ac_try
='test -s conftest.$ac_objext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 wx_cv_type_statvfs_t
=statvfs_t
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.
$ac_ext >&5
27729 cat >conftest.
$ac_ext <<_ACEOF
27730 #line $LINENO "configure"
27733 cat confdefs.h
>>conftest.
$ac_ext
27734 cat >>conftest.
$ac_ext <<_ACEOF
27735 /* end confdefs.h. */
27737 #include <sys/statvfs.h>
27754 rm -f conftest.
$ac_objext
27755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27756 (eval $ac_compile) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); } &&
27760 { ac_try
='test -s conftest.$ac_objext'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; }; then
27766 wx_cv_type_statvfs_t
="struct statvfs"
27768 echo "$as_me: failed program was:" >&5
27769 sed 's/^/| /' conftest.
$ac_ext >&5
27771 wx_cv_type_statvfs_t
="unknown"
27774 rm -f conftest.
$ac_objext conftest.
$ac_ext
27778 rm -f conftest.
$ac_objext conftest.
$ac_ext
27781 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27782 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27785 ac_cpp
='$CPP $CPPFLAGS'
27786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27791 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27792 cat >>confdefs.h
<<\_ACEOF
27793 #define HAVE_STATVFS 1
27798 wx_cv_type_statvfs_t
="unknown"
27802 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27803 cat >>confdefs.h
<<_ACEOF
27804 #define WX_STATFS_T $wx_cv_type_statvfs_t
27808 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27809 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27812 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27815 for ac_func
in fcntl flock
27817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27818 echo "$as_me:$LINENO: checking for $ac_func" >&5
27819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27820 if eval "test \"\${$as_ac_var+set}\" = set"; then
27821 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 cat >conftest.
$ac_ext <<_ACEOF
27824 #line $LINENO "configure"
27827 cat confdefs.h
>>conftest.
$ac_ext
27828 cat >>conftest.
$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 /* System header to define __stub macros and hopefully few prototypes,
27831 which can conflict with char $ac_func (); below.
27832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27833 <limits.h> exists even on freestanding compilers. */
27835 # include <limits.h>
27837 # include <assert.h>
27839 /* Override any gcc2 internal prototype to avoid an error. */
27844 /* We use char because int might match the return type of a gcc2
27845 builtin and then its argument prototype would still apply. */
27847 /* The GNU C library defines this for functions which it implements
27848 to always fail with ENOSYS. Some functions are actually named
27849 something starting with __ and the normal name is an alias. */
27850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27853 char (*f) () = $ac_func;
27862 return f != $ac_func;
27867 rm -f conftest.
$ac_objext conftest
$ac_exeext
27868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27869 (eval $ac_link) 2>&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } &&
27873 { ac_try
='test -s conftest$ac_exeext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27879 eval "$as_ac_var=yes"
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.
$ac_ext >&5
27884 eval "$as_ac_var=no"
27886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27890 if test `eval echo '${'$as_ac_var'}'` = yes; then
27891 cat >>confdefs.h
<<_ACEOF
27892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27899 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27900 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27901 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27902 wxUSE_SNGLINST_CHECKER
=no
27907 for ac_func
in timegm
27909 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27910 echo "$as_me:$LINENO: checking for $ac_func" >&5
27911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27912 if eval "test \"\${$as_ac_var+set}\" = set"; then
27913 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 cat >conftest.
$ac_ext <<_ACEOF
27916 #line $LINENO "configure"
27919 cat confdefs.h
>>conftest.
$ac_ext
27920 cat >>conftest.
$ac_ext <<_ACEOF
27921 /* end confdefs.h. */
27922 /* System header to define __stub macros and hopefully few prototypes,
27923 which can conflict with char $ac_func (); below.
27924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27925 <limits.h> exists even on freestanding compilers. */
27927 # include <limits.h>
27929 # include <assert.h>
27931 /* Override any gcc2 internal prototype to avoid an error. */
27936 /* We use char because int might match the return type of a gcc2
27937 builtin and then its argument prototype would still apply. */
27939 /* The GNU C library defines this for functions which it implements
27940 to always fail with ENOSYS. Some functions are actually named
27941 something starting with __ and the normal name is an alias. */
27942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27945 char (*f) () = $ac_func;
27954 return f != $ac_func;
27959 rm -f conftest.
$ac_objext conftest
$ac_exeext
27960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27961 (eval $ac_link) 2>&5
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); } &&
27965 { ac_try
='test -s conftest$ac_exeext'
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; }; then
27971 eval "$as_ac_var=yes"
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.
$ac_ext >&5
27976 eval "$as_ac_var=no"
27978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27982 if test `eval echo '${'$as_ac_var'}'` = yes; then
27983 cat >>confdefs.h
<<_ACEOF
27984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27993 for ac_func
in putenv setenv
27995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27996 echo "$as_me:$LINENO: checking for $ac_func" >&5
27997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27998 if eval "test \"\${$as_ac_var+set}\" = set"; then
27999 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 cat >conftest.
$ac_ext <<_ACEOF
28002 #line $LINENO "configure"
28005 cat confdefs.h
>>conftest.
$ac_ext
28006 cat >>conftest.
$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 /* System header to define __stub macros and hopefully few prototypes,
28009 which can conflict with char $ac_func (); below.
28010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28011 <limits.h> exists even on freestanding compilers. */
28013 # include <limits.h>
28015 # include <assert.h>
28017 /* Override any gcc2 internal prototype to avoid an error. */
28022 /* We use char because int might match the return type of a gcc2
28023 builtin and then its argument prototype would still apply. */
28025 /* The GNU C library defines this for functions which it implements
28026 to always fail with ENOSYS. Some functions are actually named
28027 something starting with __ and the normal name is an alias. */
28028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28031 char (*f) () = $ac_func;
28040 return f != $ac_func;
28045 rm -f conftest.
$ac_objext conftest
$ac_exeext
28046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28047 (eval $ac_link) 2>&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } &&
28051 { ac_try
='test -s conftest$ac_exeext'
28052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 (eval $ac_try) 2>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); }; }; then
28057 eval "$as_ac_var=yes"
28059 echo "$as_me: failed program was:" >&5
28060 sed 's/^/| /' conftest.
$ac_ext >&5
28062 eval "$as_ac_var=no"
28064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28068 if test `eval echo '${'$as_ac_var'}'` = yes; then
28069 cat >>confdefs.h
<<_ACEOF
28070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28077 HAVE_SOME_SLEEP_FUNC
=0
28078 if test "$USE_BEOS" = 1; then
28079 cat >>confdefs.h
<<\_ACEOF
28080 #define HAVE_SLEEP 1
28083 HAVE_SOME_SLEEP_FUNC
=1
28086 if test "$USE_DARWIN" = 1; then
28087 cat >>confdefs.h
<<\_ACEOF
28088 #define HAVE_USLEEP 1
28091 HAVE_SOME_SLEEP_FUNC
=1
28094 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28097 for ac_func
in nanosleep
28099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28100 echo "$as_me:$LINENO: checking for $ac_func" >&5
28101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28102 if eval "test \"\${$as_ac_var+set}\" = set"; then
28103 echo $ECHO_N "(cached) $ECHO_C" >&6
28105 cat >conftest.
$ac_ext <<_ACEOF
28106 #line $LINENO "configure"
28109 cat confdefs.h
>>conftest.
$ac_ext
28110 cat >>conftest.
$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28112 /* System header to define __stub macros and hopefully few prototypes,
28113 which can conflict with char $ac_func (); below.
28114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28115 <limits.h> exists even on freestanding compilers. */
28117 # include <limits.h>
28119 # include <assert.h>
28121 /* Override any gcc2 internal prototype to avoid an error. */
28126 /* We use char because int might match the return type of a gcc2
28127 builtin and then its argument prototype would still apply. */
28129 /* The GNU C library defines this for functions which it implements
28130 to always fail with ENOSYS. Some functions are actually named
28131 something starting with __ and the normal name is an alias. */
28132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28135 char (*f) () = $ac_func;
28144 return f != $ac_func;
28149 rm -f conftest.
$ac_objext conftest
$ac_exeext
28150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28151 (eval $ac_link) 2>&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } &&
28155 { ac_try
='test -s conftest$ac_exeext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161 eval "$as_ac_var=yes"
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.
$ac_ext >&5
28166 eval "$as_ac_var=no"
28168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28172 if test `eval echo '${'$as_ac_var'}'` = yes; then
28173 cat >>confdefs.h
<<_ACEOF
28174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28176 cat >>confdefs.h
<<\_ACEOF
28177 #define HAVE_NANOSLEEP 1
28182 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28183 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28184 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28185 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 ac_check_lib_save_LIBS
=$LIBS
28188 LIBS
="-lposix4 $LIBS"
28189 cat >conftest.
$ac_ext <<_ACEOF
28190 #line $LINENO "configure"
28193 cat confdefs.h
>>conftest.
$ac_ext
28194 cat >>conftest.
$ac_ext <<_ACEOF
28195 /* end confdefs.h. */
28197 /* Override any gcc2 internal prototype to avoid an error. */
28201 /* We use char because int might match the return type of a gcc2
28202 builtin and then its argument prototype would still apply. */
28212 rm -f conftest.
$ac_objext conftest
$ac_exeext
28213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28214 (eval $ac_link) 2>&5
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); } &&
28218 { ac_try
='test -s conftest$ac_exeext'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; }; then
28224 ac_cv_lib_posix4_nanosleep
=yes
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.
$ac_ext >&5
28229 ac_cv_lib_posix4_nanosleep
=no
28231 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28232 LIBS
=$ac_check_lib_save_LIBS
28234 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28235 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28236 if test $ac_cv_lib_posix4_nanosleep = yes; then
28238 cat >>confdefs.h
<<\_ACEOF
28239 #define HAVE_NANOSLEEP 1
28242 POSIX4_LINK
=" -lposix4"
28247 for ac_func
in usleep
28249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28250 echo "$as_me:$LINENO: checking for $ac_func" >&5
28251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28252 if eval "test \"\${$as_ac_var+set}\" = set"; then
28253 echo $ECHO_N "(cached) $ECHO_C" >&6
28255 cat >conftest.
$ac_ext <<_ACEOF
28256 #line $LINENO "configure"
28259 cat confdefs.h
>>conftest.
$ac_ext
28260 cat >>conftest.
$ac_ext <<_ACEOF
28261 /* end confdefs.h. */
28262 /* System header to define __stub macros and hopefully few prototypes,
28263 which can conflict with char $ac_func (); below.
28264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28265 <limits.h> exists even on freestanding compilers. */
28267 # include <limits.h>
28269 # include <assert.h>
28271 /* Override any gcc2 internal prototype to avoid an error. */
28276 /* We use char because int might match the return type of a gcc2
28277 builtin and then its argument prototype would still apply. */
28279 /* The GNU C library defines this for functions which it implements
28280 to always fail with ENOSYS. Some functions are actually named
28281 something starting with __ and the normal name is an alias. */
28282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28285 char (*f) () = $ac_func;
28294 return f != $ac_func;
28299 rm -f conftest.
$ac_objext conftest
$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } &&
28305 { ac_try
='test -s conftest$ac_exeext'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; }; then
28311 eval "$as_ac_var=yes"
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.
$ac_ext >&5
28316 eval "$as_ac_var=no"
28318 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28322 if test `eval echo '${'$as_ac_var'}'` = yes; then
28323 cat >>confdefs.h
<<_ACEOF
28324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28326 cat >>confdefs.h
<<\_ACEOF
28327 #define HAVE_USLEEP 1
28331 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28332 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28350 for ac_func
in uname gethostname
28352 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28353 echo "$as_me:$LINENO: checking for $ac_func" >&5
28354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28355 if eval "test \"\${$as_ac_var+set}\" = set"; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 cat >conftest.
$ac_ext <<_ACEOF
28359 #line $LINENO "configure"
28362 cat confdefs.h
>>conftest.
$ac_ext
28363 cat >>conftest.
$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28370 # include <limits.h>
28372 # include <assert.h>
28374 /* Override any gcc2 internal prototype to avoid an error. */
28379 /* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28382 /* The GNU C library defines this for functions which it implements
28383 to always fail with ENOSYS. Some functions are actually named
28384 something starting with __ and the normal name is an alias. */
28385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28388 char (*f) () = $ac_func;
28397 return f != $ac_func;
28402 rm -f conftest.
$ac_objext conftest
$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try
='test -s conftest$ac_exeext'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; }; then
28414 eval "$as_ac_var=yes"
28416 echo "$as_me: failed program was:" >&5
28417 sed 's/^/| /' conftest.
$ac_ext >&5
28419 eval "$as_ac_var=no"
28421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28425 if test `eval echo '${'$as_ac_var'}'` = yes; then
28426 cat >>confdefs.h
<<_ACEOF
28427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28437 ac_cpp
='$CXXCPP $CPPFLAGS'
28438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28444 for ac_func
in strtok_r
28446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28447 echo "$as_me:$LINENO: checking for $ac_func" >&5
28448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28449 if eval "test \"\${$as_ac_var+set}\" = set"; then
28450 echo $ECHO_N "(cached) $ECHO_C" >&6
28452 cat >conftest.
$ac_ext <<_ACEOF
28453 #line $LINENO "configure"
28456 cat confdefs.h
>>conftest.
$ac_ext
28457 cat >>conftest.
$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459 /* System header to define __stub macros and hopefully few prototypes,
28460 which can conflict with char $ac_func (); below.
28461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28462 <limits.h> exists even on freestanding compilers. */
28464 # include <limits.h>
28466 # include <assert.h>
28468 /* Override any gcc2 internal prototype to avoid an error. */
28473 /* We use char because int might match the return type of a gcc2
28474 builtin and then its argument prototype would still apply. */
28476 /* The GNU C library defines this for functions which it implements
28477 to always fail with ENOSYS. Some functions are actually named
28478 something starting with __ and the normal name is an alias. */
28479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28482 char (*f) () = $ac_func;
28491 return f != $ac_func;
28496 rm -f conftest.
$ac_objext conftest
$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498 (eval $ac_link) 2>&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); } &&
28502 { ac_try
='test -s conftest$ac_exeext'
28503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28504 (eval $ac_try) 2>&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); }; }; then
28508 eval "$as_ac_var=yes"
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.
$ac_ext >&5
28513 eval "$as_ac_var=no"
28515 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28519 if test `eval echo '${'$as_ac_var'}'` = yes; then
28520 cat >>confdefs.h
<<_ACEOF
28521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28529 ac_cpp
='$CPP $CPPFLAGS'
28530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28537 for ac_func
in inet_addr
28539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28540 echo "$as_me:$LINENO: checking for $ac_func" >&5
28541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28542 if eval "test \"\${$as_ac_var+set}\" = set"; then
28543 echo $ECHO_N "(cached) $ECHO_C" >&6
28545 cat >conftest.
$ac_ext <<_ACEOF
28546 #line $LINENO "configure"
28549 cat confdefs.h
>>conftest.
$ac_ext
28550 cat >>conftest.
$ac_ext <<_ACEOF
28551 /* end confdefs.h. */
28552 /* System header to define __stub macros and hopefully few prototypes,
28553 which can conflict with char $ac_func (); below.
28554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28555 <limits.h> exists even on freestanding compilers. */
28557 # include <limits.h>
28559 # include <assert.h>
28561 /* Override any gcc2 internal prototype to avoid an error. */
28566 /* We use char because int might match the return type of a gcc2
28567 builtin and then its argument prototype would still apply. */
28569 /* The GNU C library defines this for functions which it implements
28570 to always fail with ENOSYS. Some functions are actually named
28571 something starting with __ and the normal name is an alias. */
28572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28575 char (*f) () = $ac_func;
28584 return f != $ac_func;
28589 rm -f conftest.
$ac_objext conftest
$ac_exeext
28590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28591 (eval $ac_link) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); } &&
28595 { ac_try
='test -s conftest$ac_exeext'
28596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597 (eval $ac_try) 2>&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); }; }; then
28601 eval "$as_ac_var=yes"
28603 echo "$as_me: failed program was:" >&5
28604 sed 's/^/| /' conftest.
$ac_ext >&5
28606 eval "$as_ac_var=no"
28608 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28612 if test `eval echo '${'$as_ac_var'}'` = yes; then
28613 cat >>confdefs.h
<<_ACEOF
28614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28616 cat >>confdefs.h
<<\_ACEOF
28617 #define HAVE_INET_ADDR 1
28622 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28623 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28624 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 ac_check_lib_save_LIBS
=$LIBS
28629 cat >conftest.
$ac_ext <<_ACEOF
28630 #line $LINENO "configure"
28633 cat confdefs.h
>>conftest.
$ac_ext
28634 cat >>conftest.
$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28637 /* Override any gcc2 internal prototype to avoid an error. */
28641 /* We use char because int might match the return type of a gcc2
28642 builtin and then its argument prototype would still apply. */
28652 rm -f conftest.
$ac_objext conftest
$ac_exeext
28653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28654 (eval $ac_link) 2>&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); } &&
28658 { ac_try
='test -s conftest$ac_exeext'
28659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660 (eval $ac_try) 2>&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); }; }; then
28664 ac_cv_lib_nsl_inet_addr
=yes
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.
$ac_ext >&5
28669 ac_cv_lib_nsl_inet_addr
=no
28671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28672 LIBS
=$ac_check_lib_save_LIBS
28674 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28675 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28676 if test $ac_cv_lib_nsl_inet_addr = yes; then
28680 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28681 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28682 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28683 echo $ECHO_N "(cached) $ECHO_C" >&6
28685 ac_check_lib_save_LIBS
=$LIBS
28686 LIBS
="-lresolv $LIBS"
28687 cat >conftest.
$ac_ext <<_ACEOF
28688 #line $LINENO "configure"
28691 cat confdefs.h
>>conftest.
$ac_ext
28692 cat >>conftest.
$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28695 /* Override any gcc2 internal prototype to avoid an error. */
28699 /* We use char because int might match the return type of a gcc2
28700 builtin and then its argument prototype would still apply. */
28710 rm -f conftest.
$ac_objext conftest
$ac_exeext
28711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28712 (eval $ac_link) 2>&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); } &&
28716 { ac_try
='test -s conftest$ac_exeext'
28717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718 (eval $ac_try) 2>&5
28720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28721 (exit $ac_status); }; }; then
28722 ac_cv_lib_resolv_inet_addr
=yes
28724 echo "$as_me: failed program was:" >&5
28725 sed 's/^/| /' conftest.
$ac_ext >&5
28727 ac_cv_lib_resolv_inet_addr
=no
28729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28730 LIBS
=$ac_check_lib_save_LIBS
28732 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28733 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28734 if test $ac_cv_lib_resolv_inet_addr = yes; then
28738 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28739 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28740 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28741 echo $ECHO_N "(cached) $ECHO_C" >&6
28743 ac_check_lib_save_LIBS
=$LIBS
28744 LIBS
="-lsocket $LIBS"
28745 cat >conftest.
$ac_ext <<_ACEOF
28746 #line $LINENO "configure"
28749 cat confdefs.h
>>conftest.
$ac_ext
28750 cat >>conftest.
$ac_ext <<_ACEOF
28751 /* end confdefs.h. */
28753 /* Override any gcc2 internal prototype to avoid an error. */
28757 /* We use char because int might match the return type of a gcc2
28758 builtin and then its argument prototype would still apply. */
28768 rm -f conftest.
$ac_objext conftest
$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try
='test -s conftest$ac_exeext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 ac_cv_lib_socket_inet_addr
=yes
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.
$ac_ext >&5
28785 ac_cv_lib_socket_inet_addr
=no
28787 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28788 LIBS
=$ac_check_lib_save_LIBS
28790 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28791 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28792 if test $ac_cv_lib_socket_inet_addr = yes; then
28812 for ac_func
in inet_aton
28814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28815 echo "$as_me:$LINENO: checking for $ac_func" >&5
28816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28817 if eval "test \"\${$as_ac_var+set}\" = set"; then
28818 echo $ECHO_N "(cached) $ECHO_C" >&6
28820 cat >conftest.
$ac_ext <<_ACEOF
28821 #line $LINENO "configure"
28824 cat confdefs.h
>>conftest.
$ac_ext
28825 cat >>conftest.
$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28827 /* System header to define __stub macros and hopefully few prototypes,
28828 which can conflict with char $ac_func (); below.
28829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28830 <limits.h> exists even on freestanding compilers. */
28832 # include <limits.h>
28834 # include <assert.h>
28836 /* Override any gcc2 internal prototype to avoid an error. */
28841 /* We use char because int might match the return type of a gcc2
28842 builtin and then its argument prototype would still apply. */
28844 /* The GNU C library defines this for functions which it implements
28845 to always fail with ENOSYS. Some functions are actually named
28846 something starting with __ and the normal name is an alias. */
28847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28850 char (*f) () = $ac_func;
28859 return f != $ac_func;
28864 rm -f conftest.
$ac_objext conftest
$ac_exeext
28865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28866 (eval $ac_link) 2>&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } &&
28870 { ac_try
='test -s conftest$ac_exeext'
28871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872 (eval $ac_try) 2>&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); }; }; then
28876 eval "$as_ac_var=yes"
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.
$ac_ext >&5
28881 eval "$as_ac_var=no"
28883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28887 if test `eval echo '${'$as_ac_var'}'` = yes; then
28888 cat >>confdefs.h
<<_ACEOF
28889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28891 cat >>confdefs.h
<<\_ACEOF
28892 #define HAVE_INET_ATON 1
28897 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28898 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28899 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28900 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28901 echo $ECHO_N "(cached) $ECHO_C" >&6
28903 ac_check_lib_save_LIBS
=$LIBS
28904 LIBS
="-l$INET_LINK $LIBS"
28905 cat >conftest.
$ac_ext <<_ACEOF
28906 #line $LINENO "configure"
28909 cat confdefs.h
>>conftest.
$ac_ext
28910 cat >>conftest.
$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28913 /* Override any gcc2 internal prototype to avoid an error. */
28917 /* We use char because int might match the return type of a gcc2
28918 builtin and then its argument prototype would still apply. */
28928 rm -f conftest.
$ac_objext conftest
$ac_exeext
28929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28930 (eval $ac_link) 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); } &&
28934 { ac_try
='test -s conftest$ac_exeext'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; }; then
28940 eval "$as_ac_Lib=yes"
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.
$ac_ext >&5
28945 eval "$as_ac_Lib=no"
28947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28948 LIBS
=$ac_check_lib_save_LIBS
28950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28951 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28952 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28953 cat >>confdefs.h
<<\_ACEOF
28954 #define HAVE_INET_ATON 1
28964 if test "x$INET_LINK" != "x"; then
28965 cat >>confdefs.h
<<\_ACEOF
28966 #define HAVE_INET_ADDR 1
28969 INET_LINK
=" -l$INET_LINK"
28977 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28978 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28979 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28980 echo $ECHO_N "(cached) $ECHO_C" >&6
28982 ac_check_lib_save_LIBS
=$LIBS
28984 cat >conftest.
$ac_ext <<_ACEOF
28985 #line $LINENO "configure"
28988 cat confdefs.h
>>conftest.
$ac_ext
28989 cat >>conftest.
$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28992 /* Override any gcc2 internal prototype to avoid an error. */
28996 /* We use char because int might match the return type of a gcc2
28997 builtin and then its argument prototype would still apply. */
29007 rm -f conftest.
$ac_objext conftest
$ac_exeext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29009 (eval $ac_link) 2>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } &&
29013 { ac_try
='test -s conftest$ac_exeext'
29014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29015 (eval $ac_try) 2>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 ac_cv_lib_esd_esd_close
=yes
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.
$ac_ext >&5
29024 ac_cv_lib_esd_esd_close
=no
29026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29027 LIBS
=$ac_check_lib_save_LIBS
29029 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29030 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29031 if test $ac_cv_lib_esd_esd_close = yes; then
29034 for ac_header
in esd.h
29036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29038 echo "$as_me:$LINENO: checking for $ac_header" >&5
29039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29041 echo $ECHO_N "(cached) $ECHO_C" >&6
29043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29046 # Is the header compilable?
29047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29049 cat >conftest.
$ac_ext <<_ACEOF
29050 #line $LINENO "configure"
29053 cat confdefs.h
>>conftest.
$ac_ext
29054 cat >>conftest.
$ac_ext <<_ACEOF
29055 /* end confdefs.h. */
29056 $ac_includes_default
29057 #include <$ac_header>
29059 rm -f conftest.
$ac_objext
29060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29061 (eval $ac_compile) 2>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try
='test -s conftest.$ac_objext'
29066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067 (eval $ac_try) 2>&5
29069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070 (exit $ac_status); }; }; then
29071 ac_header_compiler
=yes
29073 echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.
$ac_ext >&5
29076 ac_header_compiler
=no
29078 rm -f conftest.
$ac_objext conftest.
$ac_ext
29079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29080 echo "${ECHO_T}$ac_header_compiler" >&6
29082 # Is the header present?
29083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29085 cat >conftest.
$ac_ext <<_ACEOF
29086 #line $LINENO "configure"
29089 cat confdefs.h
>>conftest.
$ac_ext
29090 cat >>conftest.
$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29092 #include <$ac_header>
29094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29097 grep -v '^ *+' conftest.er1
>conftest.err
29099 cat conftest.err
>&5
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); } >/dev
/null
; then
29102 if test -s conftest.err
; then
29103 ac_cpp_err
=$ac_c_preproc_warn_flag
29110 if test -z "$ac_cpp_err"; then
29111 ac_header_preproc
=yes
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.
$ac_ext >&5
29116 ac_header_preproc
=no
29118 rm -f conftest.err conftest.
$ac_ext
29119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29120 echo "${ECHO_T}$ac_header_preproc" >&6
29122 # So? What about this header?
29123 case $ac_header_compiler:$ac_header_preproc in
29125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29131 ## ------------------------------------ ##
29132 ## Report this to bug-autoconf@gnu.org. ##
29133 ## ------------------------------------ ##
29136 sed "s/^/$as_me: WARNING: /" >&2
29139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29140 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29142 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29147 ## ------------------------------------ ##
29148 ## Report this to bug-autoconf@gnu.org. ##
29149 ## ------------------------------------ ##
29152 sed "s/^/$as_me: WARNING: /" >&2
29155 echo "$as_me:$LINENO: checking for $ac_header" >&5
29156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29160 eval "$as_ac_Header=$ac_header_preproc"
29162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29167 cat >>confdefs.h
<<_ACEOF
29168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29171 EXTRALIBS_ESD
="-lesd"
29182 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29183 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29184 cat >conftest.
$ac_ext <<_ACEOF
29185 #line $LINENO "configure"
29188 cat confdefs.h
>>conftest.
$ac_ext
29189 cat >>conftest.
$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29192 #include <linux/cdrom.h>
29195 #include <sys/cdio.h>
29201 struct cdrom_tocentry entry, old_entry;
29206 rm -f conftest.
$ac_objext
29207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29208 (eval $ac_compile) 2>&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); } &&
29212 { ac_try
='test -s conftest.$ac_objext'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; }; then
29218 echo "$as_me:$LINENO: result: yes" >&5
29219 echo "${ECHO_T}yes" >&6
29220 cat >>confdefs.h
<<\_ACEOF
29221 #define HAVE_KNOWN_CDROM_INTERFACE 1
29225 echo "$as_me: failed program was:" >&5
29226 sed 's/^/| /' conftest.
$ac_ext >&5
29228 echo "$as_me:$LINENO: result: no" >&5
29229 echo "${ECHO_T}no" >&6
29231 rm -f conftest.
$ac_objext conftest.
$ac_ext
29234 cat >confcache
<<\_ACEOF
29235 # This file is a shell script that caches the results of configure
29236 # tests run on this system so they can be shared between configure
29237 # scripts and configure runs, see configure's option --config-cache.
29238 # It is not useful on other systems. If it contains results you don't
29239 # want to keep, you may remove or edit it.
29241 # config.status only pays attention to the cache file if you give it
29242 # the --recheck option to rerun configure.
29244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29246 # following values.
29250 # The following way of writing the cache mishandles newlines in values,
29251 # but we know of no workaround that is simple, portable, and efficient.
29252 # So, don't put newlines in cache variables' values.
29253 # Ultrix sh set writes to stderr and can't be redirected directly,
29254 # and sets the high bit in the cache file unless we assign to the vars.
29257 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29259 # `set' does not quote correctly, so add quotes (double-quote
29260 # substitution turns \\\\ into \\, and sed turns \\ into \).
29263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29266 # `set' quotes correctly as required by POSIX, so do not add quotes.
29268 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29277 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29279 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29280 if test -w $cache_file; then
29281 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29282 cat confcache
>$cache_file
29284 echo "not updating unwritable cache $cache_file"
29291 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29297 if test "$wxUSE_THREADS" = "yes" ; then
29298 if test "$USE_BEOS" = 1; then
29299 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29300 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29305 if test "$wxUSE_THREADS" = "yes" ; then
29308 THREAD_OPTS
="-pthread"
29310 *-*-solaris2* | *-*-sunos4* )
29311 if test "x$GCC" = "xyes"; then
29312 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29314 THREAD_OPTS
="-mt $THREAD_OPTS"
29318 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29320 *-*-darwin* | *-*-cygwin* )
29324 THREAD_OPTS
="pthreads"
29327 if test "x$GCC" != "xyes"; then
29333 if test "x$GCC" = "xyes"; then
29339 if test "x$GCC" != "xyes"; then
29340 THREAD_OPTS
="-Ethread"
29345 THREAD_OPTS
="$THREAD_OPTS pthread none"
29348 for flag
in $THREAD_OPTS; do
29351 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29352 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29356 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29357 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29358 THREADS_CFLAGS
="$flag"
29362 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29363 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29364 THREADS_LINK
="-l$flag"
29369 save_CFLAGS
="$CFLAGS"
29370 LIBS
="$THREADS_LINK $LIBS"
29371 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29373 cat >conftest.
$ac_ext <<_ACEOF
29374 #line $LINENO "configure"
29377 cat confdefs.h
>>conftest.
$ac_ext
29378 cat >>conftest.
$ac_ext <<_ACEOF
29379 /* end confdefs.h. */
29380 #include <pthread.h>
29384 pthread_create(0,0,0,0);
29389 rm -f conftest.
$ac_objext conftest
$ac_exeext
29390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29391 (eval $ac_link) 2>&5
29393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29394 (exit $ac_status); } &&
29395 { ac_try
='test -s conftest$ac_exeext'
29396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29397 (eval $ac_try) 2>&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); }; }; then
29403 echo "$as_me: failed program was:" >&5
29404 sed 's/^/| /' conftest.
$ac_ext >&5
29407 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29410 CFLAGS
="$save_CFLAGS"
29412 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29413 echo "${ECHO_T}$THREADS_OK" >&6
29414 if test "x$THREADS_OK" = "xyes"; then
29422 if test "x$THREADS_OK" != "xyes"; then
29424 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29425 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29427 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29428 LIBS
="$THREADS_LINK $LIBS"
29430 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29431 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29435 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29436 flag
="-D_THREAD_SAFE"
29439 flag
="-D_THREAD_SAFE"
29442 flag
="-D_REENTRANT"
29443 if test "x$GCC" != "xyes"; then
29444 flag
="$flag -D_RWSTD_MULTI_THREAD"
29447 *solaris
* | alpha
*-osf*)
29448 flag
="-D_REENTRANT"
29451 echo "$as_me:$LINENO: result: ${flag}" >&5
29452 echo "${ECHO_T}${flag}" >&6
29453 if test "x$flag" != xno
; then
29454 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29457 if test "x$THREADS_CFLAGS" != "x"; then
29458 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29459 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29464 if test "$wxUSE_THREADS" = "yes" ; then
29466 for ac_func
in thr_setconcurrency
29468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29469 echo "$as_me:$LINENO: checking for $ac_func" >&5
29470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29471 if eval "test \"\${$as_ac_var+set}\" = set"; then
29472 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 cat >conftest.
$ac_ext <<_ACEOF
29475 #line $LINENO "configure"
29478 cat confdefs.h
>>conftest.
$ac_ext
29479 cat >>conftest.
$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29481 /* System header to define __stub macros and hopefully few prototypes,
29482 which can conflict with char $ac_func (); below.
29483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29484 <limits.h> exists even on freestanding compilers. */
29486 # include <limits.h>
29488 # include <assert.h>
29490 /* Override any gcc2 internal prototype to avoid an error. */
29495 /* We use char because int might match the return type of a gcc2
29496 builtin and then its argument prototype would still apply. */
29498 /* The GNU C library defines this for functions which it implements
29499 to always fail with ENOSYS. Some functions are actually named
29500 something starting with __ and the normal name is an alias. */
29501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29504 char (*f) () = $ac_func;
29513 return f != $ac_func;
29518 rm -f conftest.
$ac_objext conftest
$ac_exeext
29519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29520 (eval $ac_link) 2>&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); } &&
29524 { ac_try
='test -s conftest$ac_exeext'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; }; then
29530 eval "$as_ac_var=yes"
29532 echo "$as_me: failed program was:" >&5
29533 sed 's/^/| /' conftest.
$ac_ext >&5
29535 eval "$as_ac_var=no"
29537 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29541 if test `eval echo '${'$as_ac_var'}'` = yes; then
29542 cat >>confdefs.h
<<_ACEOF
29543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29551 for ac_header
in sched.h
29553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29555 echo "$as_me:$LINENO: checking for $ac_header" >&5
29556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29558 echo $ECHO_N "(cached) $ECHO_C" >&6
29560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29563 # Is the header compilable?
29564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29566 cat >conftest.
$ac_ext <<_ACEOF
29567 #line $LINENO "configure"
29570 cat confdefs.h
>>conftest.
$ac_ext
29571 cat >>conftest.
$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29573 $ac_includes_default
29574 #include <$ac_header>
29576 rm -f conftest.
$ac_objext
29577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29578 (eval $ac_compile) 2>&5
29580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29581 (exit $ac_status); } &&
29582 { ac_try
='test -s conftest.$ac_objext'
29583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29584 (eval $ac_try) 2>&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); }; }; then
29588 ac_header_compiler
=yes
29590 echo "$as_me: failed program was:" >&5
29591 sed 's/^/| /' conftest.
$ac_ext >&5
29593 ac_header_compiler
=no
29595 rm -f conftest.
$ac_objext conftest.
$ac_ext
29596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29597 echo "${ECHO_T}$ac_header_compiler" >&6
29599 # Is the header present?
29600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29602 cat >conftest.
$ac_ext <<_ACEOF
29603 #line $LINENO "configure"
29606 cat confdefs.h
>>conftest.
$ac_ext
29607 cat >>conftest.
$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609 #include <$ac_header>
29611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29614 grep -v '^ *+' conftest.er1
>conftest.err
29616 cat conftest.err
>&5
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); } >/dev
/null
; then
29619 if test -s conftest.err
; then
29620 ac_cpp_err
=$ac_c_preproc_warn_flag
29627 if test -z "$ac_cpp_err"; then
29628 ac_header_preproc
=yes
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.
$ac_ext >&5
29633 ac_header_preproc
=no
29635 rm -f conftest.err conftest.
$ac_ext
29636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29637 echo "${ECHO_T}$ac_header_preproc" >&6
29639 # So? What about this header?
29640 case $ac_header_compiler:$ac_header_preproc in
29642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29648 ## ------------------------------------ ##
29649 ## Report this to bug-autoconf@gnu.org. ##
29650 ## ------------------------------------ ##
29653 sed "s/^/$as_me: WARNING: /" >&2
29656 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29657 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29658 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29659 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29664 ## ------------------------------------ ##
29665 ## Report this to bug-autoconf@gnu.org. ##
29666 ## ------------------------------------ ##
29669 sed "s/^/$as_me: WARNING: /" >&2
29672 echo "$as_me:$LINENO: checking for $ac_header" >&5
29673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29677 eval "$as_ac_Header=$ac_header_preproc"
29679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29684 cat >>confdefs.h
<<_ACEOF
29685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29692 if test "$ac_cv_header_sched_h" = "yes"; then
29693 echo "$as_me:$LINENO: checking for sched_yield" >&5
29694 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29695 if test "${ac_cv_func_sched_yield+set}" = set; then
29696 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 cat >conftest.
$ac_ext <<_ACEOF
29699 #line $LINENO "configure"
29702 cat confdefs.h
>>conftest.
$ac_ext
29703 cat >>conftest.
$ac_ext <<_ACEOF
29704 /* end confdefs.h. */
29705 /* System header to define __stub macros and hopefully few prototypes,
29706 which can conflict with char sched_yield (); below.
29707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29708 <limits.h> exists even on freestanding compilers. */
29710 # include <limits.h>
29712 # include <assert.h>
29714 /* Override any gcc2 internal prototype to avoid an error. */
29719 /* We use char because int might match the return type of a gcc2
29720 builtin and then its argument prototype would still apply. */
29721 char sched_yield ();
29722 /* The GNU C library defines this for functions which it implements
29723 to always fail with ENOSYS. Some functions are actually named
29724 something starting with __ and the normal name is an alias. */
29725 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29728 char (*f) () = sched_yield;
29737 return f != sched_yield;
29742 rm -f conftest.
$ac_objext conftest
$ac_exeext
29743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29744 (eval $ac_link) 2>&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } &&
29748 { ac_try
='test -s conftest$ac_exeext'
29749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29750 (eval $ac_try) 2>&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); }; }; then
29754 ac_cv_func_sched_yield
=yes
29756 echo "$as_me: failed program was:" >&5
29757 sed 's/^/| /' conftest.
$ac_ext >&5
29759 ac_cv_func_sched_yield
=no
29761 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29763 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29764 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29765 if test $ac_cv_func_sched_yield = yes; then
29766 cat >>confdefs.h
<<\_ACEOF
29767 #define HAVE_SCHED_YIELD 1
29772 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29773 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29774 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29775 echo $ECHO_N "(cached) $ECHO_C" >&6
29777 ac_check_lib_save_LIBS
=$LIBS
29778 LIBS
="-lposix4 $LIBS"
29779 cat >conftest.
$ac_ext <<_ACEOF
29780 #line $LINENO "configure"
29783 cat confdefs.h
>>conftest.
$ac_ext
29784 cat >>conftest.
$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29787 /* Override any gcc2 internal prototype to avoid an error. */
29791 /* We use char because int might match the return type of a gcc2
29792 builtin and then its argument prototype would still apply. */
29793 char sched_yield ();
29802 rm -f conftest.
$ac_objext conftest
$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>&5
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); } &&
29808 { ac_try
='test -s conftest$ac_exeext'
29809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810 (eval $ac_try) 2>&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); }; }; then
29814 ac_cv_lib_posix4_sched_yield
=yes
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.
$ac_ext >&5
29819 ac_cv_lib_posix4_sched_yield
=no
29821 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29822 LIBS
=$ac_check_lib_save_LIBS
29824 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29825 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29826 if test $ac_cv_lib_posix4_sched_yield = yes; then
29827 cat >>confdefs.h
<<\_ACEOF
29828 #define HAVE_SCHED_YIELD 1
29830 POSIX4_LINK
=" -lposix4"
29832 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29833 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29844 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29845 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29846 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29847 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 cat >conftest.
$ac_ext <<_ACEOF
29850 #line $LINENO "configure"
29853 cat confdefs.h
>>conftest.
$ac_ext
29854 cat >>conftest.
$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29856 /* System header to define __stub macros and hopefully few prototypes,
29857 which can conflict with char pthread_attr_getschedpolicy (); below.
29858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29859 <limits.h> exists even on freestanding compilers. */
29861 # include <limits.h>
29863 # include <assert.h>
29865 /* Override any gcc2 internal prototype to avoid an error. */
29870 /* We use char because int might match the return type of a gcc2
29871 builtin and then its argument prototype would still apply. */
29872 char pthread_attr_getschedpolicy ();
29873 /* The GNU C library defines this for functions which it implements
29874 to always fail with ENOSYS. Some functions are actually named
29875 something starting with __ and the normal name is an alias. */
29876 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29879 char (*f) () = pthread_attr_getschedpolicy;
29888 return f != pthread_attr_getschedpolicy;
29893 rm -f conftest.
$ac_objext conftest
$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895 (eval $ac_link) 2>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try
='test -s conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905 ac_cv_func_pthread_attr_getschedpolicy
=yes
29907 echo "$as_me: failed program was:" >&5
29908 sed 's/^/| /' conftest.
$ac_ext >&5
29910 ac_cv_func_pthread_attr_getschedpolicy
=no
29912 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29914 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29915 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29916 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29917 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29918 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29919 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29920 echo $ECHO_N "(cached) $ECHO_C" >&6
29922 cat >conftest.
$ac_ext <<_ACEOF
29923 #line $LINENO "configure"
29926 cat confdefs.h
>>conftest.
$ac_ext
29927 cat >>conftest.
$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29929 /* System header to define __stub macros and hopefully few prototypes,
29930 which can conflict with char pthread_attr_setschedparam (); below.
29931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29932 <limits.h> exists even on freestanding compilers. */
29934 # include <limits.h>
29936 # include <assert.h>
29938 /* Override any gcc2 internal prototype to avoid an error. */
29943 /* We use char because int might match the return type of a gcc2
29944 builtin and then its argument prototype would still apply. */
29945 char pthread_attr_setschedparam ();
29946 /* The GNU C library defines this for functions which it implements
29947 to always fail with ENOSYS. Some functions are actually named
29948 something starting with __ and the normal name is an alias. */
29949 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29952 char (*f) () = pthread_attr_setschedparam;
29961 return f != pthread_attr_setschedparam;
29966 rm -f conftest.
$ac_objext conftest
$ac_exeext
29967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29968 (eval $ac_link) 2>&5
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); } &&
29972 { ac_try
='test -s conftest$ac_exeext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 ac_cv_func_pthread_attr_setschedparam
=yes
29980 echo "$as_me: failed program was:" >&5
29981 sed 's/^/| /' conftest.
$ac_ext >&5
29983 ac_cv_func_pthread_attr_setschedparam
=no
29985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29987 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29988 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29989 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29990 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29991 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29992 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 cat >conftest.
$ac_ext <<_ACEOF
29996 #line $LINENO "configure"
29999 cat confdefs.h
>>conftest.
$ac_ext
30000 cat >>conftest.
$ac_ext <<_ACEOF
30001 /* end confdefs.h. */
30002 /* System header to define __stub macros and hopefully few prototypes,
30003 which can conflict with char sched_get_priority_max (); below.
30004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30005 <limits.h> exists even on freestanding compilers. */
30007 # include <limits.h>
30009 # include <assert.h>
30011 /* Override any gcc2 internal prototype to avoid an error. */
30016 /* We use char because int might match the return type of a gcc2
30017 builtin and then its argument prototype would still apply. */
30018 char sched_get_priority_max ();
30019 /* The GNU C library defines this for functions which it implements
30020 to always fail with ENOSYS. Some functions are actually named
30021 something starting with __ and the normal name is an alias. */
30022 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30025 char (*f) () = sched_get_priority_max;
30034 return f != sched_get_priority_max;
30039 rm -f conftest.
$ac_objext conftest
$ac_exeext
30040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30041 (eval $ac_link) 2>&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } &&
30045 { ac_try
='test -s conftest$ac_exeext'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; }; then
30051 ac_cv_func_sched_get_priority_max
=yes
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.
$ac_ext >&5
30056 ac_cv_func_sched_get_priority_max
=no
30058 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30060 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30061 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30062 if test $ac_cv_func_sched_get_priority_max = yes; then
30065 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30066 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30067 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30068 echo $ECHO_N "(cached) $ECHO_C" >&6
30070 ac_check_lib_save_LIBS
=$LIBS
30071 LIBS
="-lposix4 $LIBS"
30072 cat >conftest.
$ac_ext <<_ACEOF
30073 #line $LINENO "configure"
30076 cat confdefs.h
>>conftest.
$ac_ext
30077 cat >>conftest.
$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30080 /* Override any gcc2 internal prototype to avoid an error. */
30084 /* We use char because int might match the return type of a gcc2
30085 builtin and then its argument prototype would still apply. */
30086 char sched_get_priority_max ();
30090 sched_get_priority_max ();
30095 rm -f conftest.
$ac_objext conftest
$ac_exeext
30096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30097 (eval $ac_link) 2>&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); } &&
30101 { ac_try
='test -s conftest$ac_exeext'
30102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30103 (eval $ac_try) 2>&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); }; }; then
30107 ac_cv_lib_posix4_sched_get_priority_max
=yes
30109 echo "$as_me: failed program was:" >&5
30110 sed 's/^/| /' conftest.
$ac_ext >&5
30112 ac_cv_lib_posix4_sched_get_priority_max
=no
30114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30115 LIBS
=$ac_check_lib_save_LIBS
30117 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30118 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30119 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30122 POSIX4_LINK
=" -lposix4"
30136 if test "$HAVE_PRIOR_FUNCS" = 1; then
30137 cat >>confdefs.h
<<\_ACEOF
30138 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30142 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30143 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30146 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30147 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30148 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30149 echo $ECHO_N "(cached) $ECHO_C" >&6
30151 cat >conftest.
$ac_ext <<_ACEOF
30152 #line $LINENO "configure"
30155 cat confdefs.h
>>conftest.
$ac_ext
30156 cat >>conftest.
$ac_ext <<_ACEOF
30157 /* end confdefs.h. */
30158 /* System header to define __stub macros and hopefully few prototypes,
30159 which can conflict with char pthread_cancel (); below.
30160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30161 <limits.h> exists even on freestanding compilers. */
30163 # include <limits.h>
30165 # include <assert.h>
30167 /* Override any gcc2 internal prototype to avoid an error. */
30172 /* We use char because int might match the return type of a gcc2
30173 builtin and then its argument prototype would still apply. */
30174 char pthread_cancel ();
30175 /* The GNU C library defines this for functions which it implements
30176 to always fail with ENOSYS. Some functions are actually named
30177 something starting with __ and the normal name is an alias. */
30178 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30181 char (*f) () = pthread_cancel;
30190 return f != pthread_cancel;
30195 rm -f conftest.
$ac_objext conftest
$ac_exeext
30196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30197 (eval $ac_link) 2>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } &&
30201 { ac_try
='test -s conftest$ac_exeext'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; }; then
30207 ac_cv_func_pthread_cancel
=yes
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.
$ac_ext >&5
30212 ac_cv_func_pthread_cancel
=no
30214 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30216 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30217 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30218 if test $ac_cv_func_pthread_cancel = yes; then
30219 cat >>confdefs.h
<<\_ACEOF
30220 #define HAVE_PTHREAD_CANCEL 1
30224 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30225 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30231 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30232 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30233 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30234 echo $ECHO_N "(cached) $ECHO_C" >&6
30237 cat >conftest.
$ac_ext <<_ACEOF
30238 #line $LINENO "configure"
30241 cat confdefs.h
>>conftest.
$ac_ext
30242 cat >>conftest.
$ac_ext <<_ACEOF
30243 /* end confdefs.h. */
30244 #include <pthread.h>
30249 pthread_mutexattr_t attr;
30250 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30256 rm -f conftest.
$ac_objext
30257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30258 (eval $ac_compile) 2>&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); } &&
30262 { ac_try
='test -s conftest.$ac_objext'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; }; then
30269 wx_cv_type_pthread_mutexattr_t
=yes
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.
$ac_ext >&5
30276 wx_cv_type_pthread_mutexattr_t
=no
30280 rm -f conftest.
$ac_objext conftest.
$ac_ext
30283 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30284 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30286 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30287 cat >>confdefs.h
<<\_ACEOF
30288 #define HAVE_PTHREAD_MUTEXATTR_T 1
30292 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30293 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30294 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 cat >conftest.
$ac_ext <<_ACEOF
30299 #line $LINENO "configure"
30302 cat confdefs.h
>>conftest.
$ac_ext
30303 cat >>conftest.
$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305 #include <pthread.h>
30310 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30316 rm -f conftest.
$ac_objext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30318 (eval $ac_compile) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try
='test -s conftest.$ac_objext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30329 wx_cv_type_pthread_rec_mutex_init
=yes
30332 echo "$as_me: failed program was:" >&5
30333 sed 's/^/| /' conftest.
$ac_ext >&5
30336 wx_cv_type_pthread_rec_mutex_init
=no
30340 rm -f conftest.
$ac_objext conftest.
$ac_ext
30343 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30344 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30345 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30351 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30352 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30358 if test "$wxUSE_THREADS" = "yes" ; then
30361 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30362 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30363 if test "${wx_cv_cflags_mthread+set}" = set; then
30364 echo $ECHO_N "(cached) $ECHO_C" >&6
30367 CFLAGS_OLD
="$CFLAGS"
30368 CFLAGS
="$CFLAGS -mthreads"
30369 cat >conftest.
$ac_ext <<_ACEOF
30370 #line $LINENO "configure"
30373 cat confdefs.h
>>conftest.
$ac_ext
30374 cat >>conftest.
$ac_ext <<_ACEOF
30375 /* end confdefs.h. */
30385 rm -f conftest.
$ac_objext
30386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30387 (eval $ac_compile) 2>&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); } &&
30391 { ac_try
='test -s conftest.$ac_objext'
30392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393 (eval $ac_try) 2>&5
30395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396 (exit $ac_status); }; }; then
30397 wx_cv_cflags_mthread
=yes
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.
$ac_ext >&5
30402 wx_cv_cflags_mthread
=no
30405 rm -f conftest.
$ac_objext conftest.
$ac_ext
30409 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30410 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30412 if test "$wx_cv_cflags_mthread" = "yes"; then
30413 CXXFLAGS
="$CXXFLAGS -mthreads"
30414 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30415 LDFLAGS
="$LDFLAGS -mthreads"
30417 CFLAGS
="$CFLAGS_OLD"
30421 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30422 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30423 LDFLAGS
="$LDFLAGS -Zmt"
30429 if test "$wxUSE_THREADS" = "yes"; then
30430 cat >>confdefs.h
<<\_ACEOF
30431 #define wxUSE_THREADS 1
30435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30437 if test "$ac_cv_func_strtok_r" = "yes"; then
30438 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30439 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30440 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30441 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30442 echo "$as_me:$LINENO: result: yes" >&5
30443 echo "${ECHO_T}yes" >&6
30445 echo "$as_me:$LINENO: result: no" >&5
30446 echo "${ECHO_T}no" >&6
30451 if test "$WXGTK20" = 1 ; then
30452 cat >>confdefs.h
<<_ACEOF
30453 #define __WXGTK20__ $WXGTK20
30459 if test "$WXGTK12" = 1 ; then
30460 cat >>confdefs.h
<<_ACEOF
30461 #define __WXGTK12__ $WXGTK12
30466 if test "$WXGTK127" = 1 ; then
30467 cat >>confdefs.h
<<_ACEOF
30468 #define __WXGTK127__ $WXGTK127
30475 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30480 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30481 wxUSE_DEBUG_INFO
=yes
30485 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30486 cat >>confdefs.h
<<\_ACEOF
30490 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30492 if test "$wxUSE_GTK" = 1 ; then
30493 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30497 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30498 cat >>confdefs.h
<<\_ACEOF
30499 #define wxUSE_MEMORY_TRACING 1
30502 cat >>confdefs.h
<<\_ACEOF
30503 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30506 cat >>confdefs.h
<<\_ACEOF
30507 #define wxUSE_DEBUG_NEW_ALWAYS 1
30510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30513 if test "$wxUSE_DMALLOC" = "yes" ; then
30514 DMALLOC_LIBS
="-ldmalloc"
30518 if test "$wxUSE_PROFILE" = "yes" ; then
30523 CODE_GEN_FLAGS_CXX
=
30524 if test "$GCC" = "yes" ; then
30525 if test "$wxUSE_NO_RTTI" = "yes" ; then
30526 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30528 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30529 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30531 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30532 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30537 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30540 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30546 if test "$wxUSE_OPTIMISE" = "no" ; then
30547 if test "$GCC" = yes ; then
30551 if test "$GCC" = yes ; then
30555 i586
-*-*|i686
-*-* )
30556 OPTIMISE
="${OPTIMISE} "
30565 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30566 cat >>confdefs.h
<<\_ACEOF
30567 #define WXWIN_COMPATIBILITY_2_2 1
30571 WXWIN_COMPATIBILITY_2_4
="yes"
30574 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30575 cat >>confdefs.h
<<\_ACEOF
30576 #define WXWIN_COMPATIBILITY_2_4 1
30582 if test "$wxUSE_GUI" = "yes"; then
30583 cat >>confdefs.h
<<\_ACEOF
30584 #define wxUSE_GUI 1
30589 cat >>confdefs.h
<<\_ACEOF
30590 #define wxUSE_NOGUI 1
30596 if test "$wxUSE_UNIX" = "yes"; then
30597 cat >>confdefs.h
<<\_ACEOF
30598 #define wxUSE_UNIX 1
30604 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
30608 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
30609 if test "$USE_DARWIN" = 1; then
30613 for ac_func
in dlopen
30615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30616 echo "$as_me:$LINENO: checking for $ac_func" >&5
30617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30618 if eval "test \"\${$as_ac_var+set}\" = set"; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 cat >conftest.
$ac_ext <<_ACEOF
30622 #line $LINENO "configure"
30625 cat confdefs.h
>>conftest.
$ac_ext
30626 cat >>conftest.
$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30628 /* System header to define __stub macros and hopefully few prototypes,
30629 which can conflict with char $ac_func (); below.
30630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30631 <limits.h> exists even on freestanding compilers. */
30633 # include <limits.h>
30635 # include <assert.h>
30637 /* Override any gcc2 internal prototype to avoid an error. */
30642 /* We use char because int might match the return type of a gcc2
30643 builtin and then its argument prototype would still apply. */
30645 /* The GNU C library defines this for functions which it implements
30646 to always fail with ENOSYS. Some functions are actually named
30647 something starting with __ and the normal name is an alias. */
30648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30651 char (*f) () = $ac_func;
30660 return f != $ac_func;
30665 rm -f conftest.
$ac_objext conftest
$ac_exeext
30666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30667 (eval $ac_link) 2>&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); } &&
30671 { ac_try
='test -s conftest$ac_exeext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 eval "$as_ac_var=yes"
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.
$ac_ext >&5
30682 eval "$as_ac_var=no"
30684 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30688 if test `eval echo '${'$as_ac_var'}'` = yes; then
30689 cat >>confdefs.h
<<_ACEOF
30690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30693 cat >>confdefs.h
<<\_ACEOF
30694 #define HAVE_DLOPEN 1
30701 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
30702 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
30703 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
30704 echo $ECHO_N "(cached) $ECHO_C" >&6
30706 ac_check_lib_save_LIBS
=$LIBS
30708 cat >conftest.
$ac_ext <<_ACEOF
30709 #line $LINENO "configure"
30712 cat confdefs.h
>>conftest.
$ac_ext
30713 cat >>conftest.
$ac_ext <<_ACEOF
30714 /* end confdefs.h. */
30716 /* Override any gcc2 internal prototype to avoid an error. */
30720 /* We use char because int might match the return type of a gcc2
30721 builtin and then its argument prototype would still apply. */
30731 rm -f conftest.
$ac_objext conftest
$ac_exeext
30732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30733 (eval $ac_link) 2>&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); } &&
30737 { ac_try
='test -s conftest$ac_exeext'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; }; then
30743 ac_cv_lib_dl_dlopen
=yes
30745 echo "$as_me: failed program was:" >&5
30746 sed 's/^/| /' conftest.
$ac_ext >&5
30748 ac_cv_lib_dl_dlopen
=no
30750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30751 LIBS
=$ac_check_lib_save_LIBS
30753 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
30754 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
30755 if test $ac_cv_lib_dl_dlopen = yes; then
30757 cat >>confdefs.h
<<\_ACEOF
30758 #define HAVE_DLOPEN 1
30762 DL_LINK
=" -ldl$DL_LINK"
30767 for ac_func
in shl_load
30769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30770 echo "$as_me:$LINENO: checking for $ac_func" >&5
30771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30772 if eval "test \"\${$as_ac_var+set}\" = set"; then
30773 echo $ECHO_N "(cached) $ECHO_C" >&6
30775 cat >conftest.
$ac_ext <<_ACEOF
30776 #line $LINENO "configure"
30779 cat confdefs.h
>>conftest.
$ac_ext
30780 cat >>conftest.
$ac_ext <<_ACEOF
30781 /* end confdefs.h. */
30782 /* System header to define __stub macros and hopefully few prototypes,
30783 which can conflict with char $ac_func (); below.
30784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30785 <limits.h> exists even on freestanding compilers. */
30787 # include <limits.h>
30789 # include <assert.h>
30791 /* Override any gcc2 internal prototype to avoid an error. */
30796 /* We use char because int might match the return type of a gcc2
30797 builtin and then its argument prototype would still apply. */
30799 /* The GNU C library defines this for functions which it implements
30800 to always fail with ENOSYS. Some functions are actually named
30801 something starting with __ and the normal name is an alias. */
30802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30805 char (*f) () = $ac_func;
30814 return f != $ac_func;
30819 rm -f conftest.
$ac_objext conftest
$ac_exeext
30820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30821 (eval $ac_link) 2>&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); } &&
30825 { ac_try
='test -s conftest$ac_exeext'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; }; then
30831 eval "$as_ac_var=yes"
30833 echo "$as_me: failed program was:" >&5
30834 sed 's/^/| /' conftest.
$ac_ext >&5
30836 eval "$as_ac_var=no"
30838 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30842 if test `eval echo '${'$as_ac_var'}'` = yes; then
30843 cat >>confdefs.h
<<_ACEOF
30844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30847 cat >>confdefs.h
<<\_ACEOF
30848 #define HAVE_SHL_LOAD 1
30855 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
30856 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
30857 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30860 ac_check_lib_save_LIBS
=$LIBS
30861 LIBS
="-lshl_load $LIBS"
30862 cat >conftest.
$ac_ext <<_ACEOF
30863 #line $LINENO "configure"
30866 cat confdefs.h
>>conftest.
$ac_ext
30867 cat >>conftest.
$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30870 /* Override any gcc2 internal prototype to avoid an error. */
30874 /* We use char because int might match the return type of a gcc2
30875 builtin and then its argument prototype would still apply. */
30885 rm -f conftest.
$ac_objext conftest
$ac_exeext
30886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30887 (eval $ac_link) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try
='test -s conftest$ac_exeext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897 ac_cv_lib_shl_load_dld
=yes
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.
$ac_ext >&5
30902 ac_cv_lib_shl_load_dld
=no
30904 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30905 LIBS
=$ac_check_lib_save_LIBS
30907 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
30908 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
30909 if test $ac_cv_lib_shl_load_dld = yes; then
30912 DL_LINK
=" -ldld$DL_LINK"
30928 if test "$HAVE_DL_FUNCS" = 1; then
30930 for ac_func
in dlerror
30932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30933 echo "$as_me:$LINENO: checking for $ac_func" >&5
30934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30935 if eval "test \"\${$as_ac_var+set}\" = set"; then
30936 echo $ECHO_N "(cached) $ECHO_C" >&6
30938 cat >conftest.
$ac_ext <<_ACEOF
30939 #line $LINENO "configure"
30942 cat confdefs.h
>>conftest.
$ac_ext
30943 cat >>conftest.
$ac_ext <<_ACEOF
30944 /* end confdefs.h. */
30945 /* System header to define __stub macros and hopefully few prototypes,
30946 which can conflict with char $ac_func (); below.
30947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30948 <limits.h> exists even on freestanding compilers. */
30950 # include <limits.h>
30952 # include <assert.h>
30954 /* Override any gcc2 internal prototype to avoid an error. */
30959 /* We use char because int might match the return type of a gcc2
30960 builtin and then its argument prototype would still apply. */
30962 /* The GNU C library defines this for functions which it implements
30963 to always fail with ENOSYS. Some functions are actually named
30964 something starting with __ and the normal name is an alias. */
30965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30968 char (*f) () = $ac_func;
30977 return f != $ac_func;
30982 rm -f conftest.
$ac_objext conftest
$ac_exeext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30984 (eval $ac_link) 2>&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } &&
30988 { ac_try
='test -s conftest$ac_exeext'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994 eval "$as_ac_var=yes"
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.
$ac_ext >&5
30999 eval "$as_ac_var=no"
31001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31005 if test `eval echo '${'$as_ac_var'}'` = yes; then
31006 cat >>confdefs.h
<<_ACEOF
31007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31009 cat >>confdefs.h
<<\_ACEOF
31010 #define HAVE_DLERROR 1
31015 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31016 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31017 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 ac_check_lib_save_LIBS
=$LIBS
31022 cat >conftest.
$ac_ext <<_ACEOF
31023 #line $LINENO "configure"
31026 cat confdefs.h
>>conftest.
$ac_ext
31027 cat >>conftest.
$ac_ext <<_ACEOF
31028 /* end confdefs.h. */
31030 /* Override any gcc2 internal prototype to avoid an error. */
31034 /* We use char because int might match the return type of a gcc2
31035 builtin and then its argument prototype would still apply. */
31045 rm -f conftest.
$ac_objext conftest
$ac_exeext
31046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31047 (eval $ac_link) 2>&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); } &&
31051 { ac_try
='test -s conftest$ac_exeext'
31052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31053 (eval $ac_try) 2>&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); }; }; then
31057 ac_cv_lib_dl_dlerror
=yes
31059 echo "$as_me: failed program was:" >&5
31060 sed 's/^/| /' conftest.
$ac_ext >&5
31062 ac_cv_lib_dl_dlerror
=no
31064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31065 LIBS
=$ac_check_lib_save_LIBS
31067 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31068 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31069 if test $ac_cv_lib_dl_dlerror = yes; then
31070 cat >>confdefs.h
<<\_ACEOF
31071 #define HAVE_DLERROR 1
31084 if test "$HAVE_DL_FUNCS" = 0; then
31085 if test "$HAVE_SHL_FUNCS" = 0; then
31086 if test "$USE_UNIX" = 1; then
31087 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31088 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31089 wxUSE_DYNAMIC_LOADER
=no
31090 wxUSE_DYNLIB_CLASS
=no
31092 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31093 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31100 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31101 cat >>confdefs.h
<<\_ACEOF
31102 #define wxUSE_DYNAMIC_LOADER 1
31106 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31107 cat >>confdefs.h
<<\_ACEOF
31108 #define wxUSE_DYNLIB_CLASS 1
31115 if test "$wxUSE_PLUGINS" = "yes" ; then
31116 if test "$wxUSE_SHARED" = "no" ; then
31117 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31118 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31121 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31122 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31123 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31126 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31127 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31128 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31131 if test "$wxUSE_PLUGINS" = "yes" ; then
31132 cat >>confdefs.h
<<\_ACEOF
31133 #define wxUSE_PLUGINS 1
31140 if test "$wxUSE_STL" = "yes"; then
31141 cat >>confdefs.h
<<\_ACEOF
31142 #define wxUSE_STL 1
31147 if test "$wxUSE_APPLE_IEEE" = "yes"; then
31148 cat >>confdefs.h
<<\_ACEOF
31149 #define wxUSE_APPLE_IEEE 1
31154 if test "$wxUSE_TIMER" = "yes"; then
31155 cat >>confdefs.h
<<\_ACEOF
31156 #define wxUSE_TIMER 1
31162 if test "$wxUSE_SOUND" = "yes"; then
31163 if test "$USE_UNIX" = "1" ; then
31165 for ac_header
in sys
/soundcard.h
31167 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31169 echo "$as_me:$LINENO: checking for $ac_header" >&5
31170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31172 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31177 # Is the header compilable?
31178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31180 cat >conftest.
$ac_ext <<_ACEOF
31181 #line $LINENO "configure"
31184 cat confdefs.h
>>conftest.
$ac_ext
31185 cat >>conftest.
$ac_ext <<_ACEOF
31186 /* end confdefs.h. */
31187 $ac_includes_default
31188 #include <$ac_header>
31190 rm -f conftest.
$ac_objext
31191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31192 (eval $ac_compile) 2>&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); } &&
31196 { ac_try
='test -s conftest.$ac_objext'
31197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31198 (eval $ac_try) 2>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); }; }; then
31202 ac_header_compiler
=yes
31204 echo "$as_me: failed program was:" >&5
31205 sed 's/^/| /' conftest.
$ac_ext >&5
31207 ac_header_compiler
=no
31209 rm -f conftest.
$ac_objext conftest.
$ac_ext
31210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31211 echo "${ECHO_T}$ac_header_compiler" >&6
31213 # Is the header present?
31214 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31216 cat >conftest.
$ac_ext <<_ACEOF
31217 #line $LINENO "configure"
31220 cat confdefs.h
>>conftest.
$ac_ext
31221 cat >>conftest.
$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31223 #include <$ac_header>
31225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31228 grep -v '^ *+' conftest.er1
>conftest.err
31230 cat conftest.err
>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } >/dev
/null
; then
31233 if test -s conftest.err
; then
31234 ac_cpp_err
=$ac_c_preproc_warn_flag
31241 if test -z "$ac_cpp_err"; then
31242 ac_header_preproc
=yes
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.
$ac_ext >&5
31247 ac_header_preproc
=no
31249 rm -f conftest.err conftest.
$ac_ext
31250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31251 echo "${ECHO_T}$ac_header_preproc" >&6
31253 # So? What about this header?
31254 case $ac_header_compiler:$ac_header_preproc in
31256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31262 ## ------------------------------------ ##
31263 ## Report this to bug-autoconf@gnu.org. ##
31264 ## ------------------------------------ ##
31267 sed "s/^/$as_me: WARNING: /" >&2
31270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31278 ## ------------------------------------ ##
31279 ## Report this to bug-autoconf@gnu.org. ##
31280 ## ------------------------------------ ##
31283 sed "s/^/$as_me: WARNING: /" >&2
31286 echo "$as_me:$LINENO: checking for $ac_header" >&5
31287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 eval "$as_ac_Header=$ac_header_preproc"
31293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31298 cat >>confdefs.h
<<_ACEOF
31299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31307 if test "$wxUSE_LIBSDL" != "no"; then
31309 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
31310 if test "${with_sdl_prefix+set}" = set; then
31311 withval
="$with_sdl_prefix"
31312 sdl_prefix
="$withval"
31317 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
31318 if test "${with_sdl_exec_prefix+set}" = set; then
31319 withval
="$with_sdl_exec_prefix"
31320 sdl_exec_prefix
="$withval"
31324 # Check whether --enable-sdltest or --disable-sdltest was given.
31325 if test "${enable_sdltest+set}" = set; then
31326 enableval
="$enable_sdltest"
31332 if test x
$sdl_exec_prefix != x
; then
31333 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
31334 if test x
${SDL_CONFIG+set} != xset
; then
31335 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
31338 if test x
$sdl_prefix != x
; then
31339 sdl_args
="$sdl_args --prefix=$sdl_prefix"
31340 if test x
${SDL_CONFIG+set} != xset
; then
31341 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
31346 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
31347 # Extract the first word of "sdl-config", so it can be a program name with args.
31348 set dummy sdl
-config; ac_word
=$2
31349 echo "$as_me:$LINENO: checking for $ac_word" >&5
31350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31351 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
31352 echo $ECHO_N "(cached) $ECHO_C" >&6
31354 case $SDL_CONFIG in
31356 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
31359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31360 for as_dir
in $PATH
31363 test -z "$as_dir" && as_dir
=.
31364 for ac_exec_ext
in '' $ac_executable_extensions; do
31365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31366 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31373 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
31377 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
31379 if test -n "$SDL_CONFIG"; then
31380 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
31381 echo "${ECHO_T}$SDL_CONFIG" >&6
31383 echo "$as_me:$LINENO: result: no" >&5
31384 echo "${ECHO_T}no" >&6
31387 min_sdl_version
=1.2.0
31388 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
31389 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
31391 if test "$SDL_CONFIG" = "no" ; then
31394 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
31395 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
31397 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
31398 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31399 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
31400 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31401 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
31402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31403 if test "x$enable_sdltest" = "xyes" ; then
31404 ac_save_CFLAGS
="$CFLAGS"
31405 ac_save_LIBS
="$LIBS"
31406 CFLAGS
="$CFLAGS $SDL_CFLAGS"
31407 LIBS
="$LIBS $SDL_LIBS"
31409 if test "$cross_compiling" = yes; then
31410 echo $ac_n "cross compiling; assumed OK... $ac_c"
31412 cat >conftest.
$ac_ext <<_ACEOF
31413 #line $LINENO "configure"
31416 cat confdefs.h
>>conftest.
$ac_ext
31417 cat >>conftest.
$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31421 #include <stdlib.h>
31422 #include <string.h>
31426 my_strdup (char *str)
31432 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31433 strcpy (new_str, str);
31441 int main (int argc, char *argv[])
31443 int major, minor, micro;
31446 /* This hangs on some systems (?)
31447 system ("touch conf.sdltest");
31449 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31451 /* HP/UX 9 (%@#!) writes to sscanf strings */
31452 tmp_version = my_strdup("$min_sdl_version");
31453 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31454 printf("%s, bad version string\n", "$min_sdl_version");
31458 if (($sdl_major_version > major) ||
31459 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31460 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31466 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31467 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31468 printf("*** best to upgrade to the required version.\n");
31469 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31470 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31471 printf("*** config.cache before re-running configure\n");
31478 rm -f conftest
$ac_exeext
31479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31480 (eval $ac_link) 2>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485 (eval $ac_try) 2>&5
31487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488 (exit $ac_status); }; }; then
31491 echo "$as_me: program exited with status $ac_status" >&5
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.
$ac_ext >&5
31495 ( exit $ac_status )
31498 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31500 CFLAGS
="$ac_save_CFLAGS"
31501 LIBS
="$ac_save_LIBS"
31504 if test "x$no_sdl" = x
; then
31505 echo "$as_me:$LINENO: result: yes" >&5
31506 echo "${ECHO_T}yes" >&6
31508 EXTRALIBS_SDL
="$SDL_LIBS"
31509 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
31510 cat >>confdefs.h
<<\_ACEOF
31511 #define wxUSE_LIBSDL 1
31516 echo "$as_me:$LINENO: result: no" >&5
31517 echo "${ECHO_T}no" >&6
31518 if test "$SDL_CONFIG" = "no" ; then
31519 echo "*** The sdl-config script installed by SDL could not be found"
31520 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31521 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31522 echo "*** full path to sdl-config."
31524 if test -f conf.sdltest
; then
31527 echo "*** Could not run SDL test program, checking why..."
31528 CFLAGS
="$CFLAGS $SDL_CFLAGS"
31529 LIBS
="$LIBS $SDL_LIBS"
31530 cat >conftest.
$ac_ext <<_ACEOF
31531 #line $LINENO "configure"
31534 cat confdefs.h
>>conftest.
$ac_ext
31535 cat >>conftest.
$ac_ext <<_ACEOF
31536 /* end confdefs.h. */
31541 int main(int argc, char *argv[])
31544 #define main K_and_R_C_main
31554 rm -f conftest.
$ac_objext conftest
$ac_exeext
31555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31556 (eval $ac_link) 2>&5
31558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31559 (exit $ac_status); } &&
31560 { ac_try
='test -s conftest$ac_exeext'
31561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31562 (eval $ac_try) 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; }; then
31566 echo "*** The test program compiled, but did not run. This usually means"
31567 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31568 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31569 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31570 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31571 echo "*** is required on your system"
31573 echo "*** If you have an old version installed, it is best to remove it, although"
31574 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31576 echo "$as_me: failed program was:" >&5
31577 sed 's/^/| /' conftest.
$ac_ext >&5
31579 echo "*** The test program failed to compile or link. See the file config.log for the"
31580 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
31581 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
31582 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
31584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31585 CFLAGS
="$ac_save_CFLAGS"
31586 LIBS
="$ac_save_LIBS"
31597 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
31603 cat >>confdefs.h
<<\_ACEOF
31604 #define wxUSE_SOUND 1
31607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
31610 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
31611 cat >>confdefs.h
<<\_ACEOF
31612 #define wxUSE_CMDLINE_PARSER 1
31617 if test "$wxUSE_STOPWATCH" = "yes"; then
31618 cat >>confdefs.h
<<\_ACEOF
31619 #define wxUSE_STOPWATCH 1
31624 if test "$wxUSE_DATETIME" = "yes"; then
31625 cat >>confdefs.h
<<\_ACEOF
31626 #define wxUSE_DATETIME 1
31631 if test "$wxUSE_FILE" = "yes"; then
31632 cat >>confdefs.h
<<\_ACEOF
31633 #define wxUSE_FILE 1
31638 if test "$wxUSE_FFILE" = "yes"; then
31639 cat >>confdefs.h
<<\_ACEOF
31640 #define wxUSE_FFILE 1
31645 if test "$wxUSE_FILESYSTEM" = "yes"; then
31646 cat >>confdefs.h
<<\_ACEOF
31647 #define wxUSE_FILESYSTEM 1
31652 if test "$wxUSE_FS_ZIP" = "yes"; then
31653 cat >>confdefs.h
<<\_ACEOF
31654 #define wxUSE_FS_ZIP 1
31659 if test "$wxUSE_ZIPSTREAM" = "yes"; then
31660 cat >>confdefs.h
<<\_ACEOF
31661 #define wxUSE_ZIPSTREAM 1
31666 if test "$wxUSE_GZSTREAM" = "yes"; then
31667 cat >>confdefs.h
<<\_ACEOF
31668 #define wxUSE_GZSTREAM 1
31673 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31674 cat >>confdefs.h
<<\_ACEOF
31675 #define wxUSE_ON_FATAL_EXCEPTION 1
31680 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31681 cat >>confdefs.h
<<\_ACEOF
31682 #define wxUSE_SNGLINST_CHECKER 1
31687 if test "$wxUSE_BUSYINFO" = "yes"; then
31688 cat >>confdefs.h
<<\_ACEOF
31689 #define wxUSE_BUSYINFO 1
31694 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
31695 cat >>confdefs.h
<<\_ACEOF
31696 #define wxUSE_STD_IOSTREAM 1
31701 if test "$wxUSE_TEXTBUFFER" = "yes"; then
31702 cat >>confdefs.h
<<\_ACEOF
31703 #define wxUSE_TEXTBUFFER 1
31708 if test "$wxUSE_TEXTFILE" = "yes"; then
31709 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
31710 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
31711 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
31713 cat >>confdefs.h
<<\_ACEOF
31714 #define wxUSE_TEXTFILE 1
31720 if test "$wxUSE_CONFIG" = "yes" ; then
31721 if test "$wxUSE_TEXTFILE" != "yes"; then
31722 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
31723 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
31725 cat >>confdefs.h
<<\_ACEOF
31726 #define wxUSE_CONFIG 1
31729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
31733 if test "$wxUSE_INTL" = "yes" ; then
31734 if test "$wxUSE_FILE" != "yes"; then
31735 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
31736 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
31738 cat >>confdefs.h
<<\_ACEOF
31739 #define wxUSE_INTL 1
31742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
31743 GUIDIST
="$GUIDIST INTL_DIST"
31747 if test "$wxUSE_LOG" = "yes"; then
31748 cat >>confdefs.h
<<\_ACEOF
31749 #define wxUSE_LOG 1
31753 if test "$wxUSE_LOGGUI" = "yes"; then
31754 cat >>confdefs.h
<<\_ACEOF
31755 #define wxUSE_LOGGUI 1
31760 if test "$wxUSE_LOGWINDOW" = "yes"; then
31761 cat >>confdefs.h
<<\_ACEOF
31762 #define wxUSE_LOGWINDOW 1
31767 if test "$wxUSE_LOGDIALOG" = "yes"; then
31768 cat >>confdefs.h
<<\_ACEOF
31769 #define wxUSE_LOG_DIALOG 1
31775 if test "$wxUSE_LONGLONG" = "yes"; then
31776 cat >>confdefs.h
<<\_ACEOF
31777 #define wxUSE_LONGLONG 1
31782 if test "$wxUSE_GEOMETRY" = "yes"; then
31783 cat >>confdefs.h
<<\_ACEOF
31784 #define wxUSE_GEOMETRY 1
31789 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
31790 cat >>confdefs.h
<<\_ACEOF
31791 #define wxUSE_DIALUP_MANAGER 1
31794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
31797 if test "$wxUSE_STREAMS" = "yes" ; then
31798 cat >>confdefs.h
<<\_ACEOF
31799 #define wxUSE_STREAMS 1
31805 if test "$wxUSE_DATETIME" = "yes"; then
31807 for ac_func
in strptime
31809 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31810 echo "$as_me:$LINENO: checking for $ac_func" >&5
31811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31812 if eval "test \"\${$as_ac_var+set}\" = set"; then
31813 echo $ECHO_N "(cached) $ECHO_C" >&6
31815 cat >conftest.
$ac_ext <<_ACEOF
31816 #line $LINENO "configure"
31819 cat confdefs.h
>>conftest.
$ac_ext
31820 cat >>conftest.
$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31822 /* System header to define __stub macros and hopefully few prototypes,
31823 which can conflict with char $ac_func (); below.
31824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31825 <limits.h> exists even on freestanding compilers. */
31827 # include <limits.h>
31829 # include <assert.h>
31831 /* Override any gcc2 internal prototype to avoid an error. */
31836 /* We use char because int might match the return type of a gcc2
31837 builtin and then its argument prototype would still apply. */
31839 /* The GNU C library defines this for functions which it implements
31840 to always fail with ENOSYS. Some functions are actually named
31841 something starting with __ and the normal name is an alias. */
31842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31845 char (*f) () = $ac_func;
31854 return f != $ac_func;
31859 rm -f conftest.
$ac_objext conftest
$ac_exeext
31860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31861 (eval $ac_link) 2>&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); } &&
31865 { ac_try
='test -s conftest$ac_exeext'
31866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31867 (eval $ac_try) 2>&5
31869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31870 (exit $ac_status); }; }; then
31871 eval "$as_ac_var=yes"
31873 echo "$as_me: failed program was:" >&5
31874 sed 's/^/| /' conftest.
$ac_ext >&5
31876 eval "$as_ac_var=no"
31878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31882 if test `eval echo '${'$as_ac_var'}'` = yes; then
31883 cat >>confdefs.h
<<_ACEOF
31884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31891 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
31892 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
31893 if test "${wx_cv_var_timezone+set}" = set; then
31894 echo $ECHO_N "(cached) $ECHO_C" >&6
31897 cat >conftest.
$ac_ext <<_ACEOF
31898 #line $LINENO "configure"
31901 cat confdefs.h
>>conftest.
$ac_ext
31902 cat >>conftest.
$ac_ext <<_ACEOF
31903 /* end confdefs.h. */
31918 rm -f conftest.
$ac_objext
31919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31920 (eval $ac_compile) 2>&5
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); } &&
31924 { ac_try
='test -s conftest.$ac_objext'
31925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31926 (eval $ac_try) 2>&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); }; }; then
31931 wx_cv_var_timezone
=timezone
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.
$ac_ext >&5
31938 cat >conftest.
$ac_ext <<_ACEOF
31939 #line $LINENO "configure"
31942 cat confdefs.h
>>conftest.
$ac_ext
31943 cat >>conftest.
$ac_ext <<_ACEOF
31944 /* end confdefs.h. */
31959 rm -f conftest.
$ac_objext
31960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31961 (eval $ac_compile) 2>&5
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); } &&
31965 { ac_try
='test -s conftest.$ac_objext'
31966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31967 (eval $ac_try) 2>&5
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); }; }; then
31972 wx_cv_var_timezone
=_timezone
31975 echo "$as_me: failed program was:" >&5
31976 sed 's/^/| /' conftest.
$ac_ext >&5
31979 cat >conftest.
$ac_ext <<_ACEOF
31980 #line $LINENO "configure"
31983 cat confdefs.h
>>conftest.
$ac_ext
31984 cat >>conftest.
$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
32000 rm -f conftest.
$ac_objext
32001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32002 (eval $ac_compile) 2>&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); } &&
32006 { ac_try
='test -s conftest.$ac_objext'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; }; then
32013 wx_cv_var_timezone
=__timezone
32016 echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.
$ac_ext >&5
32020 if test "$USE_DOS" = 0 ; then
32021 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32022 echo "$as_me: WARNING: no timezone variable" >&2;}
32027 rm -f conftest.
$ac_objext conftest.
$ac_ext
32031 rm -f conftest.
$ac_objext conftest.
$ac_ext
32035 rm -f conftest.
$ac_objext conftest.
$ac_ext
32039 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32040 echo "${ECHO_T}$wx_cv_var_timezone" >&6
32042 if test "x$wx_cv_var_timezone" != x
; then
32043 cat >>confdefs.h
<<_ACEOF
32044 #define WX_TIMEZONE $wx_cv_var_timezone
32050 for ac_func
in localtime
32052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32053 echo "$as_me:$LINENO: checking for $ac_func" >&5
32054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32055 if eval "test \"\${$as_ac_var+set}\" = set"; then
32056 echo $ECHO_N "(cached) $ECHO_C" >&6
32058 cat >conftest.
$ac_ext <<_ACEOF
32059 #line $LINENO "configure"
32062 cat confdefs.h
>>conftest.
$ac_ext
32063 cat >>conftest.
$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32065 /* System header to define __stub macros and hopefully few prototypes,
32066 which can conflict with char $ac_func (); below.
32067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32068 <limits.h> exists even on freestanding compilers. */
32070 # include <limits.h>
32072 # include <assert.h>
32074 /* Override any gcc2 internal prototype to avoid an error. */
32079 /* We use char because int might match the return type of a gcc2
32080 builtin and then its argument prototype would still apply. */
32082 /* The GNU C library defines this for functions which it implements
32083 to always fail with ENOSYS. Some functions are actually named
32084 something starting with __ and the normal name is an alias. */
32085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32088 char (*f) () = $ac_func;
32097 return f != $ac_func;
32102 rm -f conftest.
$ac_objext conftest
$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); } &&
32108 { ac_try
='test -s conftest$ac_exeext'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; }; then
32114 eval "$as_ac_var=yes"
32116 echo "$as_me: failed program was:" >&5
32117 sed 's/^/| /' conftest.
$ac_ext >&5
32119 eval "$as_ac_var=no"
32121 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32125 if test `eval echo '${'$as_ac_var'}'` = yes; then
32126 cat >>confdefs.h
<<_ACEOF
32127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32134 if test "$ac_cv_func_localtime" = "yes"; then
32135 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32136 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32137 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32138 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 cat >conftest.
$ac_ext <<_ACEOF
32142 #line $LINENO "configure"
32145 cat confdefs.h
>>conftest.
$ac_ext
32146 cat >>conftest.
$ac_ext <<_ACEOF
32147 /* end confdefs.h. */
32162 rm -f conftest.
$ac_objext
32163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32164 (eval $ac_compile) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try
='test -s conftest.$ac_objext'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; }; then
32175 wx_cv_struct_tm_has_gmtoff
=yes
32178 echo "$as_me: failed program was:" >&5
32179 sed 's/^/| /' conftest.
$ac_ext >&5
32181 wx_cv_struct_tm_has_gmtoff
=no
32184 rm -f conftest.
$ac_objext conftest.
$ac_ext
32187 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32188 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32191 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32192 cat >>confdefs.h
<<\_ACEOF
32193 #define WX_GMTOFF_IN_TM 1
32200 for ac_func
in gettimeofday ftime
32202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32203 echo "$as_me:$LINENO: checking for $ac_func" >&5
32204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32205 if eval "test \"\${$as_ac_var+set}\" = set"; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 cat >conftest.
$ac_ext <<_ACEOF
32209 #line $LINENO "configure"
32212 cat confdefs.h
>>conftest.
$ac_ext
32213 cat >>conftest.
$ac_ext <<_ACEOF
32214 /* end confdefs.h. */
32215 /* System header to define __stub macros and hopefully few prototypes,
32216 which can conflict with char $ac_func (); below.
32217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32218 <limits.h> exists even on freestanding compilers. */
32220 # include <limits.h>
32222 # include <assert.h>
32224 /* Override any gcc2 internal prototype to avoid an error. */
32229 /* We use char because int might match the return type of a gcc2
32230 builtin and then its argument prototype would still apply. */
32232 /* The GNU C library defines this for functions which it implements
32233 to always fail with ENOSYS. Some functions are actually named
32234 something starting with __ and the normal name is an alias. */
32235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32238 char (*f) () = $ac_func;
32247 return f != $ac_func;
32252 rm -f conftest.
$ac_objext conftest
$ac_exeext
32253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32254 (eval $ac_link) 2>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try
='test -s conftest$ac_exeext'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; }; then
32264 eval "$as_ac_var=yes"
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.
$ac_ext >&5
32269 eval "$as_ac_var=no"
32271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32275 if test `eval echo '${'$as_ac_var'}'` = yes; then
32276 cat >>confdefs.h
<<_ACEOF
32277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32284 if test "$ac_cv_func_gettimeofday" = "yes"; then
32285 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
32286 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
32287 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
32288 echo $ECHO_N "(cached) $ECHO_C" >&6
32294 ac_cpp
='$CXXCPP $CPPFLAGS'
32295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32300 cat >conftest.
$ac_ext <<_ACEOF
32301 #line $LINENO "configure"
32304 cat confdefs.h
>>conftest.
$ac_ext
32305 cat >>conftest.
$ac_ext <<_ACEOF
32306 /* end confdefs.h. */
32308 #include <sys/time.h>
32309 #include <unistd.h>
32316 gettimeofday(&tv, NULL);
32322 rm -f conftest.
$ac_objext
32323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32324 (eval $ac_compile) 2>&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); } &&
32328 { ac_try
='test -s conftest.$ac_objext'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; }; then
32334 wx_cv_func_gettimeofday_has_2_args
=yes
32336 echo "$as_me: failed program was:" >&5
32337 sed 's/^/| /' conftest.
$ac_ext >&5
32339 cat >conftest.
$ac_ext <<_ACEOF
32340 #line $LINENO "configure"
32343 cat confdefs.h
>>conftest.
$ac_ext
32344 cat >>conftest.
$ac_ext <<_ACEOF
32345 /* end confdefs.h. */
32347 #include <sys/time.h>
32348 #include <unistd.h>
32361 rm -f conftest.
$ac_objext
32362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32363 (eval $ac_compile) 2>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try
='test -s conftest.$ac_objext'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; }; then
32373 wx_cv_func_gettimeofday_has_2_args
=no
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.
$ac_ext >&5
32379 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
32380 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
32381 wx_cv_func_gettimeofday_has_2_args
=unknown
32385 rm -f conftest.
$ac_objext conftest.
$ac_ext
32388 rm -f conftest.
$ac_objext conftest.
$ac_ext
32390 ac_cpp
='$CPP $CPPFLAGS'
32391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32397 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
32398 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
32400 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
32401 cat >>confdefs.h
<<\_ACEOF
32402 #define WX_GETTIMEOFDAY_NO_TZ 1
32408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
32412 if test "$wxUSE_SOCKETS" = "yes"; then
32413 if test "$wxUSE_MGL" = "1"; then
32414 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
32415 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
32420 if test "$wxUSE_SOCKETS" = "yes"; then
32421 if test "$TOOLKIT" != "MSW"; then
32422 echo "$as_me:$LINENO: checking for socket" >&5
32423 echo $ECHO_N "checking for socket... $ECHO_C" >&6
32424 if test "${ac_cv_func_socket+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 cat >conftest.
$ac_ext <<_ACEOF
32428 #line $LINENO "configure"
32431 cat confdefs.h
>>conftest.
$ac_ext
32432 cat >>conftest.
$ac_ext <<_ACEOF
32433 /* end confdefs.h. */
32434 /* System header to define __stub macros and hopefully few prototypes,
32435 which can conflict with char socket (); below.
32436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32437 <limits.h> exists even on freestanding compilers. */
32439 # include <limits.h>
32441 # include <assert.h>
32443 /* Override any gcc2 internal prototype to avoid an error. */
32448 /* We use char because int might match the return type of a gcc2
32449 builtin and then its argument prototype would still apply. */
32451 /* The GNU C library defines this for functions which it implements
32452 to always fail with ENOSYS. Some functions are actually named
32453 something starting with __ and the normal name is an alias. */
32454 #if defined (__stub_socket) || defined (__stub___socket)
32457 char (*f) () = socket;
32466 return f != socket;
32471 rm -f conftest.
$ac_objext conftest
$ac_exeext
32472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32473 (eval $ac_link) 2>&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); } &&
32477 { ac_try
='test -s conftest$ac_exeext'
32478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479 (eval $ac_try) 2>&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); }; }; then
32483 ac_cv_func_socket
=yes
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.
$ac_ext >&5
32488 ac_cv_func_socket
=no
32490 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32492 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
32493 echo "${ECHO_T}$ac_cv_func_socket" >&6
32494 if test $ac_cv_func_socket = yes; then
32498 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
32499 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
32500 if test "${ac_cv_lib_socket_socket+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 ac_check_lib_save_LIBS
=$LIBS
32504 LIBS
="-lsocket $LIBS"
32505 cat >conftest.
$ac_ext <<_ACEOF
32506 #line $LINENO "configure"
32509 cat confdefs.h
>>conftest.
$ac_ext
32510 cat >>conftest.
$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32513 /* Override any gcc2 internal prototype to avoid an error. */
32517 /* We use char because int might match the return type of a gcc2
32518 builtin and then its argument prototype would still apply. */
32528 rm -f conftest.
$ac_objext conftest
$ac_exeext
32529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32530 (eval $ac_link) 2>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); } &&
32534 { ac_try
='test -s conftest$ac_exeext'
32535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32536 (eval $ac_try) 2>&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); }; }; then
32540 ac_cv_lib_socket_socket
=yes
32542 echo "$as_me: failed program was:" >&5
32543 sed 's/^/| /' conftest.
$ac_ext >&5
32545 ac_cv_lib_socket_socket
=no
32547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32548 LIBS
=$ac_check_lib_save_LIBS
32550 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
32551 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
32552 if test $ac_cv_lib_socket_socket = yes; then
32553 if test "$INET_LINK" != " -lsocket"; then
32554 INET_LINK
="$INET_LINK -lsocket"
32558 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
32559 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
32572 if test "$wxUSE_SOCKETS" = "yes" ; then
32573 if test "$TOOLKIT" != "MSW"; then
32574 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
32575 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
32576 if test "${wx_cv_type_getsockname3+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32580 cat >conftest.
$ac_ext <<_ACEOF
32581 #line $LINENO "configure"
32584 cat confdefs.h
>>conftest.
$ac_ext
32585 cat >>conftest.
$ac_ext <<_ACEOF
32586 /* end confdefs.h. */
32588 #include <sys/types.h>
32589 #include <sys/socket.h>
32596 getsockname(0, 0, &len);
32602 rm -f conftest.
$ac_objext
32603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32604 (eval $ac_compile) 2>&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } &&
32608 { ac_try
='test -s conftest.$ac_objext'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; }; then
32614 wx_cv_type_getsockname3
=socklen_t
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.
$ac_ext >&5
32620 CFLAGS_OLD
="$CFLAGS"
32621 if test "$GCC" = yes ; then
32622 CFLAGS
="$CFLAGS -Werror"
32625 cat >conftest.
$ac_ext <<_ACEOF
32626 #line $LINENO "configure"
32629 cat confdefs.h
>>conftest.
$ac_ext
32630 cat >>conftest.
$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32633 #include <sys/types.h>
32634 #include <sys/socket.h>
32641 getsockname(0, 0, &len);
32647 rm -f conftest.
$ac_objext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32649 (eval $ac_compile) 2>&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); } &&
32653 { ac_try
='test -s conftest.$ac_objext'
32654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 (eval $ac_try) 2>&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; }; then
32659 wx_cv_type_getsockname3
=size_t
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.
$ac_ext >&5
32664 cat >conftest.
$ac_ext <<_ACEOF
32665 #line $LINENO "configure"
32668 cat confdefs.h
>>conftest.
$ac_ext
32669 cat >>conftest.
$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32672 #include <sys/types.h>
32673 #include <sys/socket.h>
32680 getsockname(0, 0, &len);
32686 rm -f conftest.
$ac_objext
32687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32688 (eval $ac_compile) 2>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } &&
32692 { ac_try
='test -s conftest.$ac_objext'
32693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32694 (eval $ac_try) 2>&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); }; }; then
32698 wx_cv_type_getsockname3
=int
32700 echo "$as_me: failed program was:" >&5
32701 sed 's/^/| /' conftest.
$ac_ext >&5
32703 wx_cv_type_getsockname3
=unknown
32706 rm -f conftest.
$ac_objext conftest.
$ac_ext
32709 rm -f conftest.
$ac_objext conftest.
$ac_ext
32711 CFLAGS
="$CFLAGS_OLD"
32715 rm -f conftest.
$ac_objext conftest.
$ac_ext
32718 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
32719 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
32721 if test "$wx_cv_type_getsockname3" = "unknown"; then
32723 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
32724 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
32726 cat >>confdefs.h
<<_ACEOF
32727 #define SOCKLEN_T $wx_cv_type_getsockname3
32734 if test "$wxUSE_SOCKETS" = "yes" ; then
32735 cat >>confdefs.h
<<\_ACEOF
32736 #define wxUSE_SOCKETS 1
32739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
32742 if test "$wxUSE_PROTOCOL" = "yes"; then
32743 if test "$wxUSE_SOCKETS" != "yes"; then
32744 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32745 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32750 if test "$wxUSE_PROTOCOL" = "yes"; then
32751 cat >>confdefs.h
<<\_ACEOF
32752 #define wxUSE_PROTOCOL 1
32756 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32757 cat >>confdefs.h
<<\_ACEOF
32758 #define wxUSE_PROTOCOL_HTTP 1
32762 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32763 cat >>confdefs.h
<<\_ACEOF
32764 #define wxUSE_PROTOCOL_FTP 1
32768 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32769 cat >>confdefs.h
<<\_ACEOF
32770 #define wxUSE_PROTOCOL_FILE 1
32775 if test "$wxUSE_FS_INET" = "yes"; then
32776 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
32777 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
32782 if test "$wxUSE_URL" = "yes"; then
32783 if test "$wxUSE_PROTOCOL" != "yes"; then
32784 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32785 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32788 if test "$wxUSE_URL" = "yes"; then
32789 cat >>confdefs.h
<<\_ACEOF
32790 #define wxUSE_URL 1
32796 if test "$wxUSE_FS_INET" = "yes"; then
32797 cat >>confdefs.h
<<\_ACEOF
32798 #define wxUSE_FS_INET 1
32804 if test "$wxUSE_GUI" = "yes"; then
32806 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
32807 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
32808 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
32812 if test "$TOOLKIT" != "MSW"; then
32813 if test "$wxUSE_JOYSTICK" = "yes"; then
32815 for ac_header
in linux
/joystick.h
32817 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32819 echo "$as_me:$LINENO: checking for $ac_header" >&5
32820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32822 echo $ECHO_N "(cached) $ECHO_C" >&6
32824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32827 # Is the header compilable?
32828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32830 cat >conftest.
$ac_ext <<_ACEOF
32831 #line $LINENO "configure"
32834 cat confdefs.h
>>conftest.
$ac_ext
32835 cat >>conftest.
$ac_ext <<_ACEOF
32836 /* end confdefs.h. */
32837 $ac_includes_default
32838 #include <$ac_header>
32840 rm -f conftest.
$ac_objext
32841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32842 (eval $ac_compile) 2>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } &&
32846 { ac_try
='test -s conftest.$ac_objext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 ac_header_compiler
=yes
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.
$ac_ext >&5
32857 ac_header_compiler
=no
32859 rm -f conftest.
$ac_objext conftest.
$ac_ext
32860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32861 echo "${ECHO_T}$ac_header_compiler" >&6
32863 # Is the header present?
32864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32866 cat >conftest.
$ac_ext <<_ACEOF
32867 #line $LINENO "configure"
32870 cat confdefs.h
>>conftest.
$ac_ext
32871 cat >>conftest.
$ac_ext <<_ACEOF
32872 /* end confdefs.h. */
32873 #include <$ac_header>
32875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32878 grep -v '^ *+' conftest.er1
>conftest.err
32880 cat conftest.err
>&5
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); } >/dev
/null
; then
32883 if test -s conftest.err
; then
32884 ac_cpp_err
=$ac_c_preproc_warn_flag
32891 if test -z "$ac_cpp_err"; then
32892 ac_header_preproc
=yes
32894 echo "$as_me: failed program was:" >&5
32895 sed 's/^/| /' conftest.
$ac_ext >&5
32897 ac_header_preproc
=no
32899 rm -f conftest.err conftest.
$ac_ext
32900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32901 echo "${ECHO_T}$ac_header_preproc" >&6
32903 # So? What about this header?
32904 case $ac_header_compiler:$ac_header_preproc in
32906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32912 ## ------------------------------------ ##
32913 ## Report this to bug-autoconf@gnu.org. ##
32914 ## ------------------------------------ ##
32917 sed "s/^/$as_me: WARNING: /" >&2
32920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32928 ## ------------------------------------ ##
32929 ## Report this to bug-autoconf@gnu.org. ##
32930 ## ------------------------------------ ##
32933 sed "s/^/$as_me: WARNING: /" >&2
32936 echo "$as_me:$LINENO: checking for $ac_header" >&5
32937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32939 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 eval "$as_ac_Header=$ac_header_preproc"
32943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32948 cat >>confdefs.h
<<_ACEOF
32949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32956 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
32958 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
32959 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
32964 if test "$wxUSE_JOYSTICK" = "yes"; then
32965 cat >>confdefs.h
<<\_ACEOF
32966 #define wxUSE_JOYSTICK 1
32969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
32976 if test "$wxUSE_FONTMAP" = "yes" ; then
32977 cat >>confdefs.h
<<\_ACEOF
32978 #define wxUSE_FONTMAP 1
32983 if test "$wxUSE_UNICODE" = "yes" ; then
32984 cat >>confdefs.h
<<\_ACEOF
32985 #define wxUSE_UNICODE 1
32989 if test "$USE_WIN32" != 1; then
32990 wxUSE_UNICODE_MSLU
=no
32993 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32994 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32995 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32996 if test "${ac_cv_lib_unicows_main+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 ac_check_lib_save_LIBS
=$LIBS
33000 LIBS
="-lunicows $LIBS"
33001 cat >conftest.
$ac_ext <<_ACEOF
33002 #line $LINENO "configure"
33005 cat confdefs.h
>>conftest.
$ac_ext
33006 cat >>conftest.
$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33018 rm -f conftest.
$ac_objext conftest
$ac_exeext
33019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33020 (eval $ac_link) 2>&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); } &&
33024 { ac_try
='test -s conftest$ac_exeext'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; }; then
33030 ac_cv_lib_unicows_main
=yes
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.
$ac_ext >&5
33035 ac_cv_lib_unicows_main
=no
33037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33038 LIBS
=$ac_check_lib_save_LIBS
33040 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33041 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33042 if test $ac_cv_lib_unicows_main = yes; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_UNICODE_MSLU 1
33051 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33052 Applications will only run on Windows NT/2000/XP!" >&5
33053 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33054 Applications will only run on Windows NT/2000/XP!" >&2;}
33055 wxUSE_UNICODE_MSLU
=no
33062 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33063 cat >>confdefs.h
<<\_ACEOF
33064 #define wxUSE_EXPERIMENTAL_PRINTF 1
33070 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33071 cat >>confdefs.h
<<\_ACEOF
33072 #define wxUSE_POSTSCRIPT 1
33077 cat >>confdefs.h
<<\_ACEOF
33078 #define wxUSE_AFM_FOR_POSTSCRIPT 1
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define wxUSE_NORMALIZED_PS_FONTS 1
33088 if test "$wxUSE_CONSTRAINTS" = "yes"; then
33089 cat >>confdefs.h
<<\_ACEOF
33090 #define wxUSE_CONSTRAINTS 1
33093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
33096 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33097 cat >>confdefs.h
<<\_ACEOF
33098 #define wxUSE_MDI_ARCHITECTURE 1
33101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
33104 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33105 cat >>confdefs.h
<<\_ACEOF
33106 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
33109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
33110 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
33115 if test "$wxUSE_HELP" = "yes"; then
33116 cat >>confdefs.h
<<\_ACEOF
33117 #define wxUSE_HELP 1
33120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
33122 if test "$wxUSE_MSW" = 1; then
33123 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33124 cat >>confdefs.h
<<\_ACEOF
33125 #define wxUSE_MS_HTML_HELP 1
33131 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33132 if test "$wxUSE_HTML" = "yes"; then
33133 cat >>confdefs.h
<<\_ACEOF
33134 #define wxUSE_WXHTML_HELP 1
33138 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33139 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33140 wxUSE_WXHTML_HELP
=no
33145 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33146 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33147 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33148 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33150 cat >>confdefs.h
<<\_ACEOF
33151 #define wxUSE_PRINTING_ARCHITECTURE 1
33155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
33158 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33159 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33160 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33161 { (exit 1); exit 1; }; }
33165 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
33166 -o "$wxUSE_CLIPBOARD" = "yes" \
33167 -o "$wxUSE_OLE" = "yes" \
33168 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
33170 for ac_header
in ole2.h
33172 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33174 echo "$as_me:$LINENO: checking for $ac_header" >&5
33175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33182 # Is the header compilable?
33183 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33185 cat >conftest.
$ac_ext <<_ACEOF
33186 #line $LINENO "configure"
33189 cat confdefs.h
>>conftest.
$ac_ext
33190 cat >>conftest.
$ac_ext <<_ACEOF
33191 /* end confdefs.h. */
33192 $ac_includes_default
33193 #include <$ac_header>
33195 rm -f conftest.
$ac_objext
33196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33197 (eval $ac_compile) 2>&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } &&
33201 { ac_try
='test -s conftest.$ac_objext'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; }; then
33207 ac_header_compiler
=yes
33209 echo "$as_me: failed program was:" >&5
33210 sed 's/^/| /' conftest.
$ac_ext >&5
33212 ac_header_compiler
=no
33214 rm -f conftest.
$ac_objext conftest.
$ac_ext
33215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33216 echo "${ECHO_T}$ac_header_compiler" >&6
33218 # Is the header present?
33219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33221 cat >conftest.
$ac_ext <<_ACEOF
33222 #line $LINENO "configure"
33225 cat confdefs.h
>>conftest.
$ac_ext
33226 cat >>conftest.
$ac_ext <<_ACEOF
33227 /* end confdefs.h. */
33228 #include <$ac_header>
33230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33233 grep -v '^ *+' conftest.er1
>conftest.err
33235 cat conftest.err
>&5
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); } >/dev
/null
; then
33238 if test -s conftest.err
; then
33239 ac_cpp_err
=$ac_c_preproc_warn_flag
33246 if test -z "$ac_cpp_err"; then
33247 ac_header_preproc
=yes
33249 echo "$as_me: failed program was:" >&5
33250 sed 's/^/| /' conftest.
$ac_ext >&5
33252 ac_header_preproc
=no
33254 rm -f conftest.err conftest.
$ac_ext
33255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33256 echo "${ECHO_T}$ac_header_preproc" >&6
33258 # So? What about this header?
33259 case $ac_header_compiler:$ac_header_preproc in
33261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33267 ## ------------------------------------ ##
33268 ## Report this to bug-autoconf@gnu.org. ##
33269 ## ------------------------------------ ##
33272 sed "s/^/$as_me: WARNING: /" >&2
33275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33278 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33283 ## ------------------------------------ ##
33284 ## Report this to bug-autoconf@gnu.org. ##
33285 ## ------------------------------------ ##
33288 sed "s/^/$as_me: WARNING: /" >&2
33291 echo "$as_me:$LINENO: checking for $ac_header" >&5
33292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33294 echo $ECHO_N "(cached) $ECHO_C" >&6
33296 eval "$as_ac_Header=$ac_header_preproc"
33298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33303 cat >>confdefs.h
<<_ACEOF
33304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33312 if test "$ac_cv_header_ole2_h" = "yes" ; then
33313 if test "$GCC" = yes ; then
33317 ac_cpp
='$CXXCPP $CPPFLAGS'
33318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33323 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
33324 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
33325 cat >conftest.
$ac_ext <<_ACEOF
33326 #line $LINENO "configure"
33329 cat confdefs.h
>>conftest.
$ac_ext
33330 cat >>conftest.
$ac_ext <<_ACEOF
33331 /* end confdefs.h. */
33332 #include <windows.h>
33342 rm -f conftest.
$ac_objext
33343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33344 (eval $ac_compile) 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } &&
33348 { ac_try
='test -s conftest.$ac_objext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 echo "$as_me:$LINENO: result: no" >&5
33355 echo "${ECHO_T}no" >&6
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.
$ac_ext >&5
33360 echo "$as_me:$LINENO: result: yes" >&5
33361 echo "${ECHO_T}yes" >&6
33362 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
33364 rm -f conftest.
$ac_objext conftest.
$ac_ext
33366 ac_cpp
='$CPP $CPPFLAGS'
33367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33371 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
33372 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
33373 if test "$wxUSE_OLE" = "yes" ; then
33374 cat >>confdefs.h
<<\_ACEOF
33375 #define wxUSE_OLE 1
33381 if test "$wxUSE_DATAOBJ" = "yes" ; then
33382 cat >>confdefs.h
<<\_ACEOF
33383 #define wxUSE_DATAOBJ 1
33388 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
33389 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
33392 wxUSE_DRAG_AND_DROP
=no
33397 if test "$wxUSE_METAFILE" = "yes"; then
33398 cat >>confdefs.h
<<\_ACEOF
33399 #define wxUSE_METAFILE 1
33403 cat >>confdefs.h
<<\_ACEOF
33404 #define wxUSE_ENH_METAFILE 1
33410 if test "$wxUSE_IPC" = "yes"; then
33411 if test "$wxUSE_SOCKETS" != "yes"; then
33412 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
33413 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
33416 cat >>confdefs.h
<<\_ACEOF
33417 #define wxUSE_IPC 1
33422 if test "$wxUSE_CLIPBOARD" = "yes"; then
33423 if test "$wxUSE_MGL" = 1; then
33424 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
33425 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
33429 if test "$wxUSE_CLIPBOARD" = "yes"; then
33430 cat >>confdefs.h
<<\_ACEOF
33431 #define wxUSE_CLIPBOARD 1
33435 cat >>confdefs.h
<<\_ACEOF
33436 #define wxUSE_DATAOBJ 1
33442 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
33443 if test "$wxUSE_GTK" = 1; then
33444 if test "$WXGTK12" != 1; then
33445 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
33446 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
33447 wxUSE_DRAG_AND_DROP
=no
33451 if test "$wxUSE_MOTIF" = 1; then
33452 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
33453 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
33454 wxUSE_DRAG_AND_DROP
=no
33457 if test "$wxUSE_X11" = 1; then
33458 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
33459 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
33460 wxUSE_DRAG_AND_DROP
=no
33463 if test "$wxUSE_MGL" = 1; then
33464 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
33465 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
33466 wxUSE_DRAG_AND_DROP
=no
33469 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
33470 cat >>confdefs.h
<<\_ACEOF
33471 #define wxUSE_DRAG_AND_DROP 1
33474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
33479 if test "$wxUSE_SPLINES" = "yes" ; then
33480 cat >>confdefs.h
<<\_ACEOF
33481 #define wxUSE_SPLINES 1
33488 if test "$wxUSE_CONTROLS" = "yes"; then
33492 if test "$wxUSE_ACCEL" = "yes"; then
33493 cat >>confdefs.h
<<\_ACEOF
33494 #define wxUSE_ACCEL 1
33500 if test "$wxUSE_BUTTON" = "yes"; then
33501 cat >>confdefs.h
<<\_ACEOF
33502 #define wxUSE_BUTTON 1
33508 if test "$wxUSE_BMPBUTTON" = "yes"; then
33509 cat >>confdefs.h
<<\_ACEOF
33510 #define wxUSE_BMPBUTTON 1
33516 if test "$wxUSE_CALCTRL" = "yes"; then
33517 cat >>confdefs.h
<<\_ACEOF
33518 #define wxUSE_CALENDARCTRL 1
33522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
33525 if test "$wxUSE_CARET" = "yes"; then
33526 cat >>confdefs.h
<<\_ACEOF
33527 #define wxUSE_CARET 1
33531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
33534 if test "$wxUSE_COMBOBOX" = "yes"; then
33535 cat >>confdefs.h
<<\_ACEOF
33536 #define wxUSE_COMBOBOX 1
33542 if test "$wxUSE_CHOICE" = "yes"; then
33543 cat >>confdefs.h
<<\_ACEOF
33544 #define wxUSE_CHOICE 1
33550 if test "$wxUSE_CHECKBOX" = "yes"; then
33551 cat >>confdefs.h
<<\_ACEOF
33552 #define wxUSE_CHECKBOX 1
33558 if test "$wxUSE_CHECKLST" = "yes"; then
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxUSE_CHECKLISTBOX 1
33564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33567 if test "$wxUSE_DISPLAY" = "yes"; then
33568 cat >>confdefs.h
<<\_ACEOF
33569 #define wxUSE_DISPLAY 1
33572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
33575 if test "$wxUSE_GAUGE" = "yes"; then
33576 cat >>confdefs.h
<<\_ACEOF
33577 #define wxUSE_GAUGE 1
33583 if test "$wxUSE_GRID" = "yes"; then
33584 cat >>confdefs.h
<<\_ACEOF
33585 #define wxUSE_GRID 1
33589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
33592 if test "$wxUSE_IMAGLIST" = "yes"; then
33593 cat >>confdefs.h
<<\_ACEOF
33594 #define wxUSE_IMAGLIST 1
33599 if test "$wxUSE_LISTBOOK" = "yes"; then
33600 cat >>confdefs.h
<<\_ACEOF
33601 #define wxUSE_LISTBOOK 1
33607 if test "$wxUSE_LISTBOX" = "yes"; then
33608 cat >>confdefs.h
<<\_ACEOF
33609 #define wxUSE_LISTBOX 1
33615 if test "$wxUSE_LISTCTRL" = "yes"; then
33616 if test "$wxUSE_IMAGLIST" = "yes"; then
33617 cat >>confdefs.h
<<\_ACEOF
33618 #define wxUSE_LISTCTRL 1
33622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
33624 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33625 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33629 if test "$wxUSE_NOTEBOOK" = "yes"; then
33630 cat >>confdefs.h
<<\_ACEOF
33631 #define wxUSE_NOTEBOOK 1
33635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
33639 if test "$wxUSE_RADIOBOX" = "yes"; then
33640 cat >>confdefs.h
<<\_ACEOF
33641 #define wxUSE_RADIOBOX 1
33647 if test "$wxUSE_RADIOBTN" = "yes"; then
33648 cat >>confdefs.h
<<\_ACEOF
33649 #define wxUSE_RADIOBTN 1
33655 if test "$wxUSE_SASH" = "yes"; then
33656 cat >>confdefs.h
<<\_ACEOF
33657 #define wxUSE_SASH 1
33660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
33663 if test "$wxUSE_SCROLLBAR" = "yes"; then
33664 cat >>confdefs.h
<<\_ACEOF
33665 #define wxUSE_SCROLLBAR 1
33669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
33672 if test "$wxUSE_SLIDER" = "yes"; then
33673 cat >>confdefs.h
<<\_ACEOF
33674 #define wxUSE_SLIDER 1
33680 if test "$wxUSE_SPINBTN" = "yes"; then
33681 cat >>confdefs.h
<<\_ACEOF
33682 #define wxUSE_SPINBTN 1
33688 if test "$wxUSE_SPINCTRL" = "yes"; then
33689 cat >>confdefs.h
<<\_ACEOF
33690 #define wxUSE_SPINCTRL 1
33696 if test "$wxUSE_SPLITTER" = "yes"; then
33697 cat >>confdefs.h
<<\_ACEOF
33698 #define wxUSE_SPLITTER 1
33701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
33704 if test "$wxUSE_STATBMP" = "yes"; then
33705 cat >>confdefs.h
<<\_ACEOF
33706 #define wxUSE_STATBMP 1
33712 if test "$wxUSE_STATBOX" = "yes"; then
33713 cat >>confdefs.h
<<\_ACEOF
33714 #define wxUSE_STATBOX 1
33720 if test "$wxUSE_STATTEXT" = "yes"; then
33721 cat >>confdefs.h
<<\_ACEOF
33722 #define wxUSE_STATTEXT 1
33728 if test "$wxUSE_STATLINE" = "yes"; then
33729 cat >>confdefs.h
<<\_ACEOF
33730 #define wxUSE_STATLINE 1
33736 if test "$wxUSE_STATUSBAR" = "yes"; then
33737 cat >>confdefs.h
<<\_ACEOF
33738 #define wxUSE_STATUSBAR 1
33743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33746 if test "$wxUSE_TABDIALOG" = "yes"; then
33747 cat >>confdefs.h
<<\_ACEOF
33748 #define wxUSE_TAB_DIALOG 1
33751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33754 if test "$wxUSE_TEXTCTRL" = "yes"; then
33755 cat >>confdefs.h
<<\_ACEOF
33756 #define wxUSE_TEXTCTRL 1
33760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33763 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33764 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33765 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33766 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33769 if test "$wxUSE_UNIVERSAL" = "yes"; then
33770 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33771 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33775 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33776 cat >>confdefs.h
<<\_ACEOF
33777 #define wxUSE_TOGGLEBTN 1
33784 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33785 cat >>confdefs.h
<<\_ACEOF
33786 #define wxUSE_TOOLBAR_SIMPLE 1
33789 wxUSE_TOOLBAR
="yes"
33793 if test "$wxUSE_TOOLBAR" = "yes"; then
33794 cat >>confdefs.h
<<\_ACEOF
33795 #define wxUSE_TOOLBAR 1
33800 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33801 wxUSE_TOOLBAR_NATIVE
="yes"
33804 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33805 cat >>confdefs.h
<<\_ACEOF
33806 #define wxUSE_TOOLBAR_NATIVE 1
33812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33815 if test "$wxUSE_TOOLTIPS" = "yes"; then
33816 if test "$wxUSE_MOTIF" = 1; then
33817 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33818 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33820 if test "$wxUSE_UNIVERSAL" = "yes"; then
33821 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33822 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33824 cat >>confdefs.h
<<\_ACEOF
33825 #define wxUSE_TOOLTIPS 1
33832 if test "$wxUSE_TREECTRL" = "yes"; then
33833 if test "$wxUSE_IMAGLIST" = "yes"; then
33834 cat >>confdefs.h
<<\_ACEOF
33835 #define wxUSE_TREECTRL 1
33839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33841 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33842 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33846 if test "$wxUSE_POPUPWIN" = "yes"; then
33847 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33848 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33849 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33851 if test "$wxUSE_PM" = 1; then
33852 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33853 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33855 cat >>confdefs.h
<<\_ACEOF
33856 #define wxUSE_POPUPWIN 1
33865 if test "$wxUSE_TIPWINDOW" = "yes"; then
33866 if test "$wxUSE_PM" = 1; then
33867 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33868 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33870 cat >>confdefs.h
<<\_ACEOF
33871 #define wxUSE_TIPWINDOW 1
33877 if test "$USES_CONTROLS" = 1; then
33878 cat >>confdefs.h
<<\_ACEOF
33879 #define wxUSE_CONTROLS 1
33885 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33886 cat >>confdefs.h
<<\_ACEOF
33887 #define wxUSE_ACCESSIBILITY 1
33890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33893 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33894 cat >>confdefs.h
<<\_ACEOF
33895 #define wxUSE_DRAGIMAGE 1
33898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33901 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33902 cat >>confdefs.h
<<\_ACEOF
33903 #define wxUSE_EXCEPTIONS 1
33909 if test "$wxUSE_HTML" = "yes"; then
33910 cat >>confdefs.h
<<\_ACEOF
33911 #define wxUSE_HTML 1
33915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33918 if test "$wxUSE_MENUS" = "yes"; then
33919 cat >>confdefs.h
<<\_ACEOF
33920 #define wxUSE_MENUS 1
33923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33926 if test "$wxUSE_METAFILE" = "yes"; then
33927 cat >>confdefs.h
<<\_ACEOF
33928 #define wxUSE_METAFILE 1
33933 if test "$wxUSE_MIMETYPE" = "yes"; then
33934 cat >>confdefs.h
<<\_ACEOF
33935 #define wxUSE_MIMETYPE 1
33940 if test "$wxUSE_MINIFRAME" = "yes"; then
33941 cat >>confdefs.h
<<\_ACEOF
33942 #define wxUSE_MINIFRAME 1
33945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33948 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33949 cat >>confdefs.h
<<\_ACEOF
33950 #define wxUSE_SYSTEM_OPTIONS 1
33953 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33954 "$TOOLKIT" = "MOTIF"; then
33955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33960 if test "$wxUSE_VALIDATORS" = "yes"; then
33961 cat >>confdefs.h
<<\_ACEOF
33962 #define wxUSE_VALIDATORS 1
33965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33968 if test "$wxUSE_PALETTE" = "yes" ; then
33969 cat >>confdefs.h
<<\_ACEOF
33970 #define wxUSE_PALETTE 1
33975 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33976 LIBS
=" -lunicows $LIBS"
33980 if test "$wxUSE_IMAGE" = "yes" ; then
33981 cat >>confdefs.h
<<\_ACEOF
33982 #define wxUSE_IMAGE 1
33986 if test "$wxUSE_GIF" = "yes" ; then
33987 cat >>confdefs.h
<<\_ACEOF
33988 #define wxUSE_GIF 1
33993 if test "$wxUSE_PCX" = "yes" ; then
33994 cat >>confdefs.h
<<\_ACEOF
33995 #define wxUSE_PCX 1
34000 if test "$wxUSE_IFF" = "yes" ; then
34001 cat >>confdefs.h
<<\_ACEOF
34002 #define wxUSE_IFF 1
34007 if test "$wxUSE_PNM" = "yes" ; then
34008 cat >>confdefs.h
<<\_ACEOF
34009 #define wxUSE_PNM 1
34014 if test "$wxUSE_XPM" = "yes" ; then
34015 cat >>confdefs.h
<<\_ACEOF
34016 #define wxUSE_XPM 1
34021 if test "$wxUSE_ICO_CUR" = "yes" ; then
34022 cat >>confdefs.h
<<\_ACEOF
34023 #define wxUSE_ICO_CUR 1
34030 if test "$wxUSE_CHOICEDLG" = "yes"; then
34031 cat >>confdefs.h
<<\_ACEOF
34032 #define wxUSE_CHOICEDLG 1
34037 if test "$wxUSE_COLOURDLG" = "yes"; then
34038 cat >>confdefs.h
<<\_ACEOF
34039 #define wxUSE_COLOURDLG 1
34044 if test "$wxUSE_FILEDLG" = "yes"; then
34045 cat >>confdefs.h
<<\_ACEOF
34046 #define wxUSE_FILEDLG 1
34051 if test "$wxUSE_FINDREPLDLG" = "yes"; then
34052 cat >>confdefs.h
<<\_ACEOF
34053 #define wxUSE_FINDREPLDLG 1
34058 if test "$wxUSE_FONTDLG" = "yes"; then
34059 cat >>confdefs.h
<<\_ACEOF
34060 #define wxUSE_FONTDLG 1
34065 if test "$wxUSE_DIRDLG" = "yes"; then
34066 if test "$wxUSE_TREECTRL" != "yes"; then
34067 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34068 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34070 cat >>confdefs.h
<<\_ACEOF
34071 #define wxUSE_DIRDLG 1
34077 if test "$wxUSE_MSGDLG" = "yes"; then
34078 cat >>confdefs.h
<<\_ACEOF
34079 #define wxUSE_MSGDLG 1
34084 if test "$wxUSE_NUMBERDLG" = "yes"; then
34085 cat >>confdefs.h
<<\_ACEOF
34086 #define wxUSE_NUMBERDLG 1
34091 if test "$wxUSE_PROGRESSDLG" = "yes"; then
34092 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34093 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34094 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34096 cat >>confdefs.h
<<\_ACEOF
34097 #define wxUSE_PROGRESSDLG 1
34103 if test "$wxUSE_SPLASH" = "yes"; then
34104 cat >>confdefs.h
<<\_ACEOF
34105 #define wxUSE_SPLASH 1
34110 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34111 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34112 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34113 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34115 cat >>confdefs.h
<<\_ACEOF
34116 #define wxUSE_STARTUP_TIPS 1
34122 if test "$wxUSE_TEXTDLG" = "yes"; then
34123 cat >>confdefs.h
<<\_ACEOF
34124 #define wxUSE_TEXTDLG 1
34129 if test "$wxUSE_WIZARDDLG" = "yes"; then
34130 cat >>confdefs.h
<<\_ACEOF
34131 #define wxUSE_WIZARDDLG 1
34134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
34138 if test "$cross_compiling" = "yes"; then
34141 OSINFO
=`uname -s -r -m`
34142 OSINFO
="\"$OSINFO\""
34145 cat >>confdefs.h
<<_ACEOF
34146 #define WXWIN_OS_DESCRIPTION $OSINFO
34151 if test "x$prefix" != "xNONE"; then
34154 wxPREFIX
=$ac_default_prefix
34157 cat >>confdefs.h
<<_ACEOF
34158 #define wxINSTALL_PREFIX "$wxPREFIX"
34162 top_builddir_wxconfig
=`pwd`
34166 CORE_BASE_LIBS
="net base"
34167 CORE_GUI_LIBS
="adv core"
34169 if test "$wxUSE_XML" = "yes" ; then
34170 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
34172 if test "$wxUSE_ODBC" != "no" ; then
34173 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
34174 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
34176 if test "$wxUSE_HTML" = "yes" ; then
34177 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
34180 if test "$wxUSE_GUI" != "yes"; then
34191 if test "$wxUSE_MAC" = 1 ; then
34192 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
34194 if test "$wxUSE_COCOA" = 1 ; then
34195 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
34199 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34207 echo "$as_me:$LINENO: checking for $ac_func" >&5
34208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34209 if eval "test \"\${$as_ac_var+set}\" = set"; then
34210 echo $ECHO_N "(cached) $ECHO_C" >&6
34212 cat >conftest.
$ac_ext <<_ACEOF
34213 #line $LINENO "configure"
34216 cat confdefs.h
>>conftest.
$ac_ext
34217 cat >>conftest.
$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34219 /* System header to define __stub macros and hopefully few prototypes,
34220 which can conflict with char $ac_func (); below.
34221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34222 <limits.h> exists even on freestanding compilers. */
34224 # include <limits.h>
34226 # include <assert.h>
34228 /* Override any gcc2 internal prototype to avoid an error. */
34233 /* We use char because int might match the return type of a gcc2
34234 builtin and then its argument prototype would still apply. */
34236 /* The GNU C library defines this for functions which it implements
34237 to always fail with ENOSYS. Some functions are actually named
34238 something starting with __ and the normal name is an alias. */
34239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34242 char (*f) () = $ac_func;
34251 return f != $ac_func;
34256 rm -f conftest.
$ac_objext conftest
$ac_exeext
34257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34258 (eval $ac_link) 2>&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } &&
34262 { ac_try
='test -s conftest$ac_exeext'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; }; then
34268 eval "$as_ac_var=yes"
34270 echo "$as_me: failed program was:" >&5
34271 sed 's/^/| /' conftest.
$ac_ext >&5
34273 eval "$as_ac_var=no"
34275 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34279 if test `eval echo '${'$as_ac_var'}'` = yes; then
34280 cat >>confdefs.h
<<_ACEOF
34281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34288 for ac_func
in floor
34290 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34291 echo "$as_me:$LINENO: checking for $ac_func" >&5
34292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34293 if eval "test \"\${$as_ac_var+set}\" = set"; then
34294 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 cat >conftest.
$ac_ext <<_ACEOF
34297 #line $LINENO "configure"
34300 cat confdefs.h
>>conftest.
$ac_ext
34301 cat >>conftest.
$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34303 /* System header to define __stub macros and hopefully few prototypes,
34304 which can conflict with char $ac_func (); below.
34305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34306 <limits.h> exists even on freestanding compilers. */
34308 # include <limits.h>
34310 # include <assert.h>
34312 /* Override any gcc2 internal prototype to avoid an error. */
34317 /* We use char because int might match the return type of a gcc2
34318 builtin and then its argument prototype would still apply. */
34320 /* The GNU C library defines this for functions which it implements
34321 to always fail with ENOSYS. Some functions are actually named
34322 something starting with __ and the normal name is an alias. */
34323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34326 char (*f) () = $ac_func;
34335 return f != $ac_func;
34340 rm -f conftest.
$ac_objext conftest
$ac_exeext
34341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34342 (eval $ac_link) 2>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } &&
34346 { ac_try
='test -s conftest$ac_exeext'
34347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348 (eval $ac_try) 2>&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; }; then
34352 eval "$as_ac_var=yes"
34354 echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.
$ac_ext >&5
34357 eval "$as_ac_var=no"
34359 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34363 if test `eval echo '${'$as_ac_var'}'` = yes; then
34364 cat >>confdefs.h
<<_ACEOF
34365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34371 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
34372 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
34373 if test "$have_cos" = 1 -a "$have_floor" = 1; then
34374 echo "$as_me:$LINENO: result: yes" >&5
34375 echo "${ECHO_T}yes" >&6
34377 echo "$as_me:$LINENO: result: no" >&5
34378 echo "${ECHO_T}no" >&6
34380 # use different functions to avoid configure caching
34386 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34387 echo "$as_me:$LINENO: checking for $ac_func" >&5
34388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34389 if eval "test \"\${$as_ac_var+set}\" = set"; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 cat >conftest.
$ac_ext <<_ACEOF
34393 #line $LINENO "configure"
34396 cat confdefs.h
>>conftest.
$ac_ext
34397 cat >>conftest.
$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 /* System header to define __stub macros and hopefully few prototypes,
34400 which can conflict with char $ac_func (); below.
34401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34402 <limits.h> exists even on freestanding compilers. */
34404 # include <limits.h>
34406 # include <assert.h>
34408 /* Override any gcc2 internal prototype to avoid an error. */
34413 /* We use char because int might match the return type of a gcc2
34414 builtin and then its argument prototype would still apply. */
34416 /* The GNU C library defines this for functions which it implements
34417 to always fail with ENOSYS. Some functions are actually named
34418 something starting with __ and the normal name is an alias. */
34419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34422 char (*f) () = $ac_func;
34431 return f != $ac_func;
34436 rm -f conftest.
$ac_objext conftest
$ac_exeext
34437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34438 (eval $ac_link) 2>&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); } &&
34442 { ac_try
='test -s conftest$ac_exeext'
34443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34444 (eval $ac_try) 2>&5
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); }; }; then
34448 eval "$as_ac_var=yes"
34450 echo "$as_me: failed program was:" >&5
34451 sed 's/^/| /' conftest.
$ac_ext >&5
34453 eval "$as_ac_var=no"
34455 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34459 if test `eval echo '${'$as_ac_var'}'` = yes; then
34460 cat >>confdefs.h
<<_ACEOF
34461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 for ac_func
in ceil
34470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34471 echo "$as_me:$LINENO: checking for $ac_func" >&5
34472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34473 if eval "test \"\${$as_ac_var+set}\" = set"; then
34474 echo $ECHO_N "(cached) $ECHO_C" >&6
34476 cat >conftest.
$ac_ext <<_ACEOF
34477 #line $LINENO "configure"
34480 cat confdefs.h
>>conftest.
$ac_ext
34481 cat >>conftest.
$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483 /* System header to define __stub macros and hopefully few prototypes,
34484 which can conflict with char $ac_func (); below.
34485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34486 <limits.h> exists even on freestanding compilers. */
34488 # include <limits.h>
34490 # include <assert.h>
34492 /* Override any gcc2 internal prototype to avoid an error. */
34497 /* We use char because int might match the return type of a gcc2
34498 builtin and then its argument prototype would still apply. */
34500 /* The GNU C library defines this for functions which it implements
34501 to always fail with ENOSYS. Some functions are actually named
34502 something starting with __ and the normal name is an alias. */
34503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34506 char (*f) () = $ac_func;
34515 return f != $ac_func;
34520 rm -f conftest.
$ac_objext conftest
$ac_exeext
34521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34522 (eval $ac_link) 2>&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } &&
34526 { ac_try
='test -s conftest$ac_exeext'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; }; then
34532 eval "$as_ac_var=yes"
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.
$ac_ext >&5
34537 eval "$as_ac_var=no"
34539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34543 if test `eval echo '${'$as_ac_var'}'` = yes; then
34544 cat >>confdefs.h
<<_ACEOF
34545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34551 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34552 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34553 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34554 echo "$as_me:$LINENO: result: yes" >&5
34555 echo "${ECHO_T}yes" >&6
34557 echo "$as_me:$LINENO: result: no" >&5
34558 echo "${ECHO_T}no" >&6
34559 # not sure we should warn the user, crash, etc.
34563 if test "$wxUSE_GUI" = "yes"; then
34566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34567 drawing dynamic erase event exec font image \
34568 minimal propsize rotate shaped widgets render"
34570 if test "$wxUSE_MONOLITHIC" != "yes"; then
34571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
34574 SAMPLES_SUBDIRS
="console"
34578 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34579 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
34581 if test "$GXX" = yes ; then
34582 CXXWARNINGS
="-Wall"
34585 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34587 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34588 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34589 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34592 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34593 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34594 EXTRALIBS_XML
="$EXPAT_LINK"
34595 EXTRALIBS_HTML
="$MSPACK_LINK"
34596 EXTRALIBS_ODBC
="$ODBC_LINK"
34597 if test "$wxUSE_GUI" = "yes"; then
34598 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34600 if test "$wxUSE_OPENGL" = "yes"; then
34601 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
34604 LDFLAGS
="$LDFLAGS $PROFILE"
34606 if test "$wxUSE_GTK" = 1; then
34609 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
34612 WXCONFIG_EXTRALIBS
="$LIBS"
34614 if test "$wxUSE_REGEX" = "builtin" ; then
34615 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
34617 if test "$wxUSE_EXPAT" = "builtin" ; then
34618 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
34620 if test "$wxUSE_ODBC" = "builtin" ; then
34621 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34623 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34624 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
34626 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34627 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
34629 if test "$wxUSE_LIBPNG" = "builtin" ; then
34630 wxconfig_3rdparty
="$wxconfig_3rdparty png"
34632 if test "$wxUSE_ZLIB" = "builtin" ; then
34633 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
34635 if test "$wxUSE_ODBC" = "builtin" ; then
34636 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34639 for i
in $wxconfig_3rdparty ; do
34640 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34644 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34658 if test $wxUSE_MONOLITHIC = "yes" ; then
34664 if test $wxUSE_PLUGINS = "yes" ; then
34670 if test $wxUSE_ODBC != "no" ; then
34676 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34702 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34710 if test "x$BAKEFILE_HOST" = "x"; then
34711 BAKEFILE_HOST
="${host}"
34714 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34716 if test -n "$ac_tool_prefix"; then
34717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34718 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
34719 echo "$as_me:$LINENO: checking for $ac_word" >&5
34720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34721 if test "${ac_cv_prog_RANLIB+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 if test -n "$RANLIB"; then
34725 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
34727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34728 for as_dir
in $PATH
34731 test -z "$as_dir" && as_dir
=.
34732 for ac_exec_ext
in '' $ac_executable_extensions; do
34733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34734 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34743 RANLIB
=$ac_cv_prog_RANLIB
34744 if test -n "$RANLIB"; then
34745 echo "$as_me:$LINENO: result: $RANLIB" >&5
34746 echo "${ECHO_T}$RANLIB" >&6
34748 echo "$as_me:$LINENO: result: no" >&5
34749 echo "${ECHO_T}no" >&6
34753 if test -z "$ac_cv_prog_RANLIB"; then
34754 ac_ct_RANLIB
=$RANLIB
34755 # Extract the first word of "ranlib", so it can be a program name with args.
34756 set dummy ranlib
; ac_word
=$2
34757 echo "$as_me:$LINENO: checking for $ac_word" >&5
34758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34759 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 if test -n "$ac_ct_RANLIB"; then
34763 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34766 for as_dir
in $PATH
34769 test -z "$as_dir" && as_dir
=.
34770 for ac_exec_ext
in '' $ac_executable_extensions; do
34771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34772 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34779 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34782 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34783 if test -n "$ac_ct_RANLIB"; then
34784 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34785 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34787 echo "$as_me:$LINENO: result: no" >&5
34788 echo "${ECHO_T}no" >&6
34791 RANLIB
=$ac_ct_RANLIB
34793 RANLIB
="$ac_cv_prog_RANLIB"
34796 # Find a good install program. We prefer a C program (faster),
34797 # so one script is as good as another. But avoid the broken or
34798 # incompatible versions:
34799 # SysV /etc/install, /usr/sbin/install
34800 # SunOS /usr/etc/install
34801 # IRIX /sbin/install
34803 # AmigaOS /C/install, which installs bootblocks on floppy discs
34804 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34805 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34806 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34807 # ./install, which can be erroneously created by make from ./install.sh.
34808 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34809 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34810 if test -z "$INSTALL"; then
34811 if test "${ac_cv_path_install+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34815 for as_dir
in $PATH
34818 test -z "$as_dir" && as_dir
=.
34819 # Account for people who put trailing slashes in PATH elements.
34821 .
/ | .
// | /cC
/* | \
34822 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34825 # OSF1 and SCO ODT 3.0 have their own names for install.
34826 # Don't use installbsd from OSF since it installs stuff as root
34828 for ac_prog
in ginstall scoinst
install; do
34829 for ac_exec_ext
in '' $ac_executable_extensions; do
34830 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34831 if test $ac_prog = install &&
34832 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34833 # AIX install. It has an incompatible calling convention.
34835 elif test $ac_prog = install &&
34836 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34837 # program-specific install script used by HP pwplus--don't use.
34840 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34852 if test "${ac_cv_path_install+set}" = set; then
34853 INSTALL
=$ac_cv_path_install
34855 # As a last resort, use the slow shell script. We don't cache a
34856 # path for INSTALL within a source directory, because that will
34857 # break other packages using the cache if that directory is
34858 # removed, or if the path is relative.
34859 INSTALL
=$ac_install_sh
34862 echo "$as_me:$LINENO: result: $INSTALL" >&5
34863 echo "${ECHO_T}$INSTALL" >&6
34865 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34866 # It thinks the first close brace ends the variable substitution.
34867 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34869 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34871 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34873 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34874 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34876 if test "$LN_S" = "ln -s"; then
34877 echo "$as_me:$LINENO: result: yes" >&5
34878 echo "${ECHO_T}yes" >&6
34880 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34881 echo "${ECHO_T}no, using $LN_S" >&6
34885 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34886 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34887 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34888 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 cat >conftest.
make <<\_ACEOF
34893 @
echo 'ac_maketemp="$(MAKE)"'
34895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34896 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34897 if test -n "$ac_maketemp"; then
34898 eval ac_cv_prog_make_
${ac_make}_set
=yes
34900 eval ac_cv_prog_make_
${ac_make}_set
=no
34902 rm -f conftest.
make
34904 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34905 echo "$as_me:$LINENO: result: yes" >&5
34906 echo "${ECHO_T}yes" >&6
34909 echo "$as_me:$LINENO: result: no" >&5
34910 echo "${ECHO_T}no" >&6
34911 SET_MAKE
="MAKE=${MAKE-make}"
34916 if test -n "$ac_tool_prefix"; then
34917 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34918 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34919 echo "$as_me:$LINENO: checking for $ac_word" >&5
34920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34921 if test "${ac_cv_prog_AR+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 if test -n "$AR"; then
34925 ac_cv_prog_AR
="$AR" # Let the user override the test.
34927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34928 for as_dir
in $PATH
34931 test -z "$as_dir" && as_dir
=.
34932 for ac_exec_ext
in '' $ac_executable_extensions; do
34933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34934 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34944 if test -n "$AR"; then
34945 echo "$as_me:$LINENO: result: $AR" >&5
34946 echo "${ECHO_T}$AR" >&6
34948 echo "$as_me:$LINENO: result: no" >&5
34949 echo "${ECHO_T}no" >&6
34953 if test -z "$ac_cv_prog_AR"; then
34955 # Extract the first word of "ar", so it can be a program name with args.
34956 set dummy
ar; ac_word
=$2
34957 echo "$as_me:$LINENO: checking for $ac_word" >&5
34958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34959 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34962 if test -n "$ac_ct_AR"; then
34963 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34966 for as_dir
in $PATH
34969 test -z "$as_dir" && as_dir
=.
34970 for ac_exec_ext
in '' $ac_executable_extensions; do
34971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34972 ac_cv_prog_ac_ct_AR
="ar"
34973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34979 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34982 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34983 if test -n "$ac_ct_AR"; then
34984 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34985 echo "${ECHO_T}$ac_ct_AR" >&6
34987 echo "$as_me:$LINENO: result: no" >&5
34988 echo "${ECHO_T}no" >&6
34993 AR
="$ac_cv_prog_AR"
34996 if test -n "$ac_tool_prefix"; then
34997 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34998 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34999 echo "$as_me:$LINENO: checking for $ac_word" >&5
35000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35001 if test "${ac_cv_prog_STRIP+set}" = set; then
35002 echo $ECHO_N "(cached) $ECHO_C" >&6
35004 if test -n "$STRIP"; then
35005 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
35007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35008 for as_dir
in $PATH
35011 test -z "$as_dir" && as_dir
=.
35012 for ac_exec_ext
in '' $ac_executable_extensions; do
35013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35014 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
35015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35023 STRIP
=$ac_cv_prog_STRIP
35024 if test -n "$STRIP"; then
35025 echo "$as_me:$LINENO: result: $STRIP" >&5
35026 echo "${ECHO_T}$STRIP" >&6
35028 echo "$as_me:$LINENO: result: no" >&5
35029 echo "${ECHO_T}no" >&6
35033 if test -z "$ac_cv_prog_STRIP"; then
35035 # Extract the first word of "strip", so it can be a program name with args.
35036 set dummy strip
; ac_word
=$2
35037 echo "$as_me:$LINENO: checking for $ac_word" >&5
35038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35039 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35040 echo $ECHO_N "(cached) $ECHO_C" >&6
35042 if test -n "$ac_ct_STRIP"; then
35043 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
35045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35046 for as_dir
in $PATH
35049 test -z "$as_dir" && as_dir
=.
35050 for ac_exec_ext
in '' $ac_executable_extensions; do
35051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35052 ac_cv_prog_ac_ct_STRIP
="strip"
35053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35059 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
35062 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
35063 if test -n "$ac_ct_STRIP"; then
35064 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35065 echo "${ECHO_T}$ac_ct_STRIP" >&6
35067 echo "$as_me:$LINENO: result: no" >&5
35068 echo "${ECHO_T}no" >&6
35073 STRIP
="$ac_cv_prog_STRIP"
35076 if test -n "$ac_tool_prefix"; then
35077 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35078 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
35079 echo "$as_me:$LINENO: checking for $ac_word" >&5
35080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35081 if test "${ac_cv_prog_NM+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 if test -n "$NM"; then
35085 ac_cv_prog_NM
="$NM" # Let the user override the test.
35087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35088 for as_dir
in $PATH
35091 test -z "$as_dir" && as_dir
=.
35092 for ac_exec_ext
in '' $ac_executable_extensions; do
35093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35094 ac_cv_prog_NM
="${ac_tool_prefix}nm"
35095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35104 if test -n "$NM"; then
35105 echo "$as_me:$LINENO: result: $NM" >&5
35106 echo "${ECHO_T}$NM" >&6
35108 echo "$as_me:$LINENO: result: no" >&5
35109 echo "${ECHO_T}no" >&6
35113 if test -z "$ac_cv_prog_NM"; then
35115 # Extract the first word of "nm", so it can be a program name with args.
35116 set dummy nm
; ac_word
=$2
35117 echo "$as_me:$LINENO: checking for $ac_word" >&5
35118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35119 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35120 echo $ECHO_N "(cached) $ECHO_C" >&6
35122 if test -n "$ac_ct_NM"; then
35123 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
35125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35126 for as_dir
in $PATH
35129 test -z "$as_dir" && as_dir
=.
35130 for ac_exec_ext
in '' $ac_executable_extensions; do
35131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35132 ac_cv_prog_ac_ct_NM
="nm"
35133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35139 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
35142 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
35143 if test -n "$ac_ct_NM"; then
35144 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35145 echo "${ECHO_T}$ac_ct_NM" >&6
35147 echo "$as_me:$LINENO: result: no" >&5
35148 echo "${ECHO_T}no" >&6
35153 NM
="$ac_cv_prog_NM"
35157 case ${BAKEFILE_HOST} in
35159 INSTALL_DIR
="mkdir"
35161 *) INSTALL_DIR
="$INSTALL -d"
35167 case ${BAKEFILE_HOST} in
35168 *-*-cygwin* | *-*-mingw32* )
35169 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
35175 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35176 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35177 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35178 echo $ECHO_N "(cached) $ECHO_C" >&6
35181 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
35182 egrep -s GNU
> /dev
/null
); then
35183 bakefile_cv_prog_makeisgnu
="yes"
35185 bakefile_cv_prog_makeisgnu
="no"
35189 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35190 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35192 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35207 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35208 case "${BAKEFILE_HOST}" in
35209 *-*-cygwin* | *-*-mingw32* )
35215 *-pc-os2_emx | *-pc-os2-emx )
35218 powerpc
-*-darwin* )
35227 case "$BAKEFILE_FORCE_PLATFORM" in
35245 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
35246 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
35247 { (exit 1); exit 1; }; }
35261 SO_SUFFIX_MODULE
="so"
35267 case "${BAKEFILE_HOST}" in
35270 SO_SUFFIX_MODULE
="sl"
35274 SO_SUFFIX_MODULE
="a"
35276 *-*-cygwin* | *-*-mingw32* )
35278 SO_SUFFIX_MODULE
="dll"
35286 *-pc-os2_emx | *-pc-os2-emx )
35291 powerpc
-*-darwin* )
35293 SO_SUFFIX_MODULE
="bundle"
35305 SHARED_LD_CC
="\$(CC) -shared -o"
35306 SHARED_LD_CXX
="\$(CXX) -shared -o"
35308 if test "x$GCC" = "xyes"; then
35312 case "${BAKEFILE_HOST}" in
35314 if test "x$GCC" = "xyes"; then
35315 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
35316 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
35318 LDFLAGS
="$LDFLAGS -L/usr/lib"
35320 SHARED_LD_CC
="${CC} -b -o"
35321 SHARED_LD_CXX
="${CXX} -b -o"
35327 if test "x$GCC" != "xyes"; then
35328 echo "$as_me:$LINENO: checking for Intel compiler" >&5
35329 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
35330 if test "${bakefile_cv_prog_icc+set}" = set; then
35331 echo $ECHO_N "(cached) $ECHO_C" >&6
35334 cat >conftest.
$ac_ext <<_ACEOF
35335 #line $LINENO "configure"
35338 cat confdefs.h
>>conftest.
$ac_ext
35339 cat >>conftest.
$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35346 #ifndef __INTEL_COMPILER
35354 rm -f conftest.
$ac_objext
35355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35356 (eval $ac_compile) 2>&5
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); } &&
35360 { ac_try
='test -s conftest.$ac_objext'
35361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35362 (eval $ac_try) 2>&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); }; }; then
35366 bakefile_cv_prog_icc
=yes
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.
$ac_ext >&5
35371 bakefile_cv_prog_icc
=no
35374 rm -f conftest.
$ac_objext conftest.
$ac_ext
35377 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
35378 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
35379 if test "$bakefile_cv_prog_icc" = "yes"; then
35386 if test "x$GCC" != xyes
; then
35387 SHARED_LD_CC
="${CC} -G -o"
35388 SHARED_LD_CXX
="${CXX} -G -o"
35394 CFLAGS
="$CFLAGS -fno-common"
35395 CXXFLAGS
="$CXXFLAGS -fno-common"
35398 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
35399 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
35400 if test "${wx_cv_gcc31+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35404 cat >conftest.
$ac_ext <<_ACEOF
35405 #line $LINENO "configure"
35408 cat confdefs.h
>>conftest.
$ac_ext
35409 cat >>conftest.
$ac_ext <<_ACEOF
35410 /* end confdefs.h. */
35416 #if (__GNUC__ < 3) || \
35417 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
35425 rm -f conftest.
$ac_objext
35426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35427 (eval $ac_compile) 2>&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); } &&
35431 { ac_try
='test -s conftest.$ac_objext'
35432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35433 (eval $ac_try) 2>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); }; }; then
35441 echo "$as_me: failed program was:" >&5
35442 sed 's/^/| /' conftest.
$ac_ext >&5
35449 rm -f conftest.
$ac_objext conftest.
$ac_ext
35452 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
35453 echo "${ECHO_T}$wx_cv_gcc31" >&6
35454 if test "$wx_cv_gcc31" = "no"; then
35455 cat <<EOF >shared-ld-sh
35457 #-----------------------------------------------------------------------------
35458 #-- Name: distrib/mac/shared-ld-sh
35459 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
35460 #-- Author: Gilles Depeyrot
35461 #-- Copyright: (c) 2002 Gilles Depeyrot
35462 #-- Licence: any use permitted
35463 #-----------------------------------------------------------------------------
35468 linking_flag="-dynamiclib"
35470 while test \${#} -gt 0; do
35477 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
35478 # collect these options and values
35479 args="\${args} \${1} \${2}"
35483 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
35484 # collect these options
35485 args="\${args} \${1}"
35488 -dynamiclib|-bundle)
35489 linking_flag="\${1}"
35493 echo "shared-ld: unhandled option '\${1}'"
35497 *.o | *.a | *.dylib)
35498 # collect object files
35499 objects="\${objects} \${1}"
35503 echo "shared-ld: unhandled argument '\${1}'"
35512 # Link one module containing all the others
35514 if test \${verbose} = 1; then
35515 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
35517 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
35519 if test \${status} != 0; then
35524 # Link the shared library from the single module created
35526 if test \${verbose} = 1; then
35527 echo "cc \${linking_flag} master.\$\$.o \${args}"
35529 c++ \${linking_flag} master.\$\$.o \${args}
35531 if test \${status} != 0; then
35536 # Remove intermediate module
35538 rm -f master.\$\$.o
35542 chmod +x shared
-ld-sh
35544 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
35545 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
35546 SHARED_LD_CXX
="$SHARED_LD_CC"
35547 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
35549 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
35550 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
35551 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
35552 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
35555 PIC_FLAG
="-dynamic -fPIC"
35559 if test "x$GCC" != "xyes"; then
35560 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
35561 set dummy makeC
++SharedLib
; ac_word
=$2
35562 echo "$as_me:$LINENO: checking for $ac_word" >&5
35563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35564 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35567 if test -n "$AIX_CXX_LD"; then
35568 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
35570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35571 for as_dir
in $PATH
35574 test -z "$as_dir" && as_dir
=.
35575 for ac_exec_ext
in '' $ac_executable_extensions; do
35576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35577 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
35578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35584 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
35587 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
35588 if test -n "$AIX_CXX_LD"; then
35589 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35590 echo "${ECHO_T}$AIX_CXX_LD" >&6
35592 echo "$as_me:$LINENO: result: no" >&5
35593 echo "${ECHO_T}no" >&6
35596 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
35597 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
35602 SHARED_LD_CC
="${LD} -shared -o"
35603 SHARED_LD_CXX
="${LD} -shared -o"
35607 if test "x$GCC" != "xyes"; then
35612 *-*-cygwin* | *-*-mingw32* )
35616 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35620 *-pc-os2_emx | *-pc-os2-emx | \
35625 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
35626 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
35627 { (exit 1); exit 1; }; }
35630 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35631 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
35633 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35634 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
35651 case "${BAKEFILE_HOST}" in
35653 SONAME_FLAG
="-Wl,-soname,"
35681 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35682 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35685 if test "x$GCC" = "xyes"; then
35688 case "${BAKEFILE_HOST}" in
35689 powerpc
-*-darwin* )
35690 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
35693 DEPSFLAG_GCC
="-MMD"
35696 echo "$as_me:$LINENO: result: gcc" >&5
35697 echo "${ECHO_T}gcc" >&6
35699 echo "$as_me:$LINENO: result: none" >&5
35700 echo "${ECHO_T}none" >&6
35703 if test $DEPS_TRACKING = 1 ; then
35707 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35708 # script. It is used to track C/C++ files dependencies in portable way.
35710 # Permission is given to use this file in any way.
35714 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35718 if test \$DEPSMODE = gcc ; then
35719 \${*} \${DEPSFLAG_GCC}
35721 if test \${status} != 0 ; then
35724 # move created file to the location we want it in:
35725 while test \${#} -gt 0; do
35739 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35740 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35741 if test -f \$depfile ; then
35742 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35745 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35746 if test -f \$depfile ; then
35747 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35766 case ${BAKEFILE_HOST} in
35767 *-*-cygwin* | *-*-mingw32* )
35768 if test "$build" != "$host" ; then
35769 RESCOMP
=$host_alias-windres
35771 # Extract the first word of "windres", so it can be a program name with args.
35772 set dummy windres
; ac_word
=$2
35773 echo "$as_me:$LINENO: checking for $ac_word" >&5
35774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35775 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35778 if test -n "$RESCOMP"; then
35779 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35782 for as_dir
in $PATH
35785 test -z "$as_dir" && as_dir
=.
35786 for ac_exec_ext
in '' $ac_executable_extensions; do
35787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35788 ac_cv_prog_RESCOMP
="windres"
35789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35795 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
35798 RESCOMP
=$ac_cv_prog_RESCOMP
35799 if test -n "$RESCOMP"; then
35800 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35801 echo "${ECHO_T}$RESCOMP" >&6
35803 echo "$as_me:$LINENO: result: no" >&5
35804 echo "${ECHO_T}no" >&6
35811 # Extract the first word of "Rez", so it can be a program name with args.
35812 set dummy Rez
; ac_word
=$2
35813 echo "$as_me:$LINENO: checking for $ac_word" >&5
35814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35815 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35816 echo $ECHO_N "(cached) $ECHO_C" >&6
35818 if test -n "$RESCOMP"; then
35819 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35822 for as_dir
in $PATH
35825 test -z "$as_dir" && as_dir
=.
35826 for ac_exec_ext
in '' $ac_executable_extensions; do
35827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35828 ac_cv_prog_RESCOMP
="Rez"
35829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35835 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35838 RESCOMP
=$ac_cv_prog_RESCOMP
35839 if test -n "$RESCOMP"; then
35840 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35841 echo "${ECHO_T}$RESCOMP" >&6
35843 echo "$as_me:$LINENO: result: no" >&5
35844 echo "${ECHO_T}no" >&6
35847 # Extract the first word of "SetFile", so it can be a program name with args.
35848 set dummy SetFile
; ac_word
=$2
35849 echo "$as_me:$LINENO: checking for $ac_word" >&5
35850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35851 if test "${ac_cv_prog_SETFILE+set}" = set; then
35852 echo $ECHO_N "(cached) $ECHO_C" >&6
35854 if test -n "$SETFILE"; then
35855 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35858 for as_dir
in $PATH
35861 test -z "$as_dir" && as_dir
=.
35862 for ac_exec_ext
in '' $ac_executable_extensions; do
35863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35864 ac_cv_prog_SETFILE
="SetFile"
35865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35871 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35874 SETFILE
=$ac_cv_prog_SETFILE
35875 if test -n "$SETFILE"; then
35876 echo "$as_me:$LINENO: result: $SETFILE" >&5
35877 echo "${ECHO_T}$SETFILE" >&6
35879 echo "$as_me:$LINENO: result: no" >&5
35880 echo "${ECHO_T}no" >&6
35893 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35894 if test "${enable_precomp_headers+set}" = set; then
35895 enableval
="$enable_precomp_headers"
35896 bk_use_pch
="$enableval"
35901 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35902 if test "x$GCC" = "xyes"; then
35903 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35904 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35905 cat >conftest.
$ac_ext <<_ACEOF
35906 #line $LINENO "configure"
35909 cat confdefs.h
>>conftest.
$ac_ext
35910 cat >>conftest.
$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35917 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35918 #error "no pch support"
35921 #error "no pch support"
35923 #if (__GNUC__ == 3) && \
35924 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35925 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35926 #error "no pch support"
35933 rm -f conftest.
$ac_objext
35934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35935 (eval $ac_compile) 2>&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } &&
35939 { ac_try
='test -s conftest.$ac_objext'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; }; then
35946 echo "$as_me:$LINENO: result: yes" >&5
35947 echo "${ECHO_T}yes" >&6
35948 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.
$ac_ext >&5
35956 echo "$as_me:$LINENO: result: no" >&5
35957 echo "${ECHO_T}no" >&6
35960 rm -f conftest.
$ac_objext conftest.
$ac_ext
35961 if test $GCC_PCH = 1 ; then
35962 cat <<EOF >bk-make-pch
35965 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35966 # script. It is used to generated precompiled headers.
35968 # Permission is given to use this file in any way.
35977 while test \${#} -gt 0; do
35980 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35981 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35982 headerfile="\${incdir}/\${header}"
35986 compiler="\${compiler} \${1}"
35990 if test "x\${headerfile}" = "x" ; then
35991 echo "error: can't find header \${header} in include paths" >2
35993 if test -f \${outfile} ; then
35996 mkdir -p \`dirname \${outfile}\`
35998 depsfile=".deps/\`basename \${outfile}\`.d"
36000 # can do this because gcc is >= 3.4:
36001 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
36005 chmod +x bk
-make-pch
36014 COND_BUILD_DEBUG
="#"
36015 if test "x$BUILD" = "xdebug" ; then
36016 COND_BUILD_DEBUG
=""
36019 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
36020 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
36021 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
36024 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
36025 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
36026 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
36029 COND_BUILD_DEBUG_UNICODE_0
="#"
36030 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
36031 COND_BUILD_DEBUG_UNICODE_0
=""
36034 COND_BUILD_DEBUG_UNICODE_1
="#"
36035 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
36036 COND_BUILD_DEBUG_UNICODE_1
=""
36039 COND_BUILD_RELEASE
="#"
36040 if test "x$BUILD" = "xrelease" ; then
36041 COND_BUILD_RELEASE
=""
36044 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
36045 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
36046 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
36049 COND_BUILD_RELEASE_UNICODE_0
="#"
36050 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
36051 COND_BUILD_RELEASE_UNICODE_0
=""
36054 COND_BUILD_RELEASE_UNICODE_1
="#"
36055 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
36056 COND_BUILD_RELEASE_UNICODE_1
=""
36059 COND_DEBUG_FLAG_1
="#"
36060 if test "x$DEBUG_FLAG" = "x1" ; then
36061 COND_DEBUG_FLAG_1
=""
36064 COND_DEBUG_INFO_0
="#"
36065 if test "x$DEBUG_INFO" = "x0" ; then
36066 COND_DEBUG_INFO_0
=""
36069 COND_DEBUG_INFO_1
="#"
36070 if test "x$DEBUG_INFO" = "x1" ; then
36071 COND_DEBUG_INFO_1
=""
36074 COND_DEPS_TRACKING_0
="#"
36075 if test "x$DEPS_TRACKING" = "x0" ; then
36076 COND_DEPS_TRACKING_0
=""
36079 COND_DEPS_TRACKING_1
="#"
36080 if test "x$DEPS_TRACKING" = "x1" ; then
36081 COND_DEPS_TRACKING_1
=""
36085 if test "x$GCC_PCH" = "x1" ; then
36089 COND_MONOLITHIC_0
="#"
36090 if test "x$MONOLITHIC" = "x0" ; then
36091 COND_MONOLITHIC_0
=""
36094 COND_MONOLITHIC_0_SHARED_0
="#"
36095 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
36096 COND_MONOLITHIC_0_SHARED_0
=""
36099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
36100 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
36101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
36104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
36105 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
36109 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
36110 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
36111 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
36114 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
36115 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
36116 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
36119 COND_MONOLITHIC_0_SHARED_1
="#"
36120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
36121 COND_MONOLITHIC_0_SHARED_1
=""
36124 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
36125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
36126 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
36129 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
36130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36131 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
36134 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
36135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
36136 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
36139 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
36140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
36141 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
36144 COND_MONOLITHIC_0_USE_ODBC_1
="#"
36145 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
36146 COND_MONOLITHIC_0_USE_ODBC_1
=""
36149 COND_MONOLITHIC_1
="#"
36150 if test "x$MONOLITHIC" = "x1" ; then
36151 COND_MONOLITHIC_1
=""
36154 COND_MONOLITHIC_1_SHARED_0
="#"
36155 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
36156 COND_MONOLITHIC_1_SHARED_0
=""
36159 COND_MONOLITHIC_1_SHARED_1
="#"
36160 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
36161 COND_MONOLITHIC_1_SHARED_1
=""
36164 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
36165 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
36166 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
36169 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
36170 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
36171 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
36174 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
36175 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
36176 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
36179 COND_PLATFORM_MACOSX_1
="#"
36180 if test "x$PLATFORM_MACOSX" = "x1" ; then
36181 COND_PLATFORM_MACOSX_1
=""
36184 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
36185 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
36186 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
36189 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
36190 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
36191 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
36194 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
36195 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
36196 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
36199 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
36200 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
36201 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
36204 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
36205 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
36206 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
36209 COND_PLATFORM_MAC_1
="#"
36210 if test "x$PLATFORM_MAC" = "x1" ; then
36211 COND_PLATFORM_MAC_1
=""
36214 COND_PLATFORM_OS2_1
="#"
36215 if test "x$PLATFORM_OS2" = "x1" ; then
36216 COND_PLATFORM_OS2_1
=""
36219 COND_PLATFORM_UNIX_0
="#"
36220 if test "x$PLATFORM_UNIX" = "x0" ; then
36221 COND_PLATFORM_UNIX_0
=""
36224 COND_PLATFORM_UNIX_1
="#"
36225 if test "x$PLATFORM_UNIX" = "x1" ; then
36226 COND_PLATFORM_UNIX_1
=""
36229 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
36230 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
36231 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
36234 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
36235 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
36236 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
36239 COND_PLATFORM_WIN32_0
="#"
36240 if test "x$PLATFORM_WIN32" = "x0" ; then
36241 COND_PLATFORM_WIN32_0
=""
36244 COND_PLATFORM_WIN32_1
="#"
36245 if test "x$PLATFORM_WIN32" = "x1" ; then
36246 COND_PLATFORM_WIN32_1
=""
36250 if test "x$SHARED" = "x0" ; then
36254 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
36255 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36256 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
36259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
36260 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36261 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
36264 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
36265 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36266 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
36269 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
36270 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36271 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
36274 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
36275 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
36276 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
36279 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
36280 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
36281 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
36284 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
36285 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
36286 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
36289 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
36290 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
36291 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
36295 if test "x$SHARED" = "x1" ; then
36299 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
36300 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36301 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
36304 COND_TOOLKIT_COCOA
="#"
36305 if test "x$TOOLKIT" = "xCOCOA" ; then
36306 COND_TOOLKIT_COCOA
=""
36309 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
36310 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36311 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
36314 COND_TOOLKIT_GTK
="#"
36315 if test "x$TOOLKIT" = "xGTK" ; then
36316 COND_TOOLKIT_GTK
=""
36319 COND_TOOLKIT_GTK_USE_GUI_1
="#"
36320 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
36321 COND_TOOLKIT_GTK_USE_GUI_1
=""
36324 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
36325 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36326 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
36329 COND_TOOLKIT_MAC
="#"
36330 if test "x$TOOLKIT" = "xMAC" ; then
36331 COND_TOOLKIT_MAC
=""
36334 COND_TOOLKIT_MAC_USE_GUI_1
="#"
36335 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
36336 COND_TOOLKIT_MAC_USE_GUI_1
=""
36339 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
36340 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36341 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
36344 COND_TOOLKIT_MGL
="#"
36345 if test "x$TOOLKIT" = "xMGL" ; then
36346 COND_TOOLKIT_MGL
=""
36349 COND_TOOLKIT_MGL_USE_GUI_1
="#"
36350 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
36351 COND_TOOLKIT_MGL_USE_GUI_1
=""
36354 COND_TOOLKIT_MOTIF
="#"
36355 if test "x$TOOLKIT" = "xMOTIF" ; then
36356 COND_TOOLKIT_MOTIF
=""
36359 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
36360 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
36361 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
36364 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
36365 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36366 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
36369 COND_TOOLKIT_MSW
="#"
36370 if test "x$TOOLKIT" = "xMSW" ; then
36371 COND_TOOLKIT_MSW
=""
36374 COND_TOOLKIT_MSW_USE_GUI_1
="#"
36375 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
36376 COND_TOOLKIT_MSW_USE_GUI_1
=""
36379 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
36380 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36381 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
36384 COND_TOOLKIT_PM
="#"
36385 if test "x$TOOLKIT" = "xPM" ; then
36389 COND_TOOLKIT_PM_USE_GUI_1
="#"
36390 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
36391 COND_TOOLKIT_PM_USE_GUI_1
=""
36394 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
36395 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36396 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
36399 COND_TOOLKIT_X11
="#"
36400 if test "x$TOOLKIT" = "xX11" ; then
36401 COND_TOOLKIT_X11
=""
36404 COND_TOOLKIT_X11_USE_GUI_1
="#"
36405 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
36406 COND_TOOLKIT_X11_USE_GUI_1
=""
36410 if test "x$UNICODE" = "x1" ; then
36414 COND_USE_EXCEPTIONS_0
="#"
36415 if test "x$USE_EXCEPTIONS" = "x0" ; then
36416 COND_USE_EXCEPTIONS_0
=""
36419 COND_USE_EXCEPTIONS_1
="#"
36420 if test "x$USE_EXCEPTIONS" = "x1" ; then
36421 COND_USE_EXCEPTIONS_1
=""
36425 if test "x$USE_GUI" = "x0" ; then
36430 if test "x$USE_GUI" = "x1" ; then
36434 COND_USE_GUI_1_WXUNIV_0
="#"
36435 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36436 COND_USE_GUI_1_WXUNIV_0
=""
36439 COND_USE_GUI_1_WXUNIV_1
="#"
36440 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
36441 COND_USE_GUI_1_WXUNIV_1
=""
36444 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
36445 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36446 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
36449 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
36450 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36451 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
36454 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
36455 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36456 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
36459 COND_USE_ODBC_1
="#"
36460 if test "x$USE_ODBC" = "x1" ; then
36464 COND_USE_PLUGINS_0
="#"
36465 if test "x$USE_PLUGINS" = "x0" ; then
36466 COND_USE_PLUGINS_0
=""
36469 COND_USE_SOSYMLINKS_1
="#"
36470 if test "x$USE_SOSYMLINKS" = "x1" ; then
36471 COND_USE_SOSYMLINKS_1
=""
36474 COND_USE_SOVERLINUX_1
="#"
36475 if test "x$USE_SOVERLINUX" = "x1" ; then
36476 COND_USE_SOVERLINUX_1
=""
36479 COND_USE_SOVERSION_0
="#"
36480 if test "x$USE_SOVERSION" = "x0" ; then
36481 COND_USE_SOVERSION_0
=""
36484 COND_USE_SOVERSOLARIS_1
="#"
36485 if test "x$USE_SOVERSOLARIS" = "x1" ; then
36486 COND_USE_SOVERSOLARIS_1
=""
36489 COND_WITH_PLUGIN_SDL_1
="#"
36490 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
36491 COND_WITH_PLUGIN_SDL_1
=""
36494 COND_WITH_SDL_1
="#"
36495 if test "x$WITH_SDL" = "x1" ; then
36500 if test "x$WXUNIV" = "x1" ; then
36504 COND_WXUSE_EXPAT_BUILTIN
="#"
36505 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
36506 COND_WXUSE_EXPAT_BUILTIN
=""
36509 COND_WXUSE_LIBJPEG_BUILTIN
="#"
36510 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36511 COND_WXUSE_LIBJPEG_BUILTIN
=""
36514 COND_WXUSE_LIBPNG_BUILTIN
="#"
36515 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36516 COND_WXUSE_LIBPNG_BUILTIN
=""
36519 COND_WXUSE_LIBTIFF_BUILTIN
="#"
36520 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36521 COND_WXUSE_LIBTIFF_BUILTIN
=""
36524 COND_WXUSE_ODBC_BUILTIN
="#"
36525 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
36526 COND_WXUSE_ODBC_BUILTIN
=""
36529 COND_WXUSE_REGEX_BUILTIN
="#"
36530 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
36531 COND_WXUSE_REGEX_BUILTIN
=""
36534 COND_WXUSE_ZLIB_BUILTIN
="#"
36535 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
36536 COND_WXUSE_ZLIB_BUILTIN
=""
36543 if test $GCC_PCH = 1 ; then
36544 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36545 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
36548 powerpc
-*-darwin* )
36549 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36550 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
36556 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36656 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36657 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36658 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
36659 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36660 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 cat >conftest.
make <<\_ACEOF
36664 @
echo 'ac_maketemp="$(MAKE)"'
36666 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36667 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36668 if test -n "$ac_maketemp"; then
36669 eval ac_cv_prog_make_
${ac_make}_set
=yes
36671 eval ac_cv_prog_make_
${ac_make}_set
=no
36673 rm -f conftest.
make
36675 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36676 echo "$as_me:$LINENO: result: yes" >&5
36677 echo "${ECHO_T}yes" >&6
36680 echo "$as_me:$LINENO: result: no" >&5
36681 echo "${ECHO_T}no" >&6
36682 SET_MAKE
="MAKE=${MAKE-make}"
36686 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
36687 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
36690 ac_config_headers
="$ac_config_headers setup.h"
36693 ac_config_files
="$ac_config_files wx-config version-script Makefile"
36696 ac_config_commands
="$ac_config_commands default"
36700 if test "$wxUSE_GUI" = "yes"; then
36701 SUBDIRS
="samples demos utils contrib"
36702 else SUBDIRS
="samples utils"
36705 for subdir
in `echo $SUBDIRS`; do
36706 if test -d ${srcdir}/${subdir} ; then
36707 if test "$wxUSE_GUI" = "yes"; then
36708 if test ${subdir} = "samples"; then
36709 makefiles
="samples/Makefile.in $makefiles"
36710 for sample
in `echo $SAMPLES_SUBDIRS`; do
36711 if test -d $srcdir/samples
/$sample; then
36712 makefiles
="samples/$sample/Makefile.in $makefiles"
36715 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
36717 else if test ${subdir} = "samples"; then
36718 makefiles
="samples/Makefile.in samples/console/Makefile.in"
36719 else makefiles
="utils/HelpGen/Makefile.in \
36720 utils/HelpGen/src/Makefile.in \
36721 utils/tex2rtf/Makefile.in \
36722 utils/tex2rtf/src/Makefile.in"
36726 for mkin
in $makefiles ; do
36727 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36728 ac_config_files
="$ac_config_files $mk"
36735 cat >confcache
<<\_ACEOF
36736 # This file is a shell script that caches the results of configure
36737 # tests run on this system so they can be shared between configure
36738 # scripts and configure runs, see configure's option --config-cache.
36739 # It is not useful on other systems. If it contains results you don't
36740 # want to keep, you may remove or edit it.
36742 # config.status only pays attention to the cache file if you give it
36743 # the --recheck option to rerun configure.
36745 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36746 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36747 # following values.
36751 # The following way of writing the cache mishandles newlines in values,
36752 # but we know of no workaround that is simple, portable, and efficient.
36753 # So, don't put newlines in cache variables' values.
36754 # Ultrix sh set writes to stderr and can't be redirected directly,
36755 # and sets the high bit in the cache file unless we assign to the vars.
36758 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36760 # `set' does not quote correctly, so add quotes (double-quote
36761 # substitution turns \\\\ into \\, and sed turns \\ into \).
36764 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36767 # `set' quotes correctly as required by POSIX, so do not add quotes.
36769 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36776 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36778 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36780 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36781 if test -w $cache_file; then
36782 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36783 cat confcache
>$cache_file
36785 echo "not updating unwritable cache $cache_file"
36790 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
36791 # Let make expand exec_prefix.
36792 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
36794 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36795 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36796 # trailing colons and then remove the whole line if VPATH becomes empty
36797 # (actually we leave an empty line to preserve line numbers).
36798 if test "x$srcdir" = x.
; then
36799 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36800 s/:*\$(srcdir):*/:/;
36801 s/:*\${srcdir}:*/:/;
36803 s/^\([^=]*=[ ]*\):*/\1/;
36809 DEFS
=-DHAVE_CONFIG_H
36813 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
36814 # 1. Remove the extension, and $U if already installed.
36815 ac_i
=`echo "$ac_i" |
36816 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36818 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
36819 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
36821 LIBOBJS
=$ac_libobjs
36823 LTLIBOBJS
=$ac_ltlibobjs
36827 : ${CONFIG_STATUS=./config.status}
36828 ac_clean_files_save
=$ac_clean_files
36829 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
36830 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36831 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36832 cat >$CONFIG_STATUS <<_ACEOF
36834 # Generated by $as_me.
36835 # Run this file to recreate the current configuration.
36836 # Compiler output produced by configure, useful for debugging
36837 # configure, is in config.log if it exists.
36840 ac_cs_recheck=false
36842 SHELL=\${CONFIG_SHELL-$SHELL}
36845 cat >>$CONFIG_STATUS <<\_ACEOF
36846 ## --------------------- ##
36847 ## M4sh Initialization. ##
36848 ## --------------------- ##
36850 # Be Bourne compatible
36851 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
36854 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36855 # is contrary to our usage. Disable this feature.
36856 alias -g '${1+"$@"}'='"$@"'
36857 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
36861 # Support unset when possible.
36862 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
36869 # Work around bugs in pre-3.0 UWIN ksh.
36870 $as_unset ENV MAIL MAILPATH
36877 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36878 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36879 LC_TELEPHONE LC_TIME
36881 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36882 eval $as_var=C
; export $as_var
36888 # Required to use basename.
36889 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36895 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36896 as_basename
=basename
36902 # Name of the executable.
36903 as_me
=`$as_basename "$0" ||
36904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36905 X"$0" : 'X\(//\)$' \| \
36906 X"$0" : 'X\(/\)$' \| \
36907 . : '\(.\)' 2>/dev/null ||
36909 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36910 /^X\/\(\/\/\)$/{ s//\1/; q; }
36911 /^X\/\(\/\).*/{ s//\1/; q; }
36915 # PATH needs CR, and LINENO needs CR and PATH.
36916 # Avoid depending upon Character Ranges.
36917 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36918 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36919 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36920 as_cr_digits
='0123456789'
36921 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36923 # The user is always right.
36924 if test "${PATH_SEPARATOR+set}" != set; then
36925 echo "#! /bin/sh" >conf$$.sh
36926 echo "exit 0" >>conf$$.sh
36928 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36937 as_lineno_1
=$LINENO
36938 as_lineno_2
=$LINENO
36939 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36940 test "x$as_lineno_1" != "x$as_lineno_2" &&
36941 test "x$as_lineno_3" = "x$as_lineno_2" || {
36942 # Find who we are. Look in the path if we contain no path at all
36945 *[\\/]* ) as_myself
=$0 ;;
36946 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36947 for as_dir
in $PATH
36950 test -z "$as_dir" && as_dir
=.
36951 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36956 # We did not find ourselves, most probably we were run as `sh COMMAND'
36957 # in which case we are not to be found in the path.
36958 if test "x$as_myself" = x
; then
36961 if test ! -f "$as_myself"; then
36962 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36963 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36964 { (exit 1); exit 1; }; }
36966 case $CONFIG_SHELL in
36968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36969 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36972 test -z "$as_dir" && as_dir
=.
36973 for as_base
in sh bash ksh sh5
; do
36976 if ("$as_dir/$as_base" -c '
36977 as_lineno_1=$LINENO
36978 as_lineno_2=$LINENO
36979 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36980 test "x$as_lineno_1" != "x$as_lineno_2" &&
36981 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36982 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36983 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36984 CONFIG_SHELL
=$as_dir/$as_base
36985 export CONFIG_SHELL
36986 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36994 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36995 # uniformly replaced by the line number. The first 'sed' inserts a
36996 # line-number line before each line; the second 'sed' does the real
36997 # work. The second script uses 'N' to pair each line-number line
36998 # with the numbered line, and appends trailing '-' during
36999 # substitution so that $LINENO is not a special case at line end.
37000 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37001 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37002 sed '=' <$as_myself |
37007 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37010 s,^['$as_cr_digits']*\n,,
37011 ' >$as_me.lineno
&&
37012 chmod +x
$as_me.lineno
||
37013 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37014 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37015 { (exit 1); exit 1; }; }
37017 # Don't try to exec as it changes $[0], causing all sort of problems
37018 # (the dirname of $[0] is not the place where we might find the
37019 # original and so on. Autoconf is especially sensible to this).
37021 # Exit status is that of the last command.
37026 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37027 *c
*,-n*) ECHO_N
= ECHO_C
='
37029 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
37030 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
37033 if expr a
: '\(a\)' >/dev
/null
2>&1; then
37039 rm -f conf$$ conf$$.exe conf$$.
file
37041 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
37042 # We could just check for DJGPP; but this test a) works b) is more generic
37043 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37044 if test -f conf$$.exe
; then
37045 # Don't use ln at all; we don't have any links
37050 elif ln conf$$.
file conf$$
2>/dev
/null
; then
37055 rm -f conf$$ conf$$.exe conf$$.
file
37057 if mkdir -p .
2>/dev
/null
; then
37063 as_executable_p
="test -f"
37065 # Sed expression to map a string onto a valid CPP name.
37066 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
37068 # Sed expression to map a string onto a valid variable name.
37069 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
37073 # We need space, tab and new line, in precisely that order.
37083 # Open the log real soon, to keep \$[0] and so on meaningful, and to
37084 # report actual input values of CONFIG_FILES etc. instead of their
37085 # values after options handling. Logging --version etc. is OK.
37089 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37090 ## Running $as_me. ##
37095 This file was extended by wxWindows $as_me 2.5.1, which was
37096 generated by GNU Autoconf 2.57. Invocation command line was
37098 CONFIG_FILES = $CONFIG_FILES
37099 CONFIG_HEADERS = $CONFIG_HEADERS
37100 CONFIG_LINKS = $CONFIG_LINKS
37101 CONFIG_COMMANDS = $CONFIG_COMMANDS
37105 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37109 # Files that config.status was made for.
37110 if test -n "$ac_config_files"; then
37111 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37114 if test -n "$ac_config_headers"; then
37115 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37118 if test -n "$ac_config_links"; then
37119 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37122 if test -n "$ac_config_commands"; then
37123 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37126 cat >>$CONFIG_STATUS <<\_ACEOF
37129 \`$as_me' instantiates files from templates according to the
37130 current configuration.
37132 Usage: $0 [OPTIONS] [FILE]...
37134 -h, --help print this help, then exit
37135 -V, --version print version number, then exit
37136 -q, --quiet do not print progress messages
37137 -d, --debug don't remove temporary files
37138 --recheck update $as_me by reconfiguring in the same conditions
37139 --file=FILE[:TEMPLATE]
37140 instantiate the configuration file FILE
37141 --header=FILE[:TEMPLATE]
37142 instantiate the configuration header FILE
37144 Configuration files:
37147 Configuration headers:
37150 Configuration commands:
37153 Report bugs to <bug-autoconf@gnu.org>."
37156 cat >>$CONFIG_STATUS <<_ACEOF
37158 wxWindows config.status 2.5.1
37159 configured by $0, generated by GNU Autoconf 2.57,
37160 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37162 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
37163 Free Software Foundation, Inc.
37164 This config.status script is free software; the Free Software Foundation
37165 gives unlimited permission to copy, distribute and modify it."
37170 cat >>$CONFIG_STATUS <<\_ACEOF
37171 # If no file are specified by the user, then we need to provide default
37172 # value. By we need to know if files were specified by the user.
37178 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
37179 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
37187 *) # This is not an option, so the user has probably given explicit
37190 ac_need_defaults
=false
;;
37194 # Handling of the options.
37196 cat >>$CONFIG_STATUS <<\_ACEOF
37197 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37199 --version | --vers* | -V )
37200 echo "$ac_cs_version"; exit 0 ;;
37202 # Conflict between --help and --header
37203 { { echo "$as_me:$LINENO: error: ambiguous option: $1
37204 Try \`$0 --help' for more information." >&5
37205 echo "$as_me: error: ambiguous option: $1
37206 Try \`$0 --help' for more information." >&2;}
37207 { (exit 1); exit 1; }; };;
37208 --help | --hel | -h )
37209 echo "$ac_cs_usage"; exit 0 ;;
37210 --debug | --d* | -d )
37212 --file | --fil | --fi | --f )
37214 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
37215 ac_need_defaults
=false
;;
37216 --header | --heade | --head | --hea )
37218 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
37219 ac_need_defaults
=false
;;
37220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37221 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37224 # This is an error.
37225 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37226 Try \`$0 --help' for more information." >&5
37227 echo "$as_me: error: unrecognized option: $1
37228 Try \`$0 --help' for more information." >&2;}
37229 { (exit 1); exit 1; }; } ;;
37231 *) ac_config_targets
="$ac_config_targets $1" ;;
37237 ac_configure_extra_args
=
37239 if $ac_cs_silent; then
37241 ac_configure_extra_args
="$ac_configure_extra_args --silent"
37245 cat >>$CONFIG_STATUS <<_ACEOF
37246 if \$ac_cs_recheck; then
37247 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37248 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37253 cat >>$CONFIG_STATUS <<_ACEOF
37255 # INIT-COMMANDS section.
37259 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
37268 cat >>$CONFIG_STATUS <<\_ACEOF
37269 for ac_config_target
in $ac_config_targets
37271 case "$ac_config_target" in
37272 # Handling of arguments.
37273 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
37274 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
37275 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
37276 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
37277 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
37278 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
37279 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37280 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37281 { (exit 1); exit 1; }; };;
37285 # If the user did not use the arguments to specify the items to instantiate,
37286 # then the envvar interface is used. Set only those that are not.
37287 # We use the long form for the default assignment because of an extremely
37288 # bizarre bug on SunOS 4.1.3.
37289 if $ac_need_defaults; then
37290 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
37291 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
37292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
37295 # Have a temporary directory for convenience. Make it in the build tree
37296 # simply because there is no reason to put it here, and in addition,
37297 # creating and moving files from /tmp can sometimes cause problems.
37298 # Create a temporary directory, and hook for its removal unless debugging.
37301 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37302 trap '{ (exit 1); exit 1; }' 1 2 13 15
37305 # Create a (secure) tmp directory for tmp files.
37308 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37309 test -n "$tmp" && test -d "$tmp"
37312 tmp
=.
/confstat$$
-$RANDOM
37313 (umask 077 && mkdir $tmp)
37316 echo "$me: cannot create a temporary directory in ." >&2
37317 { (exit 1); exit 1; }
37322 cat >>$CONFIG_STATUS <<_ACEOF
37325 # CONFIG_FILES section.
37328 # No need to generate the scripts if there are no CONFIG_FILES.
37329 # This happens for instance when ./config.status config.h
37330 if test -n "\$CONFIG_FILES"; then
37331 # Protect against being on the right side of a sed subst in config.status.
37332 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37333 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37334 s,@SHELL@,$SHELL,;t t
37335 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37336 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37337 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37338 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37339 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37340 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37341 s,@exec_prefix@,$exec_prefix,;t t
37342 s,@prefix@,$prefix,;t t
37343 s,@program_transform_name@,$program_transform_name,;t t
37344 s,@bindir@,$bindir,;t t
37345 s,@sbindir@,$sbindir,;t t
37346 s,@libexecdir@,$libexecdir,;t t
37347 s,@datadir@,$datadir,;t t
37348 s,@sysconfdir@,$sysconfdir,;t t
37349 s,@sharedstatedir@,$sharedstatedir,;t t
37350 s,@localstatedir@,$localstatedir,;t t
37351 s,@libdir@,$libdir,;t t
37352 s,@includedir@,$includedir,;t t
37353 s,@oldincludedir@,$oldincludedir,;t t
37354 s,@infodir@,$infodir,;t t
37355 s,@mandir@,$mandir,;t t
37356 s,@build_alias@,$build_alias,;t t
37357 s,@host_alias@,$host_alias,;t t
37358 s,@target_alias@,$target_alias,;t t
37359 s,@DEFS@,$DEFS,;t t
37360 s,@ECHO_C@,$ECHO_C,;t t
37361 s,@ECHO_N@,$ECHO_N,;t t
37362 s,@ECHO_T@,$ECHO_T,;t t
37363 s,@LIBS@,$LIBS,;t t
37364 s,@build@,$build,;t t
37365 s,@build_cpu@,$build_cpu,;t t
37366 s,@build_vendor@,$build_vendor,;t t
37367 s,@build_os@,$build_os,;t t
37368 s,@host@,$host,;t t
37369 s,@host_cpu@,$host_cpu,;t t
37370 s,@host_vendor@,$host_vendor,;t t
37371 s,@host_os@,$host_os,;t t
37372 s,@target@,$target,;t t
37373 s,@target_cpu@,$target_cpu,;t t
37374 s,@target_vendor@,$target_vendor,;t t
37375 s,@target_os@,$target_os,;t t
37377 s,@CFLAGS@,$CFLAGS,;t t
37378 s,@LDFLAGS@,$LDFLAGS,;t t
37379 s,@CPPFLAGS@,$CPPFLAGS,;t t
37380 s,@ac_ct_CC@,$ac_ct_CC,;t t
37381 s,@EXEEXT@,$EXEEXT,;t t
37382 s,@OBJEXT@,$OBJEXT,;t t
37384 s,@EGREP@,$EGREP,;t t
37386 s,@CXXFLAGS@,$CXXFLAGS,;t t
37387 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
37388 s,@RANLIB@,$RANLIB,;t t
37389 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37391 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37392 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37393 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37394 s,@STRIP@,$STRIP,;t t
37395 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
37396 s,@LN_S@,$LN_S,;t t
37397 s,@CXXCPP@,$CXXCPP,;t t
37398 s,@subdirs@,$subdirs,;t t
37399 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
37400 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
37401 s,@GTK_LIBS@,$GTK_LIBS,;t t
37402 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
37403 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
37404 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
37405 s,@X_CFLAGS@,$X_CFLAGS,;t t
37406 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
37407 s,@X_LIBS@,$X_LIBS,;t t
37408 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
37409 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
37410 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
37411 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
37412 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
37413 s,@RESCOMP@,$RESCOMP,;t t
37414 s,@DEREZ@,$DEREZ,;t t
37415 s,@SETFILE@,$SETFILE,;t t
37416 s,@LIBICONV@,$LIBICONV,;t t
37417 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
37418 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
37419 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
37420 s,@SDL_LIBS@,$SDL_LIBS,;t t
37421 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
37422 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
37423 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
37424 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
37425 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
37426 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
37427 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
37428 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
37429 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
37430 s,@VENDOR@,$VENDOR,;t t
37431 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
37432 s,@WXUNIV@,$WXUNIV,;t t
37433 s,@MONOLITHIC@,$MONOLITHIC,;t t
37434 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
37435 s,@EXTRALIBS@,$EXTRALIBS,;t t
37436 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
37437 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
37438 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
37439 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
37440 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
37441 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
37442 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
37443 s,@UNICODE@,$UNICODE,;t t
37444 s,@BUILD@,$BUILD,;t t
37445 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
37446 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
37447 s,@SHARED@,$SHARED,;t t
37448 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
37449 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
37450 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
37451 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
37452 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
37453 s,@SET_MAKE@,$SET_MAKE,;t t
37454 s,@MAKE_SET@,$MAKE_SET,;t t
37455 s,@ac_ct_AR@,$ac_ct_AR,;t t
37456 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37458 s,@ac_ct_NM@,$ac_ct_NM,;t t
37459 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
37460 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
37461 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
37462 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
37463 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
37464 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
37465 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
37466 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
37467 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
37468 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
37469 s,@LIBPREFIX@,$LIBPREFIX,;t t
37470 s,@DLLPREFIX@,$DLLPREFIX,;t t
37471 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
37472 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
37473 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
37474 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
37475 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
37476 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
37477 s,@PIC_FLAG@,$PIC_FLAG,;t t
37478 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
37479 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
37480 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
37481 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
37482 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
37483 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
37484 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
37485 s,@GCC_PCH@,$GCC_PCH,;t t
37486 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
37487 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
37488 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
37489 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
37490 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
37491 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
37492 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
37493 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
37494 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
37495 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
37496 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
37497 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
37498 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
37499 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
37500 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
37501 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
37502 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
37503 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
37504 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
37505 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
37506 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
37507 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
37508 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
37509 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
37510 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
37511 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
37512 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
37513 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
37514 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
37515 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
37516 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
37517 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
37518 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
37519 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
37520 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
37521 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
37522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
37523 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
37524 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
37525 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
37526 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
37527 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
37528 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
37529 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
37530 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
37531 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
37532 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
37533 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
37534 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
37535 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37536 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37537 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37538 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
37539 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
37540 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
37541 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
37542 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
37543 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
37544 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
37545 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
37546 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
37547 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
37548 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
37549 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
37550 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
37551 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
37552 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
37553 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
37554 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
37555 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
37556 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
37557 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
37558 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
37559 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
37560 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
37561 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
37562 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
37563 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
37564 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
37565 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
37566 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
37567 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
37568 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
37569 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
37570 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
37571 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
37572 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37573 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37574 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37575 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
37576 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
37577 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
37578 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
37579 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
37580 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
37581 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
37582 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
37583 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
37584 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
37585 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
37586 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
37587 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
37588 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
37589 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
37590 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
37591 s,@PATH_IFS@,$PATH_IFS,;t t
37592 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
37593 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
37594 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
37595 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
37596 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
37597 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
37598 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
37599 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
37600 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
37601 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
37602 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
37603 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
37604 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
37605 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
37606 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
37607 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
37608 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
37609 s,@WX_ALL@,$WX_ALL,;t t
37610 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
37611 s,@SHARED_LD@,$SHARED_LD,;t t
37612 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
37613 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
37614 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
37615 s,@USE_GUI@,$USE_GUI,;t t
37616 s,@AFMINSTALL@,$AFMINSTALL,;t t
37617 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
37618 s,@TOOLKIT@,$TOOLKIT,;t t
37619 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
37620 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
37621 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
37622 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
37623 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
37624 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
37625 s,@cross_compiling@,$cross_compiling,;t t
37626 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
37627 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
37628 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
37629 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
37630 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
37631 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
37632 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
37633 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
37634 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
37635 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
37636 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
37637 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
37638 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
37639 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
37640 s,@GUIDIST@,$GUIDIST,;t t
37641 s,@PORT_FILES@,$PORT_FILES,;t t
37642 s,@DISTDIR@,$DISTDIR,;t t
37643 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
37644 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
37645 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
37646 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
37647 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
37648 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
37649 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
37650 s,@RESFLAGS@,$RESFLAGS,;t t
37651 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
37652 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
37653 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
37654 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
37655 s,@MACRESCOMP@,$MACRESCOMP,;t t
37656 s,@MACSETFILE@,$MACSETFILE,;t t
37657 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37659 s,@DLLTOOL@,$DLLTOOL,;t t
37662 s,@MAKEINFO@,$MAKEINFO,;t t
37663 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37664 s,@LIBOBJS@,$LIBOBJS,;t t
37665 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37670 cat >>$CONFIG_STATUS <<\_ACEOF
37671 # Split the substitutions into bite-sized pieces for seds with
37672 # small command number limits, like on Digital OSF/1 and HP-UX.
37673 ac_max_sed_lines
=48
37674 ac_sed_frag
=1 # Number of current file.
37675 ac_beg
=1 # First line for current file.
37676 ac_end
=$ac_max_sed_lines # Line after last line for current file.
37679 while $ac_more_lines; do
37680 if test $ac_beg -gt 1; then
37681 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37683 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37685 if test ! -s $tmp/subs.frag
; then
37686 ac_more_lines
=false
37688 # The purpose of the label and of the branching condition is to
37689 # speed up the sed processing (if there are no `@' at all, there
37690 # is no need to browse any of the substitutions).
37691 # These are the two extra sed commands mentioned above.
37693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
37694 if test -z "$ac_sed_cmds"; then
37695 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
37697 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37699 ac_sed_frag
=`expr $ac_sed_frag + 1`
37701 ac_end
=`expr $ac_end + $ac_max_sed_lines`
37704 if test -z "$ac_sed_cmds"; then
37707 fi # test -n "$CONFIG_FILES"
37710 cat >>$CONFIG_STATUS <<\_ACEOF
37711 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
37712 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37714 - | *:- | *:-:* ) # input from stdin
37716 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37717 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37718 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37719 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37720 * ) ac_file_in
=$ac_file.
in ;;
37723 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37724 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37726 X"$ac_file" : 'X\(//\)[^/]' \| \
37727 X"$ac_file" : 'X\(//\)$' \| \
37728 X"$ac_file" : 'X\(/\)' \| \
37729 . : '\(.\)' 2>/dev/null ||
37731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37733 /^X\(\/\/\)$/{ s//\1/; q; }
37734 /^X\(\/\).*/{ s//\1/; q; }
37736 { if $as_mkdir_p; then
37741 while test ! -d "$as_dir"; do
37742 as_dirs
="$as_dir $as_dirs"
37743 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37745 X"$as_dir" : 'X\(//\)[^/]' \| \
37746 X"$as_dir" : 'X\(//\)$' \| \
37747 X"$as_dir" : 'X\(/\)' \| \
37748 . : '\(.\)' 2>/dev/null ||
37750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37752 /^X\(\/\/\)$/{ s//\1/; q; }
37753 /^X\(\/\).*/{ s//\1/; q; }
37756 test ! -n "$as_dirs" || mkdir $as_dirs
37757 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37758 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37759 { (exit 1); exit 1; }; }; }
37763 if test "$ac_dir" != .
; then
37764 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37765 # A "../" for each directory in $ac_dir_suffix.
37766 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37768 ac_dir_suffix
= ac_top_builddir
=
37772 .
) # No --srcdir option. We are building in place.
37774 if test -z "$ac_top_builddir"; then
37777 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37779 [\\/]* | ?
:[\\/]* ) # Absolute path.
37780 ac_srcdir
=$srcdir$ac_dir_suffix;
37781 ac_top_srcdir
=$srcdir ;;
37782 *) # Relative path.
37783 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37784 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37786 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37788 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37789 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37790 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37791 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37795 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
37796 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
37799 if test x
"$ac_file" != x
-; then
37800 { echo "$as_me:$LINENO: creating $ac_file" >&5
37801 echo "$as_me: creating $ac_file" >&6;}
37804 # Let's still pretend it is `configure' which instantiates (i.e., don't
37805 # use $as_me), people would be surprised to read:
37806 # /* config.h. Generated by config.status. */
37807 if test x
"$ac_file" = x
-; then
37810 configure_input
="$ac_file. "
37812 configure_input
=$configure_input"Generated from `echo $ac_file_in |
37813 sed 's,.*/,,'` by configure."
37815 # First look for the input files in the build tree, otherwise in the
37817 ac_file_inputs
=`IFS=:
37818 for f in $ac_file_in; do
37820 -) echo $tmp/stdin ;;
37822 # Absolute (can't be DOS-style, as IFS=:)
37823 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37824 echo "$as_me: error: cannot find input file: $f" >&2;}
37825 { (exit 1); exit 1; }; }
37828 if test -f "$f"; then
37831 elif test -f "$srcdir/$f"; then
37836 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37837 echo "$as_me: error: cannot find input file: $f" >&2;}
37838 { (exit 1); exit 1; }; }
37841 done` || { (exit 1); exit 1; }
37843 cat >>$CONFIG_STATUS <<_ACEOF
37847 cat >>$CONFIG_STATUS <<\_ACEOF
37849 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
37850 s
,@configure_input@
,$configure_input,;t t
37851 s
,@srcdir@
,$ac_srcdir,;t t
37852 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
37853 s
,@top_srcdir@
,$ac_top_srcdir,;t t
37854 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
37855 s
,@builddir@
,$ac_builddir,;t t
37856 s
,@abs_builddir@
,$ac_abs_builddir,;t t
37857 s
,@top_builddir@
,$ac_top_builddir,;t t
37858 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
37859 s
,@INSTALL@
,$ac_INSTALL,;t t
37860 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37862 if test x"$ac_file" != x-; then
37863 mv $tmp/out $ac_file
37871 cat >>$CONFIG_STATUS <<\_ACEOF
37874 # CONFIG_HEADER section.
37877 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
37878 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37880 # ac_d sets the value in "#define NAME VALUE" lines.
37881 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37882 ac_dB
='[ ].*$,\1#\2'
37885 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37886 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37887 ac_uB
='$,\1#\2define\3'
37891 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
37892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37894 - | *:- | *:-:* ) # input from stdin
37896 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37897 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37898 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37899 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37900 * ) ac_file_in
=$ac_file.
in ;;
37903 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37904 echo "$as_me: creating $ac_file" >&6;}
37906 # First look for the input files in the build tree, otherwise in the
37908 ac_file_inputs
=`IFS=:
37909 for f in $ac_file_in; do
37911 -) echo $tmp/stdin ;;
37913 # Absolute (can't be DOS-style, as IFS=:)
37914 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37915 echo "$as_me: error: cannot find input file: $f" >&2;}
37916 { (exit 1); exit 1; }; }
37919 if test -f "$f"; then
37922 elif test -f "$srcdir/$f"; then
37927 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37928 echo "$as_me: error: cannot find input file: $f" >&2;}
37929 { (exit 1); exit 1; }; }
37932 done` || { (exit 1); exit 1; }
37933 # Remove the trailing spaces.
37934 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37938 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37939 # `conftest.undefs', that substitutes the proper values into
37940 # config.h.in to produce config.h. The first handles `#define'
37941 # templates, and the second `#undef' templates.
37942 # And first: Protect against being on the right side of a sed subst in
37943 # config.status. Protect against being in an unquoted here document
37944 # in config.status.
37945 rm -f conftest.defines conftest.undefs
37946 # Using a here document instead of a string reduces the quoting nightmare.
37947 # Putting comments in sed scripts is not portable.
37949 # `end' is used to avoid that the second main sed command (meant for
37950 # 0-ary CPP macros) applies to n-ary macro definitions.
37951 # See the Autoconf documentation for `clear'.
37952 cat >confdef2sed.
sed <<\_ACEOF
37957 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37959 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37962 # If some macros were called several times there might be several times
37963 # the same #defines, which is useless. Nevertheless, we may not want to
37964 # sort them, since we want the *last* AC-DEFINE to be honored.
37965 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37966 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37967 rm -f confdef2sed.sed
37969 # This sed command replaces #undef with comments. This is necessary, for
37970 # example, in the case of _POSIX_SOURCE, which is predefined and required
37971 # on some systems where configure will not decide to define it.
37972 cat >>conftest.undefs <<\_ACEOF
37973 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37976 # Break up conftest.defines because some shells have a limit on the size
37977 # of here documents, and old seds have small limits too (100 cmds).
37978 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37979 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37980 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37981 echo ' :' >>$CONFIG_STATUS
37982 rm -f conftest.tail
37983 while grep . conftest.defines >/dev/null
37985 # Write a limited-size here document to $tmp/defines.sed.
37986 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37987 # Speed up: don't consider the non `#define' lines.
37988 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37989 # Work around the forget-to-reset-the-flag bug.
37990 echo 't clr' >>$CONFIG_STATUS
37991 echo ': clr' >>$CONFIG_STATUS
37992 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37994 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37996 mv $tmp/out $tmp/in
37998 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37999 rm -f conftest.defines
38000 mv conftest.
tail conftest.defines
38002 rm -f conftest.defines
38003 echo ' fi # grep' >>$CONFIG_STATUS
38004 echo >>$CONFIG_STATUS
38006 # Break up conftest.undefs because some shells have a limit on the size
38007 # of here documents, and old seds have small limits too (100 cmds).
38008 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38009 rm -f conftest.
tail
38010 while grep . conftest.undefs
>/dev
/null
38012 # Write a limited-size here document to $tmp/undefs.sed.
38013 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38014 # Speed up: don't consider the non
`#undef'
38015 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38016 # Work around the forget-to-reset-the-flag bug.
38017 echo 't clr' >>$CONFIG_STATUS
38018 echo ': clr' >>$CONFIG_STATUS
38019 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38021 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38023 mv $tmp/out $tmp/in
38025 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38026 rm -f conftest.undefs
38027 mv conftest.tail conftest.undefs
38029 rm -f conftest.undefs
38031 cat >>$CONFIG_STATUS <<\_ACEOF
38032 # Let's still pretend it is `configure
' which instantiates (i.e., don't
38033 # use $as_me), people would be surprised to read:
38034 # /* config.h. Generated by config.status. */
38035 if test x
"$ac_file" = x
-; then
38036 echo "/* Generated by configure. */" >$tmp/config.h
38038 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38040 cat $tmp/in >>$tmp/config.h
38042 if test x
"$ac_file" != x
-; then
38043 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
38044 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38045 echo "$as_me: $ac_file is unchanged" >&6;}
38047 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
38048 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38049 X"$ac_file" : 'X\(//\)[^/]' \| \
38050 X"$ac_file" : 'X\(//\)$' \| \
38051 X"$ac_file" : 'X\(/\)' \| \
38052 . : '\(.\)' 2>/dev/null ||
38054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38056 /^X\(\/\/\)$/{ s//\1/; q; }
38057 /^X\(\/\).*/{ s//\1/; q; }
38059 { if $as_mkdir_p; then
38064 while test ! -d "$as_dir"; do
38065 as_dirs
="$as_dir $as_dirs"
38066 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38068 X"$as_dir" : 'X\(//\)[^/]' \| \
38069 X"$as_dir" : 'X\(//\)$' \| \
38070 X"$as_dir" : 'X\(/\)' \| \
38071 . : '\(.\)' 2>/dev/null ||
38073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38075 /^X\(\/\/\)$/{ s//\1/; q; }
38076 /^X\(\/\).*/{ s//\1/; q; }
38079 test ! -n "$as_dirs" || mkdir $as_dirs
38080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38082 { (exit 1); exit 1; }; }; }
38085 mv $tmp/config.h
$ac_file
38089 rm -f $tmp/config.h
38093 cat >>$CONFIG_STATUS <<\_ACEOF
38096 # CONFIG_COMMANDS section.
38098 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
38099 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
38100 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38101 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
38102 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38103 X"$ac_dest" : 'X\(//\)[^/]' \| \
38104 X"$ac_dest" : 'X\(//\)$' \| \
38105 X"$ac_dest" : 'X\(/\)' \| \
38106 . : '\(.\)' 2>/dev/null ||
38108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38110 /^X\(\/\/\)$/{ s//\1/; q; }
38111 /^X\(\/\).*/{ s//\1/; q; }
38115 if test "$ac_dir" != .
; then
38116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38117 # A "../" for each directory in $ac_dir_suffix.
38118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38120 ac_dir_suffix
= ac_top_builddir
=
38124 .
) # No --srcdir option. We are building in place.
38126 if test -z "$ac_top_builddir"; then
38129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38131 [\\/]* | ?
:[\\/]* ) # Absolute path.
38132 ac_srcdir
=$srcdir$ac_dir_suffix;
38133 ac_top_srcdir
=$srcdir ;;
38134 *) # Relative path.
38135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38138 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38140 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38141 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38142 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38143 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38146 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
38147 echo "$as_me: executing $ac_dest commands" >&6;}
38150 if test ! -h wx
-config; then
38152 mv wx
-config wx
${TOOLCHAIN_NAME}-config
38153 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
38156 if test ! -d lib
; then
38159 if test ! -d lib
/wx
; then
38162 if test ! -d lib
/wx
/include
; then
38163 mkdir lib
/wx
/include
38165 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
38166 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
38168 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
38169 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
38171 if test -f setup.h
; then
38172 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
38179 cat >>$CONFIG_STATUS <<\_ACEOF
38181 { (exit 0); exit 0; }
38183 chmod +x
$CONFIG_STATUS
38184 ac_clean_files
=$ac_clean_files_save
38187 # configure is writing to config.log, and then calls config.status.
38188 # config.status does its own redirection, appending to config.log.
38189 # Unfortunately, on DOS this fails, as config.log is still kept open
38190 # by configure, so config.status won't be able to write to it; its
38191 # output is simply discarded. So we exec the FD to /dev/null,
38192 # effectively closing config.log, so it can be properly (re)opened and
38193 # appended to by config.status. When coming back to configure, we
38194 # need to make the FD available again.
38195 if test "$no_create" != yes; then
38197 ac_config_status_args
=
38198 test "$silent" = yes &&
38199 ac_config_status_args
="$ac_config_status_args --quiet"
38201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
38203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38204 # would make configure fail if this is the last instruction.
38205 $ac_cs_success || { (exit 1); exit 1; }
38209 # CONFIG_SUBDIRS section.
38211 if test "$no_recursion" != yes; then
38213 # Remove --cache-file and --srcdir arguments so they do not pile up.
38214 ac_sub_configure_args
=
38216 for ac_arg
in $ac_configure_args; do
38217 if test -n "$ac_prev"; then
38222 -cache-file | --cache-file | --cache-fil | --cache-fi \
38223 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38224 ac_prev
=cache_file
;;
38225 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38226 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38229 --config-cache | -C)
38231 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38233 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38235 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38237 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38239 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
38243 # Always prepend --prefix to ensure using the same prefix
38244 # in subdir configurations.
38245 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
38248 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
38250 # Do not complain, so a configure script can configure whichever
38251 # parts of a large source tree are present.
38252 test -d $srcdir/$ac_dir || continue
38254 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
38255 echo "$as_me: configuring in $ac_dir" >&6;}
38256 { if $as_mkdir_p; then
38261 while test ! -d "$as_dir"; do
38262 as_dirs
="$as_dir $as_dirs"
38263 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38265 X"$as_dir" : 'X\(//\)[^/]' \| \
38266 X"$as_dir" : 'X\(//\)$' \| \
38267 X"$as_dir" : 'X\(/\)' \| \
38268 . : '\(.\)' 2>/dev/null ||
38270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38272 /^X\(\/\/\)$/{ s//\1/; q; }
38273 /^X\(\/\).*/{ s//\1/; q; }
38276 test ! -n "$as_dirs" || mkdir $as_dirs
38277 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38278 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38279 { (exit 1); exit 1; }; }; }
38283 if test "$ac_dir" != .
; then
38284 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38285 # A "../" for each directory in $ac_dir_suffix.
38286 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38288 ac_dir_suffix
= ac_top_builddir
=
38292 .
) # No --srcdir option. We are building in place.
38294 if test -z "$ac_top_builddir"; then
38297 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38299 [\\/]* | ?
:[\\/]* ) # Absolute path.
38300 ac_srcdir
=$srcdir$ac_dir_suffix;
38301 ac_top_srcdir
=$srcdir ;;
38302 *) # Relative path.
38303 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38304 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38306 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38308 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38309 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38310 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38311 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38316 # Check for guested configure; otherwise get Cygnus style configure.
38317 if test -f $ac_srcdir/configure.gnu
; then
38318 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
38319 elif test -f $ac_srcdir/configure
; then
38320 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
38321 elif test -f $ac_srcdir/configure.
in; then
38322 ac_sub_configure
=$ac_configure
38324 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38325 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38329 # The recursion is here.
38330 if test -n "$ac_sub_configure"; then
38331 # Make the cache file name correct relative to the subdirectory.
38332 case $cache_file in
38333 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
38334 *) # Relative path.
38335 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
38338 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38339 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38340 # The eval makes quoting arguments work.
38341 eval $ac_sub_configure $ac_sub_configure_args \
38342 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
38343 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38344 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38345 { (exit 1); exit 1; }; }
38354 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
38356 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
38357 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
38359 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
38360 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
38361 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
38363 echo " What level of wxWindows compatibility should be enabled?"
38364 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
38365 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
38367 echo " Which libraries should wxWindows use?"
38368 echo " jpeg ${wxUSE_LIBJPEG-none}"
38369 echo " png ${wxUSE_LIBPNG-none}"
38370 echo " regex ${wxUSE_REGEX}"
38371 echo " tiff ${wxUSE_LIBTIFF-none}"
38372 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
38373 echo " xpm ${wxUSE_LIBXPM-none}"
38375 echo " zlib ${wxUSE_ZLIB}"
38376 echo " odbc ${wxUSE_ODBC}"
38377 echo " expat ${wxUSE_EXPAT}"
38378 echo " libmspack ${wxUSE_LIBMSPACK}"
38379 echo " sdl ${wxUSE_LIBSDL}"