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 'extern "C" void std::exit (int) throw (); using std::exit;' \
10786 'extern "C" void std::exit (int); using std::exit;' \
10787 'extern "C" void exit (int) throw ();' \
10788 'extern "C" void exit (int);' \
10791 cat >conftest.
$ac_ext <<_ACEOF
10792 #line $LINENO "configure"
10795 cat confdefs.h
>>conftest.
$ac_ext
10796 cat >>conftest.
$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10799 #include <stdlib.h>
10808 rm -f conftest.
$ac_objext
10809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10810 (eval $ac_compile) 2>&5
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } &&
10814 { ac_try
='test -s conftest.$ac_objext'
10815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10816 (eval $ac_try) 2>&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); }; }; then
10822 echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.
$ac_ext >&5
10827 rm -f conftest.
$ac_objext conftest.
$ac_ext
10828 cat >conftest.
$ac_ext <<_ACEOF
10829 #line $LINENO "configure"
10832 cat confdefs.h
>>conftest.
$ac_ext
10833 cat >>conftest.
$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10844 rm -f conftest.
$ac_objext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846 (eval $ac_compile) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); } &&
10850 { ac_try
='test -s conftest.$ac_objext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.
$ac_ext >&5
10862 rm -f conftest.
$ac_objext conftest.
$ac_ext
10865 if test -n "$ac_declaration"; then
10866 echo '#ifdef __cplusplus' >>confdefs.h
10867 echo $ac_declaration >>confdefs.h
10868 echo '#endif' >>confdefs.h
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.
$ac_ext >&5
10876 rm -f conftest.
$ac_objext conftest.
$ac_ext
10878 ac_cpp
='$CPP $CPPFLAGS'
10879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10886 ac_cpp
='$CPP $CPPFLAGS'
10887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10890 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10891 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10892 # On Suns, sometimes $CPP names a directory.
10893 if test -n "$CPP" && test -d "$CPP"; then
10896 if test -z "$CPP"; then
10897 if test "${ac_cv_prog_CPP+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 # Double quotes because CPP needs to be expanded
10901 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10903 ac_preproc_ok
=false
10904 for ac_c_preproc_warn_flag
in '' yes
10906 # Use a header file that comes with gcc, so configuring glibc
10907 # with a fresh cross-compiler works.
10908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10909 # <limits.h> exists even on freestanding compilers.
10910 # On the NeXT, cc -E runs the code through the compiler's parser,
10911 # not just through cpp. "Syntax error" is here to catch this case.
10912 cat >conftest.
$ac_ext <<_ACEOF
10913 #line $LINENO "configure"
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10920 # include <limits.h>
10922 # include <assert.h>
10926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10929 grep -v '^ *+' conftest.er1
>conftest.err
10931 cat conftest.err
>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } >/dev
/null
; then
10934 if test -s conftest.err
; then
10935 ac_cpp_err
=$ac_c_preproc_warn_flag
10942 if test -z "$ac_cpp_err"; then
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.
$ac_ext >&5
10948 # Broken: fails on valid input.
10951 rm -f conftest.err conftest.
$ac_ext
10953 # OK, works on sane cases. Now check whether non-existent headers
10954 # can be detected and how.
10955 cat >conftest.
$ac_ext <<_ACEOF
10956 #line $LINENO "configure"
10959 cat confdefs.h
>>conftest.
$ac_ext
10960 cat >>conftest.
$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10962 #include <ac_nonexistent.h>
10964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10967 grep -v '^ *+' conftest.er1
>conftest.err
10969 cat conftest.err
>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } >/dev
/null
; then
10972 if test -s conftest.err
; then
10973 ac_cpp_err
=$ac_c_preproc_warn_flag
10980 if test -z "$ac_cpp_err"; then
10981 # Broken: success on invalid input.
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.
$ac_ext >&5
10987 # Passes both tests.
10991 rm -f conftest.err conftest.
$ac_ext
10994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10995 rm -f conftest.err conftest.
$ac_ext
10996 if $ac_preproc_ok; then
11001 ac_cv_prog_CPP
=$CPP
11004 CPP
=$ac_cv_prog_CPP
11006 ac_cv_prog_CPP
=$CPP
11008 echo "$as_me:$LINENO: result: $CPP" >&5
11009 echo "${ECHO_T}$CPP" >&6
11010 ac_preproc_ok
=false
11011 for ac_c_preproc_warn_flag
in '' yes
11013 # Use a header file that comes with gcc, so configuring glibc
11014 # with a fresh cross-compiler works.
11015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11016 # <limits.h> exists even on freestanding compilers.
11017 # On the NeXT, cc -E runs the code through the compiler's parser,
11018 # not just through cpp. "Syntax error" is here to catch this case.
11019 cat >conftest.
$ac_ext <<_ACEOF
11020 #line $LINENO "configure"
11023 cat confdefs.h
>>conftest.
$ac_ext
11024 cat >>conftest.
$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 # include <limits.h>
11029 # include <assert.h>
11033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11036 grep -v '^ *+' conftest.er1
>conftest.err
11038 cat conftest.err
>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } >/dev
/null
; then
11041 if test -s conftest.err
; then
11042 ac_cpp_err
=$ac_c_preproc_warn_flag
11049 if test -z "$ac_cpp_err"; then
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11055 # Broken: fails on valid input.
11058 rm -f conftest.err conftest.
$ac_ext
11060 # OK, works on sane cases. Now check whether non-existent headers
11061 # can be detected and how.
11062 cat >conftest.
$ac_ext <<_ACEOF
11063 #line $LINENO "configure"
11066 cat confdefs.h
>>conftest.
$ac_ext
11067 cat >>conftest.
$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 #include <ac_nonexistent.h>
11071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11074 grep -v '^ *+' conftest.er1
>conftest.err
11076 cat conftest.err
>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } >/dev
/null
; then
11079 if test -s conftest.err
; then
11080 ac_cpp_err
=$ac_c_preproc_warn_flag
11087 if test -z "$ac_cpp_err"; then
11088 # Broken: success on invalid input.
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11094 # Passes both tests.
11098 rm -f conftest.err conftest.
$ac_ext
11101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11102 rm -f conftest.err conftest.
$ac_ext
11103 if $ac_preproc_ok; then
11106 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11107 See \`config.log' for more details." >&5
11108 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11109 See \`config.log' for more details." >&2;}
11110 { (exit 1); exit 1; }; }
11114 ac_cpp
='$CPP $CPPFLAGS'
11115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11120 echo "$as_me:$LINENO: checking for egrep" >&5
11121 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11122 if test "${ac_cv_prog_egrep+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11126 then ac_cv_prog_egrep
='grep -E'
11127 else ac_cv_prog_egrep
='egrep'
11130 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11131 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11132 EGREP
=$ac_cv_prog_egrep
11135 if test $ac_cv_c_compiler_gnu = yes; then
11136 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 ac_pattern
="Autoconf.*'x'"
11142 cat >conftest.
$ac_ext <<_ACEOF
11143 #line $LINENO "configure"
11146 cat confdefs.h
>>conftest.
$ac_ext
11147 cat >>conftest.
$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11153 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11154 ac_cv_prog_gcc_traditional
=yes
11156 ac_cv_prog_gcc_traditional
=no
11161 if test $ac_cv_prog_gcc_traditional = no
; then
11162 cat >conftest.
$ac_ext <<_ACEOF
11163 #line $LINENO "configure"
11166 cat confdefs.h
>>conftest.
$ac_ext
11167 cat >>conftest.
$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11169 #include <termio.h>
11172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11173 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11174 ac_cv_prog_gcc_traditional
=yes
11180 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11181 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11182 if test $ac_cv_prog_gcc_traditional = yes; then
11183 CC
="$CC -traditional"
11191 ac_cpp
='$CXXCPP $CPPFLAGS'
11192 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11193 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11194 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11197 CXXFLAGS
=${CXXFLAGS:=}
11199 ac_cpp
='$CXXCPP $CPPFLAGS'
11200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11203 if test -n "$ac_tool_prefix"; then
11204 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11207 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11208 echo "$as_me:$LINENO: checking for $ac_word" >&5
11209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11210 if test "${ac_cv_prog_CXX+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 if test -n "$CXX"; then
11214 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11217 for as_dir
in $PATH
11220 test -z "$as_dir" && as_dir
=.
11221 for ac_exec_ext
in '' $ac_executable_extensions; do
11222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11223 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11232 CXX
=$ac_cv_prog_CXX
11233 if test -n "$CXX"; then
11234 echo "$as_me:$LINENO: result: $CXX" >&5
11235 echo "${ECHO_T}$CXX" >&6
11237 echo "$as_me:$LINENO: result: no" >&5
11238 echo "${ECHO_T}no" >&6
11241 test -n "$CXX" && break
11244 if test -z "$CXX"; then
11246 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11248 # Extract the first word of "$ac_prog", so it can be a program name with args.
11249 set dummy
$ac_prog; ac_word
=$2
11250 echo "$as_me:$LINENO: checking for $ac_word" >&5
11251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 if test -n "$ac_ct_CXX"; then
11256 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11259 for as_dir
in $PATH
11262 test -z "$as_dir" && as_dir
=.
11263 for ac_exec_ext
in '' $ac_executable_extensions; do
11264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11274 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11275 if test -n "$ac_ct_CXX"; then
11276 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11277 echo "${ECHO_T}$ac_ct_CXX" >&6
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11283 test -n "$ac_ct_CXX" && break
11285 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11291 # Provide some information about the compiler.
11292 echo "$as_me:$LINENO:" \
11293 "checking for C++ compiler version" >&5
11294 ac_compiler
=`set X $ac_compile; echo $2`
11295 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11296 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }
11300 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11301 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }
11305 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11306 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }
11311 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11312 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11313 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 cat >conftest.
$ac_ext <<_ACEOF
11317 #line $LINENO "configure"
11320 cat confdefs.h
>>conftest.
$ac_ext
11321 cat >>conftest.
$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11335 rm -f conftest.
$ac_objext
11336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11337 (eval $ac_compile) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try
='test -s conftest.$ac_objext'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11347 ac_compiler_gnu
=yes
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.
$ac_ext >&5
11354 rm -f conftest.
$ac_objext conftest.
$ac_ext
11355 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11358 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11359 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11360 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11361 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11362 ac_save_CXXFLAGS
=$CXXFLAGS
11364 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11365 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11366 if test "${ac_cv_prog_cxx_g+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 cat >conftest.
$ac_ext <<_ACEOF
11370 #line $LINENO "configure"
11373 cat confdefs.h
>>conftest.
$ac_ext
11374 cat >>conftest.
$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11385 rm -f conftest.
$ac_objext
11386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11387 (eval $ac_compile) 2>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try
='test -s conftest.$ac_objext'
11392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393 (eval $ac_try) 2>&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }; }; then
11397 ac_cv_prog_cxx_g
=yes
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.
$ac_ext >&5
11402 ac_cv_prog_cxx_g
=no
11404 rm -f conftest.
$ac_objext conftest.
$ac_ext
11406 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11407 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11408 if test "$ac_test_CXXFLAGS" = set; then
11409 CXXFLAGS
=$ac_save_CXXFLAGS
11410 elif test $ac_cv_prog_cxx_g = yes; then
11411 if test "$GXX" = yes; then
11417 if test "$GXX" = yes; then
11423 for ac_declaration
in \
11425 'extern "C" void std::exit (int) throw (); using std::exit;' \
11426 'extern "C" void std::exit (int); using std::exit;' \
11427 'extern "C" void exit (int) throw ();' \
11428 'extern "C" void exit (int);' \
11431 cat >conftest.
$ac_ext <<_ACEOF
11432 #line $LINENO "configure"
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11439 #include <stdlib.h>
11448 rm -f conftest.
$ac_objext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450 (eval $ac_compile) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -s conftest.$ac_objext'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.
$ac_ext >&5
11467 rm -f conftest.
$ac_objext conftest.
$ac_ext
11468 cat >conftest.
$ac_ext <<_ACEOF
11469 #line $LINENO "configure"
11472 cat confdefs.h
>>conftest.
$ac_ext
11473 cat >>conftest.
$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11484 rm -f conftest.
$ac_objext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11486 (eval $ac_compile) 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); } &&
11490 { ac_try
='test -s conftest.$ac_objext'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; }; then
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.
$ac_ext >&5
11502 rm -f conftest.
$ac_objext conftest.
$ac_ext
11505 if test -n "$ac_declaration"; then
11506 echo '#ifdef __cplusplus' >>confdefs.h
11507 echo $ac_declaration >>confdefs.h
11508 echo '#endif' >>confdefs.h
11512 ac_cpp
='$CXXCPP $CPPFLAGS'
11513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11519 ac_cpp
='$CPP $CPPFLAGS'
11520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11525 if test -n "$ac_tool_prefix"; then
11526 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11527 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11528 echo "$as_me:$LINENO: checking for $ac_word" >&5
11529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11530 if test "${ac_cv_prog_RANLIB+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 if test -n "$RANLIB"; then
11534 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11537 for as_dir
in $PATH
11540 test -z "$as_dir" && as_dir
=.
11541 for ac_exec_ext
in '' $ac_executable_extensions; do
11542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11543 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11552 RANLIB
=$ac_cv_prog_RANLIB
11553 if test -n "$RANLIB"; then
11554 echo "$as_me:$LINENO: result: $RANLIB" >&5
11555 echo "${ECHO_T}$RANLIB" >&6
11557 echo "$as_me:$LINENO: result: no" >&5
11558 echo "${ECHO_T}no" >&6
11562 if test -z "$ac_cv_prog_RANLIB"; then
11563 ac_ct_RANLIB
=$RANLIB
11564 # Extract the first word of "ranlib", so it can be a program name with args.
11565 set dummy ranlib
; ac_word
=$2
11566 echo "$as_me:$LINENO: checking for $ac_word" >&5
11567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11568 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 if test -n "$ac_ct_RANLIB"; then
11572 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11575 for as_dir
in $PATH
11578 test -z "$as_dir" && as_dir
=.
11579 for ac_exec_ext
in '' $ac_executable_extensions; do
11580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11581 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11588 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11591 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11592 if test -n "$ac_ct_RANLIB"; then
11593 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11594 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11596 echo "$as_me:$LINENO: result: no" >&5
11597 echo "${ECHO_T}no" >&6
11600 RANLIB
=$ac_ct_RANLIB
11602 RANLIB
="$ac_cv_prog_RANLIB"
11606 # Extract the first word of "ar", so it can be a program name with args.
11607 set dummy
ar; ac_word
=$2
11608 echo "$as_me:$LINENO: checking for $ac_word" >&5
11609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11610 if test "${ac_cv_prog_AR+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 if test -n "$AR"; then
11614 ac_cv_prog_AR
="$AR" # Let the user override the test.
11616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11617 for as_dir
in $PATH
11620 test -z "$as_dir" && as_dir
=.
11621 for ac_exec_ext
in '' $ac_executable_extensions; do
11622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11633 if test -n "$AR"; then
11634 echo "$as_me:$LINENO: result: $AR" >&5
11635 echo "${ECHO_T}$AR" >&6
11637 echo "$as_me:$LINENO: result: no" >&5
11638 echo "${ECHO_T}no" >&6
11641 if test "x$AR" = "x" ; then
11642 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11643 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11644 { (exit 1); exit 1; }; }
11647 # Find a good install program. We prefer a C program (faster),
11648 # so one script is as good as another. But avoid the broken or
11649 # incompatible versions:
11650 # SysV /etc/install, /usr/sbin/install
11651 # SunOS /usr/etc/install
11652 # IRIX /sbin/install
11654 # AmigaOS /C/install, which installs bootblocks on floppy discs
11655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11658 # ./install, which can be erroneously created by make from ./install.sh.
11659 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11660 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11661 if test -z "$INSTALL"; then
11662 if test "${ac_cv_path_install+set}" = set; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11666 for as_dir
in $PATH
11669 test -z "$as_dir" && as_dir
=.
11670 # Account for people who put trailing slashes in PATH elements.
11672 .
/ | .
// | /cC
/* | \
11673 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11676 # OSF1 and SCO ODT 3.0 have their own names for install.
11677 # Don't use installbsd from OSF since it installs stuff as root
11679 for ac_prog
in ginstall scoinst
install; do
11680 for ac_exec_ext
in '' $ac_executable_extensions; do
11681 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11682 if test $ac_prog = install &&
11683 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11684 # AIX install. It has an incompatible calling convention.
11686 elif test $ac_prog = install &&
11687 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11688 # program-specific install script used by HP pwplus--don't use.
11691 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11703 if test "${ac_cv_path_install+set}" = set; then
11704 INSTALL
=$ac_cv_path_install
11706 # As a last resort, use the slow shell script. We don't cache a
11707 # path for INSTALL within a source directory, because that will
11708 # break other packages using the cache if that directory is
11709 # removed, or if the path is relative.
11710 INSTALL
=$ac_install_sh
11713 echo "$as_me:$LINENO: result: $INSTALL" >&5
11714 echo "${ECHO_T}$INSTALL" >&6
11716 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11717 # It thinks the first close brace ends the variable substitution.
11718 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11720 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11722 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11728 ?
:* ) # Drive letter, considered as absolute.
11731 INSTALL
=`pwd`/${INSTALL} ;;
11736 INSTALL_DIR
="mkdir"
11739 *) INSTALL_DIR
="$INSTALL -d"
11746 powerpc
-*-darwin* )
11747 INSTALL_PROGRAM
="cp -fp"
11748 INSTALL_DATA
="cp -fp"
11754 # Extract the first word of "strip", so it can be a program name with args.
11755 set dummy strip
; ac_word
=$2
11756 echo "$as_me:$LINENO: checking for $ac_word" >&5
11757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11758 if test "${ac_cv_prog_STRIP+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 if test -n "$STRIP"; then
11762 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11765 for as_dir
in $PATH
11768 test -z "$as_dir" && as_dir
=.
11769 for ac_exec_ext
in '' $ac_executable_extensions; do
11770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_STRIP
="strip"
11772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11778 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11781 STRIP
=$ac_cv_prog_STRIP
11782 if test -n "$STRIP"; then
11783 echo "$as_me:$LINENO: result: $STRIP" >&5
11784 echo "${ECHO_T}$STRIP" >&6
11786 echo "$as_me:$LINENO: result: no" >&5
11787 echo "${ECHO_T}no" >&6
11791 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11792 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11793 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11798 egrep -s GNU
> /dev
/null
); then
11799 wx_cv_prog_makeisgnu
="yes"
11801 wx_cv_prog_makeisgnu
="no"
11805 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11806 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11808 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11816 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11817 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11818 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11819 if test "${wx_cv_prog_makevpath+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 cat - << EOF > confMake
11829 if test ! -d sub
; then
11832 echo dummy
> sub
/file
11833 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11835 rm -f sub
/file check final_file confMake
11837 if test "$RESULT" = 0; then
11838 wx_cv_prog_makevpath
="yes"
11840 wx_cv_prog_makevpath
="no"
11844 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11845 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11847 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11848 { { echo "$as_me:$LINENO: error:
11849 You need a make-utility that is able to use the variable
11851 If your version of make does not support VPATH correctly,
11852 please install GNU-make (possibly as gmake), and start
11853 configure with the following command:
11854 export MAKE=gmake; ./configure for sh-type shells
11855 setenv MAKE gmake; ./configure for csh-type shells
11856 Also please do remember to use gmake in this case every time
11857 you are trying to compile.
11859 echo "$as_me: error:
11860 You need a make-utility that is able to use the variable
11862 If your version of make does not support VPATH correctly,
11863 please install GNU-make (possibly as gmake), and start
11864 configure with the following command:
11865 export MAKE=gmake; ./configure for sh-type shells
11866 setenv MAKE gmake; ./configure for csh-type shells
11867 Also please do remember to use gmake in this case every time
11868 you are trying to compile.
11870 { (exit 1); exit 1; }; }
11872 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11873 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11875 if test "$LN_S" = "ln -s"; then
11876 echo "$as_me:$LINENO: result: yes" >&5
11877 echo "${ECHO_T}yes" >&6
11879 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11880 echo "${ECHO_T}no, using $LN_S" >&6
11885 *-pc-os2_emx | *-pc-os2-emx )
11886 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11887 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11888 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11889 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 ac_check_lib_save_LIBS
=$LIBS
11893 LIBS
="-lcExt $LIBS"
11894 cat >conftest.
$ac_ext <<_ACEOF
11895 #line $LINENO "configure"
11898 cat confdefs.h
>>conftest.
$ac_ext
11899 cat >>conftest.
$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11902 /* Override any gcc2 internal prototype to avoid an error. */
11906 /* We use char because int might match the return type of a gcc2
11907 builtin and then its argument prototype would still apply. */
11917 rm -f conftest.
$ac_objext conftest
$ac_exeext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11919 (eval $ac_link) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } &&
11923 { ac_try
='test -s conftest$ac_exeext'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then
11929 ac_cv_lib_cExt_drand48
=yes
11931 echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.
$ac_ext >&5
11934 ac_cv_lib_cExt_drand48
=no
11936 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11937 LIBS
=$ac_check_lib_save_LIBS
11939 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11940 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11941 if test $ac_cv_lib_cExt_drand48 = yes; then
11942 LIBS
="$LIBS -lcExt"
11946 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11948 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11949 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11950 if test "${wx_cv_gcc3+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 cat >conftest.
$ac_ext <<_ACEOF
11955 #line $LINENO "configure"
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11974 rm -f conftest.
$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try
='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.
$ac_ext >&5
11998 rm -f conftest.
$ac_objext conftest.
$ac_ext
12001 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12002 echo "${ECHO_T}$wx_cv_gcc3" >&6
12003 if test "$wx_cv_gcc3" = "no"; then
12004 LIBS
="$LIBS -lstdcpp"
12006 LIBS
="$LIBS -lstdcxx"
12012 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12013 echo "$as_me:$LINENO: checking for strings.h" >&5
12014 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12015 if test "${ac_cv_header_strings_h+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 ac_cv_header_strings_h
=no
12020 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12021 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12022 if test "$ac_cv_header_strings_h" = "no"; then
12023 echo "$as_me:$LINENO: result: forced no into cache" >&5
12024 echo "${ECHO_T}forced no into cache" >&6
12026 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12027 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12030 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12032 if test "${ac_cv_header_stdc+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 cat >conftest.
$ac_ext <<_ACEOF
12036 #line $LINENO "configure"
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 #include <stdlib.h>
12043 #include <stdarg.h>
12044 #include <string.h>
12055 rm -f conftest.
$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -s conftest.$ac_objext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_cv_header_stdc
=yes
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.
$ac_ext >&5
12072 ac_cv_header_stdc
=no
12074 rm -f conftest.
$ac_objext conftest.
$ac_ext
12076 if test $ac_cv_header_stdc = yes; then
12077 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12078 cat >conftest.
$ac_ext <<_ACEOF
12079 #line $LINENO "configure"
12082 cat confdefs.h
>>conftest.
$ac_ext
12083 cat >>conftest.
$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12085 #include <string.h>
12088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12089 $EGREP "memchr" >/dev
/null
2>&1; then
12092 ac_cv_header_stdc
=no
12098 if test $ac_cv_header_stdc = yes; then
12099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12100 cat >conftest.
$ac_ext <<_ACEOF
12101 #line $LINENO "configure"
12104 cat confdefs.h
>>conftest.
$ac_ext
12105 cat >>conftest.
$ac_ext <<_ACEOF
12106 /* end confdefs.h. */
12107 #include <stdlib.h>
12110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12111 $EGREP "free" >/dev
/null
2>&1; then
12114 ac_cv_header_stdc
=no
12120 if test $ac_cv_header_stdc = yes; then
12121 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12122 if test "$cross_compiling" = yes; then
12125 cat >conftest.
$ac_ext <<_ACEOF
12126 #line $LINENO "configure"
12129 cat confdefs.h
>>conftest.
$ac_ext
12130 cat >>conftest.
$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12133 #if ((' ' & 0x0FF) == 0x020)
12134 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12135 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12137 # define ISLOWER(c) \
12138 (('a' <= (c) && (c) <= 'i') \
12139 || ('j' <= (c) && (c) <= 'r') \
12140 || ('s' <= (c) && (c) <= 'z'))
12141 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12144 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12149 for (i = 0; i < 256; i++)
12150 if (XOR (islower (i), ISLOWER (i))
12151 || toupper (i) != TOUPPER (i))
12156 rm -f conftest
$ac_exeext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12158 (eval $ac_link) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; }; then
12169 echo "$as_me: program exited with status $ac_status" >&5
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.
$ac_ext >&5
12173 ( exit $ac_status )
12174 ac_cv_header_stdc
=no
12176 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12180 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12181 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12182 if test $ac_cv_header_stdc = yes; then
12184 cat >>confdefs.h
<<\_ACEOF
12185 #define STDC_HEADERS 1
12190 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12200 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12201 inttypes.h stdint.h unistd.h
12203 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12204 echo "$as_me:$LINENO: checking for $ac_header" >&5
12205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 cat >conftest.
$ac_ext <<_ACEOF
12210 #line $LINENO "configure"
12213 cat confdefs.h
>>conftest.
$ac_ext
12214 cat >>conftest.
$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12216 $ac_includes_default
12218 #include <$ac_header>
12220 rm -f conftest.
$ac_objext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222 (eval $ac_compile) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); } &&
12226 { ac_try
='test -s conftest.$ac_objext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 eval "$as_ac_Header=yes"
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 eval "$as_ac_Header=no"
12239 rm -f conftest.
$ac_objext conftest.
$ac_ext
12241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12244 cat >>confdefs.h
<<_ACEOF
12245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12254 for ac_header
in strings.h
12256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12258 echo "$as_me:$LINENO: checking for $ac_header" >&5
12259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12266 # Is the header compilable?
12267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12269 cat >conftest.
$ac_ext <<_ACEOF
12270 #line $LINENO "configure"
12273 cat confdefs.h
>>conftest.
$ac_ext
12274 cat >>conftest.
$ac_ext <<_ACEOF
12275 /* end confdefs.h. */
12276 $ac_includes_default
12277 #include <$ac_header>
12279 rm -f conftest.
$ac_objext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12281 (eval $ac_compile) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try
='test -s conftest.$ac_objext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 ac_header_compiler
=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.
$ac_ext >&5
12296 ac_header_compiler
=no
12298 rm -f conftest.
$ac_objext conftest.
$ac_ext
12299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12300 echo "${ECHO_T}$ac_header_compiler" >&6
12302 # Is the header present?
12303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12305 cat >conftest.
$ac_ext <<_ACEOF
12306 #line $LINENO "configure"
12309 cat confdefs.h
>>conftest.
$ac_ext
12310 cat >>conftest.
$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12312 #include <$ac_header>
12314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12315 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12317 grep -v '^ *+' conftest.er1
>conftest.err
12319 cat conftest.err
>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } >/dev
/null
; then
12322 if test -s conftest.err
; then
12323 ac_cpp_err
=$ac_c_preproc_warn_flag
12330 if test -z "$ac_cpp_err"; then
12331 ac_header_preproc
=yes
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12336 ac_header_preproc
=no
12338 rm -f conftest.err conftest.
$ac_ext
12339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12340 echo "${ECHO_T}$ac_header_preproc" >&6
12342 # So? What about this header?
12343 case $ac_header_compiler:$ac_header_preproc in
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12351 ## ------------------------------------ ##
12352 ## Report this to bug-autoconf@gnu.org. ##
12353 ## ------------------------------------ ##
12356 sed "s/^/$as_me: WARNING: /" >&2
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12367 ## ------------------------------------ ##
12368 ## Report this to bug-autoconf@gnu.org. ##
12369 ## ------------------------------------ ##
12372 sed "s/^/$as_me: WARNING: /" >&2
12375 echo "$as_me:$LINENO: checking for $ac_header" >&5
12376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 eval "$as_ac_Header=$ac_header_preproc"
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12387 cat >>confdefs.h
<<_ACEOF
12388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12397 for ac_header
in stdlib.h
12399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12401 echo "$as_me:$LINENO: checking for $ac_header" >&5
12402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12404 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12409 # Is the header compilable?
12410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12412 cat >conftest.
$ac_ext <<_ACEOF
12413 #line $LINENO "configure"
12416 cat confdefs.h
>>conftest.
$ac_ext
12417 cat >>conftest.
$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12419 $ac_includes_default
12420 #include <$ac_header>
12422 rm -f conftest.
$ac_objext
12423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12424 (eval $ac_compile) 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } &&
12428 { ac_try
='test -s conftest.$ac_objext'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; }; then
12434 ac_header_compiler
=yes
12436 echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.
$ac_ext >&5
12439 ac_header_compiler
=no
12441 rm -f conftest.
$ac_objext conftest.
$ac_ext
12442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12443 echo "${ECHO_T}$ac_header_compiler" >&6
12445 # Is the header present?
12446 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12448 cat >conftest.
$ac_ext <<_ACEOF
12449 #line $LINENO "configure"
12452 cat confdefs.h
>>conftest.
$ac_ext
12453 cat >>conftest.
$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12455 #include <$ac_header>
12457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12460 grep -v '^ *+' conftest.er1
>conftest.err
12462 cat conftest.err
>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } >/dev
/null
; then
12465 if test -s conftest.err
; then
12466 ac_cpp_err
=$ac_c_preproc_warn_flag
12473 if test -z "$ac_cpp_err"; then
12474 ac_header_preproc
=yes
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.
$ac_ext >&5
12479 ac_header_preproc
=no
12481 rm -f conftest.err conftest.
$ac_ext
12482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12483 echo "${ECHO_T}$ac_header_preproc" >&6
12485 # So? What about this header?
12486 case $ac_header_compiler:$ac_header_preproc in
12488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12494 ## ------------------------------------ ##
12495 ## Report this to bug-autoconf@gnu.org. ##
12496 ## ------------------------------------ ##
12499 sed "s/^/$as_me: WARNING: /" >&2
12502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12510 ## ------------------------------------ ##
12511 ## Report this to bug-autoconf@gnu.org. ##
12512 ## ------------------------------------ ##
12515 sed "s/^/$as_me: WARNING: /" >&2
12518 echo "$as_me:$LINENO: checking for $ac_header" >&5
12519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 eval "$as_ac_Header=$ac_header_preproc"
12525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12530 cat >>confdefs.h
<<_ACEOF
12531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12539 for ac_header
in malloc.h
12541 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12543 echo "$as_me:$LINENO: checking for $ac_header" >&5
12544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12551 # Is the header compilable?
12552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12554 cat >conftest.
$ac_ext <<_ACEOF
12555 #line $LINENO "configure"
12558 cat confdefs.h
>>conftest.
$ac_ext
12559 cat >>conftest.
$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561 $ac_includes_default
12562 #include <$ac_header>
12564 rm -f conftest.
$ac_objext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12566 (eval $ac_compile) 2>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try
='test -s conftest.$ac_objext'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then
12576 ac_header_compiler
=yes
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.
$ac_ext >&5
12581 ac_header_compiler
=no
12583 rm -f conftest.
$ac_objext conftest.
$ac_ext
12584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12585 echo "${ECHO_T}$ac_header_compiler" >&6
12587 # Is the header present?
12588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12590 cat >conftest.
$ac_ext <<_ACEOF
12591 #line $LINENO "configure"
12594 cat confdefs.h
>>conftest.
$ac_ext
12595 cat >>conftest.
$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12597 #include <$ac_header>
12599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12602 grep -v '^ *+' conftest.er1
>conftest.err
12604 cat conftest.err
>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } >/dev
/null
; then
12607 if test -s conftest.err
; then
12608 ac_cpp_err
=$ac_c_preproc_warn_flag
12615 if test -z "$ac_cpp_err"; then
12616 ac_header_preproc
=yes
12618 echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.
$ac_ext >&5
12621 ac_header_preproc
=no
12623 rm -f conftest.err conftest.
$ac_ext
12624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12625 echo "${ECHO_T}$ac_header_preproc" >&6
12627 # So? What about this header?
12628 case $ac_header_compiler:$ac_header_preproc in
12630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12636 ## ------------------------------------ ##
12637 ## Report this to bug-autoconf@gnu.org. ##
12638 ## ------------------------------------ ##
12641 sed "s/^/$as_me: WARNING: /" >&2
12644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12652 ## ------------------------------------ ##
12653 ## Report this to bug-autoconf@gnu.org. ##
12654 ## ------------------------------------ ##
12657 sed "s/^/$as_me: WARNING: /" >&2
12660 echo "$as_me:$LINENO: checking for $ac_header" >&5
12661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 eval "$as_ac_Header=$ac_header_preproc"
12667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12672 cat >>confdefs.h
<<_ACEOF
12673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12681 for ac_header
in unistd.h
12683 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12685 echo "$as_me:$LINENO: checking for $ac_header" >&5
12686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12693 # Is the header compilable?
12694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12696 cat >conftest.
$ac_ext <<_ACEOF
12697 #line $LINENO "configure"
12700 cat confdefs.h
>>conftest.
$ac_ext
12701 cat >>conftest.
$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12703 $ac_includes_default
12704 #include <$ac_header>
12706 rm -f conftest.
$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try
='test -s conftest.$ac_objext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 ac_header_compiler
=yes
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.
$ac_ext >&5
12723 ac_header_compiler
=no
12725 rm -f conftest.
$ac_objext conftest.
$ac_ext
12726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12727 echo "${ECHO_T}$ac_header_compiler" >&6
12729 # Is the header present?
12730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12732 cat >conftest.
$ac_ext <<_ACEOF
12733 #line $LINENO "configure"
12736 cat confdefs.h
>>conftest.
$ac_ext
12737 cat >>conftest.
$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12739 #include <$ac_header>
12741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12744 grep -v '^ *+' conftest.er1
>conftest.err
12746 cat conftest.err
>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } >/dev
/null
; then
12749 if test -s conftest.err
; then
12750 ac_cpp_err
=$ac_c_preproc_warn_flag
12757 if test -z "$ac_cpp_err"; then
12758 ac_header_preproc
=yes
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.
$ac_ext >&5
12763 ac_header_preproc
=no
12765 rm -f conftest.err conftest.
$ac_ext
12766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12767 echo "${ECHO_T}$ac_header_preproc" >&6
12769 # So? What about this header?
12770 case $ac_header_compiler:$ac_header_preproc in
12772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12778 ## ------------------------------------ ##
12779 ## Report this to bug-autoconf@gnu.org. ##
12780 ## ------------------------------------ ##
12783 sed "s/^/$as_me: WARNING: /" >&2
12786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12794 ## ------------------------------------ ##
12795 ## Report this to bug-autoconf@gnu.org. ##
12796 ## ------------------------------------ ##
12799 sed "s/^/$as_me: WARNING: /" >&2
12802 echo "$as_me:$LINENO: checking for $ac_header" >&5
12803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 eval "$as_ac_Header=$ac_header_preproc"
12809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12814 cat >>confdefs.h
<<_ACEOF
12815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12823 for ac_header
in wchar.h
12825 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12827 echo "$as_me:$LINENO: checking for $ac_header" >&5
12828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12835 # Is the header compilable?
12836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12838 cat >conftest.
$ac_ext <<_ACEOF
12839 #line $LINENO "configure"
12842 cat confdefs.h
>>conftest.
$ac_ext
12843 cat >>conftest.
$ac_ext <<_ACEOF
12844 /* end confdefs.h. */
12845 $ac_includes_default
12846 #include <$ac_header>
12848 rm -f conftest.
$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try
='test -s conftest.$ac_objext'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; }; then
12860 ac_header_compiler
=yes
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.
$ac_ext >&5
12865 ac_header_compiler
=no
12867 rm -f conftest.
$ac_objext conftest.
$ac_ext
12868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12869 echo "${ECHO_T}$ac_header_compiler" >&6
12871 # Is the header present?
12872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12874 cat >conftest.
$ac_ext <<_ACEOF
12875 #line $LINENO "configure"
12878 cat confdefs.h
>>conftest.
$ac_ext
12879 cat >>conftest.
$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12881 #include <$ac_header>
12883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12884 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12886 grep -v '^ *+' conftest.er1
>conftest.err
12888 cat conftest.err
>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } >/dev
/null
; then
12891 if test -s conftest.err
; then
12892 ac_cpp_err
=$ac_c_preproc_warn_flag
12899 if test -z "$ac_cpp_err"; then
12900 ac_header_preproc
=yes
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.
$ac_ext >&5
12905 ac_header_preproc
=no
12907 rm -f conftest.err conftest.
$ac_ext
12908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12909 echo "${ECHO_T}$ac_header_preproc" >&6
12911 # So? What about this header?
12912 case $ac_header_compiler:$ac_header_preproc in
12914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12920 ## ------------------------------------ ##
12921 ## Report this to bug-autoconf@gnu.org. ##
12922 ## ------------------------------------ ##
12925 sed "s/^/$as_me: WARNING: /" >&2
12928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12936 ## ------------------------------------ ##
12937 ## Report this to bug-autoconf@gnu.org. ##
12938 ## ------------------------------------ ##
12941 sed "s/^/$as_me: WARNING: /" >&2
12944 echo "$as_me:$LINENO: checking for $ac_header" >&5
12945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 eval "$as_ac_Header=$ac_header_preproc"
12951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12956 cat >>confdefs.h
<<_ACEOF
12957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12965 if test "$ac_cv_header_wchar_h" != "yes"; then
12967 for ac_header
in wcstr.h
12969 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12971 echo "$as_me:$LINENO: checking for $ac_header" >&5
12972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12979 # Is the header compilable?
12980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12982 cat >conftest.
$ac_ext <<_ACEOF
12983 #line $LINENO "configure"
12986 cat confdefs.h
>>conftest.
$ac_ext
12987 cat >>conftest.
$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12989 $ac_includes_default
12990 #include <$ac_header>
12992 rm -f conftest.
$ac_objext
12993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12994 (eval $ac_compile) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } &&
12998 { ac_try
='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_header_compiler
=yes
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 ac_header_compiler
=no
13011 rm -f conftest.
$ac_objext conftest.
$ac_ext
13012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13013 echo "${ECHO_T}$ac_header_compiler" >&6
13015 # Is the header present?
13016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13018 cat >conftest.
$ac_ext <<_ACEOF
13019 #line $LINENO "configure"
13022 cat confdefs.h
>>conftest.
$ac_ext
13023 cat >>conftest.
$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13025 #include <$ac_header>
13027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13028 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13030 grep -v '^ *+' conftest.er1
>conftest.err
13032 cat conftest.err
>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } >/dev
/null
; then
13035 if test -s conftest.err
; then
13036 ac_cpp_err
=$ac_c_preproc_warn_flag
13043 if test -z "$ac_cpp_err"; then
13044 ac_header_preproc
=yes
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 ac_header_preproc
=no
13051 rm -f conftest.err conftest.
$ac_ext
13052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13053 echo "${ECHO_T}$ac_header_preproc" >&6
13055 # So? What about this header?
13056 case $ac_header_compiler:$ac_header_preproc in
13058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13064 ## ------------------------------------ ##
13065 ## Report this to bug-autoconf@gnu.org. ##
13066 ## ------------------------------------ ##
13069 sed "s/^/$as_me: WARNING: /" >&2
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13080 ## ------------------------------------ ##
13081 ## Report this to bug-autoconf@gnu.org. ##
13082 ## ------------------------------------ ##
13085 sed "s/^/$as_me: WARNING: /" >&2
13088 echo "$as_me:$LINENO: checking for $ac_header" >&5
13089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 eval "$as_ac_Header=$ac_header_preproc"
13095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13100 cat >>confdefs.h
<<_ACEOF
13101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13111 for ac_header
in fnmatch.h
13113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13115 echo "$as_me:$LINENO: checking for $ac_header" >&5
13116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13123 # Is the header compilable?
13124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13126 cat >conftest.
$ac_ext <<_ACEOF
13127 #line $LINENO "configure"
13130 cat confdefs.h
>>conftest.
$ac_ext
13131 cat >>conftest.
$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 $ac_includes_default
13134 #include <$ac_header>
13136 rm -f conftest.
$ac_objext
13137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13138 (eval $ac_compile) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); } &&
13142 { ac_try
='test -s conftest.$ac_objext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_header_compiler
=yes
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.
$ac_ext >&5
13153 ac_header_compiler
=no
13155 rm -f conftest.
$ac_objext conftest.
$ac_ext
13156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13157 echo "${ECHO_T}$ac_header_compiler" >&6
13159 # Is the header present?
13160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13162 cat >conftest.
$ac_ext <<_ACEOF
13163 #line $LINENO "configure"
13166 cat confdefs.h
>>conftest.
$ac_ext
13167 cat >>conftest.
$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13169 #include <$ac_header>
13171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13174 grep -v '^ *+' conftest.er1
>conftest.err
13176 cat conftest.err
>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } >/dev
/null
; then
13179 if test -s conftest.err
; then
13180 ac_cpp_err
=$ac_c_preproc_warn_flag
13187 if test -z "$ac_cpp_err"; then
13188 ac_header_preproc
=yes
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.
$ac_ext >&5
13193 ac_header_preproc
=no
13195 rm -f conftest.err conftest.
$ac_ext
13196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13197 echo "${ECHO_T}$ac_header_preproc" >&6
13199 # So? What about this header?
13200 case $ac_header_compiler:$ac_header_preproc in
13202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13208 ## ------------------------------------ ##
13209 ## Report this to bug-autoconf@gnu.org. ##
13210 ## ------------------------------------ ##
13213 sed "s/^/$as_me: WARNING: /" >&2
13216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13224 ## ------------------------------------ ##
13225 ## Report this to bug-autoconf@gnu.org. ##
13226 ## ------------------------------------ ##
13229 sed "s/^/$as_me: WARNING: /" >&2
13232 echo "$as_me:$LINENO: checking for $ac_header" >&5
13233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 eval "$as_ac_Header=$ac_header_preproc"
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13244 cat >>confdefs.h
<<_ACEOF
13245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13253 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13255 for ac_func
in fnmatch
13257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13258 echo "$as_me:$LINENO: checking for $ac_func" >&5
13259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13260 if eval "test \"\${$as_ac_var+set}\" = set"; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 cat >conftest.
$ac_ext <<_ACEOF
13264 #line $LINENO "configure"
13267 cat confdefs.h
>>conftest.
$ac_ext
13268 cat >>conftest.
$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 /* System header to define __stub macros and hopefully few prototypes,
13271 which can conflict with char $ac_func (); below.
13272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13273 <limits.h> exists even on freestanding compilers. */
13275 # include <limits.h>
13277 # include <assert.h>
13279 /* Override any gcc2 internal prototype to avoid an error. */
13284 /* We use char because int might match the return type of a gcc2
13285 builtin and then its argument prototype would still apply. */
13287 /* The GNU C library defines this for functions which it implements
13288 to always fail with ENOSYS. Some functions are actually named
13289 something starting with __ and the normal name is an alias. */
13290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13293 char (*f) () = $ac_func;
13302 return f != $ac_func;
13307 rm -f conftest.
$ac_objext conftest
$ac_exeext
13308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13309 (eval $ac_link) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try
='test -s conftest$ac_exeext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 eval "$as_ac_var=yes"
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 eval "$as_ac_var=no"
13326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13330 if test `eval echo '${'$as_ac_var'}'` = yes; then
13331 cat >>confdefs.h
<<_ACEOF
13332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13341 for ac_header
in langinfo.h
13343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13345 echo "$as_me:$LINENO: checking for $ac_header" >&5
13346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13353 # Is the header compilable?
13354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13356 cat >conftest.
$ac_ext <<_ACEOF
13357 #line $LINENO "configure"
13360 cat confdefs.h
>>conftest.
$ac_ext
13361 cat >>conftest.
$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13363 $ac_includes_default
13364 #include <$ac_header>
13366 rm -f conftest.
$ac_objext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13368 (eval $ac_compile) 2>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try
='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler
=yes
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.
$ac_ext >&5
13383 ac_header_compiler
=no
13385 rm -f conftest.
$ac_objext conftest.
$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387 echo "${ECHO_T}$ac_header_compiler" >&6
13389 # Is the header present?
13390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392 cat >conftest.
$ac_ext <<_ACEOF
13393 #line $LINENO "configure"
13396 cat confdefs.h
>>conftest.
$ac_ext
13397 cat >>conftest.
$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 #include <$ac_header>
13401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13404 grep -v '^ *+' conftest.er1
>conftest.err
13406 cat conftest.err
>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } >/dev
/null
; then
13409 if test -s conftest.err
; then
13410 ac_cpp_err
=$ac_c_preproc_warn_flag
13417 if test -z "$ac_cpp_err"; then
13418 ac_header_preproc
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 ac_header_preproc
=no
13425 rm -f conftest.err conftest.
$ac_ext
13426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427 echo "${ECHO_T}$ac_header_preproc" >&6
13429 # So? What about this header?
13430 case $ac_header_compiler:$ac_header_preproc in
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13438 ## ------------------------------------ ##
13439 ## Report this to bug-autoconf@gnu.org. ##
13440 ## ------------------------------------ ##
13443 sed "s/^/$as_me: WARNING: /" >&2
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13454 ## ------------------------------------ ##
13455 ## Report this to bug-autoconf@gnu.org. ##
13456 ## ------------------------------------ ##
13459 sed "s/^/$as_me: WARNING: /" >&2
13462 echo "$as_me:$LINENO: checking for $ac_header" >&5
13463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13467 eval "$as_ac_Header=$ac_header_preproc"
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13474 cat >>confdefs.h
<<_ACEOF
13475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13484 *-pc-os2_emx | *-pc-os2-emx )
13485 if test $ac_cv_header_langinfo_h = "yes"; then
13486 LIBS
="$LIBS -lintl"
13491 if test "$wxUSE_GUI" = "yes"; then
13492 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13494 for ac_header
in X
11/Xlib.h
13496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13498 echo "$as_me:$LINENO: checking for $ac_header" >&5
13499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13506 # Is the header compilable?
13507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13509 cat >conftest.
$ac_ext <<_ACEOF
13510 #line $LINENO "configure"
13513 cat confdefs.h
>>conftest.
$ac_ext
13514 cat >>conftest.
$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 $ac_includes_default
13517 #include <$ac_header>
13519 rm -f conftest.
$ac_objext
13520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13521 (eval $ac_compile) 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } &&
13525 { ac_try
='test -s conftest.$ac_objext'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13531 ac_header_compiler
=yes
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.
$ac_ext >&5
13536 ac_header_compiler
=no
13538 rm -f conftest.
$ac_objext conftest.
$ac_ext
13539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13540 echo "${ECHO_T}$ac_header_compiler" >&6
13542 # Is the header present?
13543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13545 cat >conftest.
$ac_ext <<_ACEOF
13546 #line $LINENO "configure"
13549 cat confdefs.h
>>conftest.
$ac_ext
13550 cat >>conftest.
$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 #include <$ac_header>
13554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13555 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13557 grep -v '^ *+' conftest.er1
>conftest.err
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } >/dev
/null
; then
13562 if test -s conftest.err
; then
13563 ac_cpp_err
=$ac_c_preproc_warn_flag
13570 if test -z "$ac_cpp_err"; then
13571 ac_header_preproc
=yes
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.
$ac_ext >&5
13576 ac_header_preproc
=no
13578 rm -f conftest.err conftest.
$ac_ext
13579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13580 echo "${ECHO_T}$ac_header_preproc" >&6
13582 # So? What about this header?
13583 case $ac_header_compiler:$ac_header_preproc in
13585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13591 ## ------------------------------------ ##
13592 ## Report this to bug-autoconf@gnu.org. ##
13593 ## ------------------------------------ ##
13596 sed "s/^/$as_me: WARNING: /" >&2
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13607 ## ------------------------------------ ##
13608 ## Report this to bug-autoconf@gnu.org. ##
13609 ## ------------------------------------ ##
13612 sed "s/^/$as_me: WARNING: /" >&2
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 eval "$as_ac_Header=$ac_header_preproc"
13622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13627 cat >>confdefs.h
<<_ACEOF
13628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13636 for ac_header
in X
11/XKBlib.h
13638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13639 echo "$as_me:$LINENO: checking for $ac_header" >&5
13640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 cat >conftest.
$ac_ext <<_ACEOF
13645 #line $LINENO "configure"
13648 cat confdefs.h
>>conftest.
$ac_ext
13649 cat >>conftest.
$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13652 #if HAVE_X11_XLIB_H
13653 #include <X11/Xlib.h>
13657 #include <$ac_header>
13659 rm -f conftest.
$ac_objext
13660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13661 (eval $ac_compile) 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); } &&
13665 { ac_try
='test -s conftest.$ac_objext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 eval "$as_ac_Header=yes"
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.
$ac_ext >&5
13676 eval "$as_ac_Header=no"
13678 rm -f conftest.
$ac_objext conftest.
$ac_ext
13680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13683 cat >>confdefs.h
<<_ACEOF
13684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13695 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13696 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13697 if test "${ac_cv_c_const+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 cat >conftest.
$ac_ext <<_ACEOF
13701 #line $LINENO "configure"
13704 cat confdefs.h
>>conftest.
$ac_ext
13705 cat >>conftest.
$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13711 /* FIXME: Include the comments suggested by Paul. */
13712 #ifndef __cplusplus
13713 /* Ultrix mips cc rejects this. */
13714 typedef int charset[2];
13716 /* SunOS 4.1.1 cc rejects this. */
13717 char const *const *ccp;
13719 /* NEC SVR4.0.2 mips cc rejects this. */
13720 struct point {int x, y;};
13721 static struct point const zero = {0,0};
13722 /* AIX XL C 1.02.0.0 rejects this.
13723 It does not let you subtract one const X* pointer from another in
13724 an arm of an if-expression whose if-part is not a constant
13726 const char *g = "string";
13727 ccp = &g + (g ? g-g : 0);
13728 /* HPUX 7.0 cc rejects these. */
13731 ccp = (char const *const *) p;
13732 { /* SCO 3.2v4 cc rejects this. */
13734 char const *s = 0 ? (char *) 0 : (char const *) 0;
13738 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13739 int x[] = {25, 17};
13740 const int *foo = &x[0];
13743 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13744 typedef const int *iptr;
13748 { /* AIX XL C 1.02.0.0 rejects this saying
13749 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13750 struct s { int j; const int *ap[3]; };
13751 struct s *b; b->j = 5;
13753 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13754 const int foo = 10;
13762 rm -f conftest.
$ac_objext
13763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13764 (eval $ac_compile) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try
='test -s conftest.$ac_objext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.
$ac_ext >&5
13781 rm -f conftest.
$ac_objext conftest.
$ac_ext
13783 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13784 echo "${ECHO_T}$ac_cv_c_const" >&6
13785 if test $ac_cv_c_const = no
; then
13787 cat >>confdefs.h
<<\_ACEOF
13793 echo "$as_me:$LINENO: checking for inline" >&5
13794 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13795 if test "${ac_cv_c_inline+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13799 for ac_kw
in inline __inline__ __inline
; do
13800 cat >conftest.
$ac_ext <<_ACEOF
13801 #line $LINENO "configure"
13804 cat confdefs.h
>>conftest.
$ac_ext
13805 cat >>conftest.
$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13807 #ifndef __cplusplus
13809 static $ac_kw foo_t static_foo () {return 0; }
13810 $ac_kw foo_t foo () {return 0; }
13814 rm -f conftest.
$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try
='test -s conftest.$ac_objext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 ac_cv_c_inline
=$ac_kw; break
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13832 rm -f conftest.
$ac_objext conftest.
$ac_ext
13836 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13837 echo "${ECHO_T}$ac_cv_c_inline" >&6
13838 case $ac_cv_c_inline in
13841 cat >>confdefs.h
<<\_ACEOF
13845 *) cat >>confdefs.h
<<_ACEOF
13846 #define inline $ac_cv_c_inline
13852 echo "$as_me:$LINENO: checking for char" >&5
13853 echo $ECHO_N "checking for char... $ECHO_C" >&6
13854 if test "${ac_cv_type_char+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 cat >conftest.
$ac_ext <<_ACEOF
13858 #line $LINENO "configure"
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 $ac_includes_default
13876 rm -f conftest.
$ac_objext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878 (eval $ac_compile) 2>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } &&
13882 { ac_try
='test -s conftest.$ac_objext'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; }; then
13888 ac_cv_type_char
=yes
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.
$ac_ext >&5
13895 rm -f conftest.
$ac_objext conftest.
$ac_ext
13897 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13898 echo "${ECHO_T}$ac_cv_type_char" >&6
13900 echo "$as_me:$LINENO: checking size of char" >&5
13901 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13902 if test "${ac_cv_sizeof_char+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 if test "$ac_cv_type_char" = yes; then
13906 # The cast to unsigned long works around a bug in the HP C Compiler
13907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13909 # This bug is HP SR number 8606223364.
13910 if test "$cross_compiling" = yes; then
13911 # Depending upon the size, compute the lo and hi bounds.
13912 cat >conftest.
$ac_ext <<_ACEOF
13913 #line $LINENO "configure"
13916 cat confdefs.h
>>conftest.
$ac_ext
13917 cat >>conftest.
$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 $ac_includes_default
13923 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13930 rm -f conftest.
$ac_objext
13931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13932 (eval $ac_compile) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } &&
13936 { ac_try
='test -s conftest.$ac_objext'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; }; then
13944 cat >conftest.
$ac_ext <<_ACEOF
13945 #line $LINENO "configure"
13948 cat confdefs.h
>>conftest.
$ac_ext
13949 cat >>conftest.
$ac_ext <<_ACEOF
13950 /* end confdefs.h. */
13951 $ac_includes_default
13955 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13962 rm -f conftest.
$ac_objext
13963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13964 (eval $ac_compile) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); } &&
13968 { ac_try
='test -s conftest.$ac_objext'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; }; then
13974 ac_hi
=$ac_mid; break
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.
$ac_ext >&5
13979 ac_lo
=`expr $ac_mid + 1`
13980 if test $ac_lo -le $ac_mid; then
13984 ac_mid
=`expr 2 '*' $ac_mid + 1`
13986 rm -f conftest.
$ac_objext conftest.
$ac_ext
13989 echo "$as_me: failed program was:" >&5
13990 sed 's/^/| /' conftest.
$ac_ext >&5
13992 cat >conftest.
$ac_ext <<_ACEOF
13993 #line $LINENO "configure"
13996 cat confdefs.h
>>conftest.
$ac_ext
13997 cat >>conftest.
$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 $ac_includes_default
14003 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14010 rm -f conftest.
$ac_objext
14011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14012 (eval $ac_compile) 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } &&
14016 { ac_try
='test -s conftest.$ac_objext'
14017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 (eval $ac_try) 2>&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; }; then
14024 cat >conftest.
$ac_ext <<_ACEOF
14025 #line $LINENO "configure"
14028 cat confdefs.h
>>conftest.
$ac_ext
14029 cat >>conftest.
$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14031 $ac_includes_default
14035 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14042 rm -f conftest.
$ac_objext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14044 (eval $ac_compile) 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try
='test -s conftest.$ac_objext'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_lo
=$ac_mid; break
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.
$ac_ext >&5
14059 ac_hi
=`expr '(' $ac_mid ')' - 1`
14060 if test $ac_mid -le $ac_hi; then
14064 ac_mid
=`expr 2 '*' $ac_mid`
14066 rm -f conftest.
$ac_objext conftest.
$ac_ext
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14074 rm -f conftest.
$ac_objext conftest.
$ac_ext
14076 rm -f conftest.
$ac_objext conftest.
$ac_ext
14077 # Binary search between lo and hi bounds.
14078 while test "x$ac_lo" != "x$ac_hi"; do
14079 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14080 cat >conftest.
$ac_ext <<_ACEOF
14081 #line $LINENO "configure"
14084 cat confdefs.h
>>conftest.
$ac_ext
14085 cat >>conftest.
$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14087 $ac_includes_default
14091 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14098 rm -f conftest.
$ac_objext
14099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14100 (eval $ac_compile) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); } &&
14104 { ac_try
='test -s conftest.$ac_objext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.
$ac_ext >&5
14115 ac_lo
=`expr '(' $ac_mid ')' + 1`
14117 rm -f conftest.
$ac_objext conftest.
$ac_ext
14120 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14122 See \`config.log' for more details." >&5
14123 echo "$as_me: error: cannot compute sizeof (char), 77
14124 See \`config.log' for more details." >&2;}
14125 { (exit 1); exit 1; }; } ;;
14128 if test "$cross_compiling" = yes; then
14129 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14130 See \`config.log' for more details." >&5
14131 echo "$as_me: error: cannot run test program while cross compiling
14132 See \`config.log' for more details." >&2;}
14133 { (exit 1); exit 1; }; }
14135 cat >conftest.
$ac_ext <<_ACEOF
14136 #line $LINENO "configure"
14139 cat confdefs.h
>>conftest.
$ac_ext
14140 cat >>conftest.
$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 $ac_includes_default
14143 long longval () { return (long) (sizeof (char)); }
14144 unsigned long ulongval () { return (long) (sizeof (char)); }
14146 #include <stdlib.h>
14151 FILE *f = fopen ("conftest.val", "w");
14154 if (((long) (sizeof (char))) < 0)
14156 long i = longval ();
14157 if (i != ((long) (sizeof (char))))
14159 fprintf (f, "%ld\n", i);
14163 unsigned long i = ulongval ();
14164 if (i != ((long) (sizeof (char))))
14166 fprintf (f, "%lu\n", i);
14168 exit (ferror (f) || fclose (f) != 0);
14174 rm -f conftest
$ac_exeext
14175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14176 (eval $ac_link) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_sizeof_char
=`cat conftest.val`
14187 echo "$as_me: program exited with status $ac_status" >&5
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.
$ac_ext >&5
14191 ( exit $ac_status )
14192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14193 See \`config.log' for more details." >&5
14194 echo "$as_me: error: cannot compute sizeof (char), 77
14195 See \`config.log' for more details." >&2;}
14196 { (exit 1); exit 1; }; }
14198 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14203 ac_cv_sizeof_char
=0
14206 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14207 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14208 cat >>confdefs.h
<<_ACEOF
14209 #define SIZEOF_CHAR $ac_cv_sizeof_char
14213 echo "$as_me:$LINENO: checking for short" >&5
14214 echo $ECHO_N "checking for short... $ECHO_C" >&6
14215 if test "${ac_cv_type_short+set}" = set; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 cat >conftest.
$ac_ext <<_ACEOF
14219 #line $LINENO "configure"
14222 cat confdefs.h
>>conftest.
$ac_ext
14223 cat >>conftest.
$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_includes_default
14231 if (sizeof (short))
14237 rm -f conftest.
$ac_objext
14238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14239 (eval $ac_compile) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); } &&
14243 { ac_try
='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 ac_cv_type_short
=yes
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.
$ac_ext >&5
14254 ac_cv_type_short
=no
14256 rm -f conftest.
$ac_objext conftest.
$ac_ext
14258 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14259 echo "${ECHO_T}$ac_cv_type_short" >&6
14261 echo "$as_me:$LINENO: checking size of short" >&5
14262 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14263 if test "${ac_cv_sizeof_short+set}" = set; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 if test "$ac_cv_type_short" = yes; then
14267 # The cast to unsigned long works around a bug in the HP C Compiler
14268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14270 # This bug is HP SR number 8606223364.
14271 if test "$cross_compiling" = yes; then
14272 # Depending upon the size, compute the lo and hi bounds.
14273 cat >conftest.
$ac_ext <<_ACEOF
14274 #line $LINENO "configure"
14277 cat confdefs.h
>>conftest.
$ac_ext
14278 cat >>conftest.
$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14280 $ac_includes_default
14284 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14291 rm -f conftest.
$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try
='test -s conftest.$ac_objext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14305 cat >conftest.
$ac_ext <<_ACEOF
14306 #line $LINENO "configure"
14309 cat confdefs.h
>>conftest.
$ac_ext
14310 cat >>conftest.
$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 $ac_includes_default
14316 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14323 rm -f conftest.
$ac_objext
14324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14325 (eval $ac_compile) 2>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try
='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 ac_hi
=$ac_mid; break
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.
$ac_ext >&5
14340 ac_lo
=`expr $ac_mid + 1`
14341 if test $ac_lo -le $ac_mid; then
14345 ac_mid
=`expr 2 '*' $ac_mid + 1`
14347 rm -f conftest.
$ac_objext conftest.
$ac_ext
14350 echo "$as_me: failed program was:" >&5
14351 sed 's/^/| /' conftest.
$ac_ext >&5
14353 cat >conftest.
$ac_ext <<_ACEOF
14354 #line $LINENO "configure"
14357 cat confdefs.h
>>conftest.
$ac_ext
14358 cat >>conftest.
$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 $ac_includes_default
14364 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14371 rm -f conftest.
$ac_objext
14372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14373 (eval $ac_compile) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try
='test -s conftest.$ac_objext'
14378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379 (eval $ac_try) 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; }; then
14385 cat >conftest.
$ac_ext <<_ACEOF
14386 #line $LINENO "configure"
14389 cat confdefs.h
>>conftest.
$ac_ext
14390 cat >>conftest.
$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14392 $ac_includes_default
14396 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14403 rm -f conftest.
$ac_objext
14404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14405 (eval $ac_compile) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } &&
14409 { ac_try
='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 ac_lo
=$ac_mid; break
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.
$ac_ext >&5
14420 ac_hi
=`expr '(' $ac_mid ')' - 1`
14421 if test $ac_mid -le $ac_hi; then
14425 ac_mid
=`expr 2 '*' $ac_mid`
14427 rm -f conftest.
$ac_objext conftest.
$ac_ext
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.
$ac_ext >&5
14435 rm -f conftest.
$ac_objext conftest.
$ac_ext
14437 rm -f conftest.
$ac_objext conftest.
$ac_ext
14438 # Binary search between lo and hi bounds.
14439 while test "x$ac_lo" != "x$ac_hi"; do
14440 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14441 cat >conftest.
$ac_ext <<_ACEOF
14442 #line $LINENO "configure"
14445 cat confdefs.h
>>conftest.
$ac_ext
14446 cat >>conftest.
$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14452 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14459 rm -f conftest.
$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } &&
14465 { ac_try
='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.
$ac_ext >&5
14476 ac_lo
=`expr '(' $ac_mid ')' + 1`
14478 rm -f conftest.
$ac_objext conftest.
$ac_ext
14481 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14482 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14483 See \`config.log' for more details." >&5
14484 echo "$as_me: error: cannot compute sizeof (short), 77
14485 See \`config.log' for more details." >&2;}
14486 { (exit 1); exit 1; }; } ;;
14489 if test "$cross_compiling" = yes; then
14490 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14491 See \`config.log' for more details." >&5
14492 echo "$as_me: error: cannot run test program while cross compiling
14493 See \`config.log' for more details." >&2;}
14494 { (exit 1); exit 1; }; }
14496 cat >conftest.
$ac_ext <<_ACEOF
14497 #line $LINENO "configure"
14500 cat confdefs.h
>>conftest.
$ac_ext
14501 cat >>conftest.
$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14504 long longval () { return (long) (sizeof (short)); }
14505 unsigned long ulongval () { return (long) (sizeof (short)); }
14507 #include <stdlib.h>
14512 FILE *f = fopen ("conftest.val", "w");
14515 if (((long) (sizeof (short))) < 0)
14517 long i = longval ();
14518 if (i != ((long) (sizeof (short))))
14520 fprintf (f, "%ld\n", i);
14524 unsigned long i = ulongval ();
14525 if (i != ((long) (sizeof (short))))
14527 fprintf (f, "%lu\n", i);
14529 exit (ferror (f) || fclose (f) != 0);
14535 rm -f conftest
$ac_exeext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14537 (eval $ac_link) 2>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_cv_sizeof_short
=`cat conftest.val`
14548 echo "$as_me: program exited with status $ac_status" >&5
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.
$ac_ext >&5
14552 ( exit $ac_status )
14553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14554 See \`config.log' for more details." >&5
14555 echo "$as_me: error: cannot compute sizeof (short), 77
14556 See \`config.log' for more details." >&2;}
14557 { (exit 1); exit 1; }; }
14559 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14564 ac_cv_sizeof_short
=0
14567 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14568 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14569 cat >>confdefs.h
<<_ACEOF
14570 #define SIZEOF_SHORT $ac_cv_sizeof_short
14574 echo "$as_me:$LINENO: checking for void *" >&5
14575 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14576 if test "${ac_cv_type_void_p+set}" = set; then
14577 echo $ECHO_N "(cached) $ECHO_C" >&6
14579 cat >conftest.
$ac_ext <<_ACEOF
14580 #line $LINENO "configure"
14583 cat confdefs.h
>>conftest.
$ac_ext
14584 cat >>conftest.
$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 $ac_includes_default
14592 if (sizeof (void *))
14598 rm -f conftest.
$ac_objext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14600 (eval $ac_compile) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); } &&
14604 { ac_try
='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_cv_type_void_p
=yes
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.
$ac_ext >&5
14615 ac_cv_type_void_p
=no
14617 rm -f conftest.
$ac_objext conftest.
$ac_ext
14619 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14620 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14622 echo "$as_me:$LINENO: checking size of void *" >&5
14623 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14624 if test "${ac_cv_sizeof_void_p+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 if test "$ac_cv_type_void_p" = yes; then
14628 # The cast to unsigned long works around a bug in the HP C Compiler
14629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14631 # This bug is HP SR number 8606223364.
14632 if test "$cross_compiling" = yes; then
14633 # Depending upon the size, compute the lo and hi bounds.
14634 cat >conftest.
$ac_ext <<_ACEOF
14635 #line $LINENO "configure"
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14645 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14652 rm -f conftest.
$ac_objext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14654 (eval $ac_compile) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try
='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14666 cat >conftest.
$ac_ext <<_ACEOF
14667 #line $LINENO "configure"
14670 cat confdefs.h
>>conftest.
$ac_ext
14671 cat >>conftest.
$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673 $ac_includes_default
14677 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14684 rm -f conftest.
$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try
='test -s conftest.$ac_objext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14696 ac_hi
=$ac_mid; break
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.
$ac_ext >&5
14701 ac_lo
=`expr $ac_mid + 1`
14702 if test $ac_lo -le $ac_mid; then
14706 ac_mid
=`expr 2 '*' $ac_mid + 1`
14708 rm -f conftest.
$ac_objext conftest.
$ac_ext
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.
$ac_ext >&5
14714 cat >conftest.
$ac_ext <<_ACEOF
14715 #line $LINENO "configure"
14718 cat confdefs.h
>>conftest.
$ac_ext
14719 cat >>conftest.
$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 $ac_includes_default
14725 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14732 rm -f conftest.
$ac_objext
14733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14734 (eval $ac_compile) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try
='test -s conftest.$ac_objext'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14746 cat >conftest.
$ac_ext <<_ACEOF
14747 #line $LINENO "configure"
14750 cat confdefs.h
>>conftest.
$ac_ext
14751 cat >>conftest.
$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 $ac_includes_default
14757 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14764 rm -f conftest.
$ac_objext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14766 (eval $ac_compile) 2>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } &&
14770 { ac_try
='test -s conftest.$ac_objext'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14776 ac_lo
=$ac_mid; break
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.
$ac_ext >&5
14781 ac_hi
=`expr '(' $ac_mid ')' - 1`
14782 if test $ac_mid -le $ac_hi; then
14786 ac_mid
=`expr 2 '*' $ac_mid`
14788 rm -f conftest.
$ac_objext conftest.
$ac_ext
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.
$ac_ext >&5
14796 rm -f conftest.
$ac_objext conftest.
$ac_ext
14798 rm -f conftest.
$ac_objext conftest.
$ac_ext
14799 # Binary search between lo and hi bounds.
14800 while test "x$ac_lo" != "x$ac_hi"; do
14801 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14802 cat >conftest.
$ac_ext <<_ACEOF
14803 #line $LINENO "configure"
14806 cat confdefs.h
>>conftest.
$ac_ext
14807 cat >>conftest.
$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809 $ac_includes_default
14813 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14820 rm -f conftest.
$ac_objext
14821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14822 (eval $ac_compile) 2>&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } &&
14826 { ac_try
='test -s conftest.$ac_objext'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.
$ac_ext >&5
14837 ac_lo
=`expr '(' $ac_mid ')' + 1`
14839 rm -f conftest.
$ac_objext conftest.
$ac_ext
14842 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14843 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14844 See \`config.log' for more details." >&5
14845 echo "$as_me: error: cannot compute sizeof (void *), 77
14846 See \`config.log' for more details." >&2;}
14847 { (exit 1); exit 1; }; } ;;
14850 if test "$cross_compiling" = yes; then
14851 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14852 See \`config.log' for more details." >&5
14853 echo "$as_me: error: cannot run test program while cross compiling
14854 See \`config.log' for more details." >&2;}
14855 { (exit 1); exit 1; }; }
14857 cat >conftest.
$ac_ext <<_ACEOF
14858 #line $LINENO "configure"
14861 cat confdefs.h
>>conftest.
$ac_ext
14862 cat >>conftest.
$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14865 long longval () { return (long) (sizeof (void *)); }
14866 unsigned long ulongval () { return (long) (sizeof (void *)); }
14868 #include <stdlib.h>
14873 FILE *f = fopen ("conftest.val", "w");
14876 if (((long) (sizeof (void *))) < 0)
14878 long i = longval ();
14879 if (i != ((long) (sizeof (void *))))
14881 fprintf (f, "%ld\n", i);
14885 unsigned long i = ulongval ();
14886 if (i != ((long) (sizeof (void *))))
14888 fprintf (f, "%lu\n", i);
14890 exit (ferror (f) || fclose (f) != 0);
14896 rm -f conftest
$ac_exeext
14897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14898 (eval $ac_link) 2>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_sizeof_void_p
=`cat conftest.val`
14909 echo "$as_me: program exited with status $ac_status" >&5
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 ( exit $ac_status )
14914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14915 See \`config.log' for more details." >&5
14916 echo "$as_me: error: cannot compute sizeof (void *), 77
14917 See \`config.log' for more details." >&2;}
14918 { (exit 1); exit 1; }; }
14920 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14925 ac_cv_sizeof_void_p
=0
14928 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14929 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14930 cat >>confdefs.h
<<_ACEOF
14931 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14935 echo "$as_me:$LINENO: checking for int" >&5
14936 echo $ECHO_N "checking for int... $ECHO_C" >&6
14937 if test "${ac_cv_type_int+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 cat >conftest.
$ac_ext <<_ACEOF
14941 #line $LINENO "configure"
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947 $ac_includes_default
14959 rm -f conftest.
$ac_objext
14960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14961 (eval $ac_compile) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } &&
14965 { ac_try
='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14978 rm -f conftest.
$ac_objext conftest.
$ac_ext
14980 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14981 echo "${ECHO_T}$ac_cv_type_int" >&6
14983 echo "$as_me:$LINENO: checking size of int" >&5
14984 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14985 if test "${ac_cv_sizeof_int+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 if test "$ac_cv_type_int" = yes; then
14989 # The cast to unsigned long works around a bug in the HP C Compiler
14990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14992 # This bug is HP SR number 8606223364.
14993 if test "$cross_compiling" = yes; then
14994 # Depending upon the size, compute the lo and hi bounds.
14995 cat >conftest.
$ac_ext <<_ACEOF
14996 #line $LINENO "configure"
14999 cat confdefs.h
>>conftest.
$ac_ext
15000 cat >>conftest.
$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 $ac_includes_default
15006 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15013 rm -f conftest.
$ac_objext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15015 (eval $ac_compile) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } &&
15019 { ac_try
='test -s conftest.$ac_objext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15027 cat >conftest.
$ac_ext <<_ACEOF
15028 #line $LINENO "configure"
15031 cat confdefs.h
>>conftest.
$ac_ext
15032 cat >>conftest.
$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15034 $ac_includes_default
15038 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15045 rm -f conftest.
$ac_objext
15046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15047 (eval $ac_compile) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try
='test -s conftest.$ac_objext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_hi
=$ac_mid; break
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 ac_lo
=`expr $ac_mid + 1`
15063 if test $ac_lo -le $ac_mid; then
15067 ac_mid
=`expr 2 '*' $ac_mid + 1`
15069 rm -f conftest.
$ac_objext conftest.
$ac_ext
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.
$ac_ext >&5
15075 cat >conftest.
$ac_ext <<_ACEOF
15076 #line $LINENO "configure"
15079 cat confdefs.h
>>conftest.
$ac_ext
15080 cat >>conftest.
$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 $ac_includes_default
15086 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15093 rm -f conftest.
$ac_objext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } &&
15099 { ac_try
='test -s conftest.$ac_objext'
15100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15101 (eval $ac_try) 2>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; }; then
15107 cat >conftest.
$ac_ext <<_ACEOF
15108 #line $LINENO "configure"
15111 cat confdefs.h
>>conftest.
$ac_ext
15112 cat >>conftest.
$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15114 $ac_includes_default
15118 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15125 rm -f conftest.
$ac_objext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15127 (eval $ac_compile) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } &&
15131 { ac_try
='test -s conftest.$ac_objext'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; }; then
15137 ac_lo
=$ac_mid; break
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.
$ac_ext >&5
15142 ac_hi
=`expr '(' $ac_mid ')' - 1`
15143 if test $ac_mid -le $ac_hi; then
15147 ac_mid
=`expr 2 '*' $ac_mid`
15149 rm -f conftest.
$ac_objext conftest.
$ac_ext
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15157 rm -f conftest.
$ac_objext conftest.
$ac_ext
15159 rm -f conftest.
$ac_objext conftest.
$ac_ext
15160 # Binary search between lo and hi bounds.
15161 while test "x$ac_lo" != "x$ac_hi"; do
15162 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15163 cat >conftest.
$ac_ext <<_ACEOF
15164 #line $LINENO "configure"
15167 cat confdefs.h
>>conftest.
$ac_ext
15168 cat >>conftest.
$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15170 $ac_includes_default
15174 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15181 rm -f conftest.
$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try
='test -s conftest.$ac_objext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.
$ac_ext >&5
15198 ac_lo
=`expr '(' $ac_mid ')' + 1`
15200 rm -f conftest.
$ac_objext conftest.
$ac_ext
15203 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15204 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15205 See \`config.log' for more details." >&5
15206 echo "$as_me: error: cannot compute sizeof (int), 77
15207 See \`config.log' for more details." >&2;}
15208 { (exit 1); exit 1; }; } ;;
15211 if test "$cross_compiling" = yes; then
15212 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15213 See \`config.log' for more details." >&5
15214 echo "$as_me: error: cannot run test program while cross compiling
15215 See \`config.log' for more details." >&2;}
15216 { (exit 1); exit 1; }; }
15218 cat >conftest.
$ac_ext <<_ACEOF
15219 #line $LINENO "configure"
15222 cat confdefs.h
>>conftest.
$ac_ext
15223 cat >>conftest.
$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15226 long longval () { return (long) (sizeof (int)); }
15227 unsigned long ulongval () { return (long) (sizeof (int)); }
15229 #include <stdlib.h>
15234 FILE *f = fopen ("conftest.val", "w");
15237 if (((long) (sizeof (int))) < 0)
15239 long i = longval ();
15240 if (i != ((long) (sizeof (int))))
15242 fprintf (f, "%ld\n", i);
15246 unsigned long i = ulongval ();
15247 if (i != ((long) (sizeof (int))))
15249 fprintf (f, "%lu\n", i);
15251 exit (ferror (f) || fclose (f) != 0);
15257 rm -f conftest
$ac_exeext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15259 (eval $ac_link) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_cv_sizeof_int
=`cat conftest.val`
15270 echo "$as_me: program exited with status $ac_status" >&5
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.
$ac_ext >&5
15274 ( exit $ac_status )
15275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15276 See \`config.log' for more details." >&5
15277 echo "$as_me: error: cannot compute sizeof (int), 77
15278 See \`config.log' for more details." >&2;}
15279 { (exit 1); exit 1; }; }
15281 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15289 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15290 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15291 cat >>confdefs.h
<<_ACEOF
15292 #define SIZEOF_INT $ac_cv_sizeof_int
15296 echo "$as_me:$LINENO: checking for long" >&5
15297 echo $ECHO_N "checking for long... $ECHO_C" >&6
15298 if test "${ac_cv_type_long+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 cat >conftest.
$ac_ext <<_ACEOF
15302 #line $LINENO "configure"
15305 cat confdefs.h
>>conftest.
$ac_ext
15306 cat >>conftest.
$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 $ac_includes_default
15320 rm -f conftest.
$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322 (eval $ac_compile) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try
='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15332 ac_cv_type_long
=yes
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.
$ac_ext >&5
15339 rm -f conftest.
$ac_objext conftest.
$ac_ext
15341 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15342 echo "${ECHO_T}$ac_cv_type_long" >&6
15344 echo "$as_me:$LINENO: checking size of long" >&5
15345 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15346 if test "${ac_cv_sizeof_long+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 if test "$ac_cv_type_long" = yes; then
15350 # The cast to unsigned long works around a bug in the HP C Compiler
15351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15353 # This bug is HP SR number 8606223364.
15354 if test "$cross_compiling" = yes; then
15355 # Depending upon the size, compute the lo and hi bounds.
15356 cat >conftest.
$ac_ext <<_ACEOF
15357 #line $LINENO "configure"
15360 cat confdefs.h
>>conftest.
$ac_ext
15361 cat >>conftest.
$ac_ext <<_ACEOF
15362 /* end confdefs.h. */
15363 $ac_includes_default
15367 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15374 rm -f conftest.
$ac_objext
15375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15376 (eval $ac_compile) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try
='test -s conftest.$ac_objext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15388 cat >conftest.
$ac_ext <<_ACEOF
15389 #line $LINENO "configure"
15392 cat confdefs.h
>>conftest.
$ac_ext
15393 cat >>conftest.
$ac_ext <<_ACEOF
15394 /* end confdefs.h. */
15395 $ac_includes_default
15399 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15406 rm -f conftest.
$ac_objext
15407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15408 (eval $ac_compile) 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); } &&
15412 { ac_try
='test -s conftest.$ac_objext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15418 ac_hi
=$ac_mid; break
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.
$ac_ext >&5
15423 ac_lo
=`expr $ac_mid + 1`
15424 if test $ac_lo -le $ac_mid; then
15428 ac_mid
=`expr 2 '*' $ac_mid + 1`
15430 rm -f conftest.
$ac_objext conftest.
$ac_ext
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.
$ac_ext >&5
15436 cat >conftest.
$ac_ext <<_ACEOF
15437 #line $LINENO "configure"
15440 cat confdefs.h
>>conftest.
$ac_ext
15441 cat >>conftest.
$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 $ac_includes_default
15447 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15454 rm -f conftest.
$ac_objext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15456 (eval $ac_compile) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try
='test -s conftest.$ac_objext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15468 cat >conftest.
$ac_ext <<_ACEOF
15469 #line $LINENO "configure"
15472 cat confdefs.h
>>conftest.
$ac_ext
15473 cat >>conftest.
$ac_ext <<_ACEOF
15474 /* end confdefs.h. */
15475 $ac_includes_default
15479 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15486 rm -f conftest.
$ac_objext
15487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try
='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_lo
=$ac_mid; break
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 ac_hi
=`expr '(' $ac_mid ')' - 1`
15504 if test $ac_mid -le $ac_hi; then
15508 ac_mid
=`expr 2 '*' $ac_mid`
15510 rm -f conftest.
$ac_objext conftest.
$ac_ext
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.
$ac_ext >&5
15518 rm -f conftest.
$ac_objext conftest.
$ac_ext
15520 rm -f conftest.
$ac_objext conftest.
$ac_ext
15521 # Binary search between lo and hi bounds.
15522 while test "x$ac_lo" != "x$ac_hi"; do
15523 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15524 cat >conftest.
$ac_ext <<_ACEOF
15525 #line $LINENO "configure"
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15535 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15542 rm -f conftest.
$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.
$ac_ext >&5
15559 ac_lo
=`expr '(' $ac_mid ')' + 1`
15561 rm -f conftest.
$ac_objext conftest.
$ac_ext
15564 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15565 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15566 See \`config.log' for more details." >&5
15567 echo "$as_me: error: cannot compute sizeof (long), 77
15568 See \`config.log' for more details." >&2;}
15569 { (exit 1); exit 1; }; } ;;
15572 if test "$cross_compiling" = yes; then
15573 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15574 See \`config.log' for more details." >&5
15575 echo "$as_me: error: cannot run test program while cross compiling
15576 See \`config.log' for more details." >&2;}
15577 { (exit 1); exit 1; }; }
15579 cat >conftest.
$ac_ext <<_ACEOF
15580 #line $LINENO "configure"
15583 cat confdefs.h
>>conftest.
$ac_ext
15584 cat >>conftest.
$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15587 long longval () { return (long) (sizeof (long)); }
15588 unsigned long ulongval () { return (long) (sizeof (long)); }
15590 #include <stdlib.h>
15595 FILE *f = fopen ("conftest.val", "w");
15598 if (((long) (sizeof (long))) < 0)
15600 long i = longval ();
15601 if (i != ((long) (sizeof (long))))
15603 fprintf (f, "%ld\n", i);
15607 unsigned long i = ulongval ();
15608 if (i != ((long) (sizeof (long))))
15610 fprintf (f, "%lu\n", i);
15612 exit (ferror (f) || fclose (f) != 0);
15618 rm -f conftest
$ac_exeext
15619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15620 (eval $ac_link) 2>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_cv_sizeof_long
=`cat conftest.val`
15631 echo "$as_me: program exited with status $ac_status" >&5
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.
$ac_ext >&5
15635 ( exit $ac_status )
15636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15637 See \`config.log' for more details." >&5
15638 echo "$as_me: error: cannot compute sizeof (long), 77
15639 See \`config.log' for more details." >&2;}
15640 { (exit 1); exit 1; }; }
15642 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15647 ac_cv_sizeof_long
=0
15650 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15651 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15652 cat >>confdefs.h
<<_ACEOF
15653 #define SIZEOF_LONG $ac_cv_sizeof_long
15657 echo "$as_me:$LINENO: checking for size_t" >&5
15658 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15659 if test "${ac_cv_type_size_t+set}" = set; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15662 cat >conftest.
$ac_ext <<_ACEOF
15663 #line $LINENO "configure"
15666 cat confdefs.h
>>conftest.
$ac_ext
15667 cat >>conftest.
$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 $ac_includes_default
15675 if (sizeof (size_t))
15681 rm -f conftest.
$ac_objext
15682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15683 (eval $ac_compile) 2>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } &&
15687 { ac_try
='test -s conftest.$ac_objext'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; }; then
15693 ac_cv_type_size_t
=yes
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.
$ac_ext >&5
15698 ac_cv_type_size_t
=no
15700 rm -f conftest.
$ac_objext conftest.
$ac_ext
15702 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15703 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15705 echo "$as_me:$LINENO: checking size of size_t" >&5
15706 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15707 if test "${ac_cv_sizeof_size_t+set}" = set; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 if test "$ac_cv_type_size_t" = yes; then
15711 # The cast to unsigned long works around a bug in the HP C Compiler
15712 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15713 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15714 # This bug is HP SR number 8606223364.
15715 if test "$cross_compiling" = yes; then
15716 # Depending upon the size, compute the lo and hi bounds.
15717 cat >conftest.
$ac_ext <<_ACEOF
15718 #line $LINENO "configure"
15721 cat confdefs.h
>>conftest.
$ac_ext
15722 cat >>conftest.
$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15728 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15735 rm -f conftest.
$ac_objext
15736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15737 (eval $ac_compile) 2>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try
='test -s conftest.$ac_objext'
15742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743 (eval $ac_try) 2>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); }; }; then
15749 cat >conftest.
$ac_ext <<_ACEOF
15750 #line $LINENO "configure"
15753 cat confdefs.h
>>conftest.
$ac_ext
15754 cat >>conftest.
$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15756 $ac_includes_default
15760 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15767 rm -f conftest.
$ac_objext
15768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15769 (eval $ac_compile) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); } &&
15773 { ac_try
='test -s conftest.$ac_objext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 ac_hi
=$ac_mid; break
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15784 ac_lo
=`expr $ac_mid + 1`
15785 if test $ac_lo -le $ac_mid; then
15789 ac_mid
=`expr 2 '*' $ac_mid + 1`
15791 rm -f conftest.
$ac_objext conftest.
$ac_ext
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.
$ac_ext >&5
15797 cat >conftest.
$ac_ext <<_ACEOF
15798 #line $LINENO "configure"
15801 cat confdefs.h
>>conftest.
$ac_ext
15802 cat >>conftest.
$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 $ac_includes_default
15808 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15815 rm -f conftest.
$ac_objext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 (eval $ac_compile) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15829 cat >conftest.
$ac_ext <<_ACEOF
15830 #line $LINENO "configure"
15833 cat confdefs.h
>>conftest.
$ac_ext
15834 cat >>conftest.
$ac_ext <<_ACEOF
15835 /* end confdefs.h. */
15836 $ac_includes_default
15840 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15847 rm -f conftest.
$ac_objext
15848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15849 (eval $ac_compile) 2>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try
='test -s conftest.$ac_objext'
15854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15855 (eval $ac_try) 2>&5
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); }; }; then
15859 ac_lo
=$ac_mid; break
15861 echo "$as_me: failed program was:" >&5
15862 sed 's/^/| /' conftest.
$ac_ext >&5
15864 ac_hi
=`expr '(' $ac_mid ')' - 1`
15865 if test $ac_mid -le $ac_hi; then
15869 ac_mid
=`expr 2 '*' $ac_mid`
15871 rm -f conftest.
$ac_objext conftest.
$ac_ext
15874 echo "$as_me: failed program was:" >&5
15875 sed 's/^/| /' conftest.
$ac_ext >&5
15879 rm -f conftest.
$ac_objext conftest.
$ac_ext
15881 rm -f conftest.
$ac_objext conftest.
$ac_ext
15882 # Binary search between lo and hi bounds.
15883 while test "x$ac_lo" != "x$ac_hi"; do
15884 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15885 cat >conftest.
$ac_ext <<_ACEOF
15886 #line $LINENO "configure"
15889 cat confdefs.h
>>conftest.
$ac_ext
15890 cat >>conftest.
$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 $ac_includes_default
15896 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15903 rm -f conftest.
$ac_objext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } &&
15909 { ac_try
='test -s conftest.$ac_objext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.
$ac_ext >&5
15920 ac_lo
=`expr '(' $ac_mid ')' + 1`
15922 rm -f conftest.
$ac_objext conftest.
$ac_ext
15925 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
15926 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15927 See \`config.log' for more details." >&5
15928 echo "$as_me: error: cannot compute sizeof (size_t), 77
15929 See \`config.log' for more details." >&2;}
15930 { (exit 1); exit 1; }; } ;;
15933 if test "$cross_compiling" = yes; then
15934 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15935 See \`config.log' for more details." >&5
15936 echo "$as_me: error: cannot run test program while cross compiling
15937 See \`config.log' for more details." >&2;}
15938 { (exit 1); exit 1; }; }
15940 cat >conftest.
$ac_ext <<_ACEOF
15941 #line $LINENO "configure"
15944 cat confdefs.h
>>conftest.
$ac_ext
15945 cat >>conftest.
$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947 $ac_includes_default
15948 long longval () { return (long) (sizeof (size_t)); }
15949 unsigned long ulongval () { return (long) (sizeof (size_t)); }
15951 #include <stdlib.h>
15956 FILE *f = fopen ("conftest.val", "w");
15959 if (((long) (sizeof (size_t))) < 0)
15961 long i = longval ();
15962 if (i != ((long) (sizeof (size_t))))
15964 fprintf (f, "%ld\n", i);
15968 unsigned long i = ulongval ();
15969 if (i != ((long) (sizeof (size_t))))
15971 fprintf (f, "%lu\n", i);
15973 exit (ferror (f) || fclose (f) != 0);
15979 rm -f conftest
$ac_exeext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15981 (eval $ac_link) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; }; then
15990 ac_cv_sizeof_size_t
=`cat conftest.val`
15992 echo "$as_me: program exited with status $ac_status" >&5
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 ( exit $ac_status )
15997 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15998 See \`config.log' for more details." >&5
15999 echo "$as_me: error: cannot compute sizeof (size_t), 77
16000 See \`config.log' for more details." >&2;}
16001 { (exit 1); exit 1; }; }
16003 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16008 ac_cv_sizeof_size_t
=0
16011 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16012 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16013 cat >>confdefs.h
<<_ACEOF
16014 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16021 echo "$as_me:$LINENO: checking for long long" >&5
16022 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16023 if test "${ac_cv_type_long_long+set}" = set; then
16024 echo $ECHO_N "(cached) $ECHO_C" >&6
16026 cat >conftest.
$ac_ext <<_ACEOF
16027 #line $LINENO "configure"
16030 cat confdefs.h
>>conftest.
$ac_ext
16031 cat >>conftest.
$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16033 $ac_includes_default
16037 if ((long long *) 0)
16039 if (sizeof (long long))
16045 rm -f conftest.
$ac_objext
16046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16047 (eval $ac_compile) 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } &&
16051 { ac_try
='test -s conftest.$ac_objext'
16052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053 (eval $ac_try) 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; }; then
16057 ac_cv_type_long_long
=yes
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.
$ac_ext >&5
16062 ac_cv_type_long_long
=no
16064 rm -f conftest.
$ac_objext conftest.
$ac_ext
16066 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16067 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16069 echo "$as_me:$LINENO: checking size of long long" >&5
16070 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16071 if test "${ac_cv_sizeof_long_long+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 if test "$ac_cv_type_long_long" = yes; then
16075 # The cast to unsigned long works around a bug in the HP C Compiler
16076 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16077 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16078 # This bug is HP SR number 8606223364.
16079 if test "$cross_compiling" = yes; then
16080 # Depending upon the size, compute the lo and hi bounds.
16081 cat >conftest.
$ac_ext <<_ACEOF
16082 #line $LINENO "configure"
16085 cat confdefs.h
>>conftest.
$ac_ext
16086 cat >>conftest.
$ac_ext <<_ACEOF
16087 /* end confdefs.h. */
16088 $ac_includes_default
16092 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16099 rm -f conftest.
$ac_objext
16100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16101 (eval $ac_compile) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } &&
16105 { ac_try
='test -s conftest.$ac_objext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16113 cat >conftest.
$ac_ext <<_ACEOF
16114 #line $LINENO "configure"
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 $ac_includes_default
16124 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16131 rm -f conftest.
$ac_objext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16133 (eval $ac_compile) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try
='test -s conftest.$ac_objext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_hi
=$ac_mid; break
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.
$ac_ext >&5
16148 ac_lo
=`expr $ac_mid + 1`
16149 if test $ac_lo -le $ac_mid; then
16153 ac_mid
=`expr 2 '*' $ac_mid + 1`
16155 rm -f conftest.
$ac_objext conftest.
$ac_ext
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.
$ac_ext >&5
16161 cat >conftest.
$ac_ext <<_ACEOF
16162 #line $LINENO "configure"
16165 cat confdefs.h
>>conftest.
$ac_ext
16166 cat >>conftest.
$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 $ac_includes_default
16172 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16179 rm -f conftest.
$ac_objext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); } &&
16185 { ac_try
='test -s conftest.$ac_objext'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; }; then
16193 cat >conftest.
$ac_ext <<_ACEOF
16194 #line $LINENO "configure"
16197 cat confdefs.h
>>conftest.
$ac_ext
16198 cat >>conftest.
$ac_ext <<_ACEOF
16199 /* end confdefs.h. */
16200 $ac_includes_default
16204 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16211 rm -f conftest.
$ac_objext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16213 (eval $ac_compile) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try
='test -s conftest.$ac_objext'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; }; then
16223 ac_lo
=$ac_mid; break
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.
$ac_ext >&5
16228 ac_hi
=`expr '(' $ac_mid ')' - 1`
16229 if test $ac_mid -le $ac_hi; then
16233 ac_mid
=`expr 2 '*' $ac_mid`
16235 rm -f conftest.
$ac_objext conftest.
$ac_ext
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.
$ac_ext >&5
16243 rm -f conftest.
$ac_objext conftest.
$ac_ext
16245 rm -f conftest.
$ac_objext conftest.
$ac_ext
16246 # Binary search between lo and hi bounds.
16247 while test "x$ac_lo" != "x$ac_hi"; do
16248 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16249 cat >conftest.
$ac_ext <<_ACEOF
16250 #line $LINENO "configure"
16253 cat confdefs.h
>>conftest.
$ac_ext
16254 cat >>conftest.
$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256 $ac_includes_default
16260 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16267 rm -f conftest.
$ac_objext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16269 (eval $ac_compile) 2>&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } &&
16273 { ac_try
='test -s conftest.$ac_objext'
16274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16275 (eval $ac_try) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); }; }; then
16281 echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.
$ac_ext >&5
16284 ac_lo
=`expr '(' $ac_mid ')' + 1`
16286 rm -f conftest.
$ac_objext conftest.
$ac_ext
16289 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16290 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16291 See \`config.log' for more details." >&5
16292 echo "$as_me: error: cannot compute sizeof (long long), 77
16293 See \`config.log' for more details." >&2;}
16294 { (exit 1); exit 1; }; } ;;
16297 if test "$cross_compiling" = yes; then
16298 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16299 See \`config.log' for more details." >&5
16300 echo "$as_me: error: cannot run test program while cross compiling
16301 See \`config.log' for more details." >&2;}
16302 { (exit 1); exit 1; }; }
16304 cat >conftest.
$ac_ext <<_ACEOF
16305 #line $LINENO "configure"
16308 cat confdefs.h
>>conftest.
$ac_ext
16309 cat >>conftest.
$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 $ac_includes_default
16312 long longval () { return (long) (sizeof (long long)); }
16313 unsigned long ulongval () { return (long) (sizeof (long long)); }
16315 #include <stdlib.h>
16320 FILE *f = fopen ("conftest.val", "w");
16323 if (((long) (sizeof (long long))) < 0)
16325 long i = longval ();
16326 if (i != ((long) (sizeof (long long))))
16328 fprintf (f, "%ld\n", i);
16332 unsigned long i = ulongval ();
16333 if (i != ((long) (sizeof (long long))))
16335 fprintf (f, "%lu\n", i);
16337 exit (ferror (f) || fclose (f) != 0);
16343 rm -f conftest
$ac_exeext
16344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16345 (eval $ac_link) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 ac_cv_sizeof_long_long
=`cat conftest.val`
16356 echo "$as_me: program exited with status $ac_status" >&5
16357 echo "$as_me: failed program was:" >&5
16358 sed 's/^/| /' conftest.
$ac_ext >&5
16360 ( exit $ac_status )
16361 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16362 See \`config.log' for more details." >&5
16363 echo "$as_me: error: cannot compute sizeof (long long), 77
16364 See \`config.log' for more details." >&2;}
16365 { (exit 1); exit 1; }; }
16367 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16372 ac_cv_sizeof_long_long
=0
16375 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16376 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16377 cat >>confdefs.h
<<_ACEOF
16378 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16384 echo "$as_me:$LINENO: checking for long long" >&5
16385 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16386 if test "${ac_cv_type_long_long+set}" = set; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 cat >conftest.
$ac_ext <<_ACEOF
16390 #line $LINENO "configure"
16393 cat confdefs.h
>>conftest.
$ac_ext
16394 cat >>conftest.
$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 $ac_includes_default
16400 if ((long long *) 0)
16402 if (sizeof (long long))
16408 rm -f conftest.
$ac_objext
16409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16410 (eval $ac_compile) 2>&5
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } &&
16414 { ac_try
='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_cv_type_long_long
=yes
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.
$ac_ext >&5
16425 ac_cv_type_long_long
=no
16427 rm -f conftest.
$ac_objext conftest.
$ac_ext
16429 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16430 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16432 echo "$as_me:$LINENO: checking size of long long" >&5
16433 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16434 if test "${ac_cv_sizeof_long_long+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 if test "$ac_cv_type_long_long" = yes; then
16438 # The cast to unsigned long works around a bug in the HP C Compiler
16439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16441 # This bug is HP SR number 8606223364.
16442 if test "$cross_compiling" = yes; then
16443 # Depending upon the size, compute the lo and hi bounds.
16444 cat >conftest.
$ac_ext <<_ACEOF
16445 #line $LINENO "configure"
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16451 $ac_includes_default
16455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16462 rm -f conftest.
$ac_objext
16463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16464 (eval $ac_compile) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } &&
16468 { ac_try
='test -s conftest.$ac_objext'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16476 cat >conftest.
$ac_ext <<_ACEOF
16477 #line $LINENO "configure"
16480 cat confdefs.h
>>conftest.
$ac_ext
16481 cat >>conftest.
$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16487 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16494 rm -f conftest.
$ac_objext
16495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16496 (eval $ac_compile) 2>&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try
='test -s conftest.$ac_objext'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; }; then
16506 ac_hi
=$ac_mid; break
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.
$ac_ext >&5
16511 ac_lo
=`expr $ac_mid + 1`
16512 if test $ac_lo -le $ac_mid; then
16516 ac_mid
=`expr 2 '*' $ac_mid + 1`
16518 rm -f conftest.
$ac_objext conftest.
$ac_ext
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16524 cat >conftest.
$ac_ext <<_ACEOF
16525 #line $LINENO "configure"
16528 cat confdefs.h
>>conftest.
$ac_ext
16529 cat >>conftest.
$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 $ac_includes_default
16535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16542 rm -f conftest.
$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16556 cat >conftest.
$ac_ext <<_ACEOF
16557 #line $LINENO "configure"
16560 cat confdefs.h
>>conftest.
$ac_ext
16561 cat >>conftest.
$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 $ac_includes_default
16567 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16574 rm -f conftest.
$ac_objext
16575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16576 (eval $ac_compile) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); } &&
16580 { ac_try
='test -s conftest.$ac_objext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16586 ac_lo
=$ac_mid; break
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 ac_hi
=`expr '(' $ac_mid ')' - 1`
16592 if test $ac_mid -le $ac_hi; then
16596 ac_mid
=`expr 2 '*' $ac_mid`
16598 rm -f conftest.
$ac_objext conftest.
$ac_ext
16601 echo "$as_me: failed program was:" >&5
16602 sed 's/^/| /' conftest.
$ac_ext >&5
16606 rm -f conftest.
$ac_objext conftest.
$ac_ext
16608 rm -f conftest.
$ac_objext conftest.
$ac_ext
16609 # Binary search between lo and hi bounds.
16610 while test "x$ac_lo" != "x$ac_hi"; do
16611 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16612 cat >conftest.
$ac_ext <<_ACEOF
16613 #line $LINENO "configure"
16616 cat confdefs.h
>>conftest.
$ac_ext
16617 cat >>conftest.
$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16619 $ac_includes_default
16623 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16630 rm -f conftest.
$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try
='test -s conftest.$ac_objext'
16637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16638 (eval $ac_try) 2>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }; }; then
16644 echo "$as_me: failed program was:" >&5
16645 sed 's/^/| /' conftest.
$ac_ext >&5
16647 ac_lo
=`expr '(' $ac_mid ')' + 1`
16649 rm -f conftest.
$ac_objext conftest.
$ac_ext
16652 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16653 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16654 See \`config.log' for more details." >&5
16655 echo "$as_me: error: cannot compute sizeof (long long), 77
16656 See \`config.log' for more details." >&2;}
16657 { (exit 1); exit 1; }; } ;;
16660 if test "$cross_compiling" = yes; then
16661 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16662 See \`config.log' for more details." >&5
16663 echo "$as_me: error: cannot run test program while cross compiling
16664 See \`config.log' for more details." >&2;}
16665 { (exit 1); exit 1; }; }
16667 cat >conftest.
$ac_ext <<_ACEOF
16668 #line $LINENO "configure"
16671 cat confdefs.h
>>conftest.
$ac_ext
16672 cat >>conftest.
$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 $ac_includes_default
16675 long longval () { return (long) (sizeof (long long)); }
16676 unsigned long ulongval () { return (long) (sizeof (long long)); }
16678 #include <stdlib.h>
16683 FILE *f = fopen ("conftest.val", "w");
16686 if (((long) (sizeof (long long))) < 0)
16688 long i = longval ();
16689 if (i != ((long) (sizeof (long long))))
16691 fprintf (f, "%ld\n", i);
16695 unsigned long i = ulongval ();
16696 if (i != ((long) (sizeof (long long))))
16698 fprintf (f, "%lu\n", i);
16700 exit (ferror (f) || fclose (f) != 0);
16706 rm -f conftest
$ac_exeext
16707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16708 (eval $ac_link) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; }; then
16717 ac_cv_sizeof_long_long
=`cat conftest.val`
16719 echo "$as_me: program exited with status $ac_status" >&5
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.
$ac_ext >&5
16723 ( exit $ac_status )
16724 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16725 See \`config.log' for more details." >&5
16726 echo "$as_me: error: cannot compute sizeof (long long), 77
16727 See \`config.log' for more details." >&2;}
16728 { (exit 1); exit 1; }; }
16730 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16735 ac_cv_sizeof_long_long
=0
16738 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16739 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16740 cat >>confdefs.h
<<_ACEOF
16741 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16745 if test "$ac_cv_sizeof_long_long" != "0"; then
16746 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16750 echo "$as_me:$LINENO: checking for long long" >&5
16751 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16752 if test "${ac_cv_type_long_long+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 cat >conftest.
$ac_ext <<_ACEOF
16756 #line $LINENO "configure"
16759 cat confdefs.h
>>conftest.
$ac_ext
16760 cat >>conftest.
$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 $ac_includes_default
16766 if ((long long *) 0)
16768 if (sizeof (long long))
16774 rm -f conftest.
$ac_objext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16776 (eval $ac_compile) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try
='test -s conftest.$ac_objext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16786 ac_cv_type_long_long
=yes
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16791 ac_cv_type_long_long
=no
16793 rm -f conftest.
$ac_objext conftest.
$ac_ext
16795 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16796 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16798 echo "$as_me:$LINENO: checking size of long long" >&5
16799 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16800 if test "${ac_cv_sizeof_long_long+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 if test "$ac_cv_type_long_long" = yes; then
16804 # The cast to unsigned long works around a bug in the HP C Compiler
16805 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16806 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16807 # This bug is HP SR number 8606223364.
16808 if test "$cross_compiling" = yes; then
16809 # Depending upon the size, compute the lo and hi bounds.
16810 cat >conftest.
$ac_ext <<_ACEOF
16811 #line $LINENO "configure"
16814 cat confdefs.h
>>conftest.
$ac_ext
16815 cat >>conftest.
$ac_ext <<_ACEOF
16816 /* end confdefs.h. */
16817 $ac_includes_default
16821 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16828 rm -f conftest.
$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } &&
16834 { ac_try
='test -s conftest.$ac_objext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16842 cat >conftest.
$ac_ext <<_ACEOF
16843 #line $LINENO "configure"
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 $ac_includes_default
16853 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16860 rm -f conftest.
$ac_objext
16861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16862 (eval $ac_compile) 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } &&
16866 { ac_try
='test -s conftest.$ac_objext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16872 ac_hi
=$ac_mid; break
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.
$ac_ext >&5
16877 ac_lo
=`expr $ac_mid + 1`
16878 if test $ac_lo -le $ac_mid; then
16882 ac_mid
=`expr 2 '*' $ac_mid + 1`
16884 rm -f conftest.
$ac_objext conftest.
$ac_ext
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.
$ac_ext >&5
16890 cat >conftest.
$ac_ext <<_ACEOF
16891 #line $LINENO "configure"
16894 cat confdefs.h
>>conftest.
$ac_ext
16895 cat >>conftest.
$ac_ext <<_ACEOF
16896 /* end confdefs.h. */
16897 $ac_includes_default
16901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16908 rm -f conftest.
$ac_objext
16909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16910 (eval $ac_compile) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16922 cat >conftest.
$ac_ext <<_ACEOF
16923 #line $LINENO "configure"
16926 cat confdefs.h
>>conftest.
$ac_ext
16927 cat >>conftest.
$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 $ac_includes_default
16933 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16940 rm -f conftest.
$ac_objext
16941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16942 (eval $ac_compile) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try
='test -s conftest.$ac_objext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16952 ac_lo
=$ac_mid; break
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.
$ac_ext >&5
16957 ac_hi
=`expr '(' $ac_mid ')' - 1`
16958 if test $ac_mid -le $ac_hi; then
16962 ac_mid
=`expr 2 '*' $ac_mid`
16964 rm -f conftest.
$ac_objext conftest.
$ac_ext
16967 echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.
$ac_ext >&5
16972 rm -f conftest.
$ac_objext conftest.
$ac_ext
16974 rm -f conftest.
$ac_objext conftest.
$ac_ext
16975 # Binary search between lo and hi bounds.
16976 while test "x$ac_lo" != "x$ac_hi"; do
16977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16978 cat >conftest.
$ac_ext <<_ACEOF
16979 #line $LINENO "configure"
16982 cat confdefs.h
>>conftest.
$ac_ext
16983 cat >>conftest.
$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16996 rm -f conftest.
$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } &&
17002 { ac_try
='test -s conftest.$ac_objext'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.
$ac_ext >&5
17013 ac_lo
=`expr '(' $ac_mid ')' + 1`
17015 rm -f conftest.
$ac_objext conftest.
$ac_ext
17018 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17019 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17020 See \`config.log' for more details." >&5
17021 echo "$as_me: error: cannot compute sizeof (long long), 77
17022 See \`config.log' for more details." >&2;}
17023 { (exit 1); exit 1; }; } ;;
17026 if test "$cross_compiling" = yes; then
17027 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17028 See \`config.log' for more details." >&5
17029 echo "$as_me: error: cannot run test program while cross compiling
17030 See \`config.log' for more details." >&2;}
17031 { (exit 1); exit 1; }; }
17033 cat >conftest.
$ac_ext <<_ACEOF
17034 #line $LINENO "configure"
17037 cat confdefs.h
>>conftest.
$ac_ext
17038 cat >>conftest.
$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17040 $ac_includes_default
17041 long longval () { return (long) (sizeof (long long)); }
17042 unsigned long ulongval () { return (long) (sizeof (long long)); }
17044 #include <stdlib.h>
17049 FILE *f = fopen ("conftest.val", "w");
17052 if (((long) (sizeof (long long))) < 0)
17054 long i = longval ();
17055 if (i != ((long) (sizeof (long long))))
17057 fprintf (f, "%ld\n", i);
17061 unsigned long i = ulongval ();
17062 if (i != ((long) (sizeof (long long))))
17064 fprintf (f, "%lu\n", i);
17066 exit (ferror (f) || fclose (f) != 0);
17072 rm -f conftest
$ac_exeext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17074 (eval $ac_link) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; }; then
17083 ac_cv_sizeof_long_long
=`cat conftest.val`
17085 echo "$as_me: program exited with status $ac_status" >&5
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.
$ac_ext >&5
17089 ( exit $ac_status )
17090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17091 See \`config.log' for more details." >&5
17092 echo "$as_me: error: cannot compute sizeof (long long), 77
17093 See \`config.log' for more details." >&2;}
17094 { (exit 1); exit 1; }; }
17096 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17101 ac_cv_sizeof_long_long
=0
17104 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17105 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17106 cat >>confdefs.h
<<_ACEOF
17107 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17113 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17114 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17115 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 if test "$cross_compiling" = yes; then
17123 wx_cv_sizeof_wchar_t
=0
17126 wx_cv_sizeof_wchar_t
=4
17132 cat >conftest.
$ac_ext <<_ACEOF
17133 #line $LINENO "configure"
17136 cat confdefs.h
>>conftest.
$ac_ext
17137 cat >>conftest.
$ac_ext <<_ACEOF
17138 /* end confdefs.h. */
17140 /* DJGPP only has fake wchar_t: */
17142 # error "fake wchar_t"
17144 #ifdef HAVE_WCHAR_H
17146 # include <stddef.h>
17148 # include <wchar.h>
17150 #ifdef HAVE_STDLIB_H
17151 # include <stdlib.h>
17156 FILE *f=fopen("conftestval", "w");
17158 fprintf(f, "%i", sizeof(wchar_t));
17163 rm -f conftest
$ac_exeext
17164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17165 (eval $ac_link) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17174 wx_cv_sizeof_wchar_t
=`cat conftestval`
17176 echo "$as_me: program exited with status $ac_status" >&5
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.
$ac_ext >&5
17180 ( exit $ac_status )
17181 wx_cv_sizeof_wchar_t
=0
17183 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17187 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17188 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17190 cat >>confdefs.h
<<_ACEOF
17191 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17195 # Check whether --enable-largefile or --disable-largefile was given.
17196 if test "${enable_largefile+set}" = set; then
17197 enableval
="$enable_largefile"
17200 if test "$enable_largefile" != no
; then
17203 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17204 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17205 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17209 cat >conftest.
$ac_ext <<_ACEOF
17210 #line $LINENO "configure"
17213 cat confdefs.h
>>conftest.
$ac_ext
17214 cat >>conftest.
$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216 #define _FILE_OFFSET_BITS 64
17217 #include <sys/types.h>
17222 unsigned int field: sizeof(off_t) == 8;
17229 rm -f conftest.
$ac_objext
17230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17231 (eval $ac_compile) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } &&
17235 { ac_try
='test -s conftest.$ac_objext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 ac_cv_sys_file_offset_bits
=64
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.
$ac_ext >&5
17246 ac_cv_sys_file_offset_bits
=no
17248 rm -f conftest.
$ac_objext conftest.
$ac_ext
17252 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17253 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17255 if test "$ac_cv_sys_file_offset_bits" != no
; then
17257 cat >>confdefs.h
<<_ACEOF
17258 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17263 if test "x$wx_largefile" != "xyes"; then
17265 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17266 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17267 if test "${ac_cv_sys_large_files+set}" = set; then
17268 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 cat >conftest.
$ac_ext <<_ACEOF
17272 #line $LINENO "configure"
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #define _LARGE_FILES 1
17279 #include <sys/types.h>
17284 unsigned int field: sizeof(off_t) == 8;
17291 rm -f conftest.
$ac_objext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17293 (eval $ac_compile) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } &&
17297 { ac_try
='test -s conftest.$ac_objext'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; }; then
17303 ac_cv_sys_large_files
=1
17305 echo "$as_me: failed program was:" >&5
17306 sed 's/^/| /' conftest.
$ac_ext >&5
17308 ac_cv_sys_large_files
=no
17310 rm -f conftest.
$ac_objext conftest.
$ac_ext
17314 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17315 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17317 if test "$ac_cv_sys_large_files" != no
; then
17319 cat >>confdefs.h
<<_ACEOF
17320 #define _LARGE_FILES $ac_cv_sys_large_files
17327 echo "$as_me:$LINENO: checking if large file support is available" >&5
17328 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17329 if test "x$wx_largefile" = "xyes"; then
17330 cat >>confdefs.h
<<\_ACEOF
17331 #define HAVE_LARGEFILE_SUPPORT 1
17335 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17336 echo "${ECHO_T}$wx_largefile" >&6
17340 if test "x$wx_largefile" = "xyes"; then
17341 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17342 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17344 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
17346 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17349 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17350 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17351 if test "${ac_cv_c_bigendian+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17354 ac_cv_c_bigendian
=unknown
17355 # See if sys/param.h defines the BYTE_ORDER macro.
17356 cat >conftest.
$ac_ext <<_ACEOF
17357 #line $LINENO "configure"
17360 cat confdefs.h
>>conftest.
$ac_ext
17361 cat >>conftest.
$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363 #include <sys/types.h>
17364 #include <sys/param.h>
17369 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17370 bogus endian macros
17376 rm -f conftest.
$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try
='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 # It does; now see whether it defined to BIG_ENDIAN or not.
17389 cat >conftest.
$ac_ext <<_ACEOF
17390 #line $LINENO "configure"
17393 cat confdefs.h
>>conftest.
$ac_ext
17394 cat >>conftest.
$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 #include <sys/types.h>
17397 #include <sys/param.h>
17402 #if BYTE_ORDER != BIG_ENDIAN
17409 rm -f conftest.
$ac_objext
17410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17411 (eval $ac_compile) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } &&
17415 { ac_try
='test -s conftest.$ac_objext'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; }; then
17421 ac_cv_c_bigendian
=yes
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.
$ac_ext >&5
17426 ac_cv_c_bigendian
=no
17428 rm -f conftest.
$ac_objext conftest.
$ac_ext
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17434 rm -f conftest.
$ac_objext conftest.
$ac_ext
17435 if test $ac_cv_c_bigendian = unknown
; then
17436 if test "$cross_compiling" = yes; then
17437 ac_cv_c_bigendian
=unknown
17439 cat >conftest.
$ac_ext <<_ACEOF
17440 #line $LINENO "configure"
17443 cat confdefs.h
>>conftest.
$ac_ext
17444 cat >>conftest.
$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17447 /* Are we little or big endian? From Harbison&Steele. */
17451 char c[sizeof (long)];
17454 exit (u.c[sizeof (long) - 1] == 1);
17457 rm -f conftest
$ac_exeext
17458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17459 (eval $ac_link) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; }; then
17468 ac_cv_c_bigendian
=no
17470 echo "$as_me: program exited with status $ac_status" >&5
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 ( exit $ac_status )
17475 ac_cv_c_bigendian
=yes
17477 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17481 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17482 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17483 if test $ac_cv_c_bigendian = unknown
; then
17484 { 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
17485 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;}
17487 if test $ac_cv_c_bigendian = yes; then
17488 cat >>confdefs.h
<<\_ACEOF
17489 #define WORDS_BIGENDIAN 1
17497 ac_cpp
='$CXXCPP $CPPFLAGS'
17498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17501 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17502 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17503 if test -z "$CXXCPP"; then
17504 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 # Double quotes because CXXCPP needs to be expanded
17508 for CXXCPP
in "$CXX -E" "/lib/cpp"
17510 ac_preproc_ok
=false
17511 for ac_cxx_preproc_warn_flag
in '' yes
17513 # Use a header file that comes with gcc, so configuring glibc
17514 # with a fresh cross-compiler works.
17515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17516 # <limits.h> exists even on freestanding compilers.
17517 # On the NeXT, cc -E runs the code through the compiler's parser,
17518 # not just through cpp. "Syntax error" is here to catch this case.
17519 cat >conftest.
$ac_ext <<_ACEOF
17520 #line $LINENO "configure"
17523 cat confdefs.h
>>conftest.
$ac_ext
17524 cat >>conftest.
$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17527 # include <limits.h>
17529 # include <assert.h>
17533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17536 grep -v '^ *+' conftest.er1
>conftest.err
17538 cat conftest.err
>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } >/dev
/null
; then
17541 if test -s conftest.err
; then
17542 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17549 if test -z "$ac_cpp_err"; then
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.
$ac_ext >&5
17555 # Broken: fails on valid input.
17558 rm -f conftest.err conftest.
$ac_ext
17560 # OK, works on sane cases. Now check whether non-existent headers
17561 # can be detected and how.
17562 cat >conftest.
$ac_ext <<_ACEOF
17563 #line $LINENO "configure"
17566 cat confdefs.h
>>conftest.
$ac_ext
17567 cat >>conftest.
$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569 #include <ac_nonexistent.h>
17571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17574 grep -v '^ *+' conftest.er1
>conftest.err
17576 cat conftest.err
>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } >/dev
/null
; then
17579 if test -s conftest.err
; then
17580 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17587 if test -z "$ac_cpp_err"; then
17588 # Broken: success on invalid input.
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 # Passes both tests.
17598 rm -f conftest.err conftest.
$ac_ext
17601 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17602 rm -f conftest.err conftest.
$ac_ext
17603 if $ac_preproc_ok; then
17608 ac_cv_prog_CXXCPP
=$CXXCPP
17611 CXXCPP
=$ac_cv_prog_CXXCPP
17613 ac_cv_prog_CXXCPP
=$CXXCPP
17615 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17616 echo "${ECHO_T}$CXXCPP" >&6
17617 ac_preproc_ok
=false
17618 for ac_cxx_preproc_warn_flag
in '' yes
17620 # Use a header file that comes with gcc, so configuring glibc
17621 # with a fresh cross-compiler works.
17622 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17623 # <limits.h> exists even on freestanding compilers.
17624 # On the NeXT, cc -E runs the code through the compiler's parser,
17625 # not just through cpp. "Syntax error" is here to catch this case.
17626 cat >conftest.
$ac_ext <<_ACEOF
17627 #line $LINENO "configure"
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17634 # include <limits.h>
17636 # include <assert.h>
17640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17643 grep -v '^ *+' conftest.er1
>conftest.err
17645 cat conftest.err
>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } >/dev
/null
; then
17648 if test -s conftest.err
; then
17649 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17656 if test -z "$ac_cpp_err"; then
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17662 # Broken: fails on valid input.
17665 rm -f conftest.err conftest.
$ac_ext
17667 # OK, works on sane cases. Now check whether non-existent headers
17668 # can be detected and how.
17669 cat >conftest.
$ac_ext <<_ACEOF
17670 #line $LINENO "configure"
17673 cat confdefs.h
>>conftest.
$ac_ext
17674 cat >>conftest.
$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 #include <ac_nonexistent.h>
17678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17679 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } >/dev
/null
; then
17686 if test -s conftest.err
; then
17687 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17694 if test -z "$ac_cpp_err"; then
17695 # Broken: success on invalid input.
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.
$ac_ext >&5
17701 # Passes both tests.
17705 rm -f conftest.err conftest.
$ac_ext
17708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17709 rm -f conftest.err conftest.
$ac_ext
17710 if $ac_preproc_ok; then
17713 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17714 See \`config.log' for more details." >&5
17715 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17716 See \`config.log' for more details." >&2;}
17717 { (exit 1); exit 1; }; }
17721 ac_cpp
='$CXXCPP $CPPFLAGS'
17722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17728 if test "$cross_compiling" = "yes"; then
17729 cat >>confdefs.h
<<\_ACEOF
17730 #define wxUSE_IOSTREAMH 1
17737 ac_cpp
='$CXXCPP $CPPFLAGS'
17738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17744 for ac_header
in iostream
17746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17748 echo "$as_me:$LINENO: checking for $ac_header" >&5
17749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17756 # Is the header compilable?
17757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17759 cat >conftest.
$ac_ext <<_ACEOF
17760 #line $LINENO "configure"
17763 cat confdefs.h
>>conftest.
$ac_ext
17764 cat >>conftest.
$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766 $ac_includes_default
17767 #include <$ac_header>
17769 rm -f conftest.
$ac_objext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17771 (eval $ac_compile) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try
='test -s conftest.$ac_objext'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; }; then
17781 ac_header_compiler
=yes
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.
$ac_ext >&5
17786 ac_header_compiler
=no
17788 rm -f conftest.
$ac_objext conftest.
$ac_ext
17789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17790 echo "${ECHO_T}$ac_header_compiler" >&6
17792 # Is the header present?
17793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17795 cat >conftest.
$ac_ext <<_ACEOF
17796 #line $LINENO "configure"
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <$ac_header>
17804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17807 grep -v '^ *+' conftest.er1
>conftest.err
17809 cat conftest.err
>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } >/dev
/null
; then
17812 if test -s conftest.err
; then
17813 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17820 if test -z "$ac_cpp_err"; then
17821 ac_header_preproc
=yes
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.
$ac_ext >&5
17826 ac_header_preproc
=no
17828 rm -f conftest.err conftest.
$ac_ext
17829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17830 echo "${ECHO_T}$ac_header_preproc" >&6
17832 # So? What about this header?
17833 case $ac_header_compiler:$ac_header_preproc in
17835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17841 ## ------------------------------------ ##
17842 ## Report this to bug-autoconf@gnu.org. ##
17843 ## ------------------------------------ ##
17846 sed "s/^/$as_me: WARNING: /" >&2
17849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17857 ## ------------------------------------ ##
17858 ## Report this to bug-autoconf@gnu.org. ##
17859 ## ------------------------------------ ##
17862 sed "s/^/$as_me: WARNING: /" >&2
17865 echo "$as_me:$LINENO: checking for $ac_header" >&5
17866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17870 eval "$as_ac_Header=$ac_header_preproc"
17872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17877 cat >>confdefs.h
<<_ACEOF
17878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17886 if test "$ac_cv_header_iostream" = "yes" ; then
17889 cat >>confdefs.h
<<\_ACEOF
17890 #define wxUSE_IOSTREAMH 1
17896 ac_cpp
='$CPP $CPPFLAGS'
17897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17905 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17906 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17907 if test "${wx_cv_cpp_bool+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17914 ac_cpp
='$CXXCPP $CPPFLAGS'
17915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17920 cat >conftest.
$ac_ext <<_ACEOF
17921 #line $LINENO "configure"
17924 cat confdefs.h
>>conftest.
$ac_ext
17925 cat >>conftest.
$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17941 rm -f conftest.
$ac_objext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17943 (eval $ac_compile) 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } &&
17947 { ac_try
='test -s conftest.$ac_objext'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.
$ac_ext >&5
17965 rm -f conftest.
$ac_objext conftest.
$ac_ext
17968 ac_cpp
='$CPP $CPPFLAGS'
17969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17975 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17976 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17978 if test "$wx_cv_cpp_bool" = "yes"; then
17979 cat >>confdefs.h
<<\_ACEOF
17980 #define HAVE_BOOL 1
17987 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17988 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17989 if test "${wx_cv_explicit+set}" = set; then
17990 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 ac_cpp
='$CXXCPP $CPPFLAGS'
17997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18002 cat >conftest.
$ac_ext <<_ACEOF
18003 #line $LINENO "configure"
18006 cat confdefs.h
>>conftest.
$ac_ext
18007 cat >>conftest.
$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18010 class Foo { public: explicit Foo(int) {} };
18022 rm -f conftest.
$ac_objext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18024 (eval $ac_compile) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } &&
18028 { ac_try
='test -s conftest.$ac_objext'
18029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030 (eval $ac_try) 2>&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); }; }; then
18035 cat >conftest.
$ac_ext <<_ACEOF
18036 #line $LINENO "configure"
18039 cat confdefs.h
>>conftest.
$ac_ext
18040 cat >>conftest.
$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18043 class Foo { public: explicit Foo(int) {} };
18044 static void TakeFoo(const Foo& foo) { }
18057 rm -f conftest.
$ac_objext
18058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18059 (eval $ac_compile) 2>&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } &&
18063 { ac_try
='test -s conftest.$ac_objext'
18064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18065 (eval $ac_try) 2>&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); }; }; then
18071 echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.
$ac_ext >&5
18077 rm -f conftest.
$ac_objext conftest.
$ac_ext
18080 echo "$as_me: failed program was:" >&5
18081 sed 's/^/| /' conftest.
$ac_ext >&5
18086 rm -f conftest.
$ac_objext conftest.
$ac_ext
18089 ac_cpp
='$CPP $CPPFLAGS'
18090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18096 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18097 echo "${ECHO_T}$wx_cv_explicit" >&6
18099 if test "$wx_cv_explicit" = "yes"; then
18100 cat >>confdefs.h
<<\_ACEOF
18101 #define HAVE_EXPLICIT 1
18107 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18108 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18109 if test "${ac_cv_cxx_const_cast+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 ac_cpp
='$CXXCPP $CPPFLAGS'
18116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18120 cat >conftest.
$ac_ext <<_ACEOF
18121 #line $LINENO "configure"
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18131 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18136 rm -f conftest.
$ac_objext
18137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18138 (eval $ac_compile) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } &&
18142 { ac_try
='test -s conftest.$ac_objext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18148 ac_cv_cxx_const_cast
=yes
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.
$ac_ext >&5
18153 ac_cv_cxx_const_cast
=no
18155 rm -f conftest.
$ac_objext conftest.
$ac_ext
18157 ac_cpp
='$CPP $CPPFLAGS'
18158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18164 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18165 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18166 if test "$ac_cv_cxx_const_cast" = yes; then
18168 cat >>confdefs.h
<<\_ACEOF
18169 #define HAVE_CONST_CAST
18174 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18175 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18176 if test "${ac_cv_cxx_static_cast+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 ac_cpp
='$CXXCPP $CPPFLAGS'
18183 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18187 cat >conftest.
$ac_ext <<_ACEOF
18188 #line $LINENO "configure"
18191 cat confdefs.h
>>conftest.
$ac_ext
18192 cat >>conftest.
$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 #include <typeinfo>
18195 class Base { public : Base () {} virtual void f () = 0; };
18196 class Derived : public Base { public : Derived () {} virtual void f () {} };
18197 int g (Derived&) { return 0; }
18202 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18207 rm -f conftest.
$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } &&
18213 { ac_try
='test -s conftest.$ac_objext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_cv_cxx_static_cast
=yes
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.
$ac_ext >&5
18224 ac_cv_cxx_static_cast
=no
18226 rm -f conftest.
$ac_objext conftest.
$ac_ext
18228 ac_cpp
='$CPP $CPPFLAGS'
18229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18235 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18236 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18237 if test "$ac_cv_cxx_static_cast" = yes; then
18239 cat >>confdefs.h
<<\_ACEOF
18240 #define HAVE_STATIC_CAST
18246 if test "$wxUSE_STL" = "yes"; then
18248 ac_cpp
='$CXXCPP $CPPFLAGS'
18249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18254 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18255 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18256 cat >conftest.
$ac_ext <<_ACEOF
18257 #line $LINENO "configure"
18260 cat confdefs.h
>>conftest.
$ac_ext
18261 cat >>conftest.
$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18264 #include <functional>
18265 #include <algorithm>
18271 std::vector<int> moo;
18272 std::list<int> foo;
18273 std::vector<int>::iterator it =
18274 std::find_if(moo.begin(), moo.end(),
18275 std::bind2nd(std::less<int>(), 3));
18280 rm -f conftest.
$ac_objext
18281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18282 (eval $ac_compile) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try
='test -s conftest.$ac_objext'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; }; then
18292 echo "$as_me:$LINENO: result: yes" >&5
18293 echo "${ECHO_T}yes" >&6
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 echo "$as_me:$LINENO: result: no" >&5
18299 echo "${ECHO_T}no" >&6
18300 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18301 echo "$as_me: error: Basic STL functionality missing" >&2;}
18302 { (exit 1); exit 1; }; }
18304 rm -f conftest.
$ac_objext conftest.
$ac_ext
18306 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18307 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18308 cat >conftest.
$ac_ext <<_ACEOF
18309 #line $LINENO "configure"
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18324 rm -f conftest.
$ac_objext
18325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18326 (eval $ac_compile) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try
='test -s conftest.$ac_objext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18336 echo "$as_me:$LINENO: result: yes" >&5
18337 echo "${ECHO_T}yes" >&6
18338 cat >>confdefs.h
<<\_ACEOF
18339 #define HAVE_STD_WSTRING 1
18343 echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.
$ac_ext >&5
18346 echo "$as_me:$LINENO: result: no" >&5
18347 echo "${ECHO_T}no" >&6
18349 rm -f conftest.
$ac_objext conftest.
$ac_ext
18351 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18352 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18353 cat >conftest.
$ac_ext <<_ACEOF
18354 #line $LINENO "configure"
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18364 std::string foo, bar;
18366 foo.compare(1, 1, bar);
18367 foo.compare(1, 1, bar, 1, 1);
18369 foo.compare(1, 1, "");
18370 foo.compare(1, 1, "", 2);
18375 rm -f conftest.
$ac_objext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18377 (eval $ac_compile) 2>&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try
='test -s conftest.$ac_objext'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; }; then
18387 echo "$as_me:$LINENO: result: yes" >&5
18388 echo "${ECHO_T}yes" >&6
18389 cat >>confdefs.h
<<\_ACEOF
18390 #define HAVE_STD_STRING_COMPARE 1
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.
$ac_ext >&5
18397 echo "$as_me:$LINENO: result: no" >&5
18398 echo "${ECHO_T}no" >&6
18400 rm -f conftest.
$ac_objext conftest.
$ac_ext
18403 ac_cpp
='$CPP $CPPFLAGS'
18404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18412 /usr/local/include \
18414 /usr/Motif-2.1/include \
18415 /usr/Motif-1.2/include \
18416 /usr/include/Motif1.2 \
18417 /opt/xpm/include/X11 \
18418 /opt/GBxpm/include/ \
18419 /opt/GBxpm/X11/include/ \
18422 /usr/openwin/include \
18426 /usr/X11R6/include \
18427 /usr/X11R6.4/include \
18428 /usr/X11R5/include \
18429 /usr/X11R4/include \
18431 /usr/include/X11R6 \
18432 /usr/include/X11R5 \
18433 /usr/include/X11R4 \
18435 /usr/local/X11R6/include \
18436 /usr/local/X11R5/include \
18437 /usr/local/X11R4/include \
18439 /usr/local/include/X11R6 \
18440 /usr/local/include/X11R5 \
18441 /usr/local/include/X11R4 \
18445 /usr/local/X11/include \
18446 /usr/local/include/X11 \
18448 /usr/X386/include \
18449 /usr/x386/include \
18450 /usr/XFree86/include/X11 \
18452 X:/XFree86/include \
18453 X:/XFree86/include/X11 \
18456 /usr/local/include/gtk \
18457 /usr/include/glib \
18458 /usr/local/include/glib \
18461 /usr/local/include/qt \
18463 /usr/include/windows \
18464 /usr/include/wine \
18465 /usr/local/include/wine \
18467 /usr/unsupported/include \
18468 /usr/athena/include \
18469 /usr/local/x11r5/include \
18470 /usr/lpp/Xamples/include \
18472 /usr/openwin/share/include"
18474 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18477 cat >confcache
<<\_ACEOF
18478 # This file is a shell script that caches the results of configure
18479 # tests run on this system so they can be shared between configure
18480 # scripts and configure runs, see configure's option --config-cache.
18481 # It is not useful on other systems. If it contains results you don't
18482 # want to keep, you may remove or edit it.
18484 # config.status only pays attention to the cache file if you give it
18485 # the --recheck option to rerun configure.
18487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18489 # following values.
18493 # The following way of writing the cache mishandles newlines in values,
18494 # but we know of no workaround that is simple, portable, and efficient.
18495 # So, don't put newlines in cache variables' values.
18496 # Ultrix sh set writes to stderr and can't be redirected directly,
18497 # and sets the high bit in the cache file unless we assign to the vars.
18500 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18502 # `set' does not quote correctly, so add quotes (double-quote
18503 # substitution turns \\\\ into \\, and sed turns \\ into \).
18506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18509 # `set' quotes correctly as required by POSIX, so do not add quotes.
18511 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18518 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18520 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18522 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18523 if test -w $cache_file; then
18524 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18525 cat confcache
>$cache_file
18527 echo "not updating unwritable cache $cache_file"
18532 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18533 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18534 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18535 if test "${wx_cv_lib_glibc21+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 cat >conftest.
$ac_ext <<_ACEOF
18540 #line $LINENO "configure"
18543 cat confdefs.h
>>conftest.
$ac_ext
18544 cat >>conftest.
$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 #include <features.h>
18551 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18552 #error not glibc2.1
18559 rm -f conftest.
$ac_objext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18561 (eval $ac_compile) 2>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try
='test -s conftest.$ac_objext'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; }; then
18572 wx_cv_lib_glibc21
=yes
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.
$ac_ext >&5
18579 wx_cv_lib_glibc21
=no
18583 rm -f conftest.
$ac_objext conftest.
$ac_ext
18586 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18587 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18588 if test "$wx_cv_lib_glibc21" = "yes"; then
18589 cat >>confdefs.h
<<\_ACEOF
18590 #define wxHAVE_GLIBC2 1
18596 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18597 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18598 cat >>confdefs.h
<<\_ACEOF
18599 #define _GNU_SOURCE 1
18607 if test "$wxUSE_REGEX" != "no"; then
18608 cat >>confdefs.h
<<\_ACEOF
18609 #define wxUSE_REGEX 1
18613 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18614 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18615 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18616 wxUSE_REGEX
=builtin
18619 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18620 if test "${ac_cv_header_regex_h+set}" = set; then
18621 echo "$as_me:$LINENO: checking for regex.h" >&5
18622 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18623 if test "${ac_cv_header_regex_h+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18627 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18629 # Is the header compilable?
18630 echo "$as_me:$LINENO: checking regex.h usability" >&5
18631 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18632 cat >conftest.
$ac_ext <<_ACEOF
18633 #line $LINENO "configure"
18636 cat confdefs.h
>>conftest.
$ac_ext
18637 cat >>conftest.
$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 $ac_includes_default
18642 rm -f conftest.
$ac_objext
18643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18644 (eval $ac_compile) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } &&
18648 { ac_try
='test -s conftest.$ac_objext'
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 (eval $ac_try) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; }; then
18654 ac_header_compiler
=yes
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.
$ac_ext >&5
18659 ac_header_compiler
=no
18661 rm -f conftest.
$ac_objext conftest.
$ac_ext
18662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18663 echo "${ECHO_T}$ac_header_compiler" >&6
18665 # Is the header present?
18666 echo "$as_me:$LINENO: checking regex.h presence" >&5
18667 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18668 cat >conftest.
$ac_ext <<_ACEOF
18669 #line $LINENO "configure"
18672 cat confdefs.h
>>conftest.
$ac_ext
18673 cat >>conftest.
$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18678 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18680 grep -v '^ *+' conftest.er1
>conftest.err
18682 cat conftest.err
>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } >/dev
/null
; then
18685 if test -s conftest.err
; then
18686 ac_cpp_err
=$ac_c_preproc_warn_flag
18693 if test -z "$ac_cpp_err"; then
18694 ac_header_preproc
=yes
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.
$ac_ext >&5
18699 ac_header_preproc
=no
18701 rm -f conftest.err conftest.
$ac_ext
18702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18703 echo "${ECHO_T}$ac_header_preproc" >&6
18705 # So? What about this header?
18706 case $ac_header_compiler:$ac_header_preproc in
18708 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18709 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18710 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18711 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18714 ## ------------------------------------ ##
18715 ## Report this to bug-autoconf@gnu.org. ##
18716 ## ------------------------------------ ##
18719 sed "s/^/$as_me: WARNING: /" >&2
18722 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18723 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18725 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18727 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18730 ## ------------------------------------ ##
18731 ## Report this to bug-autoconf@gnu.org. ##
18732 ## ------------------------------------ ##
18735 sed "s/^/$as_me: WARNING: /" >&2
18738 echo "$as_me:$LINENO: checking for regex.h" >&5
18739 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18740 if test "${ac_cv_header_regex_h+set}" = set; then
18741 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 ac_cv_header_regex_h
=$ac_header_preproc
18745 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18746 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18749 if test $ac_cv_header_regex_h = yes; then
18751 for ac_func
in regcomp
18753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18754 echo "$as_me:$LINENO: checking for $ac_func" >&5
18755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18756 if eval "test \"\${$as_ac_var+set}\" = set"; then
18757 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 cat >conftest.
$ac_ext <<_ACEOF
18760 #line $LINENO "configure"
18763 cat confdefs.h
>>conftest.
$ac_ext
18764 cat >>conftest.
$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 /* System header to define __stub macros and hopefully few prototypes,
18767 which can conflict with char $ac_func (); below.
18768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18769 <limits.h> exists even on freestanding compilers. */
18771 # include <limits.h>
18773 # include <assert.h>
18775 /* Override any gcc2 internal prototype to avoid an error. */
18780 /* We use char because int might match the return type of a gcc2
18781 builtin and then its argument prototype would still apply. */
18783 /* The GNU C library defines this for functions which it implements
18784 to always fail with ENOSYS. Some functions are actually named
18785 something starting with __ and the normal name is an alias. */
18786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18789 char (*f) () = $ac_func;
18798 return f != $ac_func;
18803 rm -f conftest.
$ac_objext conftest
$ac_exeext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18805 (eval $ac_link) 2>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try
='test -s conftest$ac_exeext'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; }; then
18815 eval "$as_ac_var=yes"
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.
$ac_ext >&5
18820 eval "$as_ac_var=no"
18822 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18826 if test `eval echo '${'$as_ac_var'}'` = yes; then
18827 cat >>confdefs.h
<<_ACEOF
18828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18838 if test "x$ac_cv_func_regcomp" != "xyes"; then
18839 if test "$wxUSE_REGEX" = "sys" ; then
18840 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18841 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18842 { (exit 1); exit 1; }; }
18844 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18845 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18846 wxUSE_REGEX
=builtin
18856 if test "$wxUSE_ZLIB" != "no" ; then
18857 cat >>confdefs.h
<<\_ACEOF
18858 #define wxUSE_ZLIB 1
18862 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18863 if test "$USE_DARWIN" = 1; then
18864 system_zlib_h_ok
="yes"
18866 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18867 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18868 if test "${ac_cv_header_zlib_h+set}" = set; then
18869 echo $ECHO_N "(cached) $ECHO_C" >&6
18871 if test "$cross_compiling" = yes; then
18872 unset ac_cv_header_zlib_h
18875 cat >conftest.
$ac_ext <<_ACEOF
18876 #line $LINENO "configure"
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18888 FILE *f=fopen("conftestval", "w");
18891 ZLIB_VERSION[0] == '1' &&
18892 (ZLIB_VERSION[2] > '1' ||
18893 (ZLIB_VERSION[2] == '1' &&
18894 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18899 rm -f conftest
$ac_exeext
18900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18901 (eval $ac_link) 2>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_cv_header_zlib_h
=`cat conftestval`
18912 echo "$as_me: program exited with status $ac_status" >&5
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.
$ac_ext >&5
18916 ( exit $ac_status )
18917 ac_cv_header_zlib_h
=no
18919 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18923 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18924 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18925 if test "${ac_cv_header_zlib_h+set}" = set; then
18926 echo "$as_me:$LINENO: checking for zlib.h" >&5
18927 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18928 if test "${ac_cv_header_zlib_h+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18932 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18934 # Is the header compilable?
18935 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18936 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18937 cat >conftest.
$ac_ext <<_ACEOF
18938 #line $LINENO "configure"
18941 cat confdefs.h
>>conftest.
$ac_ext
18942 cat >>conftest.
$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 $ac_includes_default
18947 rm -f conftest.
$ac_objext
18948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18949 (eval $ac_compile) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try
='test -s conftest.$ac_objext'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; }; then
18959 ac_header_compiler
=yes
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.
$ac_ext >&5
18964 ac_header_compiler
=no
18966 rm -f conftest.
$ac_objext conftest.
$ac_ext
18967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18968 echo "${ECHO_T}$ac_header_compiler" >&6
18970 # Is the header present?
18971 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18972 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18973 cat >conftest.
$ac_ext <<_ACEOF
18974 #line $LINENO "configure"
18977 cat confdefs.h
>>conftest.
$ac_ext
18978 cat >>conftest.
$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18983 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18985 grep -v '^ *+' conftest.er1
>conftest.err
18987 cat conftest.err
>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } >/dev
/null
; then
18990 if test -s conftest.err
; then
18991 ac_cpp_err
=$ac_c_preproc_warn_flag
18998 if test -z "$ac_cpp_err"; then
18999 ac_header_preproc
=yes
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.
$ac_ext >&5
19004 ac_header_preproc
=no
19006 rm -f conftest.err conftest.
$ac_ext
19007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19008 echo "${ECHO_T}$ac_header_preproc" >&6
19010 # So? What about this header?
19011 case $ac_header_compiler:$ac_header_preproc in
19013 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19014 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19015 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19016 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19019 ## ------------------------------------ ##
19020 ## Report this to bug-autoconf@gnu.org. ##
19021 ## ------------------------------------ ##
19024 sed "s/^/$as_me: WARNING: /" >&2
19027 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19028 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19029 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19030 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19031 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19032 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19035 ## ------------------------------------ ##
19036 ## Report this to bug-autoconf@gnu.org. ##
19037 ## ------------------------------------ ##
19040 sed "s/^/$as_me: WARNING: /" >&2
19043 echo "$as_me:$LINENO: checking for zlib.h" >&5
19044 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19045 if test "${ac_cv_header_zlib_h+set}" = set; then
19046 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 ac_cv_header_zlib_h
=$ac_header_preproc
19050 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19051 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19057 system_zlib_h_ok
=$ac_cv_header_zlib_h
19060 if test "$system_zlib_h_ok" = "yes"; then
19061 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19062 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19063 if test "${ac_cv_lib_z_deflate+set}" = set; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 ac_check_lib_save_LIBS
=$LIBS
19068 cat >conftest.
$ac_ext <<_ACEOF
19069 #line $LINENO "configure"
19072 cat confdefs.h
>>conftest.
$ac_ext
19073 cat >>conftest.
$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19076 /* Override any gcc2 internal prototype to avoid an error. */
19080 /* We use char because int might match the return type of a gcc2
19081 builtin and then its argument prototype would still apply. */
19091 rm -f conftest.
$ac_objext conftest
$ac_exeext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19093 (eval $ac_link) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } &&
19097 { ac_try
='test -s conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_cv_lib_z_deflate
=yes
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 ac_cv_lib_z_deflate
=no
19110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19111 LIBS
=$ac_check_lib_save_LIBS
19113 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19114 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19115 if test $ac_cv_lib_z_deflate = yes; then
19121 if test "x$ZLIB_LINK" = "x" ; then
19122 if test "$wxUSE_ZLIB" = "sys" ; then
19123 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19124 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19125 { (exit 1); exit 1; }; }
19127 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19128 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19139 if test "$wxUSE_LIBPNG" != "no" ; then
19140 cat >>confdefs.h
<<\_ACEOF
19141 #define wxUSE_LIBPNG 1
19145 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19146 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19147 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19151 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19152 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19153 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19154 wxUSE_LIBPNG
=builtin
19157 if test "$wxUSE_MGL" != 1 ; then
19158 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19159 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19160 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19161 if test "${ac_cv_header_png_h+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 if test "$cross_compiling" = yes; then
19165 unset ac_cv_header_png_h
19168 cat >conftest.
$ac_ext <<_ACEOF
19169 #line $LINENO "configure"
19172 cat confdefs.h
>>conftest.
$ac_ext
19173 cat >>conftest.
$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19181 FILE *f=fopen("conftestval", "w");
19184 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19189 rm -f conftest
$ac_exeext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19191 (eval $ac_link) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19196 (eval $ac_try) 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; }; then
19200 ac_cv_header_png_h
=`cat conftestval`
19202 echo "$as_me: program exited with status $ac_status" >&5
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.
$ac_ext >&5
19206 ( exit $ac_status )
19207 ac_cv_header_png_h
=no
19209 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19213 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19214 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19215 if test "${ac_cv_header_png_h+set}" = set; then
19216 echo "$as_me:$LINENO: checking for png.h" >&5
19217 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19218 if test "${ac_cv_header_png_h+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19222 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19224 # Is the header compilable?
19225 echo "$as_me:$LINENO: checking png.h usability" >&5
19226 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19227 cat >conftest.
$ac_ext <<_ACEOF
19228 #line $LINENO "configure"
19231 cat confdefs.h
>>conftest.
$ac_ext
19232 cat >>conftest.
$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19237 rm -f conftest.
$ac_objext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19239 (eval $ac_compile) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try
='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_header_compiler
=yes
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ac_header_compiler
=no
19256 rm -f conftest.
$ac_objext conftest.
$ac_ext
19257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19258 echo "${ECHO_T}$ac_header_compiler" >&6
19260 # Is the header present?
19261 echo "$as_me:$LINENO: checking png.h presence" >&5
19262 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19263 cat >conftest.
$ac_ext <<_ACEOF
19264 #line $LINENO "configure"
19267 cat confdefs.h
>>conftest.
$ac_ext
19268 cat >>conftest.
$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19275 grep -v '^ *+' conftest.er1
>conftest.err
19277 cat conftest.err
>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } >/dev
/null
; then
19280 if test -s conftest.err
; then
19281 ac_cpp_err
=$ac_c_preproc_warn_flag
19288 if test -z "$ac_cpp_err"; then
19289 ac_header_preproc
=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.
$ac_ext >&5
19294 ac_header_preproc
=no
19296 rm -f conftest.err conftest.
$ac_ext
19297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19298 echo "${ECHO_T}$ac_header_preproc" >&6
19300 # So? What about this header?
19301 case $ac_header_compiler:$ac_header_preproc in
19303 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19304 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19305 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19306 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19309 ## ------------------------------------ ##
19310 ## Report this to bug-autoconf@gnu.org. ##
19311 ## ------------------------------------ ##
19314 sed "s/^/$as_me: WARNING: /" >&2
19317 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19318 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19319 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19320 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19321 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19322 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19325 ## ------------------------------------ ##
19326 ## Report this to bug-autoconf@gnu.org. ##
19327 ## ------------------------------------ ##
19330 sed "s/^/$as_me: WARNING: /" >&2
19333 echo "$as_me:$LINENO: checking for png.h" >&5
19334 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19335 if test "${ac_cv_header_png_h+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19338 ac_cv_header_png_h
=$ac_header_preproc
19340 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19341 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19347 if test "$ac_cv_header_png_h" = "yes"; then
19348 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19349 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19350 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19353 ac_check_lib_save_LIBS
=$LIBS
19354 LIBS
="-lpng -lz -lm $LIBS"
19355 cat >conftest.
$ac_ext <<_ACEOF
19356 #line $LINENO "configure"
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19363 /* Override any gcc2 internal prototype to avoid an error. */
19367 /* We use char because int might match the return type of a gcc2
19368 builtin and then its argument prototype would still apply. */
19369 char png_check_sig ();
19378 rm -f conftest.
$ac_objext conftest
$ac_exeext
19379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19380 (eval $ac_link) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try
='test -s conftest$ac_exeext'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_lib_png_png_check_sig
=yes
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.
$ac_ext >&5
19395 ac_cv_lib_png_png_check_sig
=no
19397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19398 LIBS
=$ac_check_lib_save_LIBS
19400 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19401 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19402 if test $ac_cv_lib_png_png_check_sig = yes; then
19408 if test "x$PNG_LINK" = "x" ; then
19409 if test "$wxUSE_LIBPNG" = "sys" ; then
19410 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19411 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19412 { (exit 1); exit 1; }; }
19414 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19415 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19416 wxUSE_LIBPNG
=builtin
19424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
19429 if test "$wxUSE_LIBJPEG" != "no" ; then
19430 cat >>confdefs.h
<<\_ACEOF
19431 #define wxUSE_LIBJPEG 1
19435 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19436 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19437 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19441 if test "$wxUSE_MGL" != 1 ; then
19442 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19443 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19444 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19445 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19448 cat >conftest.
$ac_ext <<_ACEOF
19449 #line $LINENO "configure"
19452 cat confdefs.h
>>conftest.
$ac_ext
19453 cat >>conftest.
$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19456 #undef HAVE_STDLIB_H
19458 #include <jpeglib.h>
19469 rm -f conftest.
$ac_objext
19470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19471 (eval $ac_compile) 2>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); } &&
19475 { ac_try
='test -s conftest.$ac_objext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19481 ac_cv_header_jpeglib_h
=yes
19483 echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.
$ac_ext >&5
19486 ac_cv_header_jpeglib_h
=no
19489 rm -f conftest.
$ac_objext conftest.
$ac_ext
19493 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19494 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19496 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19497 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19498 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19499 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19502 ac_check_lib_save_LIBS
=$LIBS
19503 LIBS
="-ljpeg $LIBS"
19504 cat >conftest.
$ac_ext <<_ACEOF
19505 #line $LINENO "configure"
19508 cat confdefs.h
>>conftest.
$ac_ext
19509 cat >>conftest.
$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19512 /* Override any gcc2 internal prototype to avoid an error. */
19516 /* We use char because int might match the return type of a gcc2
19517 builtin and then its argument prototype would still apply. */
19518 char jpeg_read_header ();
19522 jpeg_read_header ();
19527 rm -f conftest.
$ac_objext conftest
$ac_exeext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19529 (eval $ac_link) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } &&
19533 { ac_try
='test -s conftest$ac_exeext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_cv_lib_jpeg_jpeg_read_header
=yes
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.
$ac_ext >&5
19544 ac_cv_lib_jpeg_jpeg_read_header
=no
19546 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19547 LIBS
=$ac_check_lib_save_LIBS
19549 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19550 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19551 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19552 JPEG_LINK
=" -ljpeg"
19557 if test "x$JPEG_LINK" = "x" ; then
19558 if test "$wxUSE_LIBJPEG" = "sys" ; then
19559 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19560 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19561 { (exit 1); exit 1; }; }
19563 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19564 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19565 wxUSE_LIBJPEG
=builtin
19576 TIFF_PREREQ_LINKS
=-lm
19577 if test "$wxUSE_LIBTIFF" != "no" ; then
19578 cat >>confdefs.h
<<\_ACEOF
19579 #define wxUSE_LIBTIFF 1
19583 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19584 if test "$wxUSE_LIBJPEG" = "sys"; then
19585 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19587 if test "$wxUSE_ZLIB" = "sys"; then
19588 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19590 if test "${ac_cv_header_tiffio_h+set}" = set; then
19591 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19592 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19593 if test "${ac_cv_header_tiffio_h+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19597 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19599 # Is the header compilable?
19600 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19601 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19602 cat >conftest.
$ac_ext <<_ACEOF
19603 #line $LINENO "configure"
19606 cat confdefs.h
>>conftest.
$ac_ext
19607 cat >>conftest.
$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610 #include <tiffio.h>
19612 rm -f conftest.
$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } &&
19618 { ac_try
='test -s conftest.$ac_objext'
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_header_compiler
=yes
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.
$ac_ext >&5
19629 ac_header_compiler
=no
19631 rm -f conftest.
$ac_objext conftest.
$ac_ext
19632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19633 echo "${ECHO_T}$ac_header_compiler" >&6
19635 # Is the header present?
19636 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19637 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19638 cat >conftest.
$ac_ext <<_ACEOF
19639 #line $LINENO "configure"
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 #include <tiffio.h>
19647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19650 grep -v '^ *+' conftest.er1
>conftest.err
19652 cat conftest.err
>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } >/dev
/null
; then
19655 if test -s conftest.err
; then
19656 ac_cpp_err
=$ac_c_preproc_warn_flag
19663 if test -z "$ac_cpp_err"; then
19664 ac_header_preproc
=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.
$ac_ext >&5
19669 ac_header_preproc
=no
19671 rm -f conftest.err conftest.
$ac_ext
19672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19673 echo "${ECHO_T}$ac_header_preproc" >&6
19675 # So? What about this header?
19676 case $ac_header_compiler:$ac_header_preproc in
19678 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19679 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19680 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19681 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19684 ## ------------------------------------ ##
19685 ## Report this to bug-autoconf@gnu.org. ##
19686 ## ------------------------------------ ##
19689 sed "s/^/$as_me: WARNING: /" >&2
19692 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19693 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19694 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19695 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19696 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19697 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19700 ## ------------------------------------ ##
19701 ## Report this to bug-autoconf@gnu.org. ##
19702 ## ------------------------------------ ##
19705 sed "s/^/$as_me: WARNING: /" >&2
19708 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19709 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19710 if test "${ac_cv_header_tiffio_h+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 ac_cv_header_tiffio_h
=$ac_header_preproc
19715 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19716 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19719 if test $ac_cv_header_tiffio_h = yes; then
19721 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19722 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19723 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 ac_check_lib_save_LIBS
=$LIBS
19727 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19728 cat >conftest.
$ac_ext <<_ACEOF
19729 #line $LINENO "configure"
19732 cat confdefs.h
>>conftest.
$ac_ext
19733 cat >>conftest.
$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19736 /* Override any gcc2 internal prototype to avoid an error. */
19740 /* We use char because int might match the return type of a gcc2
19741 builtin and then its argument prototype would still apply. */
19751 rm -f conftest.
$ac_objext conftest
$ac_exeext
19752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19753 (eval $ac_link) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try
='test -s conftest$ac_exeext'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; }; then
19763 ac_cv_lib_tiff_TIFFError
=yes
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.
$ac_ext >&5
19768 ac_cv_lib_tiff_TIFFError
=no
19770 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19771 LIBS
=$ac_check_lib_save_LIBS
19773 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19774 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19775 if test $ac_cv_lib_tiff_TIFFError = yes; then
19776 TIFF_LINK
=" -ltiff"
19785 if test "x$TIFF_LINK" = "x" ; then
19786 if test "$wxUSE_LIBTIFF" = "sys" ; then
19787 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19788 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19789 { (exit 1); exit 1; }; }
19791 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19792 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19793 wxUSE_LIBTIFF
=builtin
19802 if test "$wxUSE_EXPAT" != "no"; then
19804 cat >>confdefs.h
<<\_ACEOF
19805 #define wxUSE_EXPAT 1
19808 cat >>confdefs.h
<<\_ACEOF
19809 #define wxUSE_XML 1
19813 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19814 if test "${ac_cv_header_expat_h+set}" = set; then
19815 echo "$as_me:$LINENO: checking for expat.h" >&5
19816 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19817 if test "${ac_cv_header_expat_h+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19821 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19823 # Is the header compilable?
19824 echo "$as_me:$LINENO: checking expat.h usability" >&5
19825 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19826 cat >conftest.
$ac_ext <<_ACEOF
19827 #line $LINENO "configure"
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 $ac_includes_default
19836 rm -f conftest.
$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try
='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_header_compiler
=yes
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.
$ac_ext >&5
19853 ac_header_compiler
=no
19855 rm -f conftest.
$ac_objext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19857 echo "${ECHO_T}$ac_header_compiler" >&6
19859 # Is the header present?
19860 echo "$as_me:$LINENO: checking expat.h presence" >&5
19861 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19862 cat >conftest.
$ac_ext <<_ACEOF
19863 #line $LINENO "configure"
19866 cat confdefs.h
>>conftest.
$ac_ext
19867 cat >>conftest.
$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1
>conftest.err
19876 cat conftest.err
>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } >/dev
/null
; then
19879 if test -s conftest.err
; then
19880 ac_cpp_err
=$ac_c_preproc_warn_flag
19887 if test -z "$ac_cpp_err"; then
19888 ac_header_preproc
=yes
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.
$ac_ext >&5
19893 ac_header_preproc
=no
19895 rm -f conftest.err conftest.
$ac_ext
19896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19897 echo "${ECHO_T}$ac_header_preproc" >&6
19899 # So? What about this header?
19900 case $ac_header_compiler:$ac_header_preproc in
19902 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19903 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19904 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19905 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19908 ## ------------------------------------ ##
19909 ## Report this to bug-autoconf@gnu.org. ##
19910 ## ------------------------------------ ##
19913 sed "s/^/$as_me: WARNING: /" >&2
19916 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19917 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19919 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19920 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19921 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19924 ## ------------------------------------ ##
19925 ## Report this to bug-autoconf@gnu.org. ##
19926 ## ------------------------------------ ##
19929 sed "s/^/$as_me: WARNING: /" >&2
19932 echo "$as_me:$LINENO: checking for expat.h" >&5
19933 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19934 if test "${ac_cv_header_expat_h+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 ac_cv_header_expat_h
=$ac_header_preproc
19939 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19940 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19943 if test $ac_cv_header_expat_h = yes; then
19948 if test "x$found_expat_h" = "x1"; then
19949 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19950 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 ac_cpp
='$CXXCPP $CPPFLAGS'
19959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19963 cat >conftest.
$ac_ext <<_ACEOF
19964 #line $LINENO "configure"
19967 cat confdefs.h
>>conftest.
$ac_ext
19968 cat >>conftest.
$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19979 rm -f conftest.
$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 wx_cv_expat_is_not_broken
=yes
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 wx_cv_expat_is_not_broken
=no
19999 rm -f conftest.
$ac_objext conftest.
$ac_ext
20001 ac_cpp
='$CPP $CPPFLAGS'
20002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20009 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20010 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20011 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20012 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20013 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20014 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 ac_check_lib_save_LIBS
=$LIBS
20018 LIBS
="-lexpat $LIBS"
20019 cat >conftest.
$ac_ext <<_ACEOF
20020 #line $LINENO "configure"
20023 cat confdefs.h
>>conftest.
$ac_ext
20024 cat >>conftest.
$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20027 /* Override any gcc2 internal prototype to avoid an error. */
20031 /* We use char because int might match the return type of a gcc2
20032 builtin and then its argument prototype would still apply. */
20033 char XML_ParserCreate ();
20037 XML_ParserCreate ();
20042 rm -f conftest.
$ac_objext conftest
$ac_exeext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20044 (eval $ac_link) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try
='test -s conftest$ac_exeext'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 ac_cv_lib_expat_XML_ParserCreate
=yes
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.
$ac_ext >&5
20059 ac_cv_lib_expat_XML_ParserCreate
=no
20061 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20062 LIBS
=$ac_check_lib_save_LIBS
20064 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20065 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20066 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20067 EXPAT_LINK
=" -lexpat"
20072 if test "x$EXPAT_LINK" = "x" ; then
20073 if test "$wxUSE_EXPAT" = "sys" ; then
20074 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20075 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20076 { (exit 1); exit 1; }; }
20078 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20079 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20080 wxUSE_EXPAT
=builtin
20086 if test "$wxUSE_EXPAT" = "builtin" ; then
20089 subdirs
="$subdirs src/expat"
20096 if test "$wxUSE_LIBMSPACK" != "no"; then
20098 if test "${ac_cv_header_mspack_h+set}" = set; then
20099 echo "$as_me:$LINENO: checking for mspack.h" >&5
20100 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20101 if test "${ac_cv_header_mspack_h+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20105 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20107 # Is the header compilable?
20108 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20109 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20110 cat >conftest.
$ac_ext <<_ACEOF
20111 #line $LINENO "configure"
20114 cat confdefs.h
>>conftest.
$ac_ext
20115 cat >>conftest.
$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 $ac_includes_default
20118 #include <mspack.h>
20120 rm -f conftest.
$ac_objext
20121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20122 (eval $ac_compile) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } &&
20126 { ac_try
='test -s conftest.$ac_objext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 ac_header_compiler
=yes
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20137 ac_header_compiler
=no
20139 rm -f conftest.
$ac_objext conftest.
$ac_ext
20140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20141 echo "${ECHO_T}$ac_header_compiler" >&6
20143 # Is the header present?
20144 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20145 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20146 cat >conftest.
$ac_ext <<_ACEOF
20147 #line $LINENO "configure"
20150 cat confdefs.h
>>conftest.
$ac_ext
20151 cat >>conftest.
$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 #include <mspack.h>
20155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20156 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20158 grep -v '^ *+' conftest.er1
>conftest.err
20160 cat conftest.err
>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } >/dev
/null
; then
20163 if test -s conftest.err
; then
20164 ac_cpp_err
=$ac_c_preproc_warn_flag
20171 if test -z "$ac_cpp_err"; then
20172 ac_header_preproc
=yes
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.
$ac_ext >&5
20177 ac_header_preproc
=no
20179 rm -f conftest.err conftest.
$ac_ext
20180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20181 echo "${ECHO_T}$ac_header_preproc" >&6
20183 # So? What about this header?
20184 case $ac_header_compiler:$ac_header_preproc in
20186 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20187 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20188 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20189 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20192 ## ------------------------------------ ##
20193 ## Report this to bug-autoconf@gnu.org. ##
20194 ## ------------------------------------ ##
20197 sed "s/^/$as_me: WARNING: /" >&2
20200 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20201 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20202 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20203 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20204 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20205 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20208 ## ------------------------------------ ##
20209 ## Report this to bug-autoconf@gnu.org. ##
20210 ## ------------------------------------ ##
20213 sed "s/^/$as_me: WARNING: /" >&2
20216 echo "$as_me:$LINENO: checking for mspack.h" >&5
20217 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20218 if test "${ac_cv_header_mspack_h+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 ac_cv_header_mspack_h
=$ac_header_preproc
20223 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20224 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20227 if test $ac_cv_header_mspack_h = yes; then
20232 if test "x$found_mspack_h" = "x1"; then
20233 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20234 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20235 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 ac_check_lib_save_LIBS
=$LIBS
20239 LIBS
="-lmspack $LIBS"
20240 cat >conftest.
$ac_ext <<_ACEOF
20241 #line $LINENO "configure"
20244 cat confdefs.h
>>conftest.
$ac_ext
20245 cat >>conftest.
$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20248 /* Override any gcc2 internal prototype to avoid an error. */
20252 /* We use char because int might match the return type of a gcc2
20253 builtin and then its argument prototype would still apply. */
20254 char mspack_create_chm_decompressor ();
20258 mspack_create_chm_decompressor ();
20263 rm -f conftest.
$ac_objext conftest
$ac_exeext
20264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20265 (eval $ac_link) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } &&
20269 { ac_try
='test -s conftest$ac_exeext'
20270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20271 (eval $ac_try) 2>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }; }; then
20275 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
20277 echo "$as_me: failed program was:" >&5
20278 sed 's/^/| /' conftest.
$ac_ext >&5
20280 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
20282 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20283 LIBS
=$ac_check_lib_save_LIBS
20285 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20286 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20287 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20288 MSPACK_LINK
=" -lmspack"
20292 if test "x$MSPACK_LINK" = "x" ; then
20295 cat >>confdefs.h
<<\_ACEOF
20296 #define wxUSE_LIBMSPACK 1
20311 if test "$USE_WIN32" = 1 ; then
20313 for ac_header
in w32api.h
20315 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20317 echo "$as_me:$LINENO: checking for $ac_header" >&5
20318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20320 echo $ECHO_N "(cached) $ECHO_C" >&6
20322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20325 # Is the header compilable?
20326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20328 cat >conftest.
$ac_ext <<_ACEOF
20329 #line $LINENO "configure"
20332 cat confdefs.h
>>conftest.
$ac_ext
20333 cat >>conftest.
$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 $ac_includes_default
20336 #include <$ac_header>
20338 rm -f conftest.
$ac_objext
20339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20340 (eval $ac_compile) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try
='test -s conftest.$ac_objext'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20350 ac_header_compiler
=yes
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.
$ac_ext >&5
20355 ac_header_compiler
=no
20357 rm -f conftest.
$ac_objext conftest.
$ac_ext
20358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20359 echo "${ECHO_T}$ac_header_compiler" >&6
20361 # Is the header present?
20362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20364 cat >conftest.
$ac_ext <<_ACEOF
20365 #line $LINENO "configure"
20368 cat confdefs.h
>>conftest.
$ac_ext
20369 cat >>conftest.
$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 #include <$ac_header>
20373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20376 grep -v '^ *+' conftest.er1
>conftest.err
20378 cat conftest.err
>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } >/dev
/null
; then
20381 if test -s conftest.err
; then
20382 ac_cpp_err
=$ac_c_preproc_warn_flag
20389 if test -z "$ac_cpp_err"; then
20390 ac_header_preproc
=yes
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.
$ac_ext >&5
20395 ac_header_preproc
=no
20397 rm -f conftest.err conftest.
$ac_ext
20398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20399 echo "${ECHO_T}$ac_header_preproc" >&6
20401 # So? What about this header?
20402 case $ac_header_compiler:$ac_header_preproc in
20404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20407 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20410 ## ------------------------------------ ##
20411 ## Report this to bug-autoconf@gnu.org. ##
20412 ## ------------------------------------ ##
20415 sed "s/^/$as_me: WARNING: /" >&2
20418 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20419 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20420 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20421 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20426 ## ------------------------------------ ##
20427 ## Report this to bug-autoconf@gnu.org. ##
20428 ## ------------------------------------ ##
20431 sed "s/^/$as_me: WARNING: /" >&2
20434 echo "$as_me:$LINENO: checking for $ac_header" >&5
20435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20439 eval "$as_ac_Header=$ac_header_preproc"
20441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20446 cat >>confdefs.h
<<_ACEOF
20447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20454 if test "${ac_cv_header_windows_h+set}" = set; then
20455 echo "$as_me:$LINENO: checking for windows.h" >&5
20456 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20457 if test "${ac_cv_header_windows_h+set}" = set; then
20458 echo $ECHO_N "(cached) $ECHO_C" >&6
20460 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20461 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20463 # Is the header compilable?
20464 echo "$as_me:$LINENO: checking windows.h usability" >&5
20465 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20466 cat >conftest.
$ac_ext <<_ACEOF
20467 #line $LINENO "configure"
20470 cat confdefs.h
>>conftest.
$ac_ext
20471 cat >>conftest.
$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 $ac_includes_default
20474 #include <windows.h>
20476 rm -f conftest.
$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478 (eval $ac_compile) 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } &&
20482 { ac_try
='test -s conftest.$ac_objext'
20483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 (eval $ac_try) 2>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; }; then
20488 ac_header_compiler
=yes
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.
$ac_ext >&5
20493 ac_header_compiler
=no
20495 rm -f conftest.
$ac_objext conftest.
$ac_ext
20496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20497 echo "${ECHO_T}$ac_header_compiler" >&6
20499 # Is the header present?
20500 echo "$as_me:$LINENO: checking windows.h presence" >&5
20501 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20502 cat >conftest.
$ac_ext <<_ACEOF
20503 #line $LINENO "configure"
20506 cat confdefs.h
>>conftest.
$ac_ext
20507 cat >>conftest.
$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 #include <windows.h>
20511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20512 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20514 grep -v '^ *+' conftest.er1
>conftest.err
20516 cat conftest.err
>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } >/dev
/null
; then
20519 if test -s conftest.err
; then
20520 ac_cpp_err
=$ac_c_preproc_warn_flag
20527 if test -z "$ac_cpp_err"; then
20528 ac_header_preproc
=yes
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.
$ac_ext >&5
20533 ac_header_preproc
=no
20535 rm -f conftest.err conftest.
$ac_ext
20536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20537 echo "${ECHO_T}$ac_header_preproc" >&6
20539 # So? What about this header?
20540 case $ac_header_compiler:$ac_header_preproc in
20542 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20543 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20544 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20545 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20548 ## ------------------------------------ ##
20549 ## Report this to bug-autoconf@gnu.org. ##
20550 ## ------------------------------------ ##
20553 sed "s/^/$as_me: WARNING: /" >&2
20556 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20557 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20558 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20559 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20560 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20561 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20564 ## ------------------------------------ ##
20565 ## Report this to bug-autoconf@gnu.org. ##
20566 ## ------------------------------------ ##
20569 sed "s/^/$as_me: WARNING: /" >&2
20572 echo "$as_me:$LINENO: checking for windows.h" >&5
20573 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20574 if test "${ac_cv_header_windows_h+set}" = set; then
20575 echo $ECHO_N "(cached) $ECHO_C" >&6
20577 ac_cv_header_windows_h
=$ac_header_preproc
20579 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20580 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20583 if test $ac_cv_header_windows_h = yes; then
20587 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20588 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20589 { (exit 1); exit 1; }; }
20595 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20597 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20598 LIBS
="$LIBS -loleacc"
20603 LIBS
="$LIBS -lkernel32 -luser32"
20604 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20607 if test "$wxUSE_ODBC" = "sys" ; then
20610 if test "$wxUSE_ODBC" = "yes" ; then
20611 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20612 cat >>confdefs.h
<<\_ACEOF
20613 #define wxUSE_ODBC 1
20618 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20619 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20621 WIN32INSTALL
=win32install
20624 if test "$wxUSE_GUI" = "yes"; then
20633 if test "$wxUSE_MSW" = 1 ; then
20639 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20643 if test "$wxUSE_GTK" = 1; then
20644 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20645 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20647 gtk_version_cached
=1
20648 if test "${wx_cv_lib_gtk+set}" = set; then
20649 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 gtk_version_cached
=0
20653 echo "$as_me:$LINENO: result: " >&5
20654 echo "${ECHO_T}" >&6
20657 if test "$wxUSE_THREADS" = "yes"; then
20658 GTK_MODULES
=gthread
20662 if test "x$wxUSE_GTK2" = "xyes"; then
20663 # Check whether --enable-gtktest or --disable-gtktest was given.
20664 if test "${enable_gtktest+set}" = set; then
20665 enableval
="$enable_gtktest"
20671 pkg_config_args
=gtk
+-2.0
20672 for module
in .
$GTK_MODULES
20676 pkg_config_args
="$pkg_config_args gthread-2.0"
20683 # Extract the first word of "pkg-config", so it can be a program name with args.
20684 set dummy pkg
-config; ac_word
=$2
20685 echo "$as_me:$LINENO: checking for $ac_word" >&5
20686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20687 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 case $PKG_CONFIG in
20692 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20696 for as_dir
in $PATH
20699 test -z "$as_dir" && as_dir
=.
20700 for ac_exec_ext
in '' $ac_executable_extensions; do
20701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20702 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20709 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20713 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20715 if test -n "$PKG_CONFIG"; then
20716 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20717 echo "${ECHO_T}$PKG_CONFIG" >&6
20719 echo "$as_me:$LINENO: result: no" >&5
20720 echo "${ECHO_T}no" >&6
20724 if test x
$PKG_CONFIG != xno
; then
20725 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20728 echo *** pkg
-config too old
; version
0.7 or better required.
20736 min_gtk_version
=2.0.0
20737 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20738 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20740 if test x
$PKG_CONFIG != xno
; then
20741 ## don't try to run the test against uninstalled libtool libs
20742 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20743 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20747 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20754 if test x
"$no_gtk" = x
; then
20755 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20756 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20757 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20758 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20759 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20761 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20763 if test "x$enable_gtktest" = "xyes" ; then
20764 ac_save_CFLAGS
="$CFLAGS"
20765 ac_save_LIBS
="$LIBS"
20766 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20767 LIBS
="$GTK_LIBS $LIBS"
20769 if test "$cross_compiling" = yes; then
20770 echo $ac_n "cross compiling; assumed OK... $ac_c"
20772 cat >conftest.
$ac_ext <<_ACEOF
20773 #line $LINENO "configure"
20776 cat confdefs.h
>>conftest.
$ac_ext
20777 cat >>conftest.
$ac_ext <<_ACEOF
20778 /* end confdefs.h. */
20780 #include <gtk/gtk.h>
20782 #include <stdlib.h>
20787 int major, minor, micro;
20790 system ("touch conf.gtktest");
20792 /* HP/UX 9 (%@#!) writes to sscanf strings */
20793 tmp_version = g_strdup("$min_gtk_version");
20794 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20795 printf("%s, bad version string\n", "$min_gtk_version");
20799 if ((gtk_major_version != $gtk_config_major_version) ||
20800 (gtk_minor_version != $gtk_config_minor_version) ||
20801 (gtk_micro_version != $gtk_config_micro_version))
20803 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20804 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20805 gtk_major_version, gtk_minor_version, gtk_micro_version);
20806 printf ("*** was found! If pkg-config was correct, then it is best\n");
20807 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20808 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20809 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20810 printf("*** required on your system.\n");
20811 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20812 printf("*** to point to the correct configuration files\n");
20814 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20815 (gtk_minor_version != GTK_MINOR_VERSION) ||
20816 (gtk_micro_version != GTK_MICRO_VERSION))
20818 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20819 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20820 printf("*** library (version %d.%d.%d)\n",
20821 gtk_major_version, gtk_minor_version, gtk_micro_version);
20825 if ((gtk_major_version > major) ||
20826 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20827 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20833 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20834 gtk_major_version, gtk_minor_version, gtk_micro_version);
20835 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20836 major, minor, micro);
20837 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20839 printf("*** If you have already installed a sufficiently new version, this error\n");
20840 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20841 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20842 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20843 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20844 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20845 printf("*** so that the correct libraries are found at run-time))\n");
20852 rm -f conftest
$ac_exeext
20853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20854 (eval $ac_link) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20859 (eval $ac_try) 2>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); }; }; then
20865 echo "$as_me: program exited with status $ac_status" >&5
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.
$ac_ext >&5
20869 ( exit $ac_status )
20872 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20874 CFLAGS
="$ac_save_CFLAGS"
20875 LIBS
="$ac_save_LIBS"
20878 if test "x$no_gtk" = x
; then
20879 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20880 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20883 echo "$as_me:$LINENO: result: no" >&5
20884 echo "${ECHO_T}no" >&6
20885 if test "$PKG_CONFIG" = "no" ; then
20886 echo "*** A new enough version of pkg-config was not found."
20887 echo "*** See http://pkgconfig.sourceforge.net"
20889 if test -f conf.gtktest
; then
20892 echo "*** Could not run GTK+ test program, checking why..."
20893 ac_save_CFLAGS
="$CFLAGS"
20894 ac_save_LIBS
="$LIBS"
20895 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20896 LIBS
="$LIBS $GTK_LIBS"
20897 cat >conftest.
$ac_ext <<_ACEOF
20898 #line $LINENO "configure"
20901 cat confdefs.h
>>conftest.
$ac_ext
20902 cat >>conftest.
$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20905 #include <gtk/gtk.h>
20911 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20916 rm -f conftest.
$ac_objext conftest
$ac_exeext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20918 (eval $ac_link) 2>&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } &&
20922 { ac_try
='test -s conftest$ac_exeext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 echo "*** The test program compiled, but did not run. This usually means"
20929 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20930 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20931 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20932 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20933 echo "*** is required on your system"
20935 echo "*** If you have an old version installed, it is best to remove it, although"
20936 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.
$ac_ext >&5
20941 echo "*** The test program failed to compile or link. See the file config.log for the"
20942 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20944 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20945 CFLAGS
="$ac_save_CFLAGS"
20946 LIBS
="$ac_save_LIBS"
20959 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20960 if test "${with_gtk_prefix+set}" = set; then
20961 withval
="$with_gtk_prefix"
20962 gtk_config_prefix
="$withval"
20964 gtk_config_prefix
=""
20967 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20968 if test "${with_gtk_exec_prefix+set}" = set; then
20969 withval
="$with_gtk_exec_prefix"
20970 gtk_config_exec_prefix
="$withval"
20972 gtk_config_exec_prefix
=""
20974 # Check whether --enable-gtktest or --disable-gtktest was given.
20975 if test "${enable_gtktest+set}" = set; then
20976 enableval
="$enable_gtktest"
20982 for module
in .
$GTK_MODULES
20986 gtk_config_args
="$gtk_config_args gthread"
20991 if test x
$gtk_config_exec_prefix != x
; then
20992 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20993 if test x
${GTK_CONFIG+set} != xset
; then
20994 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20997 if test x
$gtk_config_prefix != x
; then
20998 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20999 if test x
${GTK_CONFIG+set} != xset
; then
21000 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21004 # Extract the first word of "gtk-config", so it can be a program name with args.
21005 set dummy gtk
-config; ac_word
=$2
21006 echo "$as_me:$LINENO: checking for $ac_word" >&5
21007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21008 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 case $GTK_CONFIG in
21013 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21017 for as_dir
in $PATH
21020 test -z "$as_dir" && as_dir
=.
21021 for ac_exec_ext
in '' $ac_executable_extensions; do
21022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21023 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21030 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21034 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21036 if test -n "$GTK_CONFIG"; then
21037 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21038 echo "${ECHO_T}$GTK_CONFIG" >&6
21040 echo "$as_me:$LINENO: result: no" >&5
21041 echo "${ECHO_T}no" >&6
21044 min_gtk_version
=1.2.7
21045 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21046 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21048 if test "$GTK_CONFIG" = "no" ; then
21051 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21052 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21053 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21055 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21057 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21059 if test "x$enable_gtktest" = "xyes" ; then
21060 ac_save_CFLAGS
="$CFLAGS"
21061 ac_save_LIBS
="$LIBS"
21062 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21063 LIBS
="$GTK_LIBS $LIBS"
21065 if test "$cross_compiling" = yes; then
21066 echo $ac_n "cross compiling; assumed OK... $ac_c"
21068 cat >conftest.
$ac_ext <<_ACEOF
21069 #line $LINENO "configure"
21072 cat confdefs.h
>>conftest.
$ac_ext
21073 cat >>conftest.
$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21076 #include <gtk/gtk.h>
21078 #include <stdlib.h>
21083 int major, minor, micro;
21086 system ("touch conf.gtktest");
21088 /* HP/UX 9 (%@#!) writes to sscanf strings */
21089 tmp_version = g_strdup("$min_gtk_version");
21090 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21091 printf("%s, bad version string\n", "$min_gtk_version");
21095 if ((gtk_major_version != $gtk_config_major_version) ||
21096 (gtk_minor_version != $gtk_config_minor_version) ||
21097 (gtk_micro_version != $gtk_config_micro_version))
21099 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21100 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21101 gtk_major_version, gtk_minor_version, gtk_micro_version);
21102 printf ("*** was found! If gtk-config was correct, then it is best\n");
21103 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21104 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21105 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21106 printf("*** required on your system.\n");
21107 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21108 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21109 printf("*** before re-running configure\n");
21111 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21112 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21113 (gtk_minor_version != GTK_MINOR_VERSION) ||
21114 (gtk_micro_version != GTK_MICRO_VERSION))
21116 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21117 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21118 printf("*** library (version %d.%d.%d)\n",
21119 gtk_major_version, gtk_minor_version, gtk_micro_version);
21121 #endif /* defined (GTK_MAJOR_VERSION) ... */
21124 if ((gtk_major_version > major) ||
21125 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21126 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21132 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21133 gtk_major_version, gtk_minor_version, gtk_micro_version);
21134 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21135 major, minor, micro);
21136 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21138 printf("*** If you have already installed a sufficiently new version, this error\n");
21139 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21140 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21141 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21142 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21143 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21144 printf("*** so that the correct libraries are found at run-time))\n");
21151 rm -f conftest
$ac_exeext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21153 (eval $ac_link) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21158 (eval $ac_try) 2>&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); }; }; then
21164 echo "$as_me: program exited with status $ac_status" >&5
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.
$ac_ext >&5
21168 ( exit $ac_status )
21171 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21173 CFLAGS
="$ac_save_CFLAGS"
21174 LIBS
="$ac_save_LIBS"
21177 if test "x$no_gtk" = x
; then
21178 echo "$as_me:$LINENO: result: yes" >&5
21179 echo "${ECHO_T}yes" >&6
21180 wx_cv_lib_gtk
=1.2.7
21182 echo "$as_me:$LINENO: result: no" >&5
21183 echo "${ECHO_T}no" >&6
21184 if test "$GTK_CONFIG" = "no" ; then
21185 echo "*** The gtk-config script installed by GTK could not be found"
21186 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21187 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21188 echo "*** full path to gtk-config."
21190 if test -f conf.gtktest
; then
21193 echo "*** Could not run GTK test program, checking why..."
21194 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21195 LIBS
="$LIBS $GTK_LIBS"
21196 cat >conftest.
$ac_ext <<_ACEOF
21197 #line $LINENO "configure"
21200 cat confdefs.h
>>conftest.
$ac_ext
21201 cat >>conftest.
$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21204 #include <gtk/gtk.h>
21210 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21215 rm -f conftest.
$ac_objext conftest
$ac_exeext
21216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21217 (eval $ac_link) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try
='test -s conftest$ac_exeext'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 echo "*** The test program compiled, but did not run. This usually means"
21228 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21229 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21230 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21231 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21232 echo "*** is required on your system"
21234 echo "*** If you have an old version installed, it is best to remove it, although"
21235 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21237 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21238 echo "*** came with the system with the command"
21240 echo "*** rpm --erase --nodeps gtk gtk-devel"
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.
$ac_ext >&5
21245 echo "*** The test program failed to compile or link. See the file config.log for the"
21246 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21247 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21248 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21251 CFLAGS
="$ac_save_CFLAGS"
21252 LIBS
="$ac_save_LIBS"
21264 if test -z "$wx_cv_lib_gtk"; then
21266 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21267 if test "${with_gtk_prefix+set}" = set; then
21268 withval
="$with_gtk_prefix"
21269 gtk_config_prefix
="$withval"
21271 gtk_config_prefix
=""
21274 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21275 if test "${with_gtk_exec_prefix+set}" = set; then
21276 withval
="$with_gtk_exec_prefix"
21277 gtk_config_exec_prefix
="$withval"
21279 gtk_config_exec_prefix
=""
21281 # Check whether --enable-gtktest or --disable-gtktest was given.
21282 if test "${enable_gtktest+set}" = set; then
21283 enableval
="$enable_gtktest"
21289 for module
in .
$GTK_MODULES
21293 gtk_config_args
="$gtk_config_args gthread"
21298 if test x
$gtk_config_exec_prefix != x
; then
21299 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21300 if test x
${GTK_CONFIG+set} != xset
; then
21301 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
21304 if test x
$gtk_config_prefix != x
; then
21305 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
21306 if test x
${GTK_CONFIG+set} != xset
; then
21307 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
21311 # Extract the first word of "gtk-config", so it can be a program name with args.
21312 set dummy gtk
-config; ac_word
=$2
21313 echo "$as_me:$LINENO: checking for $ac_word" >&5
21314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21315 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21316 echo $ECHO_N "(cached) $ECHO_C" >&6
21318 case $GTK_CONFIG in
21320 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
21323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21324 for as_dir
in $PATH
21327 test -z "$as_dir" && as_dir
=.
21328 for ac_exec_ext
in '' $ac_executable_extensions; do
21329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21330 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21337 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
21341 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
21343 if test -n "$GTK_CONFIG"; then
21344 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21345 echo "${ECHO_T}$GTK_CONFIG" >&6
21347 echo "$as_me:$LINENO: result: no" >&5
21348 echo "${ECHO_T}no" >&6
21351 min_gtk_version
=1.2.3
21352 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21353 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21355 if test "$GTK_CONFIG" = "no" ; then
21358 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
21359 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
21360 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
21361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21362 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
21363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21364 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
21365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21366 if test "x$enable_gtktest" = "xyes" ; then
21367 ac_save_CFLAGS
="$CFLAGS"
21368 ac_save_LIBS
="$LIBS"
21369 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21370 LIBS
="$GTK_LIBS $LIBS"
21372 if test "$cross_compiling" = yes; then
21373 echo $ac_n "cross compiling; assumed OK... $ac_c"
21375 cat >conftest.
$ac_ext <<_ACEOF
21376 #line $LINENO "configure"
21379 cat confdefs.h
>>conftest.
$ac_ext
21380 cat >>conftest.
$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21383 #include <gtk/gtk.h>
21385 #include <stdlib.h>
21390 int major, minor, micro;
21393 system ("touch conf.gtktest");
21395 /* HP/UX 9 (%@#!) writes to sscanf strings */
21396 tmp_version = g_strdup("$min_gtk_version");
21397 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21398 printf("%s, bad version string\n", "$min_gtk_version");
21402 if ((gtk_major_version != $gtk_config_major_version) ||
21403 (gtk_minor_version != $gtk_config_minor_version) ||
21404 (gtk_micro_version != $gtk_config_micro_version))
21406 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21407 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21408 gtk_major_version, gtk_minor_version, gtk_micro_version);
21409 printf ("*** was found! If gtk-config was correct, then it is best\n");
21410 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21411 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21412 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21413 printf("*** required on your system.\n");
21414 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21415 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21416 printf("*** before re-running configure\n");
21418 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21419 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21420 (gtk_minor_version != GTK_MINOR_VERSION) ||
21421 (gtk_micro_version != GTK_MICRO_VERSION))
21423 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21424 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21425 printf("*** library (version %d.%d.%d)\n",
21426 gtk_major_version, gtk_minor_version, gtk_micro_version);
21428 #endif /* defined (GTK_MAJOR_VERSION) ... */
21431 if ((gtk_major_version > major) ||
21432 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21433 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21439 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21440 gtk_major_version, gtk_minor_version, gtk_micro_version);
21441 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21442 major, minor, micro);
21443 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21445 printf("*** If you have already installed a sufficiently new version, this error\n");
21446 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21447 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21448 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21449 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21450 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21451 printf("*** so that the correct libraries are found at run-time))\n");
21458 rm -f conftest
$ac_exeext
21459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21460 (eval $ac_link) 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21471 echo "$as_me: program exited with status $ac_status" >&5
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.
$ac_ext >&5
21475 ( exit $ac_status )
21478 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21480 CFLAGS
="$ac_save_CFLAGS"
21481 LIBS
="$ac_save_LIBS"
21484 if test "x$no_gtk" = x
; then
21485 echo "$as_me:$LINENO: result: yes" >&5
21486 echo "${ECHO_T}yes" >&6
21487 wx_cv_lib_gtk
=1.2.3
21489 echo "$as_me:$LINENO: result: no" >&5
21490 echo "${ECHO_T}no" >&6
21491 if test "$GTK_CONFIG" = "no" ; then
21492 echo "*** The gtk-config script installed by GTK could not be found"
21493 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21494 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21495 echo "*** full path to gtk-config."
21497 if test -f conf.gtktest
; then
21500 echo "*** Could not run GTK test program, checking why..."
21501 CFLAGS
="$CFLAGS $GTK_CFLAGS"
21502 LIBS
="$LIBS $GTK_LIBS"
21503 cat >conftest.
$ac_ext <<_ACEOF
21504 #line $LINENO "configure"
21507 cat confdefs.h
>>conftest.
$ac_ext
21508 cat >>conftest.
$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21511 #include <gtk/gtk.h>
21517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21522 rm -f conftest.
$ac_objext conftest
$ac_exeext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21524 (eval $ac_link) 2>&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } &&
21528 { ac_try
='test -s conftest$ac_exeext'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; }; then
21534 echo "*** The test program compiled, but did not run. This usually means"
21535 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21536 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21537 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21538 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21539 echo "*** is required on your system"
21541 echo "*** If you have an old version installed, it is best to remove it, although"
21542 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21544 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21545 echo "*** came with the system with the command"
21547 echo "*** rpm --erase --nodeps gtk gtk-devel"
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.
$ac_ext >&5
21552 echo "*** The test program failed to compile or link. See the file config.log for the"
21553 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21554 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21555 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21558 CFLAGS
="$ac_save_CFLAGS"
21559 LIBS
="$ac_save_LIBS"
21573 if test -z "$wx_cv_lib_gtk"; then
21576 wx_cv_cflags_gtk
=$GTK_CFLAGS
21577 wx_cv_libs_gtk
=$GTK_LIBS
21584 if test "$gtk_version_cached" = 1; then
21585 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21586 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21589 case "$wx_cv_lib_gtk" in
21598 *) { { echo "$as_me:$LINENO: error:
21599 Please check that gtk-config is in path, the directory
21600 where GTK+ libraries are installed (returned by
21601 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21602 equivalent variable and GTK+ is version 1.2.3 or above.
21604 echo "$as_me: error:
21605 Please check that gtk-config is in path, the directory
21606 where GTK+ libraries are installed (returned by
21607 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21608 equivalent variable and GTK+ is version 1.2.3 or above.
21610 { (exit 1); exit 1; }; }
21614 if test "$WXGTK20" = 1; then
21615 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21619 if test -z "$PKG_CONFIG"; then
21620 # Extract the first word of "pkg-config", so it can be a program name with args.
21621 set dummy pkg
-config; ac_word
=$2
21622 echo "$as_me:$LINENO: checking for $ac_word" >&5
21623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 case $PKG_CONFIG in
21629 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21633 for as_dir
in $PATH
21636 test -z "$as_dir" && as_dir
=.
21637 for ac_exec_ext
in '' $ac_executable_extensions; do
21638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21639 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21646 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21650 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21652 if test -n "$PKG_CONFIG"; then
21653 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21654 echo "${ECHO_T}$PKG_CONFIG" >&6
21656 echo "$as_me:$LINENO: result: no" >&5
21657 echo "${ECHO_T}no" >&6
21662 if test "$PKG_CONFIG" = "no" ; then
21663 echo "*** The pkg-config script could not be found. Make sure it is"
21664 echo "*** in your path, or set the PKG_CONFIG environment variable"
21665 echo "*** to the full path to pkg-config."
21666 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21668 PKG_CONFIG_MIN_VERSION
=0.9.0
21669 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21670 echo "$as_me:$LINENO: checking for pangoft2" >&5
21671 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21673 if $PKG_CONFIG --exists "pangoft2" ; then
21674 echo "$as_me:$LINENO: result: yes" >&5
21675 echo "${ECHO_T}yes" >&6
21678 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21679 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21680 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21681 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21682 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21684 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21685 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21686 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21687 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21688 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21692 ## If we have a custom action on failure, don't print errors, but
21693 ## do set a variable so people can do so.
21694 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21701 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21702 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21706 if test $succeeded = yes; then
21708 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21709 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21713 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21714 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21715 wxUSE_PRINTING_ARCHITECTURE
="no"
21722 if test "$wxUSE_UNICODE" = "yes"; then
21723 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21724 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21729 if test "$USE_DARWIN" != 1; then
21731 for ac_func
in poll
21733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21734 echo "$as_me:$LINENO: checking for $ac_func" >&5
21735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21736 if eval "test \"\${$as_ac_var+set}\" = set"; then
21737 echo $ECHO_N "(cached) $ECHO_C" >&6
21739 cat >conftest.
$ac_ext <<_ACEOF
21740 #line $LINENO "configure"
21743 cat confdefs.h
>>conftest.
$ac_ext
21744 cat >>conftest.
$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 /* System header to define __stub macros and hopefully few prototypes,
21747 which can conflict with char $ac_func (); below.
21748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21749 <limits.h> exists even on freestanding compilers. */
21751 # include <limits.h>
21753 # include <assert.h>
21755 /* Override any gcc2 internal prototype to avoid an error. */
21760 /* We use char because int might match the return type of a gcc2
21761 builtin and then its argument prototype would still apply. */
21763 /* The GNU C library defines this for functions which it implements
21764 to always fail with ENOSYS. Some functions are actually named
21765 something starting with __ and the normal name is an alias. */
21766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21769 char (*f) () = $ac_func;
21778 return f != $ac_func;
21783 rm -f conftest.
$ac_objext conftest
$ac_exeext
21784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21785 (eval $ac_link) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } &&
21789 { ac_try
='test -s conftest$ac_exeext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 eval "$as_ac_var=yes"
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.
$ac_ext >&5
21800 eval "$as_ac_var=no"
21802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21806 if test `eval echo '${'$as_ac_var'}'` = yes; then
21807 cat >>confdefs.h
<<_ACEOF
21808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21816 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21817 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21819 AFMINSTALL
=afminstall
21823 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21824 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21825 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 ac_check_lib_save_LIBS
=$LIBS
21830 cat >conftest.
$ac_ext <<_ACEOF
21831 #line $LINENO "configure"
21834 cat confdefs.h
>>conftest.
$ac_ext
21835 cat >>conftest.
$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21838 /* Override any gcc2 internal prototype to avoid an error. */
21842 /* We use char because int might match the return type of a gcc2
21843 builtin and then its argument prototype would still apply. */
21844 char gdk_im_open ();
21853 rm -f conftest.
$ac_objext conftest
$ac_exeext
21854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21855 (eval $ac_link) 2>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try
='test -s conftest$ac_exeext'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; }; then
21865 ac_cv_lib_gdk_gdk_im_open
=yes
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.
$ac_ext >&5
21870 ac_cv_lib_gdk_gdk_im_open
=no
21872 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21873 LIBS
=$ac_check_lib_save_LIBS
21875 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21876 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21877 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21878 cat >>confdefs.h
<<\_ACEOF
21886 if test "$wxUSE_MGL" = 1; then
21887 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21888 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21889 if test "x$MGL_ROOT" = x
; then
21890 echo "$as_me:$LINENO: result: not found" >&5
21891 echo "${ECHO_T}not found" >&6
21892 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21893 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21894 { (exit 1); exit 1; }; }
21896 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21897 echo "${ECHO_T}$MGL_ROOT" >&6
21900 echo "$as_me:$LINENO: checking for libmgl location" >&5
21901 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21904 if test "x$wxUSE_SHARED" = xyes
; then
21905 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21907 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21911 mgl_os_candidates
="dos32/dj2"
21914 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21915 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21916 { (exit 1); exit 1; }; }
21922 for mgl_os_i
in $mgl_os_candidates ; do
21923 if test "x$mgl_os" = x
; then
21924 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21925 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21926 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21931 if test "x$mgl_lib_type" = x
; then
21932 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21933 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21934 mgl_lib_type
=release
21941 if test "x$mgl_os" = x
; then
21942 echo "$as_me:$LINENO: result: not found" >&5
21943 echo "${ECHO_T}not found" >&6
21944 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21945 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21946 { (exit 1); exit 1; }; }
21948 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21949 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21951 wxUSE_UNIVERSAL
="yes"
21953 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21954 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21956 AFMINSTALL
=afminstall
21961 if test "$wxUSE_MICROWIN" = 1; then
21962 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21963 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21964 if test "x$MICROWINDOWS" = x
; then
21965 echo "$as_me:$LINENO: result: not found" >&5
21966 echo "${ECHO_T}not found" >&6
21967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21969 { (exit 1); exit 1; }; }
21971 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21972 echo "${ECHO_T}$MICROWINDOWS" >&6
21975 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21976 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21977 echo "${ECHO_T}MicroWindows' libraries found." >&6
21979 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21980 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21981 { (exit 1); exit 1; }; }
21984 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21985 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21987 wxUSE_UNIVERSAL
="yes"
21989 AFMINSTALL
=afminstall
21991 GUIDIST
=MICROWIN_DIST
21993 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21996 if test "$wxUSE_X11" = 1; then
21997 echo "$as_me:$LINENO: checking for X" >&5
21998 echo $ECHO_N "checking for X... $ECHO_C" >&6
22001 # Check whether --with-x or --without-x was given.
22002 if test "${with_x+set}" = set; then
22006 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22007 if test "x$with_x" = xno
; then
22008 # The user explicitly disabled X.
22011 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
22012 # Both variables are already set.
22015 if test "${ac_cv_have_x+set}" = set; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 # One or both of the vars are not set, and there is no cached value.
22019 ac_x_includes
=no ac_x_libraries
=no
22020 rm -fr conftest.dir
22021 if mkdir conftest.dir
; then
22023 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22024 cat >Imakefile
<<'_ACEOF'
22026 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22028 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
22029 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22030 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22031 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22032 for ac_extension
in a so sl
; do
22033 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
22034 test -f $ac_im_libdir/libX11.
$ac_extension; then
22035 ac_im_usrlibdir
=$ac_im_libdir; break
22038 # Screen out bogus values from the imake configuration. They are
22039 # bogus both because they are the default anyway, and because
22040 # using them would break gcc on systems where it needs fixed includes.
22041 case $ac_im_incroot in
22043 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
22045 case $ac_im_usrlibdir in
22046 /usr
/lib
| /lib
) ;;
22047 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
22051 rm -fr conftest.dir
22054 # Standard set of common directories for X headers.
22055 # Check X11 before X11Rn because it is often a symlink to the current release.
22067 /usr/local/X11/include
22068 /usr/local/X11R6/include
22069 /usr/local/X11R5/include
22070 /usr/local/X11R4/include
22072 /usr/local/include/X11
22073 /usr/local/include/X11R6
22074 /usr/local/include/X11R5
22075 /usr/local/include/X11R4
22079 /usr/XFree86/include/X11
22083 /usr/unsupported/include
22084 /usr/athena/include
22085 /usr/local/x11r5/include
22086 /usr/lpp/Xamples/include
22088 /usr/openwin/include
22089 /usr/openwin/share/include'
22091 if test "$ac_x_includes" = no
; then
22092 # Guess where to find include files, by looking for Intrinsic.h.
22093 # First, try using that file with no special directory specified.
22094 cat >conftest.
$ac_ext <<_ACEOF
22095 #line $LINENO "configure"
22098 cat confdefs.h
>>conftest.
$ac_ext
22099 cat >>conftest.
$ac_ext <<_ACEOF
22100 /* end confdefs.h. */
22101 #include <X11/Intrinsic.h>
22103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22106 grep -v '^ *+' conftest.er1
>conftest.err
22108 cat conftest.err
>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } >/dev
/null
; then
22111 if test -s conftest.err
; then
22112 ac_cpp_err
=$ac_c_preproc_warn_flag
22119 if test -z "$ac_cpp_err"; then
22120 # We can compile using X headers with no special include directory.
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.
$ac_ext >&5
22126 for ac_dir
in $ac_x_header_dirs; do
22127 if test -r "$ac_dir/X11/Intrinsic.h"; then
22128 ac_x_includes
=$ac_dir
22133 rm -f conftest.err conftest.
$ac_ext
22134 fi # $ac_x_includes = no
22136 if test "$ac_x_libraries" = no
; then
22137 # Check for the libraries.
22138 # See if we find them without any special options.
22139 # Don't add to $LIBS permanently.
22142 cat >conftest.
$ac_ext <<_ACEOF
22143 #line $LINENO "configure"
22146 cat confdefs.h
>>conftest.
$ac_ext
22147 cat >>conftest.
$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 #include <X11/Intrinsic.h>
22158 rm -f conftest.
$ac_objext conftest
$ac_exeext
22159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22160 (eval $ac_link) 2>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } &&
22164 { ac_try
='test -s conftest$ac_exeext'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; }; then
22171 # We can link X programs with no special library path.
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.
$ac_ext >&5
22178 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22180 # Don't even attempt the hair of trying to link an X program!
22181 for ac_extension
in a so sl
; do
22182 if test -r $ac_dir/libXt.
$ac_extension; then
22183 ac_x_libraries
=$ac_dir
22189 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22190 fi # $ac_x_libraries = no
22192 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
22193 # Didn't find X anywhere. Cache the known absence of X.
22194 ac_cv_have_x
="have_x=no"
22196 # Record where we found X for the cache.
22197 ac_cv_have_x
="have_x=yes \
22198 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22203 eval "$ac_cv_have_x"
22206 if test "$have_x" != yes; then
22207 echo "$as_me:$LINENO: result: $have_x" >&5
22208 echo "${ECHO_T}$have_x" >&6
22211 # If each of the values was on the command line, it overrides each guess.
22212 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
22213 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
22214 # Update the cache value to reflect the command line values.
22215 ac_cv_have_x
="have_x=yes \
22216 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22217 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22218 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22221 if test "$no_x" = yes; then
22222 # Not all programs may use this symbol, but it does not hurt to define it.
22224 cat >>confdefs.h
<<\_ACEOF
22225 #define X_DISPLAY_MISSING 1
22228 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22230 if test -n "$x_includes"; then
22231 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22234 # It would also be nice to do this for all -L options, not just this one.
22235 if test -n "$x_libraries"; then
22236 X_LIBS
="$X_LIBS -L$x_libraries"
22237 # For Solaris; some versions of Sun CC require a space after -R and
22238 # others require no space. Words are not sufficient . . . .
22239 case `(uname -sr) 2>/dev/null` in
22241 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22242 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22243 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22244 cat >conftest.
$ac_ext <<_ACEOF
22245 #line $LINENO "configure"
22248 cat confdefs.h
>>conftest.
$ac_ext
22249 cat >>conftest.
$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22260 rm -f conftest.
$ac_objext conftest
$ac_exeext
22261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22262 (eval $ac_link) 2>&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } &&
22266 { ac_try
='test -s conftest$ac_exeext'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; }; then
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.
$ac_ext >&5
22279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22280 if test $ac_R_nospace = yes; then
22281 echo "$as_me:$LINENO: result: no" >&5
22282 echo "${ECHO_T}no" >&6
22283 X_LIBS
="$X_LIBS -R$x_libraries"
22285 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22286 cat >conftest.
$ac_ext <<_ACEOF
22287 #line $LINENO "configure"
22290 cat confdefs.h
>>conftest.
$ac_ext
22291 cat >>conftest.
$ac_ext <<_ACEOF
22292 /* end confdefs.h. */
22302 rm -f conftest.
$ac_objext conftest
$ac_exeext
22303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22304 (eval $ac_link) 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } &&
22308 { ac_try
='test -s conftest$ac_exeext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.
$ac_ext >&5
22321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22322 if test $ac_R_space = yes; then
22323 echo "$as_me:$LINENO: result: yes" >&5
22324 echo "${ECHO_T}yes" >&6
22325 X_LIBS
="$X_LIBS -R $x_libraries"
22327 echo "$as_me:$LINENO: result: neither works" >&5
22328 echo "${ECHO_T}neither works" >&6
22331 LIBS
=$ac_xsave_LIBS
22335 # Check for system-dependent libraries X programs must link with.
22336 # Do this before checking for the system-independent R6 libraries
22337 # (-lICE), since we may need -lsocket or whatever for X linking.
22339 if test "$ISC" = yes; then
22340 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22342 # Martyn Johnson says this is needed for Ultrix, if the X
22343 # libraries were built with DECnet support. And Karl Berry says
22344 # the Alpha needs dnet_stub (dnet does not exist).
22345 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22346 cat >conftest.
$ac_ext <<_ACEOF
22347 #line $LINENO "configure"
22350 cat confdefs.h
>>conftest.
$ac_ext
22351 cat >>conftest.
$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22354 /* Override any gcc2 internal prototype to avoid an error. */
22358 /* We use char because int might match the return type of a gcc2
22359 builtin and then its argument prototype would still apply. */
22360 char XOpenDisplay ();
22369 rm -f conftest.
$ac_objext conftest
$ac_exeext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22371 (eval $ac_link) 2>&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } &&
22375 { ac_try
='test -s conftest$ac_exeext'
22376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22377 (eval $ac_try) 2>&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; }; then
22383 echo "$as_me: failed program was:" >&5
22384 sed 's/^/| /' conftest.
$ac_ext >&5
22386 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22387 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22388 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 ac_check_lib_save_LIBS
=$LIBS
22392 LIBS
="-ldnet $LIBS"
22393 cat >conftest.
$ac_ext <<_ACEOF
22394 #line $LINENO "configure"
22397 cat confdefs.h
>>conftest.
$ac_ext
22398 cat >>conftest.
$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22401 /* Override any gcc2 internal prototype to avoid an error. */
22405 /* We use char because int might match the return type of a gcc2
22406 builtin and then its argument prototype would still apply. */
22416 rm -f conftest.
$ac_objext conftest
$ac_exeext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418 (eval $ac_link) 2>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try
='test -s conftest$ac_exeext'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 ac_cv_lib_dnet_dnet_ntoa
=yes
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.
$ac_ext >&5
22433 ac_cv_lib_dnet_dnet_ntoa
=no
22435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22436 LIBS
=$ac_check_lib_save_LIBS
22438 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22439 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22440 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22441 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22444 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22445 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22446 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22447 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22448 echo $ECHO_N "(cached) $ECHO_C" >&6
22450 ac_check_lib_save_LIBS
=$LIBS
22451 LIBS
="-ldnet_stub $LIBS"
22452 cat >conftest.
$ac_ext <<_ACEOF
22453 #line $LINENO "configure"
22456 cat confdefs.h
>>conftest.
$ac_ext
22457 cat >>conftest.
$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22460 /* Override any gcc2 internal prototype to avoid an error. */
22464 /* We use char because int might match the return type of a gcc2
22465 builtin and then its argument prototype would still apply. */
22475 rm -f conftest.
$ac_objext conftest
$ac_exeext
22476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22477 (eval $ac_link) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); } &&
22481 { ac_try
='test -s conftest$ac_exeext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.
$ac_ext >&5
22492 ac_cv_lib_dnet_stub_dnet_ntoa
=no
22494 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22495 LIBS
=$ac_check_lib_save_LIBS
22497 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22498 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22499 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22500 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22506 LIBS
="$ac_xsave_LIBS"
22508 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22509 # to get the SysV transport functions.
22510 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22512 # The nsl library prevents programs from opening the X display
22513 # on Irix 5.2, according to T.E. Dickey.
22514 # The functions gethostbyname, getservbyname, and inet_addr are
22515 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22516 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22517 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22518 if test "${ac_cv_func_gethostbyname+set}" = set; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22521 cat >conftest.
$ac_ext <<_ACEOF
22522 #line $LINENO "configure"
22525 cat confdefs.h
>>conftest.
$ac_ext
22526 cat >>conftest.
$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 /* System header to define __stub macros and hopefully few prototypes,
22529 which can conflict with char gethostbyname (); below.
22530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22531 <limits.h> exists even on freestanding compilers. */
22533 # include <limits.h>
22535 # include <assert.h>
22537 /* Override any gcc2 internal prototype to avoid an error. */
22542 /* We use char because int might match the return type of a gcc2
22543 builtin and then its argument prototype would still apply. */
22544 char gethostbyname ();
22545 /* The GNU C library defines this for functions which it implements
22546 to always fail with ENOSYS. Some functions are actually named
22547 something starting with __ and the normal name is an alias. */
22548 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22551 char (*f) () = gethostbyname;
22560 return f != gethostbyname;
22565 rm -f conftest.
$ac_objext conftest
$ac_exeext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22567 (eval $ac_link) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try
='test -s conftest$ac_exeext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 ac_cv_func_gethostbyname
=yes
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.
$ac_ext >&5
22582 ac_cv_func_gethostbyname
=no
22584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22586 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22587 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22589 if test $ac_cv_func_gethostbyname = no
; then
22590 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22591 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22592 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22593 echo $ECHO_N "(cached) $ECHO_C" >&6
22595 ac_check_lib_save_LIBS
=$LIBS
22597 cat >conftest.
$ac_ext <<_ACEOF
22598 #line $LINENO "configure"
22601 cat confdefs.h
>>conftest.
$ac_ext
22602 cat >>conftest.
$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22605 /* Override any gcc2 internal prototype to avoid an error. */
22609 /* We use char because int might match the return type of a gcc2
22610 builtin and then its argument prototype would still apply. */
22611 char gethostbyname ();
22620 rm -f conftest.
$ac_objext conftest
$ac_exeext
22621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22622 (eval $ac_link) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } &&
22626 { ac_try
='test -s conftest$ac_exeext'
22627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22628 (eval $ac_try) 2>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); }; }; then
22632 ac_cv_lib_nsl_gethostbyname
=yes
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.
$ac_ext >&5
22637 ac_cv_lib_nsl_gethostbyname
=no
22639 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22640 LIBS
=$ac_check_lib_save_LIBS
22642 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22643 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22644 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22645 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22648 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22649 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22650 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22651 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22652 echo $ECHO_N "(cached) $ECHO_C" >&6
22654 ac_check_lib_save_LIBS
=$LIBS
22656 cat >conftest.
$ac_ext <<_ACEOF
22657 #line $LINENO "configure"
22660 cat confdefs.h
>>conftest.
$ac_ext
22661 cat >>conftest.
$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22664 /* Override any gcc2 internal prototype to avoid an error. */
22668 /* We use char because int might match the return type of a gcc2
22669 builtin and then its argument prototype would still apply. */
22670 char gethostbyname ();
22679 rm -f conftest.
$ac_objext conftest
$ac_exeext
22680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22681 (eval $ac_link) 2>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try
='test -s conftest$ac_exeext'
22686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22687 (eval $ac_try) 2>&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); }; }; then
22691 ac_cv_lib_bsd_gethostbyname
=yes
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.
$ac_ext >&5
22696 ac_cv_lib_bsd_gethostbyname
=no
22698 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22699 LIBS
=$ac_check_lib_save_LIBS
22701 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22702 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22703 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22704 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22710 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22711 # socket/setsockopt and other routines are undefined under SCO ODT
22712 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22713 # on later versions), says Simon Leinen: it contains gethostby*
22714 # variants that don't use the name server (or something). -lsocket
22715 # must be given before -lnsl if both are needed. We assume that
22716 # if connect needs -lnsl, so does gethostbyname.
22717 echo "$as_me:$LINENO: checking for connect" >&5
22718 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22719 if test "${ac_cv_func_connect+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22722 cat >conftest.
$ac_ext <<_ACEOF
22723 #line $LINENO "configure"
22726 cat confdefs.h
>>conftest.
$ac_ext
22727 cat >>conftest.
$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 /* System header to define __stub macros and hopefully few prototypes,
22730 which can conflict with char connect (); below.
22731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22732 <limits.h> exists even on freestanding compilers. */
22734 # include <limits.h>
22736 # include <assert.h>
22738 /* Override any gcc2 internal prototype to avoid an error. */
22743 /* We use char because int might match the return type of a gcc2
22744 builtin and then its argument prototype would still apply. */
22746 /* The GNU C library defines this for functions which it implements
22747 to always fail with ENOSYS. Some functions are actually named
22748 something starting with __ and the normal name is an alias. */
22749 #if defined (__stub_connect) || defined (__stub___connect)
22752 char (*f) () = connect;
22761 return f != connect;
22766 rm -f conftest.
$ac_objext conftest
$ac_exeext
22767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22768 (eval $ac_link) 2>&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } &&
22772 { ac_try
='test -s conftest$ac_exeext'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 ac_cv_func_connect
=yes
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.
$ac_ext >&5
22783 ac_cv_func_connect
=no
22785 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22787 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22788 echo "${ECHO_T}$ac_cv_func_connect" >&6
22790 if test $ac_cv_func_connect = no
; then
22791 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22793 if test "${ac_cv_lib_socket_connect+set}" = set; then
22794 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 ac_check_lib_save_LIBS
=$LIBS
22797 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22798 cat >conftest.
$ac_ext <<_ACEOF
22799 #line $LINENO "configure"
22802 cat confdefs.h
>>conftest.
$ac_ext
22803 cat >>conftest.
$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22806 /* Override any gcc2 internal prototype to avoid an error. */
22810 /* We use char because int might match the return type of a gcc2
22811 builtin and then its argument prototype would still apply. */
22821 rm -f conftest.
$ac_objext conftest
$ac_exeext
22822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22823 (eval $ac_link) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } &&
22827 { ac_try
='test -s conftest$ac_exeext'
22828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829 (eval $ac_try) 2>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); }; }; then
22833 ac_cv_lib_socket_connect
=yes
22835 echo "$as_me: failed program was:" >&5
22836 sed 's/^/| /' conftest.
$ac_ext >&5
22838 ac_cv_lib_socket_connect
=no
22840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22841 LIBS
=$ac_check_lib_save_LIBS
22843 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22844 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22845 if test $ac_cv_lib_socket_connect = yes; then
22846 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22851 # Guillermo Gomez says -lposix is necessary on A/UX.
22852 echo "$as_me:$LINENO: checking for remove" >&5
22853 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22854 if test "${ac_cv_func_remove+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 cat >conftest.
$ac_ext <<_ACEOF
22858 #line $LINENO "configure"
22861 cat confdefs.h
>>conftest.
$ac_ext
22862 cat >>conftest.
$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 /* System header to define __stub macros and hopefully few prototypes,
22865 which can conflict with char remove (); below.
22866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22867 <limits.h> exists even on freestanding compilers. */
22869 # include <limits.h>
22871 # include <assert.h>
22873 /* Override any gcc2 internal prototype to avoid an error. */
22878 /* We use char because int might match the return type of a gcc2
22879 builtin and then its argument prototype would still apply. */
22881 /* The GNU C library defines this for functions which it implements
22882 to always fail with ENOSYS. Some functions are actually named
22883 something starting with __ and the normal name is an alias. */
22884 #if defined (__stub_remove) || defined (__stub___remove)
22887 char (*f) () = remove;
22896 return f != remove;
22901 rm -f conftest.
$ac_objext conftest
$ac_exeext
22902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22903 (eval $ac_link) 2>&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } &&
22907 { ac_try
='test -s conftest$ac_exeext'
22908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22909 (eval $ac_try) 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; }; then
22913 ac_cv_func_remove
=yes
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.
$ac_ext >&5
22918 ac_cv_func_remove
=no
22920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22922 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22923 echo "${ECHO_T}$ac_cv_func_remove" >&6
22925 if test $ac_cv_func_remove = no
; then
22926 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22927 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22928 if test "${ac_cv_lib_posix_remove+set}" = set; then
22929 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 ac_check_lib_save_LIBS
=$LIBS
22932 LIBS
="-lposix $LIBS"
22933 cat >conftest.
$ac_ext <<_ACEOF
22934 #line $LINENO "configure"
22937 cat confdefs.h
>>conftest.
$ac_ext
22938 cat >>conftest.
$ac_ext <<_ACEOF
22939 /* end confdefs.h. */
22941 /* Override any gcc2 internal prototype to avoid an error. */
22945 /* We use char because int might match the return type of a gcc2
22946 builtin and then its argument prototype would still apply. */
22956 rm -f conftest.
$ac_objext conftest
$ac_exeext
22957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22958 (eval $ac_link) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } &&
22962 { ac_try
='test -s conftest$ac_exeext'
22963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22964 (eval $ac_try) 2>&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); }; }; then
22968 ac_cv_lib_posix_remove
=yes
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.
$ac_ext >&5
22973 ac_cv_lib_posix_remove
=no
22975 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22976 LIBS
=$ac_check_lib_save_LIBS
22978 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22979 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22980 if test $ac_cv_lib_posix_remove = yes; then
22981 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22986 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22987 echo "$as_me:$LINENO: checking for shmat" >&5
22988 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22989 if test "${ac_cv_func_shmat+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22992 cat >conftest.
$ac_ext <<_ACEOF
22993 #line $LINENO "configure"
22996 cat confdefs.h
>>conftest.
$ac_ext
22997 cat >>conftest.
$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999 /* System header to define __stub macros and hopefully few prototypes,
23000 which can conflict with char shmat (); below.
23001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23002 <limits.h> exists even on freestanding compilers. */
23004 # include <limits.h>
23006 # include <assert.h>
23008 /* Override any gcc2 internal prototype to avoid an error. */
23013 /* We use char because int might match the return type of a gcc2
23014 builtin and then its argument prototype would still apply. */
23016 /* The GNU C library defines this for functions which it implements
23017 to always fail with ENOSYS. Some functions are actually named
23018 something starting with __ and the normal name is an alias. */
23019 #if defined (__stub_shmat) || defined (__stub___shmat)
23022 char (*f) () = shmat;
23036 rm -f conftest.
$ac_objext conftest
$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } &&
23042 { ac_try
='test -s conftest$ac_exeext'
23043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044 (eval $ac_try) 2>&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; }; then
23048 ac_cv_func_shmat
=yes
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.
$ac_ext >&5
23053 ac_cv_func_shmat
=no
23055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23057 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23058 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23060 if test $ac_cv_func_shmat = no
; then
23061 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23062 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23063 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23066 ac_check_lib_save_LIBS
=$LIBS
23068 cat >conftest.
$ac_ext <<_ACEOF
23069 #line $LINENO "configure"
23072 cat confdefs.h
>>conftest.
$ac_ext
23073 cat >>conftest.
$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23076 /* Override any gcc2 internal prototype to avoid an error. */
23080 /* We use char because int might match the return type of a gcc2
23081 builtin and then its argument prototype would still apply. */
23091 rm -f conftest.
$ac_objext conftest
$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try
='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_lib_ipc_shmat
=yes
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 ac_cv_lib_ipc_shmat
=no
23110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23111 LIBS
=$ac_check_lib_save_LIBS
23113 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23114 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23115 if test $ac_cv_lib_ipc_shmat = yes; then
23116 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23122 # Check for libraries that X11R6 Xt/Xaw programs need.
23123 ac_save_LDFLAGS
=$LDFLAGS
23124 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23125 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23126 # check for ICE first), but we must link in the order -lSM -lICE or
23127 # we get undefined symbols. So assume we have SM if we have ICE.
23128 # These have to be linked with before -lX11, unlike the other
23129 # libraries we check for below, so use a different variable.
23130 # John Interrante, Karl Berry
23131 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23132 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23133 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23134 echo $ECHO_N "(cached) $ECHO_C" >&6
23136 ac_check_lib_save_LIBS
=$LIBS
23137 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23138 cat >conftest.
$ac_ext <<_ACEOF
23139 #line $LINENO "configure"
23142 cat confdefs.h
>>conftest.
$ac_ext
23143 cat >>conftest.
$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23146 /* Override any gcc2 internal prototype to avoid an error. */
23150 /* We use char because int might match the return type of a gcc2
23151 builtin and then its argument prototype would still apply. */
23152 char IceConnectionNumber ();
23156 IceConnectionNumber ();
23161 rm -f conftest.
$ac_objext conftest
$ac_exeext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23163 (eval $ac_link) 2>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try
='test -s conftest$ac_exeext'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; }; then
23173 ac_cv_lib_ICE_IceConnectionNumber
=yes
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.
$ac_ext >&5
23178 ac_cv_lib_ICE_IceConnectionNumber
=no
23180 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23181 LIBS
=$ac_check_lib_save_LIBS
23183 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23184 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23185 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23186 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23189 LDFLAGS
=$ac_save_LDFLAGS
23194 if test "$no_x" = "yes"; then
23195 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23196 echo "$as_me: error: X11 not found" >&2;}
23197 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23200 GUI_TK_LIBRARY
="$X_LIBS"
23201 TOOLKIT_INCLUDE
="$X_CFLAGS"
23202 AFMINSTALL
=afminstall
23203 COMPILED_X_PROGRAM
=0
23205 if test "$wxUSE_NANOX" = "yes"; then
23206 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23207 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23208 if test "x$MICROWIN" = x
; then
23209 echo "$as_me:$LINENO: result: not found" >&5
23210 echo "${ECHO_T}not found" >&6
23211 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23212 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23213 { (exit 1); exit 1; }; }
23215 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23216 echo "${ECHO_T}$MICROWIN" >&6
23217 cat >>confdefs.h
<<\_ACEOF
23218 #define wxUSE_NANOX 1
23224 if test "$wxUSE_UNICODE" = "yes"; then
23228 if test -z "$PKG_CONFIG"; then
23229 # Extract the first word of "pkg-config", so it can be a program name with args.
23230 set dummy pkg
-config; ac_word
=$2
23231 echo "$as_me:$LINENO: checking for $ac_word" >&5
23232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23233 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 case $PKG_CONFIG in
23238 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23242 for as_dir
in $PATH
23245 test -z "$as_dir" && as_dir
=.
23246 for ac_exec_ext
in '' $ac_executable_extensions; do
23247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23248 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23255 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23259 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23261 if test -n "$PKG_CONFIG"; then
23262 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23263 echo "${ECHO_T}$PKG_CONFIG" >&6
23265 echo "$as_me:$LINENO: result: no" >&5
23266 echo "${ECHO_T}no" >&6
23271 if test "$PKG_CONFIG" = "no" ; then
23272 echo "*** The pkg-config script could not be found. Make sure it is"
23273 echo "*** in your path, or set the PKG_CONFIG environment variable"
23274 echo "*** to the full path to pkg-config."
23275 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23277 PKG_CONFIG_MIN_VERSION
=0.9.0
23278 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23279 echo "$as_me:$LINENO: checking for pangox" >&5
23280 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23282 if $PKG_CONFIG --exists "pangox" ; then
23283 echo "$as_me:$LINENO: result: yes" >&5
23284 echo "${ECHO_T}yes" >&6
23287 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23288 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23289 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
23290 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23291 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23293 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23294 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23295 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
23296 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23297 echo "${ECHO_T}$PANGOX_LIBS" >&6
23301 ## If we have a custom action on failure, don't print errors, but
23302 ## do set a variable so people can do so.
23303 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23310 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23311 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23315 if test $succeeded = yes; then
23317 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
23318 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
23322 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23323 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23324 { (exit 1); exit 1; }; }
23332 if test -z "$PKG_CONFIG"; then
23333 # Extract the first word of "pkg-config", so it can be a program name with args.
23334 set dummy pkg
-config; ac_word
=$2
23335 echo "$as_me:$LINENO: checking for $ac_word" >&5
23336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23337 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23338 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 case $PKG_CONFIG in
23342 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23346 for as_dir
in $PATH
23349 test -z "$as_dir" && as_dir
=.
23350 for ac_exec_ext
in '' $ac_executable_extensions; do
23351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23352 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23359 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23363 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23365 if test -n "$PKG_CONFIG"; then
23366 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23367 echo "${ECHO_T}$PKG_CONFIG" >&6
23369 echo "$as_me:$LINENO: result: no" >&5
23370 echo "${ECHO_T}no" >&6
23375 if test "$PKG_CONFIG" = "no" ; then
23376 echo "*** The pkg-config script could not be found. Make sure it is"
23377 echo "*** in your path, or set the PKG_CONFIG environment variable"
23378 echo "*** to the full path to pkg-config."
23379 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23381 PKG_CONFIG_MIN_VERSION
=0.9.0
23382 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23383 echo "$as_me:$LINENO: checking for pangoft2" >&5
23384 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23386 if $PKG_CONFIG --exists "pangoft2" ; then
23387 echo "$as_me:$LINENO: result: yes" >&5
23388 echo "${ECHO_T}yes" >&6
23391 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23392 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23393 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23394 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23395 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23397 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23398 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23399 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23400 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23401 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23405 ## If we have a custom action on failure, don't print errors, but
23406 ## do set a variable so people can do so.
23407 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23414 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23415 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23419 if test $succeeded = yes; then
23421 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23422 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23426 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23427 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23428 wxUSE_PRINTING_ARCHITECTURE
="no"
23436 if test -z "$PKG_CONFIG"; then
23437 # Extract the first word of "pkg-config", so it can be a program name with args.
23438 set dummy pkg
-config; ac_word
=$2
23439 echo "$as_me:$LINENO: checking for $ac_word" >&5
23440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23441 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 case $PKG_CONFIG in
23446 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23450 for as_dir
in $PATH
23453 test -z "$as_dir" && as_dir
=.
23454 for ac_exec_ext
in '' $ac_executable_extensions; do
23455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23456 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23463 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23467 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23469 if test -n "$PKG_CONFIG"; then
23470 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23471 echo "${ECHO_T}$PKG_CONFIG" >&6
23473 echo "$as_me:$LINENO: result: no" >&5
23474 echo "${ECHO_T}no" >&6
23479 if test "$PKG_CONFIG" = "no" ; then
23480 echo "*** The pkg-config script could not be found. Make sure it is"
23481 echo "*** in your path, or set the PKG_CONFIG environment variable"
23482 echo "*** to the full path to pkg-config."
23483 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23485 PKG_CONFIG_MIN_VERSION
=0.9.0
23486 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23487 echo "$as_me:$LINENO: checking for pangoxft" >&5
23488 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23490 if $PKG_CONFIG --exists "pangoxft" ; then
23491 echo "$as_me:$LINENO: result: yes" >&5
23492 echo "${ECHO_T}yes" >&6
23495 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23496 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23497 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
23498 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23499 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23501 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23502 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23503 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23504 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23505 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23509 ## If we have a custom action on failure, don't print errors, but
23510 ## do set a variable so people can do so.
23511 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23518 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23519 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23523 if test $succeeded = yes; then
23525 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23526 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23530 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23531 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23538 wxUSE_UNIVERSAL
="yes"
23540 if test "$wxUSE_NANOX" = "yes"; then
23541 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23542 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"
23543 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23545 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
23548 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23553 if test "$wxUSE_MOTIF" = 1; then
23554 if test "$no_x" = yes; then
23555 # Not all programs may use this symbol, but it does not hurt to define it.
23557 cat >>confdefs.h
<<\_ACEOF
23558 #define X_DISPLAY_MISSING 1
23561 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23563 if test -n "$x_includes"; then
23564 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23567 # It would also be nice to do this for all -L options, not just this one.
23568 if test -n "$x_libraries"; then
23569 X_LIBS
="$X_LIBS -L$x_libraries"
23570 # For Solaris; some versions of Sun CC require a space after -R and
23571 # others require no space. Words are not sufficient . . . .
23572 case `(uname -sr) 2>/dev/null` in
23574 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23575 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23576 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23577 cat >conftest.
$ac_ext <<_ACEOF
23578 #line $LINENO "configure"
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23593 rm -f conftest.
$ac_objext conftest
$ac_exeext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23595 (eval $ac_link) 2>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try
='test -s conftest$ac_exeext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.
$ac_ext >&5
23612 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23613 if test $ac_R_nospace = yes; then
23614 echo "$as_me:$LINENO: result: no" >&5
23615 echo "${ECHO_T}no" >&6
23616 X_LIBS
="$X_LIBS -R$x_libraries"
23618 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23619 cat >conftest.
$ac_ext <<_ACEOF
23620 #line $LINENO "configure"
23623 cat confdefs.h
>>conftest.
$ac_ext
23624 cat >>conftest.
$ac_ext <<_ACEOF
23625 /* end confdefs.h. */
23635 rm -f conftest.
$ac_objext conftest
$ac_exeext
23636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23637 (eval $ac_link) 2>&5
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } &&
23641 { ac_try
='test -s conftest$ac_exeext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.
$ac_ext >&5
23654 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23655 if test $ac_R_space = yes; then
23656 echo "$as_me:$LINENO: result: yes" >&5
23657 echo "${ECHO_T}yes" >&6
23658 X_LIBS
="$X_LIBS -R $x_libraries"
23660 echo "$as_me:$LINENO: result: neither works" >&5
23661 echo "${ECHO_T}neither works" >&6
23664 LIBS
=$ac_xsave_LIBS
23668 # Check for system-dependent libraries X programs must link with.
23669 # Do this before checking for the system-independent R6 libraries
23670 # (-lICE), since we may need -lsocket or whatever for X linking.
23672 if test "$ISC" = yes; then
23673 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23675 # Martyn Johnson says this is needed for Ultrix, if the X
23676 # libraries were built with DECnet support. And Karl Berry says
23677 # the Alpha needs dnet_stub (dnet does not exist).
23678 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23679 cat >conftest.
$ac_ext <<_ACEOF
23680 #line $LINENO "configure"
23683 cat confdefs.h
>>conftest.
$ac_ext
23684 cat >>conftest.
$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23687 /* Override any gcc2 internal prototype to avoid an error. */
23691 /* We use char because int might match the return type of a gcc2
23692 builtin and then its argument prototype would still apply. */
23693 char XOpenDisplay ();
23702 rm -f conftest.
$ac_objext conftest
$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704 (eval $ac_link) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try
='test -s conftest$ac_exeext'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.
$ac_ext >&5
23719 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23720 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23721 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 ac_check_lib_save_LIBS
=$LIBS
23725 LIBS
="-ldnet $LIBS"
23726 cat >conftest.
$ac_ext <<_ACEOF
23727 #line $LINENO "configure"
23730 cat confdefs.h
>>conftest.
$ac_ext
23731 cat >>conftest.
$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23734 /* Override any gcc2 internal prototype to avoid an error. */
23738 /* We use char because int might match the return type of a gcc2
23739 builtin and then its argument prototype would still apply. */
23749 rm -f conftest.
$ac_objext conftest
$ac_exeext
23750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23751 (eval $ac_link) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } &&
23755 { ac_try
='test -s conftest$ac_exeext'
23756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23757 (eval $ac_try) 2>&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); }; }; then
23761 ac_cv_lib_dnet_dnet_ntoa
=yes
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23766 ac_cv_lib_dnet_dnet_ntoa
=no
23768 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23769 LIBS
=$ac_check_lib_save_LIBS
23771 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23772 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23773 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23777 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23778 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23779 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23780 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23781 echo $ECHO_N "(cached) $ECHO_C" >&6
23783 ac_check_lib_save_LIBS
=$LIBS
23784 LIBS
="-ldnet_stub $LIBS"
23785 cat >conftest.
$ac_ext <<_ACEOF
23786 #line $LINENO "configure"
23789 cat confdefs.h
>>conftest.
$ac_ext
23790 cat >>conftest.
$ac_ext <<_ACEOF
23791 /* end confdefs.h. */
23793 /* Override any gcc2 internal prototype to avoid an error. */
23797 /* We use char because int might match the return type of a gcc2
23798 builtin and then its argument prototype would still apply. */
23808 rm -f conftest.
$ac_objext conftest
$ac_exeext
23809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23810 (eval $ac_link) 2>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); } &&
23814 { ac_try
='test -s conftest$ac_exeext'
23815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23816 (eval $ac_try) 2>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; }; then
23820 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.
$ac_ext >&5
23825 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23828 LIBS
=$ac_check_lib_save_LIBS
23830 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23831 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23832 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23833 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23838 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23839 LIBS
="$ac_xsave_LIBS"
23841 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23842 # to get the SysV transport functions.
23843 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23845 # The nsl library prevents programs from opening the X display
23846 # on Irix 5.2, according to T.E. Dickey.
23847 # The functions gethostbyname, getservbyname, and inet_addr are
23848 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23849 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23850 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23851 if test "${ac_cv_func_gethostbyname+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 cat >conftest.
$ac_ext <<_ACEOF
23855 #line $LINENO "configure"
23858 cat confdefs.h
>>conftest.
$ac_ext
23859 cat >>conftest.
$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 /* System header to define __stub macros and hopefully few prototypes,
23862 which can conflict with char gethostbyname (); below.
23863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23864 <limits.h> exists even on freestanding compilers. */
23866 # include <limits.h>
23868 # include <assert.h>
23870 /* Override any gcc2 internal prototype to avoid an error. */
23875 /* We use char because int might match the return type of a gcc2
23876 builtin and then its argument prototype would still apply. */
23877 char gethostbyname ();
23878 /* The GNU C library defines this for functions which it implements
23879 to always fail with ENOSYS. Some functions are actually named
23880 something starting with __ and the normal name is an alias. */
23881 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23884 char (*f) () = gethostbyname;
23893 return f != gethostbyname;
23898 rm -f conftest.
$ac_objext conftest
$ac_exeext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900 (eval $ac_link) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } &&
23904 { ac_try
='test -s conftest$ac_exeext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23910 ac_cv_func_gethostbyname
=yes
23912 echo "$as_me: failed program was:" >&5
23913 sed 's/^/| /' conftest.
$ac_ext >&5
23915 ac_cv_func_gethostbyname
=no
23917 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23919 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23920 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23922 if test $ac_cv_func_gethostbyname = no
; then
23923 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23924 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23925 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23926 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 ac_check_lib_save_LIBS
=$LIBS
23930 cat >conftest.
$ac_ext <<_ACEOF
23931 #line $LINENO "configure"
23934 cat confdefs.h
>>conftest.
$ac_ext
23935 cat >>conftest.
$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23938 /* Override any gcc2 internal prototype to avoid an error. */
23942 /* We use char because int might match the return type of a gcc2
23943 builtin and then its argument prototype would still apply. */
23944 char gethostbyname ();
23953 rm -f conftest.
$ac_objext conftest
$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } &&
23959 { ac_try
='test -s conftest$ac_exeext'
23960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23961 (eval $ac_try) 2>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); }; }; then
23965 ac_cv_lib_nsl_gethostbyname
=yes
23967 echo "$as_me: failed program was:" >&5
23968 sed 's/^/| /' conftest.
$ac_ext >&5
23970 ac_cv_lib_nsl_gethostbyname
=no
23972 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23973 LIBS
=$ac_check_lib_save_LIBS
23975 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23976 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23977 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23978 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23981 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23982 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23983 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23984 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23985 echo $ECHO_N "(cached) $ECHO_C" >&6
23987 ac_check_lib_save_LIBS
=$LIBS
23989 cat >conftest.
$ac_ext <<_ACEOF
23990 #line $LINENO "configure"
23993 cat confdefs.h
>>conftest.
$ac_ext
23994 cat >>conftest.
$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
23997 /* Override any gcc2 internal prototype to avoid an error. */
24001 /* We use char because int might match the return type of a gcc2
24002 builtin and then its argument prototype would still apply. */
24003 char gethostbyname ();
24012 rm -f conftest.
$ac_objext conftest
$ac_exeext
24013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24014 (eval $ac_link) 2>&5
24016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24017 (exit $ac_status); } &&
24018 { ac_try
='test -s conftest$ac_exeext'
24019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24020 (eval $ac_try) 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; }; then
24024 ac_cv_lib_bsd_gethostbyname
=yes
24026 echo "$as_me: failed program was:" >&5
24027 sed 's/^/| /' conftest.
$ac_ext >&5
24029 ac_cv_lib_bsd_gethostbyname
=no
24031 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24032 LIBS
=$ac_check_lib_save_LIBS
24034 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24035 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24036 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24043 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24044 # socket/setsockopt and other routines are undefined under SCO ODT
24045 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24046 # on later versions), says Simon Leinen: it contains gethostby*
24047 # variants that don't use the name server (or something). -lsocket
24048 # must be given before -lnsl if both are needed. We assume that
24049 # if connect needs -lnsl, so does gethostbyname.
24050 echo "$as_me:$LINENO: checking for connect" >&5
24051 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24052 if test "${ac_cv_func_connect+set}" = set; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 cat >conftest.
$ac_ext <<_ACEOF
24056 #line $LINENO "configure"
24059 cat confdefs.h
>>conftest.
$ac_ext
24060 cat >>conftest.
$ac_ext <<_ACEOF
24061 /* end confdefs.h. */
24062 /* System header to define __stub macros and hopefully few prototypes,
24063 which can conflict with char connect (); below.
24064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24065 <limits.h> exists even on freestanding compilers. */
24067 # include <limits.h>
24069 # include <assert.h>
24071 /* Override any gcc2 internal prototype to avoid an error. */
24076 /* We use char because int might match the return type of a gcc2
24077 builtin and then its argument prototype would still apply. */
24079 /* The GNU C library defines this for functions which it implements
24080 to always fail with ENOSYS. Some functions are actually named
24081 something starting with __ and the normal name is an alias. */
24082 #if defined (__stub_connect) || defined (__stub___connect)
24085 char (*f) () = connect;
24094 return f != connect;
24099 rm -f conftest.
$ac_objext conftest
$ac_exeext
24100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24101 (eval $ac_link) 2>&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } &&
24105 { ac_try
='test -s conftest$ac_exeext'
24106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24107 (eval $ac_try) 2>&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); }; }; then
24111 ac_cv_func_connect
=yes
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.
$ac_ext >&5
24116 ac_cv_func_connect
=no
24118 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24120 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24121 echo "${ECHO_T}$ac_cv_func_connect" >&6
24123 if test $ac_cv_func_connect = no
; then
24124 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24125 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24126 if test "${ac_cv_lib_socket_connect+set}" = set; then
24127 echo $ECHO_N "(cached) $ECHO_C" >&6
24129 ac_check_lib_save_LIBS
=$LIBS
24130 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24131 cat >conftest.
$ac_ext <<_ACEOF
24132 #line $LINENO "configure"
24135 cat confdefs.h
>>conftest.
$ac_ext
24136 cat >>conftest.
$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24139 /* Override any gcc2 internal prototype to avoid an error. */
24143 /* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24154 rm -f conftest.
$ac_objext conftest
$ac_exeext
24155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24156 (eval $ac_link) 2>&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } &&
24160 { ac_try
='test -s conftest$ac_exeext'
24161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24162 (eval $ac_try) 2>&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); }; }; then
24166 ac_cv_lib_socket_connect
=yes
24168 echo "$as_me: failed program was:" >&5
24169 sed 's/^/| /' conftest.
$ac_ext >&5
24171 ac_cv_lib_socket_connect
=no
24173 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24174 LIBS
=$ac_check_lib_save_LIBS
24176 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24177 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24178 if test $ac_cv_lib_socket_connect = yes; then
24179 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
24184 # Guillermo Gomez says -lposix is necessary on A/UX.
24185 echo "$as_me:$LINENO: checking for remove" >&5
24186 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24187 if test "${ac_cv_func_remove+set}" = set; then
24188 echo $ECHO_N "(cached) $ECHO_C" >&6
24190 cat >conftest.
$ac_ext <<_ACEOF
24191 #line $LINENO "configure"
24194 cat confdefs.h
>>conftest.
$ac_ext
24195 cat >>conftest.
$ac_ext <<_ACEOF
24196 /* end confdefs.h. */
24197 /* System header to define __stub macros and hopefully few prototypes,
24198 which can conflict with char remove (); below.
24199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24200 <limits.h> exists even on freestanding compilers. */
24202 # include <limits.h>
24204 # include <assert.h>
24206 /* Override any gcc2 internal prototype to avoid an error. */
24211 /* We use char because int might match the return type of a gcc2
24212 builtin and then its argument prototype would still apply. */
24214 /* The GNU C library defines this for functions which it implements
24215 to always fail with ENOSYS. Some functions are actually named
24216 something starting with __ and the normal name is an alias. */
24217 #if defined (__stub_remove) || defined (__stub___remove)
24220 char (*f) () = remove;
24229 return f != remove;
24234 rm -f conftest.
$ac_objext conftest
$ac_exeext
24235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24236 (eval $ac_link) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try
='test -s conftest$ac_exeext'
24241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242 (eval $ac_try) 2>&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; }; then
24246 ac_cv_func_remove
=yes
24248 echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.
$ac_ext >&5
24251 ac_cv_func_remove
=no
24253 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24255 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24256 echo "${ECHO_T}$ac_cv_func_remove" >&6
24258 if test $ac_cv_func_remove = no
; then
24259 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24260 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24261 if test "${ac_cv_lib_posix_remove+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 ac_check_lib_save_LIBS
=$LIBS
24265 LIBS
="-lposix $LIBS"
24266 cat >conftest.
$ac_ext <<_ACEOF
24267 #line $LINENO "configure"
24270 cat confdefs.h
>>conftest.
$ac_ext
24271 cat >>conftest.
$ac_ext <<_ACEOF
24272 /* end confdefs.h. */
24274 /* Override any gcc2 internal prototype to avoid an error. */
24278 /* We use char because int might match the return type of a gcc2
24279 builtin and then its argument prototype would still apply. */
24289 rm -f conftest.
$ac_objext conftest
$ac_exeext
24290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24291 (eval $ac_link) 2>&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } &&
24295 { ac_try
='test -s conftest$ac_exeext'
24296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24297 (eval $ac_try) 2>&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); }; }; then
24301 ac_cv_lib_posix_remove
=yes
24303 echo "$as_me: failed program was:" >&5
24304 sed 's/^/| /' conftest.
$ac_ext >&5
24306 ac_cv_lib_posix_remove
=no
24308 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24309 LIBS
=$ac_check_lib_save_LIBS
24311 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24312 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24313 if test $ac_cv_lib_posix_remove = yes; then
24314 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
24319 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24320 echo "$as_me:$LINENO: checking for shmat" >&5
24321 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24322 if test "${ac_cv_func_shmat+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24325 cat >conftest.
$ac_ext <<_ACEOF
24326 #line $LINENO "configure"
24329 cat confdefs.h
>>conftest.
$ac_ext
24330 cat >>conftest.
$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332 /* System header to define __stub macros and hopefully few prototypes,
24333 which can conflict with char shmat (); below.
24334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24335 <limits.h> exists even on freestanding compilers. */
24337 # include <limits.h>
24339 # include <assert.h>
24341 /* Override any gcc2 internal prototype to avoid an error. */
24346 /* We use char because int might match the return type of a gcc2
24347 builtin and then its argument prototype would still apply. */
24349 /* The GNU C library defines this for functions which it implements
24350 to always fail with ENOSYS. Some functions are actually named
24351 something starting with __ and the normal name is an alias. */
24352 #if defined (__stub_shmat) || defined (__stub___shmat)
24355 char (*f) () = shmat;
24369 rm -f conftest.
$ac_objext conftest
$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } &&
24375 { ac_try
='test -s conftest$ac_exeext'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; }; then
24381 ac_cv_func_shmat
=yes
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.
$ac_ext >&5
24386 ac_cv_func_shmat
=no
24388 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24390 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24391 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24393 if test $ac_cv_func_shmat = no
; then
24394 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24395 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24396 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24397 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 ac_check_lib_save_LIBS
=$LIBS
24401 cat >conftest.
$ac_ext <<_ACEOF
24402 #line $LINENO "configure"
24405 cat confdefs.h
>>conftest.
$ac_ext
24406 cat >>conftest.
$ac_ext <<_ACEOF
24407 /* end confdefs.h. */
24409 /* Override any gcc2 internal prototype to avoid an error. */
24413 /* We use char because int might match the return type of a gcc2
24414 builtin and then its argument prototype would still apply. */
24424 rm -f conftest.
$ac_objext conftest
$ac_exeext
24425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24426 (eval $ac_link) 2>&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } &&
24430 { ac_try
='test -s conftest$ac_exeext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 ac_cv_lib_ipc_shmat
=yes
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.
$ac_ext >&5
24441 ac_cv_lib_ipc_shmat
=no
24443 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24444 LIBS
=$ac_check_lib_save_LIBS
24446 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24447 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24448 if test $ac_cv_lib_ipc_shmat = yes; then
24449 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24455 # Check for libraries that X11R6 Xt/Xaw programs need.
24456 ac_save_LDFLAGS
=$LDFLAGS
24457 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24458 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24459 # check for ICE first), but we must link in the order -lSM -lICE or
24460 # we get undefined symbols. So assume we have SM if we have ICE.
24461 # These have to be linked with before -lX11, unlike the other
24462 # libraries we check for below, so use a different variable.
24463 # John Interrante, Karl Berry
24464 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24465 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24466 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 ac_check_lib_save_LIBS
=$LIBS
24470 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24471 cat >conftest.
$ac_ext <<_ACEOF
24472 #line $LINENO "configure"
24475 cat confdefs.h
>>conftest.
$ac_ext
24476 cat >>conftest.
$ac_ext <<_ACEOF
24477 /* end confdefs.h. */
24479 /* Override any gcc2 internal prototype to avoid an error. */
24483 /* We use char because int might match the return type of a gcc2
24484 builtin and then its argument prototype would still apply. */
24485 char IceConnectionNumber ();
24489 IceConnectionNumber ();
24494 rm -f conftest.
$ac_objext conftest
$ac_exeext
24495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24496 (eval $ac_link) 2>&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } &&
24500 { ac_try
='test -s conftest$ac_exeext'
24501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24502 (eval $ac_try) 2>&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); }; }; then
24506 ac_cv_lib_ICE_IceConnectionNumber
=yes
24508 echo "$as_me: failed program was:" >&5
24509 sed 's/^/| /' conftest.
$ac_ext >&5
24511 ac_cv_lib_ICE_IceConnectionNumber
=no
24513 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24514 LIBS
=$ac_check_lib_save_LIBS
24516 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24517 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24518 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24519 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24522 LDFLAGS
=$ac_save_LDFLAGS
24527 if test "$no_x" = "yes"; then
24528 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24529 echo "$as_me: error: X11 not found" >&2;}
24530 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24533 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24534 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24535 AFMINSTALL
=afminstall
24536 COMPILED_X_PROGRAM
=0
24538 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24539 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24542 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24544 if test -f "$ac_dir/Xm/Xm.h"; then
24545 ac_find_includes
=$ac_dir
24550 if test "$ac_find_includes" != "" ; then
24551 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24552 echo "${ECHO_T}found in $ac_find_includes" >&6
24554 if test "x$ac_find_includes" = "x/usr/include"; then
24555 ac_path_to_include
=""
24557 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24559 if test $result = 0; then
24560 ac_path_to_include
=""
24562 ac_path_to_include
=" -I$ac_find_includes"
24566 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24568 cat >conftest.
$ac_ext <<_ACEOF
24569 #line $LINENO "configure"
24572 cat confdefs.h
>>conftest.
$ac_ext
24573 cat >>conftest.
$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24583 version = xmUseVersion;
24589 rm -f conftest.
$ac_objext
24590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24591 (eval $ac_compile) 2>&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } &&
24595 { ac_try
='test -s conftest.$ac_objext'
24596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597 (eval $ac_try) 2>&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); }; }; then
24602 echo "$as_me:$LINENO: result: found in default search path" >&5
24603 echo "${ECHO_T}found in default search path" >&6
24604 COMPILED_X_PROGRAM
=1
24607 echo "$as_me: failed program was:" >&5
24608 sed 's/^/| /' conftest.
$ac_ext >&5
24611 echo "$as_me:$LINENO: result: no" >&5
24612 echo "${ECHO_T}no" >&6
24613 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24614 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24615 { (exit 1); exit 1; }; }
24619 rm -f conftest.
$ac_objext conftest.
$ac_ext
24622 if test "$COMPILED_X_PROGRAM" = 0; then
24623 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24624 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24627 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24629 for ac_extension
in a so sl dylib
; do
24630 if test -f "$ac_dir/libXm.$ac_extension"; then
24631 ac_find_libraries
=$ac_dir
24637 if test "$ac_find_libraries" != "" ; then
24638 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24639 echo "${ECHO_T}found at $ac_find_libraries" >&6
24642 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24644 if test $result = 0; then
24647 ac_path_to_link
=" -L$ac_find_libraries"
24650 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24652 save_CFLAGS
=$CFLAGS
24653 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24655 cat >conftest.
$ac_ext <<_ACEOF
24656 #line $LINENO "configure"
24659 cat confdefs.h
>>conftest.
$ac_ext
24660 cat >>conftest.
$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24670 version = xmUseVersion;
24676 rm -f conftest.
$ac_objext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24678 (eval $ac_compile) 2>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } &&
24682 { ac_try
='test -s conftest.$ac_objext'
24683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24684 (eval $ac_try) 2>&5
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; }; then
24689 echo "$as_me:$LINENO: result: found in default search path" >&5
24690 echo "${ECHO_T}found in default search path" >&6
24691 COMPILED_X_PROGRAM
=1
24694 echo "$as_me: failed program was:" >&5
24695 sed 's/^/| /' conftest.
$ac_ext >&5
24698 echo "$as_me:$LINENO: result: no" >&5
24699 echo "${ECHO_T}no" >&6
24700 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24701 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24702 { (exit 1); exit 1; }; }
24706 rm -f conftest.
$ac_objext conftest.
$ac_ext
24708 CFLAGS
=$save_CFLAGS
24712 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24713 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24717 for libp
in "" " -lXp"; do
24718 if test "$libs_found" = "0"; then
24719 for libsm_ice
in "" " -lSM -lICE"; do
24720 if test "$libs_found" = "0"; then
24722 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24723 save_CFLAGS
=$CFLAGS
24724 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24726 cat >conftest.
$ac_ext <<_ACEOF
24727 #line $LINENO "configure"
24730 cat confdefs.h
>>conftest.
$ac_ext
24731 cat >>conftest.
$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24735 #include <Xm/List.h>
24741 XmString string = NULL;
24744 XmListAddItem(w, string, position);
24750 rm -f conftest.
$ac_objext conftest
$ac_exeext
24751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24752 (eval $ac_link) 2>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } &&
24756 { ac_try
='test -s conftest$ac_exeext'
24757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24758 (eval $ac_try) 2>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); }; }; then
24764 libsm_ice_link
="$libsm_ice"
24765 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24766 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24770 echo "$as_me: failed program was:" >&5
24771 sed 's/^/| /' conftest.
$ac_ext >&5
24776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24779 CFLAGS
=$save_CFLAGS
24785 if test "$libs_found" = "0"; then
24786 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24787 echo "${ECHO_T}can't find the right libraries" >&6
24788 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24789 echo "$as_me: error: can't link a simple motif program" >&2;}
24790 { (exit 1); exit 1; }; }
24793 save_CFLAGS
=$CFLAGS
24794 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24795 echo "$as_me:$LINENO: checking for Motif 2" >&5
24796 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24797 cat >conftest.
$ac_ext <<_ACEOF
24798 #line $LINENO "configure"
24801 cat confdefs.h
>>conftest.
$ac_ext
24802 cat >>conftest.
$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24811 #if XmVersion < 2000
24812 #error "Not Motif 2"
24819 rm -f conftest.
$ac_objext
24820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24821 (eval $ac_compile) 2>&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } &&
24825 { ac_try
='test -s conftest.$ac_objext'
24826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24827 (eval $ac_try) 2>&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); }; }; then
24832 cat >>confdefs.h
<<\_ACEOF
24833 #define __WXMOTIF20__ 1
24836 echo "$as_me:$LINENO: result: found" >&5
24837 echo "${ECHO_T}found" >&6
24840 echo "$as_me: failed program was:" >&5
24841 sed 's/^/| /' conftest.
$ac_ext >&5
24844 cat >>confdefs.h
<<\_ACEOF
24845 #define __WXMOTIF20__ 0
24848 echo "$as_me:$LINENO: result: not found" >&5
24849 echo "${ECHO_T}not found" >&6
24852 rm -f conftest.
$ac_objext conftest.
$ac_ext
24853 CFLAGS
=$save_CFLAGS
24855 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24856 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24861 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24862 if test "$wxUSE_LIBXPM" = "sys"; then
24863 echo "$as_me:$LINENO: checking for Xpm library" >&5
24864 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24867 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24869 for ac_extension
in a so sl dylib
; do
24870 if test -f "$ac_dir/libXpm.$ac_extension"; then
24871 ac_find_libraries
=$ac_dir
24877 if test "$ac_find_libraries" != "" ; then
24879 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24881 if test $result = 0; then
24884 ac_path_to_link
=" -L$ac_find_libraries"
24887 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24888 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24889 echo "${ECHO_T}found at $ac_find_libraries" >&6
24891 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24892 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24893 if test "${wx_cv_x11_xpm_h+set}" = set; then
24894 echo $ECHO_N "(cached) $ECHO_C" >&6
24897 save_CFLAGS
=$CFLAGS
24898 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24900 cat >conftest.
$ac_ext <<_ACEOF
24901 #line $LINENO "configure"
24904 cat confdefs.h
>>conftest.
$ac_ext
24905 cat >>conftest.
$ac_ext <<_ACEOF
24906 /* end confdefs.h. */
24908 #include <X11/xpm.h>
24915 version = XpmLibraryVersion();
24921 rm -f conftest.
$ac_objext
24922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24923 (eval $ac_compile) 2>&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); } &&
24927 { ac_try
='test -s conftest.$ac_objext'
24928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24929 (eval $ac_try) 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; }; then
24933 wx_cv_x11_xpm_h
=yes
24935 echo "$as_me: failed program was:" >&5
24936 sed 's/^/| /' conftest.
$ac_ext >&5
24941 rm -f conftest.
$ac_objext conftest.
$ac_ext
24943 CFLAGS
=$save_CFLAGS
24947 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24948 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24950 if test $wx_cv_x11_xpm_h = "yes"; then
24951 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
24952 cat >>confdefs.h
<<\_ACEOF
24953 #define wxHAVE_LIB_XPM 1
24957 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24958 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24964 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24965 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24966 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24967 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 ac_check_lib_save_LIBS
=$LIBS
24970 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24971 cat >conftest.
$ac_ext <<_ACEOF
24972 #line $LINENO "configure"
24975 cat confdefs.h
>>conftest.
$ac_ext
24976 cat >>conftest.
$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24979 /* Override any gcc2 internal prototype to avoid an error. */
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24985 char XShapeQueryExtension ();
24989 XShapeQueryExtension ();
24994 rm -f conftest.
$ac_objext conftest
$ac_exeext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24996 (eval $ac_link) 2>&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } &&
25000 { ac_try
='test -s conftest$ac_exeext'
25001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25002 (eval $ac_try) 2>&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); }; }; then
25006 ac_cv_lib_Xext_XShapeQueryExtension
=yes
25008 echo "$as_me: failed program was:" >&5
25009 sed 's/^/| /' conftest.
$ac_ext >&5
25011 ac_cv_lib_Xext_XShapeQueryExtension
=no
25013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25014 LIBS
=$ac_check_lib_save_LIBS
25016 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25017 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25018 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25020 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
25026 if test "$wxHAVE_XEXT_LIB" = 1; then
25027 save_CFLAGS
="$CFLAGS"
25028 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
25030 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25031 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25032 cat >conftest.
$ac_ext <<_ACEOF
25033 #line $LINENO "configure"
25036 cat confdefs.h
>>conftest.
$ac_ext
25037 cat >>conftest.
$ac_ext <<_ACEOF
25038 /* end confdefs.h. */
25040 #include <X11/Xlib.h>
25041 #include <X11/extensions/shape.h>
25047 int dummy1, dummy2;
25048 XShapeQueryExtension((Display*)NULL,
25049 (int*)NULL, (int*)NULL);
25055 rm -f conftest.
$ac_objext
25056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25057 (eval $ac_compile) 2>&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try
='test -s conftest.$ac_objext'
25062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25063 (eval $ac_try) 2>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); }; }; then
25068 cat >>confdefs.h
<<\_ACEOF
25069 #define HAVE_XSHAPE 1
25072 echo "$as_me:$LINENO: result: found" >&5
25073 echo "${ECHO_T}found" >&6
25076 echo "$as_me: failed program was:" >&5
25077 sed 's/^/| /' conftest.
$ac_ext >&5
25080 echo "$as_me:$LINENO: result: not found" >&5
25081 echo "${ECHO_T}not found" >&6
25084 rm -f conftest.
$ac_objext conftest.
$ac_ext
25085 CFLAGS
="$save_CFLAGS"
25090 if test "$wxUSE_MAC" = 1; then
25091 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25092 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25093 if test "$GCC" = yes; then
25094 echo "$as_me:$LINENO: result: gcc" >&5
25095 echo "${ECHO_T}gcc" >&6
25096 CPPFLAGS_PASCAL
="-fpascal-strings"
25097 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25098 echo "$as_me:$LINENO: result: xlc" >&5
25099 echo "${ECHO_T}xlc" >&6
25100 CPPFLAGS_PASCAL
="-qmacpstr"
25102 echo "$as_me:$LINENO: result: none" >&5
25103 echo "${ECHO_T}none" >&6
25106 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
25108 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
25111 WXBASEPORT
="_carbon"
25114 if test "$wxUSE_COCOA" = 1; then
25115 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
25120 if test "$wxUSE_PM" = 1; then
25125 if test "$TOOLKIT" = "PM" ; then
25128 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25131 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25133 if test "$wxUSE_UNIVERSAL" = "yes"; then
25134 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25136 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25137 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25139 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25140 if test "$wxUSE_X11" = 1; then
25141 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25143 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25145 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25148 ALL_OBJECTS
="\$(GUIOBJS)"
25149 ALL_SOURCES
="\$(ALL_SOURCES)"
25150 ALL_HEADERS
="\$(ALL_HEADERS)"
25153 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25155 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25156 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
25159 if test "$wxUSE_HTML" = "yes"; then
25160 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
25163 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25164 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
25166 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25167 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
25169 if test "$wxUSE_LIBPNG" = "builtin" ; then
25170 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
25173 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25174 DISTDIR
="wx\$(TOOLKIT)"
25180 if test "$USE_WIN32" = 1 ; then
25181 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25182 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
25186 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25187 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
25190 ALL_SOURCES
="\$(ALL_SOURCES)"
25191 ALL_HEADERS
="\$(ALL_HEADERS)"
25193 PORT_FILES
="\${top_srcdir}/src/files.lst"
25195 GUIDIST
="BASE_DIST"
25205 if test "$TOOLKIT" != "MSW" ; then
25207 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25209 if test "${ac_cv_header_sql_h+set}" = set; then
25210 echo "$as_me:$LINENO: checking for sql.h" >&5
25211 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25212 if test "${ac_cv_header_sql_h+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25215 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25216 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25218 # Is the header compilable?
25219 echo "$as_me:$LINENO: checking sql.h usability" >&5
25220 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25221 cat >conftest.
$ac_ext <<_ACEOF
25222 #line $LINENO "configure"
25225 cat confdefs.h
>>conftest.
$ac_ext
25226 cat >>conftest.
$ac_ext <<_ACEOF
25227 /* end confdefs.h. */
25228 $ac_includes_default
25231 rm -f conftest.
$ac_objext
25232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25233 (eval $ac_compile) 2>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } &&
25237 { ac_try
='test -s conftest.$ac_objext'
25238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239 (eval $ac_try) 2>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); }; }; then
25243 ac_header_compiler
=yes
25245 echo "$as_me: failed program was:" >&5
25246 sed 's/^/| /' conftest.
$ac_ext >&5
25248 ac_header_compiler
=no
25250 rm -f conftest.
$ac_objext conftest.
$ac_ext
25251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25252 echo "${ECHO_T}$ac_header_compiler" >&6
25254 # Is the header present?
25255 echo "$as_me:$LINENO: checking sql.h presence" >&5
25256 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25257 cat >conftest.
$ac_ext <<_ACEOF
25258 #line $LINENO "configure"
25261 cat confdefs.h
>>conftest.
$ac_ext
25262 cat >>conftest.
$ac_ext <<_ACEOF
25263 /* end confdefs.h. */
25266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25269 grep -v '^ *+' conftest.er1
>conftest.err
25271 cat conftest.err
>&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); } >/dev
/null
; then
25274 if test -s conftest.err
; then
25275 ac_cpp_err
=$ac_c_preproc_warn_flag
25282 if test -z "$ac_cpp_err"; then
25283 ac_header_preproc
=yes
25285 echo "$as_me: failed program was:" >&5
25286 sed 's/^/| /' conftest.
$ac_ext >&5
25288 ac_header_preproc
=no
25290 rm -f conftest.err conftest.
$ac_ext
25291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25292 echo "${ECHO_T}$ac_header_preproc" >&6
25294 # So? What about this header?
25295 case $ac_header_compiler:$ac_header_preproc in
25297 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25298 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25299 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25300 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25303 ## ------------------------------------ ##
25304 ## Report this to bug-autoconf@gnu.org. ##
25305 ## ------------------------------------ ##
25308 sed "s/^/$as_me: WARNING: /" >&2
25311 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25312 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25313 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25314 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25315 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25316 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25319 ## ------------------------------------ ##
25320 ## Report this to bug-autoconf@gnu.org. ##
25321 ## ------------------------------------ ##
25324 sed "s/^/$as_me: WARNING: /" >&2
25327 echo "$as_me:$LINENO: checking for sql.h" >&5
25328 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25329 if test "${ac_cv_header_sql_h+set}" = set; then
25330 echo $ECHO_N "(cached) $ECHO_C" >&6
25332 ac_cv_header_sql_h
=$ac_header_preproc
25334 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25335 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25338 if test $ac_cv_header_sql_h = yes; then
25343 if test "x$found_sql_h" = "x1" ; then
25344 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25345 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25346 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25347 echo $ECHO_N "(cached) $ECHO_C" >&6
25349 ac_check_lib_save_LIBS
=$LIBS
25350 LIBS
="-liodbc $LIBS"
25351 cat >conftest.
$ac_ext <<_ACEOF
25352 #line $LINENO "configure"
25355 cat confdefs.h
>>conftest.
$ac_ext
25356 cat >>conftest.
$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25359 /* Override any gcc2 internal prototype to avoid an error. */
25363 /* We use char because int might match the return type of a gcc2
25364 builtin and then its argument prototype would still apply. */
25365 char SQLAllocEnv ();
25374 rm -f conftest.
$ac_objext conftest
$ac_exeext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25376 (eval $ac_link) 2>&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } &&
25380 { ac_try
='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25386 ac_cv_lib_iodbc_SQLAllocEnv
=yes
25388 echo "$as_me: failed program was:" >&5
25389 sed 's/^/| /' conftest.
$ac_ext >&5
25391 ac_cv_lib_iodbc_SQLAllocEnv
=no
25393 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25394 LIBS
=$ac_check_lib_save_LIBS
25396 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25397 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25398 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25399 ODBC_LINK
=" -liodbc"
25402 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
25403 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
25404 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
25405 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 ac_check_lib_save_LIBS
=$LIBS
25408 LIBS
="-lunixodbc $LIBS"
25409 cat >conftest.
$ac_ext <<_ACEOF
25410 #line $LINENO "configure"
25413 cat confdefs.h
>>conftest.
$ac_ext
25414 cat >>conftest.
$ac_ext <<_ACEOF
25415 /* end confdefs.h. */
25417 /* Override any gcc2 internal prototype to avoid an error. */
25421 /* We use char because int might match the return type of a gcc2
25422 builtin and then its argument prototype would still apply. */
25423 char SQLAllocEnv ();
25432 rm -f conftest.
$ac_objext conftest
$ac_exeext
25433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25434 (eval $ac_link) 2>&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } &&
25438 { ac_try
='test -s conftest$ac_exeext'
25439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25440 (eval $ac_try) 2>&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); }; }; then
25444 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
25446 echo "$as_me: failed program was:" >&5
25447 sed 's/^/| /' conftest.
$ac_ext >&5
25449 ac_cv_lib_unixodbc_SQLAllocEnv
=no
25451 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25452 LIBS
=$ac_check_lib_save_LIBS
25454 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25455 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25456 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25457 ODBC_LINK
=" -lunixodbc"
25460 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25461 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25462 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 ac_check_lib_save_LIBS
=$LIBS
25466 LIBS
="-lodbc $LIBS"
25467 cat >conftest.
$ac_ext <<_ACEOF
25468 #line $LINENO "configure"
25471 cat confdefs.h
>>conftest.
$ac_ext
25472 cat >>conftest.
$ac_ext <<_ACEOF
25473 /* end confdefs.h. */
25475 /* Override any gcc2 internal prototype to avoid an error. */
25479 /* We use char because int might match the return type of a gcc2
25480 builtin and then its argument prototype would still apply. */
25481 char SQLAllocEnv ();
25490 rm -f conftest.
$ac_objext conftest
$ac_exeext
25491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25492 (eval $ac_link) 2>&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } &&
25496 { ac_try
='test -s conftest$ac_exeext'
25497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25498 (eval $ac_try) 2>&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); }; }; then
25502 ac_cv_lib_odbc_SQLAllocEnv
=yes
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.
$ac_ext >&5
25507 ac_cv_lib_odbc_SQLAllocEnv
=no
25509 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25510 LIBS
=$ac_check_lib_save_LIBS
25512 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25513 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25514 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25515 ODBC_LINK
=" -lodbc"
25525 if test "x$ODBC_LINK" = "x" ; then
25526 if test "$wxUSE_ODBC" = "sys" ; then
25527 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25528 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25529 { (exit 1); exit 1; }; }
25531 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25532 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25539 if test "$wxUSE_ODBC" != "no" ; then
25540 cat >>confdefs.h
<<\_ACEOF
25541 #define wxUSE_ODBC 1
25544 if test "$wxUSE_ODBC" = "builtin" ; then
25545 cat >>confdefs.h
<<\_ACEOF
25546 #define wxUSE_BUILTIN_IODBC 1
25550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25552 WXODBCFLAG
="-D_IODBC_"
25556 if test "$wxUSE_REGEX" = "builtin" ; then
25557 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25559 if test "$wxUSE_ZLIB" = "builtin" ; then
25560 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25563 if test "$wxUSE_DISPLAY" = "yes"; then
25564 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25565 echo "$as_me:$LINENO: checking for Xinerama" >&5
25566 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25569 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25571 for ac_extension
in a so sl dylib
; do
25572 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25573 ac_find_libraries
=$ac_dir
25579 if test "$ac_find_libraries" != "" ; then
25581 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25583 if test $result = 0; then
25586 ac_path_to_link
=" -L$ac_find_libraries"
25589 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25590 LDFLAGS
="$LDFLAGS $ac_path_to_link"
25592 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
25593 echo "$as_me:$LINENO: result: yes" >&5
25594 echo "${ECHO_T}yes" >&6
25596 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25597 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25600 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25602 for ac_extension
in a so sl dylib
; do
25603 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25604 ac_find_libraries
=$ac_dir
25610 if test "$ac_find_libraries" != "" ; then
25611 echo "$as_me:$LINENO: result: yes" >&5
25612 echo "${ECHO_T}yes" >&6
25614 for ac_header
in X
11/extensions
/xf86vmode.h
25616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25617 echo "$as_me:$LINENO: checking for $ac_header" >&5
25618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25622 cat >conftest.
$ac_ext <<_ACEOF
25623 #line $LINENO "configure"
25626 cat confdefs.h
>>conftest.
$ac_ext
25627 cat >>conftest.
$ac_ext <<_ACEOF
25628 /* end confdefs.h. */
25630 #if HAVE_X11_XLIB_H
25631 #include <X11/Xlib.h>
25635 #include <$ac_header>
25637 rm -f conftest.
$ac_objext
25638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25639 (eval $ac_compile) 2>&5
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); } &&
25643 { ac_try
='test -s conftest.$ac_objext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 eval "$as_ac_Header=yes"
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.
$ac_ext >&5
25654 eval "$as_ac_Header=no"
25656 rm -f conftest.
$ac_objext conftest.
$ac_ext
25658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25661 cat >>confdefs.h
<<_ACEOF
25662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25665 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
25672 echo "$as_me:$LINENO: result: no" >&5
25673 echo "${ECHO_T}no" >&6
25677 echo "$as_me:$LINENO: result: no" >&5
25678 echo "${ECHO_T}no" >&6
25679 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25680 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25688 if test "$wxUSE_OPENGL" = "yes"; then
25689 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25690 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25691 elif test "$wxUSE_MSW" = 1; then
25692 OPENGL_LIBS
="-lopengl32 -lglu32"
25697 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25699 if test -f "$ac_dir/GL/gl.h"; then
25700 ac_find_includes
=$ac_dir
25705 if test "$ac_find_includes" != "" ; then
25706 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25707 echo "${ECHO_T}found in $ac_find_includes" >&6
25709 if test "x$ac_find_includes" = "x/usr/include"; then
25710 ac_path_to_include
=""
25712 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25714 if test $result = 0; then
25715 ac_path_to_include
=""
25717 ac_path_to_include
=" -I$ac_find_includes"
25721 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25724 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25725 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25726 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25727 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25728 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25731 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25733 # Is the header compilable?
25734 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25735 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25736 cat >conftest.
$ac_ext <<_ACEOF
25737 #line $LINENO "configure"
25740 cat confdefs.h
>>conftest.
$ac_ext
25741 cat >>conftest.
$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25743 $ac_includes_default
25746 rm -f conftest.
$ac_objext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748 (eval $ac_compile) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try
='test -s conftest.$ac_objext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 ac_header_compiler
=yes
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.
$ac_ext >&5
25763 ac_header_compiler
=no
25765 rm -f conftest.
$ac_objext conftest.
$ac_ext
25766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25767 echo "${ECHO_T}$ac_header_compiler" >&6
25769 # Is the header present?
25770 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25771 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25772 cat >conftest.
$ac_ext <<_ACEOF
25773 #line $LINENO "configure"
25776 cat confdefs.h
>>conftest.
$ac_ext
25777 cat >>conftest.
$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25784 grep -v '^ *+' conftest.er1
>conftest.err
25786 cat conftest.err
>&5
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); } >/dev
/null
; then
25789 if test -s conftest.err
; then
25790 ac_cpp_err
=$ac_c_preproc_warn_flag
25797 if test -z "$ac_cpp_err"; then
25798 ac_header_preproc
=yes
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.
$ac_ext >&5
25803 ac_header_preproc
=no
25805 rm -f conftest.err conftest.
$ac_ext
25806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25807 echo "${ECHO_T}$ac_header_preproc" >&6
25809 # So? What about this header?
25810 case $ac_header_compiler:$ac_header_preproc in
25812 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25813 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25814 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25815 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25818 ## ------------------------------------ ##
25819 ## Report this to bug-autoconf@gnu.org. ##
25820 ## ------------------------------------ ##
25823 sed "s/^/$as_me: WARNING: /" >&2
25826 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25827 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25828 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25829 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25830 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25831 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25834 ## ------------------------------------ ##
25835 ## Report this to bug-autoconf@gnu.org. ##
25836 ## ------------------------------------ ##
25839 sed "s/^/$as_me: WARNING: /" >&2
25842 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25843 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25844 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25847 ac_cv_header_GL_gl_h
=$ac_header_preproc
25849 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25850 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25853 if test $ac_cv_header_GL_gl_h = yes; then
25857 echo "$as_me:$LINENO: checking for -lGL" >&5
25858 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25861 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25863 for ac_extension
in a so sl dylib
; do
25864 if test -f "$ac_dir/libGL.$ac_extension"; then
25865 ac_find_libraries
=$ac_dir
25871 if test "$ac_find_libraries" != "" ; then
25873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25875 if test $result = 0; then
25878 ac_path_to_link
=" -L$ac_find_libraries"
25881 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25882 LDFLAGS_GL
="$ac_path_to_link"
25887 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25889 for ac_extension
in a so sl dylib
; do
25890 if test -f "$ac_dir/libGLU.$ac_extension"; then
25891 ac_find_libraries
=$ac_dir
25897 if test "$ac_find_libraries" != "" ; then
25899 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25901 if test $result = 0; then
25904 ac_path_to_link
=" -L$ac_find_libraries"
25907 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25908 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25909 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25913 OPENGL_LIBS
="-lGL -lGLU"
25914 echo "$as_me:$LINENO: result: yes" >&5
25915 echo "${ECHO_T}yes" >&6
25919 if test "$found_gl" != 1; then
25920 echo "$as_me:$LINENO: result: no" >&5
25921 echo "${ECHO_T}no" >&6
25922 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25923 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25926 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25928 for ac_extension
in a so sl dylib
; do
25929 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25930 ac_find_libraries
=$ac_dir
25936 if test "$ac_find_libraries" != "" ; then
25938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25940 if test $result = 0; then
25943 ac_path_to_link
=" -L$ac_find_libraries"
25946 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25947 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25948 echo "$as_me:$LINENO: result: yes" >&5
25949 echo "${ECHO_T}yes" >&6
25951 echo "$as_me:$LINENO: result: no" >&5
25952 echo "${ECHO_T}no" >&6
25960 if test "x$OPENGL_LIBS" = "x"; then
25961 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25962 echo "$as_me: error: OpenGL libraries not available" >&2;}
25963 { (exit 1); exit 1; }; }
25967 if test "$wxUSE_OPENGL" = "yes"; then
25969 cat >>confdefs.h
<<\_ACEOF
25970 #define wxUSE_OPENGL 1
25973 cat >>confdefs.h
<<\_ACEOF
25974 #define wxUSE_GLCANVAS 1
25977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25981 if test -z "$TOOLKIT_VPATH" ; then
25982 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25985 if test -n "$TOOLKIT" ; then
25986 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25990 lib_unicode_suffix
=
25991 if test "$wxUSE_UNICODE" = "yes"; then
25992 lib_unicode_suffix
=u
25998 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26004 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26008 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26010 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26011 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26013 if test "$cross_compiling" = "yes"; then
26014 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
26015 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
26016 HOST_SUFFIX
="-${host_alias}"
26019 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
26020 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
26021 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26022 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26024 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26025 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26027 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26028 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26029 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26030 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26033 *-*-cygwin* | *-*-mingw32* )
26034 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26035 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26040 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26041 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26043 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26044 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
26045 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26046 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26048 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26049 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26050 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26055 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
26056 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
26058 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
26059 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
26061 if test "$wxUSE_OPENGL" = "yes"; then
26062 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26063 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26068 if test "$wxUSE_SHARED" = "yes"; then
26070 *-pc-os2_emx | *-pc-os2-emx | \
26073 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26074 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26080 if test "$wxUSE_SHARED" = "yes"; then
26084 found_versioning
=no
26087 if test $found_versioning = no
; then
26088 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26089 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26090 if test "${wx_cv_version_script+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26094 echo "VER_1 { *; };" >conftest.sym
26095 echo "int main() { return 0; }" >conftest.cpp
26098 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26099 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } ; then
26105 if test -s conftest.stderr
; then
26106 wx_cv_version_script
=no
26108 wx_cv_version_script
=yes
26111 wx_cv_version_script
=no
26113 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26116 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26117 echo "${ECHO_T}$wx_cv_version_script" >&6
26118 if test $wx_cv_version_script = yes ; then
26119 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
26125 *-*-linux* | *-*-gnu* )
26126 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26130 if test "$GCC" = yes ; then
26131 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
26133 saveLdflags
="$LDFLAGS"
26134 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
26135 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26136 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26137 cat >conftest.
$ac_ext <<_ACEOF
26138 #line $LINENO "configure"
26141 cat confdefs.h
>>conftest.
$ac_ext
26142 cat >>conftest.
$ac_ext <<_ACEOF
26143 /* end confdefs.h. */
26153 rm -f conftest.
$ac_objext conftest
$ac_exeext
26154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26155 (eval $ac_link) 2>&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } &&
26159 { ac_try
='test -s conftest$ac_exeext'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; }; then
26166 echo "$as_me:$LINENO: result: yes" >&5
26167 echo "${ECHO_T}yes" >&6
26168 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.
$ac_ext >&5
26175 echo "$as_me:$LINENO: result: no" >&5
26176 echo "${ECHO_T}no" >&6
26177 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26178 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26179 LDFLAGS
="$saveLdflags -Wl,-R,/"
26180 cat >conftest.
$ac_ext <<_ACEOF
26181 #line $LINENO "configure"
26184 cat confdefs.h
>>conftest.
$ac_ext
26185 cat >>conftest.
$ac_ext <<_ACEOF
26186 /* end confdefs.h. */
26196 rm -f conftest.
$ac_objext conftest
$ac_exeext
26197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26198 (eval $ac_link) 2>&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); } &&
26202 { ac_try
='test -s conftest$ac_exeext'
26203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204 (eval $ac_try) 2>&5
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); }; }; then
26209 echo "$as_me:$LINENO: result: yes" >&5
26210 echo "${ECHO_T}yes" >&6
26211 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
26213 echo "$as_me: failed program was:" >&5
26214 sed 's/^/| /' conftest.
$ac_ext >&5
26217 echo "$as_me:$LINENO: result: no" >&5
26218 echo "${ECHO_T}no" >&6
26221 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26225 LDFLAGS
="$saveLdflags"
26227 SHARED_LD
="${CXX} -G -o"
26229 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
26233 powerpc
-*-darwin* )
26234 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26235 cat <<EOF >change-install-names
26237 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26238 inst_cmd="install_name_tool "
26239 for i in \${libnames} ; do
26240 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26244 chmod +x change
-install-names
26249 if test "x$WX_TARGET_LIBRARY" = "x"; then
26250 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
26251 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
26254 WX_TARGET_LIBRARY_TYPE
="so"
26255 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
26258 if test "$wxUSE_SHARED" = "no"; then
26260 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
26261 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
26264 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
26265 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
26268 if test "$wxUSE_OPENGL" = "yes"; then
26269 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
26270 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
26272 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
26275 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
26276 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
26278 WX_TARGET_LIBRARY_TYPE
="a"
26279 INSTALL_LIBRARY
='$(INSTALL_DATA)'
26286 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
26287 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
26288 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
26289 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
26291 # Extract the first word of "Rez", so it can be a program name with args.
26292 set dummy Rez
; ac_word
=$2
26293 echo "$as_me:$LINENO: checking for $ac_word" >&5
26294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26295 if test "${ac_cv_prog_RESCOMP+set}" = set; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26298 if test -n "$RESCOMP"; then
26299 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
26301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26302 for as_dir
in $PATH
26305 test -z "$as_dir" && as_dir
=.
26306 for ac_exec_ext
in '' $ac_executable_extensions; do
26307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26308 ac_cv_prog_RESCOMP
="Rez"
26309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26315 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
26318 RESCOMP
=$ac_cv_prog_RESCOMP
26319 if test -n "$RESCOMP"; then
26320 echo "$as_me:$LINENO: result: $RESCOMP" >&5
26321 echo "${ECHO_T}$RESCOMP" >&6
26323 echo "$as_me:$LINENO: result: no" >&5
26324 echo "${ECHO_T}no" >&6
26327 # Extract the first word of "DeRez", so it can be a program name with args.
26328 set dummy DeRez
; ac_word
=$2
26329 echo "$as_me:$LINENO: checking for $ac_word" >&5
26330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26331 if test "${ac_cv_prog_DEREZ+set}" = set; then
26332 echo $ECHO_N "(cached) $ECHO_C" >&6
26334 if test -n "$DEREZ"; then
26335 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
26337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26338 for as_dir
in $PATH
26341 test -z "$as_dir" && as_dir
=.
26342 for ac_exec_ext
in '' $ac_executable_extensions; do
26343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26344 ac_cv_prog_DEREZ
="DeRez"
26345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26351 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
26354 DEREZ
=$ac_cv_prog_DEREZ
26355 if test -n "$DEREZ"; then
26356 echo "$as_me:$LINENO: result: $DEREZ" >&5
26357 echo "${ECHO_T}$DEREZ" >&6
26359 echo "$as_me:$LINENO: result: no" >&5
26360 echo "${ECHO_T}no" >&6
26363 # Extract the first word of "SetFile", so it can be a program name with args.
26364 set dummy SetFile
; ac_word
=$2
26365 echo "$as_me:$LINENO: checking for $ac_word" >&5
26366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26367 if test "${ac_cv_prog_SETFILE+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 if test -n "$SETFILE"; then
26371 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
26373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26374 for as_dir
in $PATH
26377 test -z "$as_dir" && as_dir
=.
26378 for ac_exec_ext
in '' $ac_executable_extensions; do
26379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26380 ac_cv_prog_SETFILE
="SetFile"
26381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26387 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
26390 SETFILE
=$ac_cv_prog_SETFILE
26391 if test -n "$SETFILE"; then
26392 echo "$as_me:$LINENO: result: $SETFILE" >&5
26393 echo "${ECHO_T}$SETFILE" >&6
26395 echo "$as_me:$LINENO: result: no" >&5
26396 echo "${ECHO_T}no" >&6
26400 MACSETFILE
="\$(SETFILE)"
26402 if test "$wxUSE_MAC" = 1; then
26403 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
26405 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26407 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
26408 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26414 if test "$wxUSE_PM" = 1; then
26415 MACRESCOMP
="emxbind -ep"
26423 echo "$as_me:$LINENO: checking for mode_t" >&5
26424 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
26425 if test "${ac_cv_type_mode_t+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 cat >conftest.
$ac_ext <<_ACEOF
26429 #line $LINENO "configure"
26432 cat confdefs.h
>>conftest.
$ac_ext
26433 cat >>conftest.
$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26435 $ac_includes_default
26441 if (sizeof (mode_t))
26447 rm -f conftest.
$ac_objext
26448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26449 (eval $ac_compile) 2>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } &&
26453 { ac_try
='test -s conftest.$ac_objext'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; }; then
26459 ac_cv_type_mode_t
=yes
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.
$ac_ext >&5
26464 ac_cv_type_mode_t
=no
26466 rm -f conftest.
$ac_objext conftest.
$ac_ext
26468 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26469 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26470 if test $ac_cv_type_mode_t = yes; then
26474 cat >>confdefs.h
<<_ACEOF
26480 echo "$as_me:$LINENO: checking for off_t" >&5
26481 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26482 if test "${ac_cv_type_off_t+set}" = set; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 cat >conftest.
$ac_ext <<_ACEOF
26486 #line $LINENO "configure"
26489 cat confdefs.h
>>conftest.
$ac_ext
26490 cat >>conftest.
$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 $ac_includes_default
26498 if (sizeof (off_t))
26504 rm -f conftest.
$ac_objext
26505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26506 (eval $ac_compile) 2>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try
='test -s conftest.$ac_objext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_type_off_t
=yes
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.
$ac_ext >&5
26521 ac_cv_type_off_t
=no
26523 rm -f conftest.
$ac_objext conftest.
$ac_ext
26525 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26526 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26527 if test $ac_cv_type_off_t = yes; then
26531 cat >>confdefs.h
<<_ACEOF
26537 echo "$as_me:$LINENO: checking for pid_t" >&5
26538 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26539 if test "${ac_cv_type_pid_t+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 cat >conftest.
$ac_ext <<_ACEOF
26543 #line $LINENO "configure"
26546 cat confdefs.h
>>conftest.
$ac_ext
26547 cat >>conftest.
$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549 $ac_includes_default
26555 if (sizeof (pid_t))
26561 rm -f conftest.
$ac_objext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26563 (eval $ac_compile) 2>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } &&
26567 { ac_try
='test -s conftest.$ac_objext'
26568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26569 (eval $ac_try) 2>&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); }; }; then
26573 ac_cv_type_pid_t
=yes
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.
$ac_ext >&5
26578 ac_cv_type_pid_t
=no
26580 rm -f conftest.
$ac_objext conftest.
$ac_ext
26582 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26583 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26584 if test $ac_cv_type_pid_t = yes; then
26588 cat >>confdefs.h
<<_ACEOF
26594 echo "$as_me:$LINENO: checking for size_t" >&5
26595 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26596 if test "${ac_cv_type_size_t+set}" = set; then
26597 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 cat >conftest.
$ac_ext <<_ACEOF
26600 #line $LINENO "configure"
26603 cat confdefs.h
>>conftest.
$ac_ext
26604 cat >>conftest.
$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606 $ac_includes_default
26612 if (sizeof (size_t))
26618 rm -f conftest.
$ac_objext
26619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26620 (eval $ac_compile) 2>&5
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); } &&
26624 { ac_try
='test -s conftest.$ac_objext'
26625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26626 (eval $ac_try) 2>&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); }; }; then
26630 ac_cv_type_size_t
=yes
26632 echo "$as_me: failed program was:" >&5
26633 sed 's/^/| /' conftest.
$ac_ext >&5
26635 ac_cv_type_size_t
=no
26637 rm -f conftest.
$ac_objext conftest.
$ac_ext
26639 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26640 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26641 if test $ac_cv_type_size_t = yes; then
26645 cat >>confdefs.h
<<_ACEOF
26646 #define size_t unsigned
26651 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26652 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26653 if test "${ac_cv_type_uid_t+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26656 cat >conftest.
$ac_ext <<_ACEOF
26657 #line $LINENO "configure"
26660 cat confdefs.h
>>conftest.
$ac_ext
26661 cat >>conftest.
$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663 #include <sys/types.h>
26666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26667 $EGREP "uid_t" >/dev
/null
2>&1; then
26668 ac_cv_type_uid_t
=yes
26670 ac_cv_type_uid_t
=no
26675 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26676 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26677 if test $ac_cv_type_uid_t = no
; then
26679 cat >>confdefs.h
<<\_ACEOF
26684 cat >>confdefs.h
<<\_ACEOF
26694 ac_cpp
='$CXXCPP $CPPFLAGS'
26695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26699 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26700 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26701 if test "${wx_cv_size_t_is_uint+set}" = set; then
26702 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 cat >conftest.
$ac_ext <<_ACEOF
26706 #line $LINENO "configure"
26709 cat confdefs.h
>>conftest.
$ac_ext
26710 cat >>conftest.
$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26712 #include <stddef.h>
26719 struct Foo { void foo(size_t); void foo(unsigned int); };
26727 rm -f conftest.
$ac_objext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729 (eval $ac_compile) 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try
='test -s conftest.$ac_objext'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 wx_cv_size_t_is_uint
=no
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.
$ac_ext >&5
26744 wx_cv_size_t_is_uint
=yes
26747 rm -f conftest.
$ac_objext conftest.
$ac_ext
26751 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26752 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26754 if test "$wx_cv_size_t_is_uint" = "yes"; then
26755 cat >>confdefs.h
<<\_ACEOF
26756 #define wxSIZE_T_IS_UINT 1
26760 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26761 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26762 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26763 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 cat >conftest.
$ac_ext <<_ACEOF
26766 #line $LINENO "configure"
26769 cat confdefs.h
>>conftest.
$ac_ext
26770 cat >>conftest.
$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 #include <stddef.h>
26779 struct Foo { void foo(size_t); void foo(unsigned long); };
26787 rm -f conftest.
$ac_objext
26788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26789 (eval $ac_compile) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } &&
26793 { ac_try
='test -s conftest.$ac_objext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26799 wx_cv_size_t_is_ulong
=no
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.
$ac_ext >&5
26804 wx_cv_size_t_is_ulong
=yes
26807 rm -f conftest.
$ac_objext conftest.
$ac_ext
26810 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26811 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26813 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26814 cat >>confdefs.h
<<\_ACEOF
26815 #define wxSIZE_T_IS_ULONG 1
26822 ac_cpp
='$CPP $CPPFLAGS'
26823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26829 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26830 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26831 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26835 cat >conftest.
$ac_ext <<_ACEOF
26836 #line $LINENO "configure"
26839 cat confdefs.h
>>conftest.
$ac_ext
26840 cat >>conftest.
$ac_ext <<_ACEOF
26841 /* end confdefs.h. */
26855 rm -f conftest.
$ac_objext
26856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26857 (eval $ac_compile) 2>&5
26859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860 (exit $ac_status); } &&
26861 { ac_try
='test -s conftest.$ac_objext'
26862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26863 (eval $ac_try) 2>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); }; }; then
26868 wx_cv_struct_pw_gecos
=yes
26871 echo "$as_me: failed program was:" >&5
26872 sed 's/^/| /' conftest.
$ac_ext >&5
26875 wx_cv_struct_pw_gecos
=no
26879 rm -f conftest.
$ac_objext conftest.
$ac_ext
26883 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26884 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26886 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26887 cat >>confdefs.h
<<\_ACEOF
26888 #define HAVE_PW_GECOS 1
26894 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26895 cat >>confdefs.h
<<\_ACEOF
26896 #define wxUSE_WCHAR_T 1
26903 for ac_func
in wcslen
26905 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26906 echo "$as_me:$LINENO: checking for $ac_func" >&5
26907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26908 if eval "test \"\${$as_ac_var+set}\" = set"; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26911 cat >conftest.
$ac_ext <<_ACEOF
26912 #line $LINENO "configure"
26915 cat confdefs.h
>>conftest.
$ac_ext
26916 cat >>conftest.
$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26918 /* System header to define __stub macros and hopefully few prototypes,
26919 which can conflict with char $ac_func (); below.
26920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26921 <limits.h> exists even on freestanding compilers. */
26923 # include <limits.h>
26925 # include <assert.h>
26927 /* Override any gcc2 internal prototype to avoid an error. */
26932 /* We use char because int might match the return type of a gcc2
26933 builtin and then its argument prototype would still apply. */
26935 /* The GNU C library defines this for functions which it implements
26936 to always fail with ENOSYS. Some functions are actually named
26937 something starting with __ and the normal name is an alias. */
26938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26941 char (*f) () = $ac_func;
26950 return f != $ac_func;
26955 rm -f conftest.
$ac_objext conftest
$ac_exeext
26956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26957 (eval $ac_link) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } &&
26961 { ac_try
='test -s conftest$ac_exeext'
26962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26963 (eval $ac_try) 2>&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); }; }; then
26967 eval "$as_ac_var=yes"
26969 echo "$as_me: failed program was:" >&5
26970 sed 's/^/| /' conftest.
$ac_ext >&5
26972 eval "$as_ac_var=no"
26974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26978 if test `eval echo '${'$as_ac_var'}'` = yes; then
26979 cat >>confdefs.h
<<_ACEOF
26980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26987 if test "$WCSLEN_FOUND" = 0; then
26988 if test "$TOOLKIT" = "MSW"; then
26989 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26990 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26991 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26992 echo $ECHO_N "(cached) $ECHO_C" >&6
26994 ac_check_lib_save_LIBS
=$LIBS
26995 LIBS
="-lmsvcrt $LIBS"
26996 cat >conftest.
$ac_ext <<_ACEOF
26997 #line $LINENO "configure"
27000 cat confdefs.h
>>conftest.
$ac_ext
27001 cat >>conftest.
$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27004 /* Override any gcc2 internal prototype to avoid an error. */
27008 /* We use char because int might match the return type of a gcc2
27009 builtin and then its argument prototype would still apply. */
27019 rm -f conftest.
$ac_objext conftest
$ac_exeext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021 (eval $ac_link) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); } &&
27025 { ac_try
='test -s conftest$ac_exeext'
27026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27027 (eval $ac_try) 2>&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); }; }; then
27031 ac_cv_lib_msvcrt_wcslen
=yes
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.
$ac_ext >&5
27036 ac_cv_lib_msvcrt_wcslen
=no
27038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27039 LIBS
=$ac_check_lib_save_LIBS
27041 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27042 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27043 if test $ac_cv_lib_msvcrt_wcslen = yes; then
27048 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27049 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27050 if test "${ac_cv_lib_w_wcslen+set}" = set; then
27051 echo $ECHO_N "(cached) $ECHO_C" >&6
27053 ac_check_lib_save_LIBS
=$LIBS
27055 cat >conftest.
$ac_ext <<_ACEOF
27056 #line $LINENO "configure"
27059 cat confdefs.h
>>conftest.
$ac_ext
27060 cat >>conftest.
$ac_ext <<_ACEOF
27061 /* end confdefs.h. */
27063 /* Override any gcc2 internal prototype to avoid an error. */
27067 /* We use char because int might match the return type of a gcc2
27068 builtin and then its argument prototype would still apply. */
27078 rm -f conftest.
$ac_objext conftest
$ac_exeext
27079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27080 (eval $ac_link) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } &&
27084 { ac_try
='test -s conftest$ac_exeext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 ac_cv_lib_w_wcslen
=yes
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.
$ac_ext >&5
27095 ac_cv_lib_w_wcslen
=no
27097 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27098 LIBS
=$ac_check_lib_save_LIBS
27100 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27101 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27102 if test $ac_cv_lib_w_wcslen = yes; then
27112 if test "$WCSLEN_FOUND" = 1; then
27113 cat >>confdefs.h
<<\_ACEOF
27114 #define HAVE_WCSLEN 1
27120 for ac_func
in wcsrtombs
27122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27123 echo "$as_me:$LINENO: checking for $ac_func" >&5
27124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27125 if eval "test \"\${$as_ac_var+set}\" = set"; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 cat >conftest.
$ac_ext <<_ACEOF
27129 #line $LINENO "configure"
27132 cat confdefs.h
>>conftest.
$ac_ext
27133 cat >>conftest.
$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135 /* System header to define __stub macros and hopefully few prototypes,
27136 which can conflict with char $ac_func (); below.
27137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27138 <limits.h> exists even on freestanding compilers. */
27140 # include <limits.h>
27142 # include <assert.h>
27144 /* Override any gcc2 internal prototype to avoid an error. */
27149 /* We use char because int might match the return type of a gcc2
27150 builtin and then its argument prototype would still apply. */
27152 /* The GNU C library defines this for functions which it implements
27153 to always fail with ENOSYS. Some functions are actually named
27154 something starting with __ and the normal name is an alias. */
27155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27158 char (*f) () = $ac_func;
27167 return f != $ac_func;
27172 rm -f conftest.
$ac_objext conftest
$ac_exeext
27173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27174 (eval $ac_link) 2>&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try
='test -s conftest$ac_exeext'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; }; then
27184 eval "$as_ac_var=yes"
27186 echo "$as_me: failed program was:" >&5
27187 sed 's/^/| /' conftest.
$ac_ext >&5
27189 eval "$as_ac_var=no"
27191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27195 if test `eval echo '${'$as_ac_var'}'` = yes; then
27196 cat >>confdefs.h
<<_ACEOF
27197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27204 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27205 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27211 ac_cpp
='$CXXCPP $CPPFLAGS'
27212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27218 for ac_func
in vsnprintf
27220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27221 echo "$as_me:$LINENO: checking for $ac_func" >&5
27222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27223 if eval "test \"\${$as_ac_var+set}\" = set"; then
27224 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 cat >conftest.
$ac_ext <<_ACEOF
27227 #line $LINENO "configure"
27230 cat confdefs.h
>>conftest.
$ac_ext
27231 cat >>conftest.
$ac_ext <<_ACEOF
27232 /* end confdefs.h. */
27233 /* System header to define __stub macros and hopefully few prototypes,
27234 which can conflict with char $ac_func (); below.
27235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27236 <limits.h> exists even on freestanding compilers. */
27238 # include <limits.h>
27240 # include <assert.h>
27242 /* Override any gcc2 internal prototype to avoid an error. */
27247 /* We use char because int might match the return type of a gcc2
27248 builtin and then its argument prototype would still apply. */
27250 /* The GNU C library defines this for functions which it implements
27251 to always fail with ENOSYS. Some functions are actually named
27252 something starting with __ and the normal name is an alias. */
27253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27256 char (*f) () = $ac_func;
27265 return f != $ac_func;
27270 rm -f conftest.
$ac_objext conftest
$ac_exeext
27271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27272 (eval $ac_link) 2>&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); } &&
27276 { ac_try
='test -s conftest$ac_exeext'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; }; then
27282 eval "$as_ac_var=yes"
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.
$ac_ext >&5
27287 eval "$as_ac_var=no"
27289 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27293 if test `eval echo '${'$as_ac_var'}'` = yes; then
27294 cat >>confdefs.h
<<_ACEOF
27295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27302 if test "$ac_cv_func_vsnprintf" = "yes"; then
27303 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
27304 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
27305 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
27306 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 cat >conftest.
$ac_ext <<_ACEOF
27310 #line $LINENO "configure"
27313 cat confdefs.h
>>conftest.
$ac_ext
27314 cat >>conftest.
$ac_ext <<_ACEOF
27315 /* end confdefs.h. */
27318 #include <stdarg.h>
27326 vsnprintf(buf, 10u, "%s", ap);
27332 rm -f conftest.
$ac_objext
27333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27334 (eval $ac_compile) 2>&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); } &&
27338 { ac_try
='test -s conftest.$ac_objext'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; }; then
27344 wx_cv_func_vsnprintf_decl
=yes
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.
$ac_ext >&5
27349 wx_cv_func_vsnprintf_decl
=no
27352 rm -f conftest.
$ac_objext conftest.
$ac_ext
27356 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
27357 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
27359 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
27360 cat >>confdefs.h
<<\_ACEOF
27361 #define HAVE_VSNPRINTF_DECL 1
27367 if test "$wxUSE_UNICODE" = yes; then
27371 for ac_func
in fputwc wprintf vswprintf
27373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27374 echo "$as_me:$LINENO: checking for $ac_func" >&5
27375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27376 if eval "test \"\${$as_ac_var+set}\" = set"; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 cat >conftest.
$ac_ext <<_ACEOF
27380 #line $LINENO "configure"
27383 cat confdefs.h
>>conftest.
$ac_ext
27384 cat >>conftest.
$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 /* System header to define __stub macros and hopefully few prototypes,
27387 which can conflict with char $ac_func (); below.
27388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27389 <limits.h> exists even on freestanding compilers. */
27391 # include <limits.h>
27393 # include <assert.h>
27395 /* Override any gcc2 internal prototype to avoid an error. */
27400 /* We use char because int might match the return type of a gcc2
27401 builtin and then its argument prototype would still apply. */
27403 /* The GNU C library defines this for functions which it implements
27404 to always fail with ENOSYS. Some functions are actually named
27405 something starting with __ and the normal name is an alias. */
27406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27409 char (*f) () = $ac_func;
27418 return f != $ac_func;
27423 rm -f conftest.
$ac_objext conftest
$ac_exeext
27424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27425 (eval $ac_link) 2>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try
='test -s conftest$ac_exeext'
27430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27431 (eval $ac_try) 2>&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); }; }; then
27435 eval "$as_ac_var=yes"
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.
$ac_ext >&5
27440 eval "$as_ac_var=no"
27442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27446 if test `eval echo '${'$as_ac_var'}'` = yes; then
27447 cat >>confdefs.h
<<_ACEOF
27448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27455 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27456 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27457 cat >conftest.
$ac_ext <<_ACEOF
27458 #line $LINENO "configure"
27461 cat confdefs.h
>>conftest.
$ac_ext
27462 cat >>conftest.
$ac_ext <<_ACEOF
27463 /* end confdefs.h. */
27473 rm -f conftest.
$ac_objext
27474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27475 (eval $ac_compile) 2>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); } &&
27479 { ac_try
='test -s conftest.$ac_objext'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 echo "$as_me:$LINENO: result: yes" >&5
27486 echo "${ECHO_T}yes" >&6
27487 cat >>confdefs.h
<<\_ACEOF
27488 #define HAVE__VSNWPRINTF 1
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.
$ac_ext >&5
27495 echo "$as_me:$LINENO: result: no" >&5
27496 echo "${ECHO_T}no" >&6
27498 rm -f conftest.
$ac_objext conftest.
$ac_ext;
27502 ac_cpp
='$CPP $CPPFLAGS'
27503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27510 if test "$TOOLKIT" != "MSW"; then
27516 ac_cpp
='$CXXCPP $CPPFLAGS'
27517 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27518 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27519 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27524 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27525 if test "${with_libiconv_prefix+set}" = set; then
27526 withval
="$with_libiconv_prefix"
27528 for dir
in `echo "$withval" | tr : ' '`; do
27529 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27530 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27535 echo "$as_me:$LINENO: checking for iconv" >&5
27536 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27537 if test "${am_cv_func_iconv+set}" = set; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27541 am_cv_func_iconv
="no, consider installing GNU libiconv"
27543 cat >conftest.
$ac_ext <<_ACEOF
27544 #line $LINENO "configure"
27547 cat confdefs.h
>>conftest.
$ac_ext
27548 cat >>conftest.
$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27550 #include <stdlib.h>
27555 iconv_t cd = iconv_open("","");
27556 iconv(cd,NULL,NULL,NULL,NULL);
27562 rm -f conftest.
$ac_objext conftest
$ac_exeext
27563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27564 (eval $ac_link) 2>&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } &&
27568 { ac_try
='test -s conftest$ac_exeext'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; }; then
27574 am_cv_func_iconv
=yes
27576 echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.
$ac_ext >&5
27580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27581 if test "$am_cv_func_iconv" != yes; then
27582 am_save_LIBS
="$LIBS"
27583 LIBS
="$LIBS -liconv"
27584 cat >conftest.
$ac_ext <<_ACEOF
27585 #line $LINENO "configure"
27588 cat confdefs.h
>>conftest.
$ac_ext
27589 cat >>conftest.
$ac_ext <<_ACEOF
27590 /* end confdefs.h. */
27591 #include <stdlib.h>
27596 iconv_t cd = iconv_open("","");
27597 iconv(cd,NULL,NULL,NULL,NULL);
27603 rm -f conftest.
$ac_objext conftest
$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } &&
27609 { ac_try
='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 am_cv_lib_iconv
=yes
27616 am_cv_func_iconv
=yes
27618 echo "$as_me: failed program was:" >&5
27619 sed 's/^/| /' conftest.
$ac_ext >&5
27622 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27623 LIBS
="$am_save_LIBS"
27627 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27628 echo "${ECHO_T}$am_cv_func_iconv" >&6
27629 if test "$am_cv_func_iconv" = yes; then
27631 cat >>confdefs.h
<<\_ACEOF
27632 #define HAVE_ICONV 1
27635 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27636 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27637 if test "${wx_cv_func_iconv_const+set}" = set; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27640 cat >conftest.
$ac_ext <<_ACEOF
27641 #line $LINENO "configure"
27644 cat confdefs.h
>>conftest.
$ac_ext
27645 cat >>conftest.
$ac_ext <<_ACEOF
27646 /* end confdefs.h. */
27648 #include <stdlib.h>
27654 #if defined(__STDC__) || defined(__cplusplus)
27655 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27668 rm -f conftest.
$ac_objext
27669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27670 (eval $ac_compile) 2>&5
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); } &&
27674 { ac_try
='test -s conftest.$ac_objext'
27675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27676 (eval $ac_try) 2>&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); }; }; then
27680 wx_cv_func_iconv_const
="no"
27682 echo "$as_me: failed program was:" >&5
27683 sed 's/^/| /' conftest.
$ac_ext >&5
27685 wx_cv_func_iconv_const
="yes"
27688 rm -f conftest.
$ac_objext conftest.
$ac_ext
27691 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27692 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27695 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27696 iconv_const
="const"
27700 cat >>confdefs.h
<<_ACEOF
27701 #define ICONV_CONST $iconv_const
27706 if test "$am_cv_lib_iconv" = yes; then
27711 LIBS
="$LIBICONV $LIBS"
27713 ac_cpp
='$CPP $CPPFLAGS'
27714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27719 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27721 for ac_func
in sigaction
27723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27724 echo "$as_me:$LINENO: checking for $ac_func" >&5
27725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27726 if eval "test \"\${$as_ac_var+set}\" = set"; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
27736 /* System header to define __stub macros and hopefully few prototypes,
27737 which can conflict with char $ac_func (); below.
27738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27739 <limits.h> exists even on freestanding compilers. */
27741 # include <limits.h>
27743 # include <assert.h>
27745 /* Override any gcc2 internal prototype to avoid an error. */
27750 /* We use char because int might match the return type of a gcc2
27751 builtin and then its argument prototype would still apply. */
27753 /* The GNU C library defines this for functions which it implements
27754 to always fail with ENOSYS. Some functions are actually named
27755 something starting with __ and the normal name is an alias. */
27756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27759 char (*f) () = $ac_func;
27768 return f != $ac_func;
27773 rm -f conftest.
$ac_objext conftest
$ac_exeext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27775 (eval $ac_link) 2>&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try
='test -s conftest$ac_exeext'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; }; then
27785 eval "$as_ac_var=yes"
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.
$ac_ext >&5
27790 eval "$as_ac_var=no"
27792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27796 if test `eval echo '${'$as_ac_var'}'` = yes; then
27797 cat >>confdefs.h
<<_ACEOF
27798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27805 if test "$ac_cv_func_sigaction" = "no"; then
27806 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27807 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27808 wxUSE_ON_FATAL_EXCEPTION
=no
27811 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27815 ac_cpp
='$CXXCPP $CPPFLAGS'
27816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27821 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27822 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27823 if test "${wx_cv_type_sa_handler+set}" = set; then
27824 echo $ECHO_N "(cached) $ECHO_C" >&6
27827 cat >conftest.
$ac_ext <<_ACEOF
27828 #line $LINENO "configure"
27831 cat confdefs.h
>>conftest.
$ac_ext
27832 cat >>conftest.
$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27834 #include <signal.h>
27839 extern void testSigHandler(int);
27841 struct sigaction sa;
27842 sa.sa_handler = testSigHandler;
27848 rm -f conftest.
$ac_objext
27849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27850 (eval $ac_compile) 2>&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); } &&
27854 { ac_try
='test -s conftest.$ac_objext'
27855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856 (eval $ac_try) 2>&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); }; }; then
27861 wx_cv_type_sa_handler
=int
27864 echo "$as_me: failed program was:" >&5
27865 sed 's/^/| /' conftest.
$ac_ext >&5
27868 wx_cv_type_sa_handler
=void
27871 rm -f conftest.
$ac_objext conftest.
$ac_ext
27874 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27875 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27878 ac_cpp
='$CPP $CPPFLAGS'
27879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27884 cat >>confdefs.h
<<_ACEOF
27885 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27893 for ac_func
in mkstemp mktemp
27895 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27896 echo "$as_me:$LINENO: checking for $ac_func" >&5
27897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27898 if eval "test \"\${$as_ac_var+set}\" = set"; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 cat >conftest.
$ac_ext <<_ACEOF
27902 #line $LINENO "configure"
27905 cat confdefs.h
>>conftest.
$ac_ext
27906 cat >>conftest.
$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908 /* System header to define __stub macros and hopefully few prototypes,
27909 which can conflict with char $ac_func (); below.
27910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27911 <limits.h> exists even on freestanding compilers. */
27913 # include <limits.h>
27915 # include <assert.h>
27917 /* Override any gcc2 internal prototype to avoid an error. */
27922 /* We use char because int might match the return type of a gcc2
27923 builtin and then its argument prototype would still apply. */
27925 /* The GNU C library defines this for functions which it implements
27926 to always fail with ENOSYS. Some functions are actually named
27927 something starting with __ and the normal name is an alias. */
27928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27931 char (*f) () = $ac_func;
27940 return f != $ac_func;
27945 rm -f conftest.
$ac_objext conftest
$ac_exeext
27946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27947 (eval $ac_link) 2>&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } &&
27951 { ac_try
='test -s conftest$ac_exeext'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; }; then
27957 eval "$as_ac_var=yes"
27959 echo "$as_me: failed program was:" >&5
27960 sed 's/^/| /' conftest.
$ac_ext >&5
27962 eval "$as_ac_var=no"
27964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27968 if test `eval echo '${'$as_ac_var'}'` = yes; then
27969 cat >>confdefs.h
<<_ACEOF
27970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27977 echo "$as_me:$LINENO: checking for statfs" >&5
27978 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27979 if test "${wx_cv_func_statfs+set}" = set; then
27980 echo $ECHO_N "(cached) $ECHO_C" >&6
27982 cat >conftest.
$ac_ext <<_ACEOF
27983 #line $LINENO "configure"
27986 cat confdefs.h
>>conftest.
$ac_ext
27987 cat >>conftest.
$ac_ext <<_ACEOF
27988 /* end confdefs.h. */
27990 #if defined(__BSD__)
27991 #include <sys/param.h>
27992 #include <sys/mount.h>
27994 #include <sys/vfs.h>
28012 rm -f conftest.
$ac_objext
28013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28014 (eval $ac_compile) 2>&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } &&
28018 { ac_try
='test -s conftest.$ac_objext'
28019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28020 (eval $ac_try) 2>&5
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); }; }; then
28025 wx_cv_func_statfs
=yes
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.
$ac_ext >&5
28032 wx_cv_func_statfs
=no
28036 rm -f conftest.
$ac_objext conftest.
$ac_ext
28039 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28040 echo "${ECHO_T}$wx_cv_func_statfs" >&6
28042 if test "$wx_cv_func_statfs" = "yes"; then
28043 wx_cv_type_statvfs_t
="struct statfs"
28044 cat >>confdefs.h
<<\_ACEOF
28045 #define HAVE_STATFS 1
28049 echo "$as_me:$LINENO: checking for statvfs" >&5
28050 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28051 if test "${wx_cv_func_statvfs+set}" = set; then
28052 echo $ECHO_N "(cached) $ECHO_C" >&6
28054 cat >conftest.
$ac_ext <<_ACEOF
28055 #line $LINENO "configure"
28058 cat confdefs.h
>>conftest.
$ac_ext
28059 cat >>conftest.
$ac_ext <<_ACEOF
28060 /* end confdefs.h. */
28062 #include <stddef.h>
28063 #include <sys/statvfs.h>
28069 statvfs("/", NULL);
28075 rm -f conftest.
$ac_objext
28076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28077 (eval $ac_compile) 2>&5
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); } &&
28081 { ac_try
='test -s conftest.$ac_objext'
28082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28083 (eval $ac_try) 2>&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); }; }; then
28087 wx_cv_func_statvfs
=yes
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.
$ac_ext >&5
28092 wx_cv_func_statvfs
=no
28095 rm -f conftest.
$ac_objext conftest.
$ac_ext
28098 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28099 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28101 if test "$wx_cv_func_statvfs" = "yes"; then
28105 ac_cpp
='$CXXCPP $CPPFLAGS'
28106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28111 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28112 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28113 if test "${wx_cv_type_statvfs_t+set}" = set; then
28114 echo $ECHO_N "(cached) $ECHO_C" >&6
28116 cat >conftest.
$ac_ext <<_ACEOF
28117 #line $LINENO "configure"
28120 cat confdefs.h
>>conftest.
$ac_ext
28121 cat >>conftest.
$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28124 #include <sys/statvfs.h>
28141 rm -f conftest.
$ac_objext
28142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28143 (eval $ac_compile) 2>&5
28145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28146 (exit $ac_status); } &&
28147 { ac_try
='test -s conftest.$ac_objext'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; }; then
28153 wx_cv_type_statvfs_t
=statvfs_t
28155 echo "$as_me: failed program was:" >&5
28156 sed 's/^/| /' conftest.
$ac_ext >&5
28159 cat >conftest.
$ac_ext <<_ACEOF
28160 #line $LINENO "configure"
28163 cat confdefs.h
>>conftest.
$ac_ext
28164 cat >>conftest.
$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28167 #include <sys/statvfs.h>
28184 rm -f conftest.
$ac_objext
28185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28186 (eval $ac_compile) 2>&5
28188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28189 (exit $ac_status); } &&
28190 { ac_try
='test -s conftest.$ac_objext'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; }; then
28196 wx_cv_type_statvfs_t
="struct statvfs"
28198 echo "$as_me: failed program was:" >&5
28199 sed 's/^/| /' conftest.
$ac_ext >&5
28201 wx_cv_type_statvfs_t
="unknown"
28204 rm -f conftest.
$ac_objext conftest.
$ac_ext
28208 rm -f conftest.
$ac_objext conftest.
$ac_ext
28211 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28212 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28215 ac_cpp
='$CPP $CPPFLAGS'
28216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28221 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28222 cat >>confdefs.h
<<\_ACEOF
28223 #define HAVE_STATVFS 1
28228 wx_cv_type_statvfs_t
="unknown"
28232 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28233 cat >>confdefs.h
<<_ACEOF
28234 #define WX_STATFS_T $wx_cv_type_statvfs_t
28238 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28239 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28242 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
28245 for ac_func
in fcntl flock
28247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28248 echo "$as_me:$LINENO: checking for $ac_func" >&5
28249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28250 if eval "test \"\${$as_ac_var+set}\" = set"; then
28251 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 cat >conftest.
$ac_ext <<_ACEOF
28254 #line $LINENO "configure"
28257 cat confdefs.h
>>conftest.
$ac_ext
28258 cat >>conftest.
$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28260 /* System header to define __stub macros and hopefully few prototypes,
28261 which can conflict with char $ac_func (); below.
28262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28263 <limits.h> exists even on freestanding compilers. */
28265 # include <limits.h>
28267 # include <assert.h>
28269 /* Override any gcc2 internal prototype to avoid an error. */
28274 /* We use char because int might match the return type of a gcc2
28275 builtin and then its argument prototype would still apply. */
28277 /* The GNU C library defines this for functions which it implements
28278 to always fail with ENOSYS. Some functions are actually named
28279 something starting with __ and the normal name is an alias. */
28280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28283 char (*f) () = $ac_func;
28292 return f != $ac_func;
28297 rm -f conftest.
$ac_objext conftest
$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299 (eval $ac_link) 2>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } &&
28303 { ac_try
='test -s conftest$ac_exeext'
28304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305 (eval $ac_try) 2>&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; }; then
28309 eval "$as_ac_var=yes"
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.
$ac_ext >&5
28314 eval "$as_ac_var=no"
28316 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28320 if test `eval echo '${'$as_ac_var'}'` = yes; then
28321 cat >>confdefs.h
<<_ACEOF
28322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28329 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
28330 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
28331 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
28332 wxUSE_SNGLINST_CHECKER
=no
28337 for ac_func
in timegm
28339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28340 echo "$as_me:$LINENO: checking for $ac_func" >&5
28341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28342 if eval "test \"\${$as_ac_var+set}\" = set"; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28345 cat >conftest.
$ac_ext <<_ACEOF
28346 #line $LINENO "configure"
28349 cat confdefs.h
>>conftest.
$ac_ext
28350 cat >>conftest.
$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352 /* System header to define __stub macros and hopefully few prototypes,
28353 which can conflict with char $ac_func (); below.
28354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28355 <limits.h> exists even on freestanding compilers. */
28357 # include <limits.h>
28359 # include <assert.h>
28361 /* Override any gcc2 internal prototype to avoid an error. */
28366 /* We use char because int might match the return type of a gcc2
28367 builtin and then its argument prototype would still apply. */
28369 /* The GNU C library defines this for functions which it implements
28370 to always fail with ENOSYS. Some functions are actually named
28371 something starting with __ and the normal name is an alias. */
28372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28375 char (*f) () = $ac_func;
28384 return f != $ac_func;
28389 rm -f conftest.
$ac_objext conftest
$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391 (eval $ac_link) 2>&5
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); } &&
28395 { ac_try
='test -s conftest$ac_exeext'
28396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28397 (eval $ac_try) 2>&5
28399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400 (exit $ac_status); }; }; then
28401 eval "$as_ac_var=yes"
28403 echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.
$ac_ext >&5
28406 eval "$as_ac_var=no"
28408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28412 if test `eval echo '${'$as_ac_var'}'` = yes; then
28413 cat >>confdefs.h
<<_ACEOF
28414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28423 for ac_func
in putenv setenv
28425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28426 echo "$as_me:$LINENO: checking for $ac_func" >&5
28427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28428 if eval "test \"\${$as_ac_var+set}\" = set"; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 cat >conftest.
$ac_ext <<_ACEOF
28432 #line $LINENO "configure"
28435 cat confdefs.h
>>conftest.
$ac_ext
28436 cat >>conftest.
$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438 /* System header to define __stub macros and hopefully few prototypes,
28439 which can conflict with char $ac_func (); below.
28440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28441 <limits.h> exists even on freestanding compilers. */
28443 # include <limits.h>
28445 # include <assert.h>
28447 /* Override any gcc2 internal prototype to avoid an error. */
28452 /* We use char because int might match the return type of a gcc2
28453 builtin and then its argument prototype would still apply. */
28455 /* The GNU C library defines this for functions which it implements
28456 to always fail with ENOSYS. Some functions are actually named
28457 something starting with __ and the normal name is an alias. */
28458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28461 char (*f) () = $ac_func;
28470 return f != $ac_func;
28475 rm -f conftest.
$ac_objext conftest
$ac_exeext
28476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28477 (eval $ac_link) 2>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); } &&
28481 { ac_try
='test -s conftest$ac_exeext'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; }; then
28487 eval "$as_ac_var=yes"
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.
$ac_ext >&5
28492 eval "$as_ac_var=no"
28494 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28498 if test `eval echo '${'$as_ac_var'}'` = yes; then
28499 cat >>confdefs.h
<<_ACEOF
28500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28507 HAVE_SOME_SLEEP_FUNC
=0
28508 if test "$USE_BEOS" = 1; then
28509 cat >>confdefs.h
<<\_ACEOF
28510 #define HAVE_SLEEP 1
28513 HAVE_SOME_SLEEP_FUNC
=1
28516 if test "$USE_DARWIN" = 1; then
28517 cat >>confdefs.h
<<\_ACEOF
28518 #define HAVE_USLEEP 1
28521 HAVE_SOME_SLEEP_FUNC
=1
28524 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28527 for ac_func
in nanosleep
28529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28530 echo "$as_me:$LINENO: checking for $ac_func" >&5
28531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28532 if eval "test \"\${$as_ac_var+set}\" = set"; then
28533 echo $ECHO_N "(cached) $ECHO_C" >&6
28535 cat >conftest.
$ac_ext <<_ACEOF
28536 #line $LINENO "configure"
28539 cat confdefs.h
>>conftest.
$ac_ext
28540 cat >>conftest.
$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28542 /* System header to define __stub macros and hopefully few prototypes,
28543 which can conflict with char $ac_func (); below.
28544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28545 <limits.h> exists even on freestanding compilers. */
28547 # include <limits.h>
28549 # include <assert.h>
28551 /* Override any gcc2 internal prototype to avoid an error. */
28556 /* We use char because int might match the return type of a gcc2
28557 builtin and then its argument prototype would still apply. */
28559 /* The GNU C library defines this for functions which it implements
28560 to always fail with ENOSYS. Some functions are actually named
28561 something starting with __ and the normal name is an alias. */
28562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28565 char (*f) () = $ac_func;
28574 return f != $ac_func;
28579 rm -f conftest.
$ac_objext conftest
$ac_exeext
28580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28581 (eval $ac_link) 2>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } &&
28585 { ac_try
='test -s conftest$ac_exeext'
28586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28587 (eval $ac_try) 2>&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); }; }; then
28591 eval "$as_ac_var=yes"
28593 echo "$as_me: failed program was:" >&5
28594 sed 's/^/| /' conftest.
$ac_ext >&5
28596 eval "$as_ac_var=no"
28598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28602 if test `eval echo '${'$as_ac_var'}'` = yes; then
28603 cat >>confdefs.h
<<_ACEOF
28604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28606 cat >>confdefs.h
<<\_ACEOF
28607 #define HAVE_NANOSLEEP 1
28612 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28613 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28614 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 ac_check_lib_save_LIBS
=$LIBS
28618 LIBS
="-lposix4 $LIBS"
28619 cat >conftest.
$ac_ext <<_ACEOF
28620 #line $LINENO "configure"
28623 cat confdefs.h
>>conftest.
$ac_ext
28624 cat >>conftest.
$ac_ext <<_ACEOF
28625 /* end confdefs.h. */
28627 /* Override any gcc2 internal prototype to avoid an error. */
28631 /* We use char because int might match the return type of a gcc2
28632 builtin and then its argument prototype would still apply. */
28642 rm -f conftest.
$ac_objext conftest
$ac_exeext
28643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28644 (eval $ac_link) 2>&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); } &&
28648 { ac_try
='test -s conftest$ac_exeext'
28649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28650 (eval $ac_try) 2>&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); }; }; then
28654 ac_cv_lib_posix4_nanosleep
=yes
28656 echo "$as_me: failed program was:" >&5
28657 sed 's/^/| /' conftest.
$ac_ext >&5
28659 ac_cv_lib_posix4_nanosleep
=no
28661 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28662 LIBS
=$ac_check_lib_save_LIBS
28664 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28665 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28666 if test $ac_cv_lib_posix4_nanosleep = yes; then
28668 cat >>confdefs.h
<<\_ACEOF
28669 #define HAVE_NANOSLEEP 1
28672 POSIX4_LINK
=" -lposix4"
28677 for ac_func
in usleep
28679 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28680 echo "$as_me:$LINENO: checking for $ac_func" >&5
28681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28682 if eval "test \"\${$as_ac_var+set}\" = set"; then
28683 echo $ECHO_N "(cached) $ECHO_C" >&6
28685 cat >conftest.
$ac_ext <<_ACEOF
28686 #line $LINENO "configure"
28689 cat confdefs.h
>>conftest.
$ac_ext
28690 cat >>conftest.
$ac_ext <<_ACEOF
28691 /* end confdefs.h. */
28692 /* System header to define __stub macros and hopefully few prototypes,
28693 which can conflict with char $ac_func (); below.
28694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28695 <limits.h> exists even on freestanding compilers. */
28697 # include <limits.h>
28699 # include <assert.h>
28701 /* Override any gcc2 internal prototype to avoid an error. */
28706 /* We use char because int might match the return type of a gcc2
28707 builtin and then its argument prototype would still apply. */
28709 /* The GNU C library defines this for functions which it implements
28710 to always fail with ENOSYS. Some functions are actually named
28711 something starting with __ and the normal name is an alias. */
28712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28715 char (*f) () = $ac_func;
28724 return f != $ac_func;
28729 rm -f conftest.
$ac_objext conftest
$ac_exeext
28730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28731 (eval $ac_link) 2>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); } &&
28735 { ac_try
='test -s conftest$ac_exeext'
28736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28737 (eval $ac_try) 2>&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); }; }; then
28741 eval "$as_ac_var=yes"
28743 echo "$as_me: failed program was:" >&5
28744 sed 's/^/| /' conftest.
$ac_ext >&5
28746 eval "$as_ac_var=no"
28748 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28752 if test `eval echo '${'$as_ac_var'}'` = yes; then
28753 cat >>confdefs.h
<<_ACEOF
28754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28756 cat >>confdefs.h
<<\_ACEOF
28757 #define HAVE_USLEEP 1
28761 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28762 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28780 for ac_func
in uname gethostname
28782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28783 echo "$as_me:$LINENO: checking for $ac_func" >&5
28784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28785 if eval "test \"\${$as_ac_var+set}\" = set"; then
28786 echo $ECHO_N "(cached) $ECHO_C" >&6
28788 cat >conftest.
$ac_ext <<_ACEOF
28789 #line $LINENO "configure"
28792 cat confdefs.h
>>conftest.
$ac_ext
28793 cat >>conftest.
$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28795 /* System header to define __stub macros and hopefully few prototypes,
28796 which can conflict with char $ac_func (); below.
28797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28798 <limits.h> exists even on freestanding compilers. */
28800 # include <limits.h>
28802 # include <assert.h>
28804 /* Override any gcc2 internal prototype to avoid an error. */
28809 /* We use char because int might match the return type of a gcc2
28810 builtin and then its argument prototype would still apply. */
28812 /* The GNU C library defines this for functions which it implements
28813 to always fail with ENOSYS. Some functions are actually named
28814 something starting with __ and the normal name is an alias. */
28815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28818 char (*f) () = $ac_func;
28827 return f != $ac_func;
28832 rm -f conftest.
$ac_objext conftest
$ac_exeext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28834 (eval $ac_link) 2>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try
='test -s conftest$ac_exeext'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28844 eval "$as_ac_var=yes"
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.
$ac_ext >&5
28849 eval "$as_ac_var=no"
28851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28855 if test `eval echo '${'$as_ac_var'}'` = yes; then
28856 cat >>confdefs.h
<<_ACEOF
28857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28867 ac_cpp
='$CXXCPP $CPPFLAGS'
28868 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28874 for ac_func
in strtok_r
28876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28877 echo "$as_me:$LINENO: checking for $ac_func" >&5
28878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28879 if eval "test \"\${$as_ac_var+set}\" = set"; then
28880 echo $ECHO_N "(cached) $ECHO_C" >&6
28882 cat >conftest.
$ac_ext <<_ACEOF
28883 #line $LINENO "configure"
28886 cat confdefs.h
>>conftest.
$ac_ext
28887 cat >>conftest.
$ac_ext <<_ACEOF
28888 /* end confdefs.h. */
28889 /* System header to define __stub macros and hopefully few prototypes,
28890 which can conflict with char $ac_func (); below.
28891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28892 <limits.h> exists even on freestanding compilers. */
28894 # include <limits.h>
28896 # include <assert.h>
28898 /* Override any gcc2 internal prototype to avoid an error. */
28903 /* We use char because int might match the return type of a gcc2
28904 builtin and then its argument prototype would still apply. */
28906 /* The GNU C library defines this for functions which it implements
28907 to always fail with ENOSYS. Some functions are actually named
28908 something starting with __ and the normal name is an alias. */
28909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28912 char (*f) () = $ac_func;
28921 return f != $ac_func;
28926 rm -f conftest.
$ac_objext conftest
$ac_exeext
28927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28928 (eval $ac_link) 2>&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); } &&
28932 { ac_try
='test -s conftest$ac_exeext'
28933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28934 (eval $ac_try) 2>&5
28936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937 (exit $ac_status); }; }; then
28938 eval "$as_ac_var=yes"
28940 echo "$as_me: failed program was:" >&5
28941 sed 's/^/| /' conftest.
$ac_ext >&5
28943 eval "$as_ac_var=no"
28945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28949 if test `eval echo '${'$as_ac_var'}'` = yes; then
28950 cat >>confdefs.h
<<_ACEOF
28951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 ac_cpp
='$CPP $CPPFLAGS'
28960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28967 for ac_func
in inet_addr
28969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28970 echo "$as_me:$LINENO: checking for $ac_func" >&5
28971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28972 if eval "test \"\${$as_ac_var+set}\" = set"; then
28973 echo $ECHO_N "(cached) $ECHO_C" >&6
28975 cat >conftest.
$ac_ext <<_ACEOF
28976 #line $LINENO "configure"
28979 cat confdefs.h
>>conftest.
$ac_ext
28980 cat >>conftest.
$ac_ext <<_ACEOF
28981 /* end confdefs.h. */
28982 /* System header to define __stub macros and hopefully few prototypes,
28983 which can conflict with char $ac_func (); below.
28984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28985 <limits.h> exists even on freestanding compilers. */
28987 # include <limits.h>
28989 # include <assert.h>
28991 /* 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. */
28999 /* The GNU C library defines this for functions which it implements
29000 to always fail with ENOSYS. Some functions are actually named
29001 something starting with __ and the normal name is an alias. */
29002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29005 char (*f) () = $ac_func;
29014 return f != $ac_func;
29019 rm -f conftest.
$ac_objext conftest
$ac_exeext
29020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29021 (eval $ac_link) 2>&5
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); } &&
29025 { ac_try
='test -s conftest$ac_exeext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 eval "$as_ac_var=yes"
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.
$ac_ext >&5
29036 eval "$as_ac_var=no"
29038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29042 if test `eval echo '${'$as_ac_var'}'` = yes; then
29043 cat >>confdefs.h
<<_ACEOF
29044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29046 cat >>confdefs.h
<<\_ACEOF
29047 #define HAVE_INET_ADDR 1
29052 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29053 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29054 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29055 echo $ECHO_N "(cached) $ECHO_C" >&6
29057 ac_check_lib_save_LIBS
=$LIBS
29059 cat >conftest.
$ac_ext <<_ACEOF
29060 #line $LINENO "configure"
29063 cat confdefs.h
>>conftest.
$ac_ext
29064 cat >>conftest.
$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29067 /* Override any gcc2 internal prototype to avoid an error. */
29071 /* We use char because int might match the return type of a gcc2
29072 builtin and then its argument prototype would still apply. */
29082 rm -f conftest.
$ac_objext conftest
$ac_exeext
29083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29084 (eval $ac_link) 2>&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try
='test -s conftest$ac_exeext'
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; }; then
29094 ac_cv_lib_nsl_inet_addr
=yes
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.
$ac_ext >&5
29099 ac_cv_lib_nsl_inet_addr
=no
29101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29102 LIBS
=$ac_check_lib_save_LIBS
29104 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29105 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29106 if test $ac_cv_lib_nsl_inet_addr = yes; then
29110 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29111 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29112 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29113 echo $ECHO_N "(cached) $ECHO_C" >&6
29115 ac_check_lib_save_LIBS
=$LIBS
29116 LIBS
="-lresolv $LIBS"
29117 cat >conftest.
$ac_ext <<_ACEOF
29118 #line $LINENO "configure"
29121 cat confdefs.h
>>conftest.
$ac_ext
29122 cat >>conftest.
$ac_ext <<_ACEOF
29123 /* end confdefs.h. */
29125 /* Override any gcc2 internal prototype to avoid an error. */
29129 /* We use char because int might match the return type of a gcc2
29130 builtin and then its argument prototype would still apply. */
29140 rm -f conftest.
$ac_objext conftest
$ac_exeext
29141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29142 (eval $ac_link) 2>&5
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); } &&
29146 { ac_try
='test -s conftest$ac_exeext'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; }; then
29152 ac_cv_lib_resolv_inet_addr
=yes
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.
$ac_ext >&5
29157 ac_cv_lib_resolv_inet_addr
=no
29159 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29160 LIBS
=$ac_check_lib_save_LIBS
29162 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29163 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29164 if test $ac_cv_lib_resolv_inet_addr = yes; then
29168 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29169 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29170 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29173 ac_check_lib_save_LIBS
=$LIBS
29174 LIBS
="-lsocket $LIBS"
29175 cat >conftest.
$ac_ext <<_ACEOF
29176 #line $LINENO "configure"
29179 cat confdefs.h
>>conftest.
$ac_ext
29180 cat >>conftest.
$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29183 /* Override any gcc2 internal prototype to avoid an error. */
29187 /* We use char because int might match the return type of a gcc2
29188 builtin and then its argument prototype would still apply. */
29198 rm -f conftest.
$ac_objext conftest
$ac_exeext
29199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29200 (eval $ac_link) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } &&
29204 { ac_try
='test -s conftest$ac_exeext'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; }; then
29210 ac_cv_lib_socket_inet_addr
=yes
29212 echo "$as_me: failed program was:" >&5
29213 sed 's/^/| /' conftest.
$ac_ext >&5
29215 ac_cv_lib_socket_inet_addr
=no
29217 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29218 LIBS
=$ac_check_lib_save_LIBS
29220 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29221 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29222 if test $ac_cv_lib_socket_inet_addr = yes; then
29242 for ac_func
in inet_aton
29244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 echo "$as_me:$LINENO: checking for $ac_func" >&5
29246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29247 if eval "test \"\${$as_ac_var+set}\" = set"; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 cat >conftest.
$ac_ext <<_ACEOF
29251 #line $LINENO "configure"
29254 cat confdefs.h
>>conftest.
$ac_ext
29255 cat >>conftest.
$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257 /* System header to define __stub macros and hopefully few prototypes,
29258 which can conflict with char $ac_func (); below.
29259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29260 <limits.h> exists even on freestanding compilers. */
29262 # include <limits.h>
29264 # include <assert.h>
29266 /* Override any gcc2 internal prototype to avoid an error. */
29271 /* We use char because int might match the return type of a gcc2
29272 builtin and then its argument prototype would still apply. */
29274 /* The GNU C library defines this for functions which it implements
29275 to always fail with ENOSYS. Some functions are actually named
29276 something starting with __ and the normal name is an alias. */
29277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29280 char (*f) () = $ac_func;
29289 return f != $ac_func;
29294 rm -f conftest.
$ac_objext conftest
$ac_exeext
29295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29296 (eval $ac_link) 2>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); } &&
29300 { ac_try
='test -s conftest$ac_exeext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 eval "$as_ac_var=yes"
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.
$ac_ext >&5
29311 eval "$as_ac_var=no"
29313 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29317 if test `eval echo '${'$as_ac_var'}'` = yes; then
29318 cat >>confdefs.h
<<_ACEOF
29319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29321 cat >>confdefs.h
<<\_ACEOF
29322 #define HAVE_INET_ATON 1
29327 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
29328 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
29329 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
29330 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 ac_check_lib_save_LIBS
=$LIBS
29334 LIBS
="-l$INET_LINK $LIBS"
29335 cat >conftest.
$ac_ext <<_ACEOF
29336 #line $LINENO "configure"
29339 cat confdefs.h
>>conftest.
$ac_ext
29340 cat >>conftest.
$ac_ext <<_ACEOF
29341 /* end confdefs.h. */
29343 /* Override any gcc2 internal prototype to avoid an error. */
29347 /* We use char because int might match the return type of a gcc2
29348 builtin and then its argument prototype would still apply. */
29358 rm -f conftest.
$ac_objext conftest
$ac_exeext
29359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29360 (eval $ac_link) 2>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); } &&
29364 { ac_try
='test -s conftest$ac_exeext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 eval "$as_ac_Lib=yes"
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.
$ac_ext >&5
29375 eval "$as_ac_Lib=no"
29377 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29378 LIBS
=$ac_check_lib_save_LIBS
29380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
29381 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
29382 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29383 cat >>confdefs.h
<<\_ACEOF
29384 #define HAVE_INET_ATON 1
29394 if test "x$INET_LINK" != "x"; then
29395 cat >>confdefs.h
<<\_ACEOF
29396 #define HAVE_INET_ADDR 1
29399 INET_LINK
=" -l$INET_LINK"
29407 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
29408 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
29409 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 ac_check_lib_save_LIBS
=$LIBS
29414 cat >conftest.
$ac_ext <<_ACEOF
29415 #line $LINENO "configure"
29418 cat confdefs.h
>>conftest.
$ac_ext
29419 cat >>conftest.
$ac_ext <<_ACEOF
29420 /* end confdefs.h. */
29422 /* Override any gcc2 internal prototype to avoid an error. */
29426 /* We use char because int might match the return type of a gcc2
29427 builtin and then its argument prototype would still apply. */
29437 rm -f conftest.
$ac_objext conftest
$ac_exeext
29438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29439 (eval $ac_link) 2>&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } &&
29443 { ac_try
='test -s conftest$ac_exeext'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; }; then
29449 ac_cv_lib_esd_esd_close
=yes
29451 echo "$as_me: failed program was:" >&5
29452 sed 's/^/| /' conftest.
$ac_ext >&5
29454 ac_cv_lib_esd_esd_close
=no
29456 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29457 LIBS
=$ac_check_lib_save_LIBS
29459 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29460 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29461 if test $ac_cv_lib_esd_esd_close = yes; then
29464 for ac_header
in esd.h
29466 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29468 echo "$as_me:$LINENO: checking for $ac_header" >&5
29469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29476 # Is the header compilable?
29477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29479 cat >conftest.
$ac_ext <<_ACEOF
29480 #line $LINENO "configure"
29483 cat confdefs.h
>>conftest.
$ac_ext
29484 cat >>conftest.
$ac_ext <<_ACEOF
29485 /* end confdefs.h. */
29486 $ac_includes_default
29487 #include <$ac_header>
29489 rm -f conftest.
$ac_objext
29490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29491 (eval $ac_compile) 2>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try
='test -s conftest.$ac_objext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 ac_header_compiler
=yes
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.
$ac_ext >&5
29506 ac_header_compiler
=no
29508 rm -f conftest.
$ac_objext conftest.
$ac_ext
29509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29510 echo "${ECHO_T}$ac_header_compiler" >&6
29512 # Is the header present?
29513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29515 cat >conftest.
$ac_ext <<_ACEOF
29516 #line $LINENO "configure"
29519 cat confdefs.h
>>conftest.
$ac_ext
29520 cat >>conftest.
$ac_ext <<_ACEOF
29521 /* end confdefs.h. */
29522 #include <$ac_header>
29524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29527 grep -v '^ *+' conftest.er1
>conftest.err
29529 cat conftest.err
>&5
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); } >/dev
/null
; then
29532 if test -s conftest.err
; then
29533 ac_cpp_err
=$ac_c_preproc_warn_flag
29540 if test -z "$ac_cpp_err"; then
29541 ac_header_preproc
=yes
29543 echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.
$ac_ext >&5
29546 ac_header_preproc
=no
29548 rm -f conftest.err conftest.
$ac_ext
29549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29550 echo "${ECHO_T}$ac_header_preproc" >&6
29552 # So? What about this header?
29553 case $ac_header_compiler:$ac_header_preproc in
29555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29561 ## ------------------------------------ ##
29562 ## Report this to bug-autoconf@gnu.org. ##
29563 ## ------------------------------------ ##
29566 sed "s/^/$as_me: WARNING: /" >&2
29569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29577 ## ------------------------------------ ##
29578 ## Report this to bug-autoconf@gnu.org. ##
29579 ## ------------------------------------ ##
29582 sed "s/^/$as_me: WARNING: /" >&2
29585 echo "$as_me:$LINENO: checking for $ac_header" >&5
29586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29588 echo $ECHO_N "(cached) $ECHO_C" >&6
29590 eval "$as_ac_Header=$ac_header_preproc"
29592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29597 cat >>confdefs.h
<<_ACEOF
29598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29601 EXTRALIBS_ESD
="-lesd"
29612 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29613 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29614 cat >conftest.
$ac_ext <<_ACEOF
29615 #line $LINENO "configure"
29618 cat confdefs.h
>>conftest.
$ac_ext
29619 cat >>conftest.
$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29622 #include <linux/cdrom.h>
29625 #include <sys/cdio.h>
29631 struct cdrom_tocentry entry, old_entry;
29636 rm -f conftest.
$ac_objext
29637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29638 (eval $ac_compile) 2>&5
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); } &&
29642 { ac_try
='test -s conftest.$ac_objext'
29643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29644 (eval $ac_try) 2>&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; }; then
29648 echo "$as_me:$LINENO: result: yes" >&5
29649 echo "${ECHO_T}yes" >&6
29650 cat >>confdefs.h
<<\_ACEOF
29651 #define HAVE_KNOWN_CDROM_INTERFACE 1
29655 echo "$as_me: failed program was:" >&5
29656 sed 's/^/| /' conftest.
$ac_ext >&5
29658 echo "$as_me:$LINENO: result: no" >&5
29659 echo "${ECHO_T}no" >&6
29661 rm -f conftest.
$ac_objext conftest.
$ac_ext
29664 cat >confcache
<<\_ACEOF
29665 # This file is a shell script that caches the results of configure
29666 # tests run on this system so they can be shared between configure
29667 # scripts and configure runs, see configure's option --config-cache.
29668 # It is not useful on other systems. If it contains results you don't
29669 # want to keep, you may remove or edit it.
29671 # config.status only pays attention to the cache file if you give it
29672 # the --recheck option to rerun configure.
29674 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29675 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29676 # following values.
29680 # The following way of writing the cache mishandles newlines in values,
29681 # but we know of no workaround that is simple, portable, and efficient.
29682 # So, don't put newlines in cache variables' values.
29683 # Ultrix sh set writes to stderr and can't be redirected directly,
29684 # and sets the high bit in the cache file unless we assign to the vars.
29687 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29689 # `set' does not quote correctly, so add quotes (double-quote
29690 # substitution turns \\\\ into \\, and sed turns \\ into \).
29693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29696 # `set' quotes correctly as required by POSIX, so do not add quotes.
29698 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29705 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29707 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29709 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29710 if test -w $cache_file; then
29711 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29712 cat confcache
>$cache_file
29714 echo "not updating unwritable cache $cache_file"
29721 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29727 if test "$wxUSE_THREADS" = "yes" ; then
29728 if test "$USE_BEOS" = 1; then
29729 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29730 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29735 if test "$wxUSE_THREADS" = "yes" ; then
29738 THREAD_OPTS
="-pthread"
29740 *-*-solaris2* | *-*-sunos4* )
29741 if test "x$GCC" = "xyes"; then
29742 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29744 THREAD_OPTS
="-mt $THREAD_OPTS"
29748 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29750 *-*-darwin* | *-*-cygwin* )
29754 THREAD_OPTS
="pthreads"
29757 if test "x$GCC" != "xyes"; then
29763 if test "x$GCC" = "xyes"; then
29769 if test "x$GCC" != "xyes"; then
29770 THREAD_OPTS
="-Ethread"
29775 THREAD_OPTS
="$THREAD_OPTS pthread none"
29778 for flag
in $THREAD_OPTS; do
29781 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29782 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29786 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29787 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29788 THREADS_CFLAGS
="$flag"
29792 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29793 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29794 THREADS_LINK
="-l$flag"
29799 save_CFLAGS
="$CFLAGS"
29800 LIBS
="$THREADS_LINK $LIBS"
29801 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29803 cat >conftest.
$ac_ext <<_ACEOF
29804 #line $LINENO "configure"
29807 cat confdefs.h
>>conftest.
$ac_ext
29808 cat >>conftest.
$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29810 #include <pthread.h>
29814 pthread_create(0,0,0,0);
29819 rm -f conftest.
$ac_objext conftest
$ac_exeext
29820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29821 (eval $ac_link) 2>&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); } &&
29825 { ac_try
='test -s conftest$ac_exeext'
29826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29827 (eval $ac_try) 2>&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); }; }; then
29833 echo "$as_me: failed program was:" >&5
29834 sed 's/^/| /' conftest.
$ac_ext >&5
29837 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29840 CFLAGS
="$save_CFLAGS"
29842 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29843 echo "${ECHO_T}$THREADS_OK" >&6
29844 if test "x$THREADS_OK" = "xyes"; then
29852 if test "x$THREADS_OK" != "xyes"; then
29854 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29855 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29857 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29858 LIBS
="$THREADS_LINK $LIBS"
29860 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29861 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29865 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29866 flag
="-D_THREAD_SAFE"
29869 flag
="-D_THREAD_SAFE"
29872 flag
="-D_REENTRANT"
29873 if test "x$GCC" != "xyes"; then
29874 flag
="$flag -D_RWSTD_MULTI_THREAD"
29877 *solaris
* | alpha
*-osf*)
29878 flag
="-D_REENTRANT"
29881 echo "$as_me:$LINENO: result: ${flag}" >&5
29882 echo "${ECHO_T}${flag}" >&6
29883 if test "x$flag" != xno
; then
29884 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29887 if test "x$THREADS_CFLAGS" != "x"; then
29888 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29889 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29894 if test "$wxUSE_THREADS" = "yes" ; then
29896 for ac_func
in thr_setconcurrency
29898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29899 echo "$as_me:$LINENO: checking for $ac_func" >&5
29900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29901 if eval "test \"\${$as_ac_var+set}\" = set"; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 cat >conftest.
$ac_ext <<_ACEOF
29905 #line $LINENO "configure"
29908 cat confdefs.h
>>conftest.
$ac_ext
29909 cat >>conftest.
$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29911 /* System header to define __stub macros and hopefully few prototypes,
29912 which can conflict with char $ac_func (); below.
29913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29914 <limits.h> exists even on freestanding compilers. */
29916 # include <limits.h>
29918 # include <assert.h>
29920 /* Override any gcc2 internal prototype to avoid an error. */
29925 /* We use char because int might match the return type of a gcc2
29926 builtin and then its argument prototype would still apply. */
29928 /* The GNU C library defines this for functions which it implements
29929 to always fail with ENOSYS. Some functions are actually named
29930 something starting with __ and the normal name is an alias. */
29931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29934 char (*f) () = $ac_func;
29943 return f != $ac_func;
29948 rm -f conftest.
$ac_objext conftest
$ac_exeext
29949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29950 (eval $ac_link) 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); } &&
29954 { ac_try
='test -s conftest$ac_exeext'
29955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29956 (eval $ac_try) 2>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; }; then
29960 eval "$as_ac_var=yes"
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.
$ac_ext >&5
29965 eval "$as_ac_var=no"
29967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29971 if test `eval echo '${'$as_ac_var'}'` = yes; then
29972 cat >>confdefs.h
<<_ACEOF
29973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29981 for ac_header
in sched.h
29983 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29985 echo "$as_me:$LINENO: checking for $ac_header" >&5
29986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29988 echo $ECHO_N "(cached) $ECHO_C" >&6
29990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29993 # Is the header compilable?
29994 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29995 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29996 cat >conftest.
$ac_ext <<_ACEOF
29997 #line $LINENO "configure"
30000 cat confdefs.h
>>conftest.
$ac_ext
30001 cat >>conftest.
$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30003 $ac_includes_default
30004 #include <$ac_header>
30006 rm -f conftest.
$ac_objext
30007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30008 (eval $ac_compile) 2>&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); } &&
30012 { ac_try
='test -s conftest.$ac_objext'
30013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30014 (eval $ac_try) 2>&5
30016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017 (exit $ac_status); }; }; then
30018 ac_header_compiler
=yes
30020 echo "$as_me: failed program was:" >&5
30021 sed 's/^/| /' conftest.
$ac_ext >&5
30023 ac_header_compiler
=no
30025 rm -f conftest.
$ac_objext conftest.
$ac_ext
30026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30027 echo "${ECHO_T}$ac_header_compiler" >&6
30029 # Is the header present?
30030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30032 cat >conftest.
$ac_ext <<_ACEOF
30033 #line $LINENO "configure"
30036 cat confdefs.h
>>conftest.
$ac_ext
30037 cat >>conftest.
$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30039 #include <$ac_header>
30041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30044 grep -v '^ *+' conftest.er1
>conftest.err
30046 cat conftest.err
>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } >/dev
/null
; then
30049 if test -s conftest.err
; then
30050 ac_cpp_err
=$ac_c_preproc_warn_flag
30057 if test -z "$ac_cpp_err"; then
30058 ac_header_preproc
=yes
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.
$ac_ext >&5
30063 ac_header_preproc
=no
30065 rm -f conftest.err conftest.
$ac_ext
30066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30067 echo "${ECHO_T}$ac_header_preproc" >&6
30069 # So? What about this header?
30070 case $ac_header_compiler:$ac_header_preproc in
30072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30078 ## ------------------------------------ ##
30079 ## Report this to bug-autoconf@gnu.org. ##
30080 ## ------------------------------------ ##
30083 sed "s/^/$as_me: WARNING: /" >&2
30086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30094 ## ------------------------------------ ##
30095 ## Report this to bug-autoconf@gnu.org. ##
30096 ## ------------------------------------ ##
30099 sed "s/^/$as_me: WARNING: /" >&2
30102 echo "$as_me:$LINENO: checking for $ac_header" >&5
30103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30107 eval "$as_ac_Header=$ac_header_preproc"
30109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30114 cat >>confdefs.h
<<_ACEOF
30115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30122 if test "$ac_cv_header_sched_h" = "yes"; then
30123 echo "$as_me:$LINENO: checking for sched_yield" >&5
30124 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30125 if test "${ac_cv_func_sched_yield+set}" = set; then
30126 echo $ECHO_N "(cached) $ECHO_C" >&6
30128 cat >conftest.
$ac_ext <<_ACEOF
30129 #line $LINENO "configure"
30132 cat confdefs.h
>>conftest.
$ac_ext
30133 cat >>conftest.
$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30135 /* System header to define __stub macros and hopefully few prototypes,
30136 which can conflict with char sched_yield (); below.
30137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30138 <limits.h> exists even on freestanding compilers. */
30140 # include <limits.h>
30142 # include <assert.h>
30144 /* Override any gcc2 internal prototype to avoid an error. */
30149 /* We use char because int might match the return type of a gcc2
30150 builtin and then its argument prototype would still apply. */
30151 char sched_yield ();
30152 /* The GNU C library defines this for functions which it implements
30153 to always fail with ENOSYS. Some functions are actually named
30154 something starting with __ and the normal name is an alias. */
30155 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30158 char (*f) () = sched_yield;
30167 return f != sched_yield;
30172 rm -f conftest.
$ac_objext conftest
$ac_exeext
30173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30174 (eval $ac_link) 2>&5
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); } &&
30178 { ac_try
='test -s conftest$ac_exeext'
30179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30180 (eval $ac_try) 2>&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); }; }; then
30184 ac_cv_func_sched_yield
=yes
30186 echo "$as_me: failed program was:" >&5
30187 sed 's/^/| /' conftest.
$ac_ext >&5
30189 ac_cv_func_sched_yield
=no
30191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30193 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30194 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30195 if test $ac_cv_func_sched_yield = yes; then
30196 cat >>confdefs.h
<<\_ACEOF
30197 #define HAVE_SCHED_YIELD 1
30202 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30203 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30204 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30205 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 ac_check_lib_save_LIBS
=$LIBS
30208 LIBS
="-lposix4 $LIBS"
30209 cat >conftest.
$ac_ext <<_ACEOF
30210 #line $LINENO "configure"
30213 cat confdefs.h
>>conftest.
$ac_ext
30214 cat >>conftest.
$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30217 /* Override any gcc2 internal prototype to avoid an error. */
30221 /* We use char because int might match the return type of a gcc2
30222 builtin and then its argument prototype would still apply. */
30223 char sched_yield ();
30232 rm -f conftest.
$ac_objext conftest
$ac_exeext
30233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30234 (eval $ac_link) 2>&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } &&
30238 { ac_try
='test -s conftest$ac_exeext'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30244 ac_cv_lib_posix4_sched_yield
=yes
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.
$ac_ext >&5
30249 ac_cv_lib_posix4_sched_yield
=no
30251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30252 LIBS
=$ac_check_lib_save_LIBS
30254 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
30255 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
30256 if test $ac_cv_lib_posix4_sched_yield = yes; then
30257 cat >>confdefs.h
<<\_ACEOF
30258 #define HAVE_SCHED_YIELD 1
30260 POSIX4_LINK
=" -lposix4"
30262 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
30263 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
30274 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
30275 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
30276 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
30277 echo $ECHO_N "(cached) $ECHO_C" >&6
30279 cat >conftest.
$ac_ext <<_ACEOF
30280 #line $LINENO "configure"
30283 cat confdefs.h
>>conftest.
$ac_ext
30284 cat >>conftest.
$ac_ext <<_ACEOF
30285 /* end confdefs.h. */
30286 /* System header to define __stub macros and hopefully few prototypes,
30287 which can conflict with char pthread_attr_getschedpolicy (); below.
30288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30289 <limits.h> exists even on freestanding compilers. */
30291 # include <limits.h>
30293 # include <assert.h>
30295 /* Override any gcc2 internal prototype to avoid an error. */
30300 /* We use char because int might match the return type of a gcc2
30301 builtin and then its argument prototype would still apply. */
30302 char pthread_attr_getschedpolicy ();
30303 /* The GNU C library defines this for functions which it implements
30304 to always fail with ENOSYS. Some functions are actually named
30305 something starting with __ and the normal name is an alias. */
30306 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
30309 char (*f) () = pthread_attr_getschedpolicy;
30318 return f != pthread_attr_getschedpolicy;
30323 rm -f conftest.
$ac_objext conftest
$ac_exeext
30324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30325 (eval $ac_link) 2>&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } &&
30329 { ac_try
='test -s conftest$ac_exeext'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; }; then
30335 ac_cv_func_pthread_attr_getschedpolicy
=yes
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.
$ac_ext >&5
30340 ac_cv_func_pthread_attr_getschedpolicy
=no
30342 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30344 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
30345 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
30346 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
30347 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
30348 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
30349 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 cat >conftest.
$ac_ext <<_ACEOF
30353 #line $LINENO "configure"
30356 cat confdefs.h
>>conftest.
$ac_ext
30357 cat >>conftest.
$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30359 /* System header to define __stub macros and hopefully few prototypes,
30360 which can conflict with char pthread_attr_setschedparam (); below.
30361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30362 <limits.h> exists even on freestanding compilers. */
30364 # include <limits.h>
30366 # include <assert.h>
30368 /* Override any gcc2 internal prototype to avoid an error. */
30373 /* We use char because int might match the return type of a gcc2
30374 builtin and then its argument prototype would still apply. */
30375 char pthread_attr_setschedparam ();
30376 /* The GNU C library defines this for functions which it implements
30377 to always fail with ENOSYS. Some functions are actually named
30378 something starting with __ and the normal name is an alias. */
30379 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
30382 char (*f) () = pthread_attr_setschedparam;
30391 return f != pthread_attr_setschedparam;
30396 rm -f conftest.
$ac_objext conftest
$ac_exeext
30397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30398 (eval $ac_link) 2>&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } &&
30402 { ac_try
='test -s conftest$ac_exeext'
30403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30404 (eval $ac_try) 2>&5
30406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30407 (exit $ac_status); }; }; then
30408 ac_cv_func_pthread_attr_setschedparam
=yes
30410 echo "$as_me: failed program was:" >&5
30411 sed 's/^/| /' conftest.
$ac_ext >&5
30413 ac_cv_func_pthread_attr_setschedparam
=no
30415 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30417 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
30418 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
30419 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
30420 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
30421 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
30422 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
30423 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 cat >conftest.
$ac_ext <<_ACEOF
30426 #line $LINENO "configure"
30429 cat confdefs.h
>>conftest.
$ac_ext
30430 cat >>conftest.
$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 /* System header to define __stub macros and hopefully few prototypes,
30433 which can conflict with char sched_get_priority_max (); below.
30434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30435 <limits.h> exists even on freestanding compilers. */
30437 # include <limits.h>
30439 # include <assert.h>
30441 /* Override any gcc2 internal prototype to avoid an error. */
30446 /* We use char because int might match the return type of a gcc2
30447 builtin and then its argument prototype would still apply. */
30448 char sched_get_priority_max ();
30449 /* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30455 char (*f) () = sched_get_priority_max;
30464 return f != sched_get_priority_max;
30469 rm -f conftest.
$ac_objext conftest
$ac_exeext
30470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30471 (eval $ac_link) 2>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } &&
30475 { ac_try
='test -s conftest$ac_exeext'
30476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30477 (eval $ac_try) 2>&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); }; }; then
30481 ac_cv_func_sched_get_priority_max
=yes
30483 echo "$as_me: failed program was:" >&5
30484 sed 's/^/| /' conftest.
$ac_ext >&5
30486 ac_cv_func_sched_get_priority_max
=no
30488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30490 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30491 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30492 if test $ac_cv_func_sched_get_priority_max = yes; then
30495 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30496 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30497 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30500 ac_check_lib_save_LIBS
=$LIBS
30501 LIBS
="-lposix4 $LIBS"
30502 cat >conftest.
$ac_ext <<_ACEOF
30503 #line $LINENO "configure"
30506 cat confdefs.h
>>conftest.
$ac_ext
30507 cat >>conftest.
$ac_ext <<_ACEOF
30508 /* end confdefs.h. */
30510 /* Override any gcc2 internal prototype to avoid an error. */
30514 /* We use char because int might match the return type of a gcc2
30515 builtin and then its argument prototype would still apply. */
30516 char sched_get_priority_max ();
30520 sched_get_priority_max ();
30525 rm -f conftest.
$ac_objext conftest
$ac_exeext
30526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30527 (eval $ac_link) 2>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } &&
30531 { ac_try
='test -s conftest$ac_exeext'
30532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30533 (eval $ac_try) 2>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); }; }; then
30537 ac_cv_lib_posix4_sched_get_priority_max
=yes
30539 echo "$as_me: failed program was:" >&5
30540 sed 's/^/| /' conftest.
$ac_ext >&5
30542 ac_cv_lib_posix4_sched_get_priority_max
=no
30544 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30545 LIBS
=$ac_check_lib_save_LIBS
30547 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30548 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30549 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30552 POSIX4_LINK
=" -lposix4"
30566 if test "$HAVE_PRIOR_FUNCS" = 1; then
30567 cat >>confdefs.h
<<\_ACEOF
30568 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30572 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30573 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30576 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30577 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30578 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30579 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 cat >conftest.
$ac_ext <<_ACEOF
30582 #line $LINENO "configure"
30585 cat confdefs.h
>>conftest.
$ac_ext
30586 cat >>conftest.
$ac_ext <<_ACEOF
30587 /* end confdefs.h. */
30588 /* System header to define __stub macros and hopefully few prototypes,
30589 which can conflict with char pthread_cancel (); below.
30590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30591 <limits.h> exists even on freestanding compilers. */
30593 # include <limits.h>
30595 # include <assert.h>
30597 /* Override any gcc2 internal prototype to avoid an error. */
30602 /* We use char because int might match the return type of a gcc2
30603 builtin and then its argument prototype would still apply. */
30604 char pthread_cancel ();
30605 /* The GNU C library defines this for functions which it implements
30606 to always fail with ENOSYS. Some functions are actually named
30607 something starting with __ and the normal name is an alias. */
30608 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30611 char (*f) () = pthread_cancel;
30620 return f != pthread_cancel;
30625 rm -f conftest.
$ac_objext conftest
$ac_exeext
30626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30627 (eval $ac_link) 2>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } &&
30631 { ac_try
='test -s conftest$ac_exeext'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; }; then
30637 ac_cv_func_pthread_cancel
=yes
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.
$ac_ext >&5
30642 ac_cv_func_pthread_cancel
=no
30644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30646 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30647 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30648 if test $ac_cv_func_pthread_cancel = yes; then
30649 cat >>confdefs.h
<<\_ACEOF
30650 #define HAVE_PTHREAD_CANCEL 1
30654 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30655 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30661 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30662 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30663 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30664 echo $ECHO_N "(cached) $ECHO_C" >&6
30667 cat >conftest.
$ac_ext <<_ACEOF
30668 #line $LINENO "configure"
30671 cat confdefs.h
>>conftest.
$ac_ext
30672 cat >>conftest.
$ac_ext <<_ACEOF
30673 /* end confdefs.h. */
30674 #include <pthread.h>
30679 pthread_mutexattr_t attr;
30680 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30686 rm -f conftest.
$ac_objext
30687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30688 (eval $ac_compile) 2>&5
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); } &&
30692 { ac_try
='test -s conftest.$ac_objext'
30693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30694 (eval $ac_try) 2>&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); }; }; then
30699 wx_cv_type_pthread_mutexattr_t
=yes
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.
$ac_ext >&5
30706 wx_cv_type_pthread_mutexattr_t
=no
30710 rm -f conftest.
$ac_objext conftest.
$ac_ext
30713 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30714 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30716 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30717 cat >>confdefs.h
<<\_ACEOF
30718 #define HAVE_PTHREAD_MUTEXATTR_T 1
30722 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30723 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30724 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30725 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 cat >conftest.
$ac_ext <<_ACEOF
30729 #line $LINENO "configure"
30732 cat confdefs.h
>>conftest.
$ac_ext
30733 cat >>conftest.
$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 #include <pthread.h>
30740 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30746 rm -f conftest.
$ac_objext
30747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30748 (eval $ac_compile) 2>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); } &&
30752 { ac_try
='test -s conftest.$ac_objext'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; }; then
30759 wx_cv_type_pthread_rec_mutex_init
=yes
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.
$ac_ext >&5
30766 wx_cv_type_pthread_rec_mutex_init
=no
30770 rm -f conftest.
$ac_objext conftest.
$ac_ext
30773 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30774 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30775 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30776 cat >>confdefs.h
<<\_ACEOF
30777 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30781 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30782 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30788 if test "$wxUSE_THREADS" = "yes" ; then
30791 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30792 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30793 if test "${wx_cv_cflags_mthread+set}" = set; then
30794 echo $ECHO_N "(cached) $ECHO_C" >&6
30797 CFLAGS_OLD
="$CFLAGS"
30798 CFLAGS
="$CFLAGS -mthreads"
30799 cat >conftest.
$ac_ext <<_ACEOF
30800 #line $LINENO "configure"
30803 cat confdefs.h
>>conftest.
$ac_ext
30804 cat >>conftest.
$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30815 rm -f conftest.
$ac_objext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30817 (eval $ac_compile) 2>&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try
='test -s conftest.$ac_objext'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30827 wx_cv_cflags_mthread
=yes
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.
$ac_ext >&5
30832 wx_cv_cflags_mthread
=no
30835 rm -f conftest.
$ac_objext conftest.
$ac_ext
30839 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30840 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30842 if test "$wx_cv_cflags_mthread" = "yes"; then
30843 CXXFLAGS
="$CXXFLAGS -mthreads"
30844 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30845 LDFLAGS
="$LDFLAGS -mthreads"
30847 CFLAGS
="$CFLAGS_OLD"
30851 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30852 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30853 LDFLAGS
="$LDFLAGS -Zmt"
30859 if test "$wxUSE_THREADS" = "yes"; then
30860 cat >>confdefs.h
<<\_ACEOF
30861 #define wxUSE_THREADS 1
30865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30867 if test "$ac_cv_func_strtok_r" = "yes"; then
30868 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30869 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30870 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30871 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30872 echo "$as_me:$LINENO: result: yes" >&5
30873 echo "${ECHO_T}yes" >&6
30875 echo "$as_me:$LINENO: result: no" >&5
30876 echo "${ECHO_T}no" >&6
30881 if test "$WXGTK20" = 1 ; then
30882 cat >>confdefs.h
<<_ACEOF
30883 #define __WXGTK20__ $WXGTK20
30889 if test "$WXGTK12" = 1 ; then
30890 cat >>confdefs.h
<<_ACEOF
30891 #define __WXGTK12__ $WXGTK12
30896 if test "$WXGTK127" = 1 ; then
30897 cat >>confdefs.h
<<_ACEOF
30898 #define __WXGTK127__ $WXGTK127
30905 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30910 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30911 wxUSE_DEBUG_INFO
=yes
30915 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30916 cat >>confdefs.h
<<\_ACEOF
30920 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30922 if test "$wxUSE_GTK" = 1 ; then
30923 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30927 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30928 cat >>confdefs.h
<<\_ACEOF
30929 #define wxUSE_MEMORY_TRACING 1
30932 cat >>confdefs.h
<<\_ACEOF
30933 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30936 cat >>confdefs.h
<<\_ACEOF
30937 #define wxUSE_DEBUG_NEW_ALWAYS 1
30940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30943 if test "$wxUSE_DMALLOC" = "yes" ; then
30944 DMALLOC_LIBS
="-ldmalloc"
30948 if test "$wxUSE_PROFILE" = "yes" ; then
30953 CODE_GEN_FLAGS_CXX
=
30954 if test "$GCC" = "yes" ; then
30955 if test "$wxUSE_NO_RTTI" = "yes" ; then
30956 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30958 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30959 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30961 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30962 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30967 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30970 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30976 if test "$wxUSE_OPTIMISE" = "no" ; then
30977 if test "$GCC" = yes ; then
30981 if test "$GCC" = yes ; then
30985 i586
-*-*|i686
-*-* )
30986 OPTIMISE
="${OPTIMISE} "
30995 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30996 cat >>confdefs.h
<<\_ACEOF
30997 #define WXWIN_COMPATIBILITY_2_2 1
31001 WXWIN_COMPATIBILITY_2_4
="yes"
31004 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
31005 cat >>confdefs.h
<<\_ACEOF
31006 #define WXWIN_COMPATIBILITY_2_4 1
31012 if test "$wxUSE_GUI" = "yes"; then
31013 cat >>confdefs.h
<<\_ACEOF
31014 #define wxUSE_GUI 1
31019 cat >>confdefs.h
<<\_ACEOF
31020 #define wxUSE_NOGUI 1
31026 if test "$wxUSE_UNIX" = "yes"; then
31027 cat >>confdefs.h
<<\_ACEOF
31028 #define wxUSE_UNIX 1
31034 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31038 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31039 if test "$USE_DARWIN" = 1; then
31043 for ac_func
in dlopen
31045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31046 echo "$as_me:$LINENO: checking for $ac_func" >&5
31047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31048 if eval "test \"\${$as_ac_var+set}\" = set"; then
31049 echo $ECHO_N "(cached) $ECHO_C" >&6
31051 cat >conftest.
$ac_ext <<_ACEOF
31052 #line $LINENO "configure"
31055 cat confdefs.h
>>conftest.
$ac_ext
31056 cat >>conftest.
$ac_ext <<_ACEOF
31057 /* end confdefs.h. */
31058 /* System header to define __stub macros and hopefully few prototypes,
31059 which can conflict with char $ac_func (); below.
31060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31061 <limits.h> exists even on freestanding compilers. */
31063 # include <limits.h>
31065 # include <assert.h>
31067 /* Override any gcc2 internal prototype to avoid an error. */
31072 /* We use char because int might match the return type of a gcc2
31073 builtin and then its argument prototype would still apply. */
31075 /* The GNU C library defines this for functions which it implements
31076 to always fail with ENOSYS. Some functions are actually named
31077 something starting with __ and the normal name is an alias. */
31078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31081 char (*f) () = $ac_func;
31090 return f != $ac_func;
31095 rm -f conftest.
$ac_objext conftest
$ac_exeext
31096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31097 (eval $ac_link) 2>&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } &&
31101 { ac_try
='test -s conftest$ac_exeext'
31102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31103 (eval $ac_try) 2>&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); }; }; then
31107 eval "$as_ac_var=yes"
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.
$ac_ext >&5
31112 eval "$as_ac_var=no"
31114 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31118 if test `eval echo '${'$as_ac_var'}'` = yes; then
31119 cat >>confdefs.h
<<_ACEOF
31120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31123 cat >>confdefs.h
<<\_ACEOF
31124 #define HAVE_DLOPEN 1
31131 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31132 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31133 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31134 echo $ECHO_N "(cached) $ECHO_C" >&6
31136 ac_check_lib_save_LIBS
=$LIBS
31138 cat >conftest.
$ac_ext <<_ACEOF
31139 #line $LINENO "configure"
31142 cat confdefs.h
>>conftest.
$ac_ext
31143 cat >>conftest.
$ac_ext <<_ACEOF
31144 /* end confdefs.h. */
31146 /* Override any gcc2 internal prototype to avoid an error. */
31150 /* We use char because int might match the return type of a gcc2
31151 builtin and then its argument prototype would still apply. */
31161 rm -f conftest.
$ac_objext conftest
$ac_exeext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31163 (eval $ac_link) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try
='test -s conftest$ac_exeext'
31168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31169 (eval $ac_try) 2>&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); }; }; then
31173 ac_cv_lib_dl_dlopen
=yes
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.
$ac_ext >&5
31178 ac_cv_lib_dl_dlopen
=no
31180 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31181 LIBS
=$ac_check_lib_save_LIBS
31183 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31184 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31185 if test $ac_cv_lib_dl_dlopen = yes; then
31187 cat >>confdefs.h
<<\_ACEOF
31188 #define HAVE_DLOPEN 1
31192 DL_LINK
=" -ldl$DL_LINK"
31197 for ac_func
in shl_load
31199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31200 echo "$as_me:$LINENO: checking for $ac_func" >&5
31201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31202 if eval "test \"\${$as_ac_var+set}\" = set"; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 cat >conftest.
$ac_ext <<_ACEOF
31206 #line $LINENO "configure"
31209 cat confdefs.h
>>conftest.
$ac_ext
31210 cat >>conftest.
$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 /* System header to define __stub macros and hopefully few prototypes,
31213 which can conflict with char $ac_func (); below.
31214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31215 <limits.h> exists even on freestanding compilers. */
31217 # include <limits.h>
31219 # include <assert.h>
31221 /* Override any gcc2 internal prototype to avoid an error. */
31226 /* We use char because int might match the return type of a gcc2
31227 builtin and then its argument prototype would still apply. */
31229 /* The GNU C library defines this for functions which it implements
31230 to always fail with ENOSYS. Some functions are actually named
31231 something starting with __ and the normal name is an alias. */
31232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31235 char (*f) () = $ac_func;
31244 return f != $ac_func;
31249 rm -f conftest.
$ac_objext conftest
$ac_exeext
31250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31251 (eval $ac_link) 2>&5
31253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254 (exit $ac_status); } &&
31255 { ac_try
='test -s conftest$ac_exeext'
31256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31257 (eval $ac_try) 2>&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; }; then
31261 eval "$as_ac_var=yes"
31263 echo "$as_me: failed program was:" >&5
31264 sed 's/^/| /' conftest.
$ac_ext >&5
31266 eval "$as_ac_var=no"
31268 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31272 if test `eval echo '${'$as_ac_var'}'` = yes; then
31273 cat >>confdefs.h
<<_ACEOF
31274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31277 cat >>confdefs.h
<<\_ACEOF
31278 #define HAVE_SHL_LOAD 1
31285 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31286 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31287 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31288 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 ac_check_lib_save_LIBS
=$LIBS
31291 LIBS
="-lshl_load $LIBS"
31292 cat >conftest.
$ac_ext <<_ACEOF
31293 #line $LINENO "configure"
31296 cat confdefs.h
>>conftest.
$ac_ext
31297 cat >>conftest.
$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31300 /* Override any gcc2 internal prototype to avoid an error. */
31304 /* We use char because int might match the return type of a gcc2
31305 builtin and then its argument prototype would still apply. */
31315 rm -f conftest.
$ac_objext conftest
$ac_exeext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31317 (eval $ac_link) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } &&
31321 { ac_try
='test -s conftest$ac_exeext'
31322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31323 (eval $ac_try) 2>&5
31325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31326 (exit $ac_status); }; }; then
31327 ac_cv_lib_shl_load_dld
=yes
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.
$ac_ext >&5
31332 ac_cv_lib_shl_load_dld
=no
31334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31335 LIBS
=$ac_check_lib_save_LIBS
31337 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31338 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31339 if test $ac_cv_lib_shl_load_dld = yes; then
31342 DL_LINK
=" -ldld$DL_LINK"
31358 if test "$HAVE_DL_FUNCS" = 1; then
31360 for ac_func
in dlerror
31362 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31363 echo "$as_me:$LINENO: checking for $ac_func" >&5
31364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31365 if eval "test \"\${$as_ac_var+set}\" = set"; then
31366 echo $ECHO_N "(cached) $ECHO_C" >&6
31368 cat >conftest.
$ac_ext <<_ACEOF
31369 #line $LINENO "configure"
31372 cat confdefs.h
>>conftest.
$ac_ext
31373 cat >>conftest.
$ac_ext <<_ACEOF
31374 /* end confdefs.h. */
31375 /* System header to define __stub macros and hopefully few prototypes,
31376 which can conflict with char $ac_func (); below.
31377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31378 <limits.h> exists even on freestanding compilers. */
31380 # include <limits.h>
31382 # include <assert.h>
31384 /* Override any gcc2 internal prototype to avoid an error. */
31389 /* We use char because int might match the return type of a gcc2
31390 builtin and then its argument prototype would still apply. */
31392 /* The GNU C library defines this for functions which it implements
31393 to always fail with ENOSYS. Some functions are actually named
31394 something starting with __ and the normal name is an alias. */
31395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31398 char (*f) () = $ac_func;
31407 return f != $ac_func;
31412 rm -f conftest.
$ac_objext conftest
$ac_exeext
31413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31414 (eval $ac_link) 2>&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); } &&
31418 { ac_try
='test -s conftest$ac_exeext'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; }; then
31424 eval "$as_ac_var=yes"
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.
$ac_ext >&5
31429 eval "$as_ac_var=no"
31431 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31435 if test `eval echo '${'$as_ac_var'}'` = yes; then
31436 cat >>confdefs.h
<<_ACEOF
31437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31439 cat >>confdefs.h
<<\_ACEOF
31440 #define HAVE_DLERROR 1
31445 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31446 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31447 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31448 echo $ECHO_N "(cached) $ECHO_C" >&6
31450 ac_check_lib_save_LIBS
=$LIBS
31452 cat >conftest.
$ac_ext <<_ACEOF
31453 #line $LINENO "configure"
31456 cat confdefs.h
>>conftest.
$ac_ext
31457 cat >>conftest.
$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31460 /* Override any gcc2 internal prototype to avoid an error. */
31464 /* We use char because int might match the return type of a gcc2
31465 builtin and then its argument prototype would still apply. */
31475 rm -f conftest.
$ac_objext conftest
$ac_exeext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31477 (eval $ac_link) 2>&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); } &&
31481 { ac_try
='test -s conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 ac_cv_lib_dl_dlerror
=yes
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.
$ac_ext >&5
31492 ac_cv_lib_dl_dlerror
=no
31494 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31495 LIBS
=$ac_check_lib_save_LIBS
31497 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31498 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31499 if test $ac_cv_lib_dl_dlerror = yes; then
31500 cat >>confdefs.h
<<\_ACEOF
31501 #define HAVE_DLERROR 1
31514 if test "$HAVE_DL_FUNCS" = 0; then
31515 if test "$HAVE_SHL_FUNCS" = 0; then
31516 if test "$USE_UNIX" = 1; then
31517 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31518 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31519 wxUSE_DYNAMIC_LOADER
=no
31520 wxUSE_DYNLIB_CLASS
=no
31522 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31523 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31530 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31531 cat >>confdefs.h
<<\_ACEOF
31532 #define wxUSE_DYNAMIC_LOADER 1
31536 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31537 cat >>confdefs.h
<<\_ACEOF
31538 #define wxUSE_DYNLIB_CLASS 1
31545 if test "$wxUSE_PLUGINS" = "yes" ; then
31546 if test "$wxUSE_SHARED" = "no" ; then
31547 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31548 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31551 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31552 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31553 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31556 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31557 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31558 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31561 if test "$wxUSE_PLUGINS" = "yes" ; then
31562 cat >>confdefs.h
<<\_ACEOF
31563 #define wxUSE_PLUGINS 1
31570 if test "$wxUSE_STL" = "yes"; then
31571 cat >>confdefs.h
<<\_ACEOF
31572 #define wxUSE_STL 1
31577 if test "$wxUSE_APPLE_IEEE" = "yes"; then
31578 cat >>confdefs.h
<<\_ACEOF
31579 #define wxUSE_APPLE_IEEE 1
31584 if test "$wxUSE_TIMER" = "yes"; then
31585 cat >>confdefs.h
<<\_ACEOF
31586 #define wxUSE_TIMER 1
31592 if test "$wxUSE_SOUND" = "yes"; then
31593 if test "$USE_UNIX" = "1" ; then
31595 for ac_header
in sys
/soundcard.h
31597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31599 echo "$as_me:$LINENO: checking for $ac_header" >&5
31600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31602 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31607 # Is the header compilable?
31608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31610 cat >conftest.
$ac_ext <<_ACEOF
31611 #line $LINENO "configure"
31614 cat confdefs.h
>>conftest.
$ac_ext
31615 cat >>conftest.
$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31617 $ac_includes_default
31618 #include <$ac_header>
31620 rm -f conftest.
$ac_objext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31622 (eval $ac_compile) 2>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } &&
31626 { ac_try
='test -s conftest.$ac_objext'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; }; then
31632 ac_header_compiler
=yes
31634 echo "$as_me: failed program was:" >&5
31635 sed 's/^/| /' conftest.
$ac_ext >&5
31637 ac_header_compiler
=no
31639 rm -f conftest.
$ac_objext conftest.
$ac_ext
31640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31641 echo "${ECHO_T}$ac_header_compiler" >&6
31643 # Is the header present?
31644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31646 cat >conftest.
$ac_ext <<_ACEOF
31647 #line $LINENO "configure"
31650 cat confdefs.h
>>conftest.
$ac_ext
31651 cat >>conftest.
$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31653 #include <$ac_header>
31655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31658 grep -v '^ *+' conftest.er1
>conftest.err
31660 cat conftest.err
>&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); } >/dev
/null
; then
31663 if test -s conftest.err
; then
31664 ac_cpp_err
=$ac_c_preproc_warn_flag
31671 if test -z "$ac_cpp_err"; then
31672 ac_header_preproc
=yes
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.
$ac_ext >&5
31677 ac_header_preproc
=no
31679 rm -f conftest.err conftest.
$ac_ext
31680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31681 echo "${ECHO_T}$ac_header_preproc" >&6
31683 # So? What about this header?
31684 case $ac_header_compiler:$ac_header_preproc in
31686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31692 ## ------------------------------------ ##
31693 ## Report this to bug-autoconf@gnu.org. ##
31694 ## ------------------------------------ ##
31697 sed "s/^/$as_me: WARNING: /" >&2
31700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31708 ## ------------------------------------ ##
31709 ## Report this to bug-autoconf@gnu.org. ##
31710 ## ------------------------------------ ##
31713 sed "s/^/$as_me: WARNING: /" >&2
31716 echo "$as_me:$LINENO: checking for $ac_header" >&5
31717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31719 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 eval "$as_ac_Header=$ac_header_preproc"
31723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31728 cat >>confdefs.h
<<_ACEOF
31729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31737 if test "$wxUSE_LIBSDL" != "no"; then
31739 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
31740 if test "${with_sdl_prefix+set}" = set; then
31741 withval
="$with_sdl_prefix"
31742 sdl_prefix
="$withval"
31747 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
31748 if test "${with_sdl_exec_prefix+set}" = set; then
31749 withval
="$with_sdl_exec_prefix"
31750 sdl_exec_prefix
="$withval"
31754 # Check whether --enable-sdltest or --disable-sdltest was given.
31755 if test "${enable_sdltest+set}" = set; then
31756 enableval
="$enable_sdltest"
31762 if test x
$sdl_exec_prefix != x
; then
31763 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
31764 if test x
${SDL_CONFIG+set} != xset
; then
31765 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
31768 if test x
$sdl_prefix != x
; then
31769 sdl_args
="$sdl_args --prefix=$sdl_prefix"
31770 if test x
${SDL_CONFIG+set} != xset
; then
31771 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
31776 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
31777 # Extract the first word of "sdl-config", so it can be a program name with args.
31778 set dummy sdl
-config; ac_word
=$2
31779 echo "$as_me:$LINENO: checking for $ac_word" >&5
31780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31781 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
31782 echo $ECHO_N "(cached) $ECHO_C" >&6
31784 case $SDL_CONFIG in
31786 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
31789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31790 for as_dir
in $PATH
31793 test -z "$as_dir" && as_dir
=.
31794 for ac_exec_ext
in '' $ac_executable_extensions; do
31795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31796 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31803 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
31807 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
31809 if test -n "$SDL_CONFIG"; then
31810 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
31811 echo "${ECHO_T}$SDL_CONFIG" >&6
31813 echo "$as_me:$LINENO: result: no" >&5
31814 echo "${ECHO_T}no" >&6
31817 min_sdl_version
=1.2.0
31818 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
31819 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
31821 if test "$SDL_CONFIG" = "no" ; then
31824 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
31825 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
31827 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
31828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31829 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
31830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31831 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
31832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31833 if test "x$enable_sdltest" = "xyes" ; then
31834 ac_save_CFLAGS
="$CFLAGS"
31835 ac_save_LIBS
="$LIBS"
31836 CFLAGS
="$CFLAGS $SDL_CFLAGS"
31837 LIBS
="$LIBS $SDL_LIBS"
31839 if test "$cross_compiling" = yes; then
31840 echo $ac_n "cross compiling; assumed OK... $ac_c"
31842 cat >conftest.
$ac_ext <<_ACEOF
31843 #line $LINENO "configure"
31846 cat confdefs.h
>>conftest.
$ac_ext
31847 cat >>conftest.
$ac_ext <<_ACEOF
31848 /* end confdefs.h. */
31851 #include <stdlib.h>
31852 #include <string.h>
31856 my_strdup (char *str)
31862 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31863 strcpy (new_str, str);
31871 int main (int argc, char *argv[])
31873 int major, minor, micro;
31876 /* This hangs on some systems (?)
31877 system ("touch conf.sdltest");
31879 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31881 /* HP/UX 9 (%@#!) writes to sscanf strings */
31882 tmp_version = my_strdup("$min_sdl_version");
31883 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31884 printf("%s, bad version string\n", "$min_sdl_version");
31888 if (($sdl_major_version > major) ||
31889 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31890 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31896 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31897 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31898 printf("*** best to upgrade to the required version.\n");
31899 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31900 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31901 printf("*** config.cache before re-running configure\n");
31908 rm -f conftest
$ac_exeext
31909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31910 (eval $ac_link) 2>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31921 echo "$as_me: program exited with status $ac_status" >&5
31922 echo "$as_me: failed program was:" >&5
31923 sed 's/^/| /' conftest.
$ac_ext >&5
31925 ( exit $ac_status )
31928 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31930 CFLAGS
="$ac_save_CFLAGS"
31931 LIBS
="$ac_save_LIBS"
31934 if test "x$no_sdl" = x
; then
31935 echo "$as_me:$LINENO: result: yes" >&5
31936 echo "${ECHO_T}yes" >&6
31938 EXTRALIBS_SDL
="$SDL_LIBS"
31939 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
31940 cat >>confdefs.h
<<\_ACEOF
31941 #define wxUSE_LIBSDL 1
31946 echo "$as_me:$LINENO: result: no" >&5
31947 echo "${ECHO_T}no" >&6
31948 if test "$SDL_CONFIG" = "no" ; then
31949 echo "*** The sdl-config script installed by SDL could not be found"
31950 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31951 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31952 echo "*** full path to sdl-config."
31954 if test -f conf.sdltest
; then
31957 echo "*** Could not run SDL test program, checking why..."
31958 CFLAGS
="$CFLAGS $SDL_CFLAGS"
31959 LIBS
="$LIBS $SDL_LIBS"
31960 cat >conftest.
$ac_ext <<_ACEOF
31961 #line $LINENO "configure"
31964 cat confdefs.h
>>conftest.
$ac_ext
31965 cat >>conftest.
$ac_ext <<_ACEOF
31966 /* end confdefs.h. */
31971 int main(int argc, char *argv[])
31974 #define main K_and_R_C_main
31984 rm -f conftest.
$ac_objext conftest
$ac_exeext
31985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31986 (eval $ac_link) 2>&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); } &&
31990 { ac_try
='test -s conftest$ac_exeext'
31991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31992 (eval $ac_try) 2>&5
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; }; then
31996 echo "*** The test program compiled, but did not run. This usually means"
31997 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31998 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31999 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32000 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32001 echo "*** is required on your system"
32003 echo "*** If you have an old version installed, it is best to remove it, although"
32004 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32006 echo "$as_me: failed program was:" >&5
32007 sed 's/^/| /' conftest.
$ac_ext >&5
32009 echo "*** The test program failed to compile or link. See the file config.log for the"
32010 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
32011 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
32012 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
32014 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32015 CFLAGS
="$ac_save_CFLAGS"
32016 LIBS
="$ac_save_LIBS"
32027 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32033 cat >>confdefs.h
<<\_ACEOF
32034 #define wxUSE_SOUND 1
32037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
32040 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32041 cat >>confdefs.h
<<\_ACEOF
32042 #define wxUSE_CMDLINE_PARSER 1
32047 if test "$wxUSE_STOPWATCH" = "yes"; then
32048 cat >>confdefs.h
<<\_ACEOF
32049 #define wxUSE_STOPWATCH 1
32054 if test "$wxUSE_DATETIME" = "yes"; then
32055 cat >>confdefs.h
<<\_ACEOF
32056 #define wxUSE_DATETIME 1
32061 if test "$wxUSE_FILE" = "yes"; then
32062 cat >>confdefs.h
<<\_ACEOF
32063 #define wxUSE_FILE 1
32068 if test "$wxUSE_FFILE" = "yes"; then
32069 cat >>confdefs.h
<<\_ACEOF
32070 #define wxUSE_FFILE 1
32075 if test "$wxUSE_FILESYSTEM" = "yes"; then
32076 cat >>confdefs.h
<<\_ACEOF
32077 #define wxUSE_FILESYSTEM 1
32082 if test "$wxUSE_FS_ZIP" = "yes"; then
32083 cat >>confdefs.h
<<\_ACEOF
32084 #define wxUSE_FS_ZIP 1
32089 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32090 cat >>confdefs.h
<<\_ACEOF
32091 #define wxUSE_ZIPSTREAM 1
32096 if test "$wxUSE_GZSTREAM" = "yes"; then
32097 cat >>confdefs.h
<<\_ACEOF
32098 #define wxUSE_GZSTREAM 1
32103 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32104 cat >>confdefs.h
<<\_ACEOF
32105 #define wxUSE_ON_FATAL_EXCEPTION 1
32110 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32111 cat >>confdefs.h
<<\_ACEOF
32112 #define wxUSE_SNGLINST_CHECKER 1
32117 if test "$wxUSE_BUSYINFO" = "yes"; then
32118 cat >>confdefs.h
<<\_ACEOF
32119 #define wxUSE_BUSYINFO 1
32124 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32125 cat >>confdefs.h
<<\_ACEOF
32126 #define wxUSE_STD_IOSTREAM 1
32131 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32132 cat >>confdefs.h
<<\_ACEOF
32133 #define wxUSE_TEXTBUFFER 1
32138 if test "$wxUSE_TEXTFILE" = "yes"; then
32139 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32140 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32141 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32143 cat >>confdefs.h
<<\_ACEOF
32144 #define wxUSE_TEXTFILE 1
32150 if test "$wxUSE_CONFIG" = "yes" ; then
32151 if test "$wxUSE_TEXTFILE" != "yes"; then
32152 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32153 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32155 cat >>confdefs.h
<<\_ACEOF
32156 #define wxUSE_CONFIG 1
32159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
32163 if test "$wxUSE_INTL" = "yes" ; then
32164 if test "$wxUSE_FILE" != "yes"; then
32165 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32166 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32168 cat >>confdefs.h
<<\_ACEOF
32169 #define wxUSE_INTL 1
32172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
32173 GUIDIST
="$GUIDIST INTL_DIST"
32177 if test "$wxUSE_LOG" = "yes"; then
32178 cat >>confdefs.h
<<\_ACEOF
32179 #define wxUSE_LOG 1
32183 if test "$wxUSE_LOGGUI" = "yes"; then
32184 cat >>confdefs.h
<<\_ACEOF
32185 #define wxUSE_LOGGUI 1
32190 if test "$wxUSE_LOGWINDOW" = "yes"; then
32191 cat >>confdefs.h
<<\_ACEOF
32192 #define wxUSE_LOGWINDOW 1
32197 if test "$wxUSE_LOGDIALOG" = "yes"; then
32198 cat >>confdefs.h
<<\_ACEOF
32199 #define wxUSE_LOG_DIALOG 1
32205 if test "$wxUSE_LONGLONG" = "yes"; then
32206 cat >>confdefs.h
<<\_ACEOF
32207 #define wxUSE_LONGLONG 1
32212 if test "$wxUSE_GEOMETRY" = "yes"; then
32213 cat >>confdefs.h
<<\_ACEOF
32214 #define wxUSE_GEOMETRY 1
32219 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32220 cat >>confdefs.h
<<\_ACEOF
32221 #define wxUSE_DIALUP_MANAGER 1
32224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
32227 if test "$wxUSE_STREAMS" = "yes" ; then
32228 cat >>confdefs.h
<<\_ACEOF
32229 #define wxUSE_STREAMS 1
32235 if test "$wxUSE_DATETIME" = "yes"; then
32237 for ac_func
in strptime
32239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32240 echo "$as_me:$LINENO: checking for $ac_func" >&5
32241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32242 if eval "test \"\${$as_ac_var+set}\" = set"; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 cat >conftest.
$ac_ext <<_ACEOF
32246 #line $LINENO "configure"
32249 cat confdefs.h
>>conftest.
$ac_ext
32250 cat >>conftest.
$ac_ext <<_ACEOF
32251 /* end confdefs.h. */
32252 /* System header to define __stub macros and hopefully few prototypes,
32253 which can conflict with char $ac_func (); below.
32254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32255 <limits.h> exists even on freestanding compilers. */
32257 # include <limits.h>
32259 # include <assert.h>
32261 /* Override any gcc2 internal prototype to avoid an error. */
32266 /* We use char because int might match the return type of a gcc2
32267 builtin and then its argument prototype would still apply. */
32269 /* The GNU C library defines this for functions which it implements
32270 to always fail with ENOSYS. Some functions are actually named
32271 something starting with __ and the normal name is an alias. */
32272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32275 char (*f) () = $ac_func;
32284 return f != $ac_func;
32289 rm -f conftest.
$ac_objext conftest
$ac_exeext
32290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32291 (eval $ac_link) 2>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } &&
32295 { ac_try
='test -s conftest$ac_exeext'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; }; then
32301 eval "$as_ac_var=yes"
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.
$ac_ext >&5
32306 eval "$as_ac_var=no"
32308 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32312 if test `eval echo '${'$as_ac_var'}'` = yes; then
32313 cat >>confdefs.h
<<_ACEOF
32314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32321 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
32322 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
32323 if test "${wx_cv_var_timezone+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 cat >conftest.
$ac_ext <<_ACEOF
32328 #line $LINENO "configure"
32331 cat confdefs.h
>>conftest.
$ac_ext
32332 cat >>conftest.
$ac_ext <<_ACEOF
32333 /* end confdefs.h. */
32348 rm -f conftest.
$ac_objext
32349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32350 (eval $ac_compile) 2>&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try
='test -s conftest.$ac_objext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32361 wx_cv_var_timezone
=timezone
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.
$ac_ext >&5
32368 cat >conftest.
$ac_ext <<_ACEOF
32369 #line $LINENO "configure"
32372 cat confdefs.h
>>conftest.
$ac_ext
32373 cat >>conftest.
$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32389 rm -f conftest.
$ac_objext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32391 (eval $ac_compile) 2>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try
='test -s conftest.$ac_objext'
32396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32397 (eval $ac_try) 2>&5
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); }; }; then
32402 wx_cv_var_timezone
=_timezone
32405 echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.
$ac_ext >&5
32409 cat >conftest.
$ac_ext <<_ACEOF
32410 #line $LINENO "configure"
32413 cat confdefs.h
>>conftest.
$ac_ext
32414 cat >>conftest.
$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32430 rm -f conftest.
$ac_objext
32431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32432 (eval $ac_compile) 2>&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); } &&
32436 { ac_try
='test -s conftest.$ac_objext'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; }; then
32443 wx_cv_var_timezone
=__timezone
32446 echo "$as_me: failed program was:" >&5
32447 sed 's/^/| /' conftest.
$ac_ext >&5
32450 if test "$USE_DOS" = 0 ; then
32451 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32452 echo "$as_me: WARNING: no timezone variable" >&2;}
32457 rm -f conftest.
$ac_objext conftest.
$ac_ext
32461 rm -f conftest.
$ac_objext conftest.
$ac_ext
32465 rm -f conftest.
$ac_objext conftest.
$ac_ext
32469 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32470 echo "${ECHO_T}$wx_cv_var_timezone" >&6
32472 if test "x$wx_cv_var_timezone" != x
; then
32473 cat >>confdefs.h
<<_ACEOF
32474 #define WX_TIMEZONE $wx_cv_var_timezone
32480 for ac_func
in localtime
32482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32483 echo "$as_me:$LINENO: checking for $ac_func" >&5
32484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32485 if eval "test \"\${$as_ac_var+set}\" = set"; then
32486 echo $ECHO_N "(cached) $ECHO_C" >&6
32488 cat >conftest.
$ac_ext <<_ACEOF
32489 #line $LINENO "configure"
32492 cat confdefs.h
>>conftest.
$ac_ext
32493 cat >>conftest.
$ac_ext <<_ACEOF
32494 /* end confdefs.h. */
32495 /* System header to define __stub macros and hopefully few prototypes,
32496 which can conflict with char $ac_func (); below.
32497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32498 <limits.h> exists even on freestanding compilers. */
32500 # include <limits.h>
32502 # include <assert.h>
32504 /* Override any gcc2 internal prototype to avoid an error. */
32509 /* We use char because int might match the return type of a gcc2
32510 builtin and then its argument prototype would still apply. */
32512 /* The GNU C library defines this for functions which it implements
32513 to always fail with ENOSYS. Some functions are actually named
32514 something starting with __ and the normal name is an alias. */
32515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32518 char (*f) () = $ac_func;
32527 return f != $ac_func;
32532 rm -f conftest.
$ac_objext conftest
$ac_exeext
32533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32534 (eval $ac_link) 2>&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } &&
32538 { ac_try
='test -s conftest$ac_exeext'
32539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540 (eval $ac_try) 2>&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; }; then
32544 eval "$as_ac_var=yes"
32546 echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.
$ac_ext >&5
32549 eval "$as_ac_var=no"
32551 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32555 if test `eval echo '${'$as_ac_var'}'` = yes; then
32556 cat >>confdefs.h
<<_ACEOF
32557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32564 if test "$ac_cv_func_localtime" = "yes"; then
32565 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32566 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32567 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32568 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 cat >conftest.
$ac_ext <<_ACEOF
32572 #line $LINENO "configure"
32575 cat confdefs.h
>>conftest.
$ac_ext
32576 cat >>conftest.
$ac_ext <<_ACEOF
32577 /* end confdefs.h. */
32592 rm -f conftest.
$ac_objext
32593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32594 (eval $ac_compile) 2>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try
='test -s conftest.$ac_objext'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; }; then
32605 wx_cv_struct_tm_has_gmtoff
=yes
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.
$ac_ext >&5
32611 wx_cv_struct_tm_has_gmtoff
=no
32614 rm -f conftest.
$ac_objext conftest.
$ac_ext
32617 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32618 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32621 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32622 cat >>confdefs.h
<<\_ACEOF
32623 #define WX_GMTOFF_IN_TM 1
32630 for ac_func
in gettimeofday ftime
32632 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32633 echo "$as_me:$LINENO: checking for $ac_func" >&5
32634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32635 if eval "test \"\${$as_ac_var+set}\" = set"; then
32636 echo $ECHO_N "(cached) $ECHO_C" >&6
32638 cat >conftest.
$ac_ext <<_ACEOF
32639 #line $LINENO "configure"
32642 cat confdefs.h
>>conftest.
$ac_ext
32643 cat >>conftest.
$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645 /* System header to define __stub macros and hopefully few prototypes,
32646 which can conflict with char $ac_func (); below.
32647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32648 <limits.h> exists even on freestanding compilers. */
32650 # include <limits.h>
32652 # include <assert.h>
32654 /* Override any gcc2 internal prototype to avoid an error. */
32659 /* We use char because int might match the return type of a gcc2
32660 builtin and then its argument prototype would still apply. */
32662 /* The GNU C library defines this for functions which it implements
32663 to always fail with ENOSYS. Some functions are actually named
32664 something starting with __ and the normal name is an alias. */
32665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32668 char (*f) () = $ac_func;
32677 return f != $ac_func;
32682 rm -f conftest.
$ac_objext conftest
$ac_exeext
32683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32684 (eval $ac_link) 2>&5
32686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687 (exit $ac_status); } &&
32688 { ac_try
='test -s conftest$ac_exeext'
32689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690 (eval $ac_try) 2>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); }; }; then
32694 eval "$as_ac_var=yes"
32696 echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.
$ac_ext >&5
32699 eval "$as_ac_var=no"
32701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32705 if test `eval echo '${'$as_ac_var'}'` = yes; then
32706 cat >>confdefs.h
<<_ACEOF
32707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32714 if test "$ac_cv_func_gettimeofday" = "yes"; then
32715 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
32716 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
32717 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
32718 echo $ECHO_N "(cached) $ECHO_C" >&6
32724 ac_cpp
='$CXXCPP $CPPFLAGS'
32725 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32726 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32727 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32730 cat >conftest.
$ac_ext <<_ACEOF
32731 #line $LINENO "configure"
32734 cat confdefs.h
>>conftest.
$ac_ext
32735 cat >>conftest.
$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32738 #include <sys/time.h>
32739 #include <unistd.h>
32746 gettimeofday(&tv, NULL);
32752 rm -f conftest.
$ac_objext
32753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32754 (eval $ac_compile) 2>&5
32756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 (exit $ac_status); } &&
32758 { ac_try
='test -s conftest.$ac_objext'
32759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760 (eval $ac_try) 2>&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); }; }; then
32764 wx_cv_func_gettimeofday_has_2_args
=yes
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.
$ac_ext >&5
32769 cat >conftest.
$ac_ext <<_ACEOF
32770 #line $LINENO "configure"
32773 cat confdefs.h
>>conftest.
$ac_ext
32774 cat >>conftest.
$ac_ext <<_ACEOF
32775 /* end confdefs.h. */
32777 #include <sys/time.h>
32778 #include <unistd.h>
32791 rm -f conftest.
$ac_objext
32792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32793 (eval $ac_compile) 2>&5
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); } &&
32797 { ac_try
='test -s conftest.$ac_objext'
32798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32799 (eval $ac_try) 2>&5
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); }; }; then
32803 wx_cv_func_gettimeofday_has_2_args
=no
32805 echo "$as_me: failed program was:" >&5
32806 sed 's/^/| /' conftest.
$ac_ext >&5
32809 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
32810 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
32811 wx_cv_func_gettimeofday_has_2_args
=unknown
32815 rm -f conftest.
$ac_objext conftest.
$ac_ext
32818 rm -f conftest.
$ac_objext conftest.
$ac_ext
32820 ac_cpp
='$CPP $CPPFLAGS'
32821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32827 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
32828 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
32830 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
32831 cat >>confdefs.h
<<\_ACEOF
32832 #define WX_GETTIMEOFDAY_NO_TZ 1
32838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
32842 if test "$wxUSE_SOCKETS" = "yes"; then
32843 if test "$wxUSE_MGL" = "1"; then
32844 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
32845 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
32850 if test "$wxUSE_SOCKETS" = "yes"; then
32851 if test "$TOOLKIT" != "MSW"; then
32852 echo "$as_me:$LINENO: checking for socket" >&5
32853 echo $ECHO_N "checking for socket... $ECHO_C" >&6
32854 if test "${ac_cv_func_socket+set}" = set; then
32855 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 cat >conftest.
$ac_ext <<_ACEOF
32858 #line $LINENO "configure"
32861 cat confdefs.h
>>conftest.
$ac_ext
32862 cat >>conftest.
$ac_ext <<_ACEOF
32863 /* end confdefs.h. */
32864 /* System header to define __stub macros and hopefully few prototypes,
32865 which can conflict with char socket (); below.
32866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32867 <limits.h> exists even on freestanding compilers. */
32869 # include <limits.h>
32871 # include <assert.h>
32873 /* Override any gcc2 internal prototype to avoid an error. */
32878 /* We use char because int might match the return type of a gcc2
32879 builtin and then its argument prototype would still apply. */
32881 /* The GNU C library defines this for functions which it implements
32882 to always fail with ENOSYS. Some functions are actually named
32883 something starting with __ and the normal name is an alias. */
32884 #if defined (__stub_socket) || defined (__stub___socket)
32887 char (*f) () = socket;
32896 return f != socket;
32901 rm -f conftest.
$ac_objext conftest
$ac_exeext
32902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32903 (eval $ac_link) 2>&5
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); } &&
32907 { ac_try
='test -s conftest$ac_exeext'
32908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32909 (eval $ac_try) 2>&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; }; then
32913 ac_cv_func_socket
=yes
32915 echo "$as_me: failed program was:" >&5
32916 sed 's/^/| /' conftest.
$ac_ext >&5
32918 ac_cv_func_socket
=no
32920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32922 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
32923 echo "${ECHO_T}$ac_cv_func_socket" >&6
32924 if test $ac_cv_func_socket = yes; then
32928 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
32929 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
32930 if test "${ac_cv_lib_socket_socket+set}" = set; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 ac_check_lib_save_LIBS
=$LIBS
32934 LIBS
="-lsocket $LIBS"
32935 cat >conftest.
$ac_ext <<_ACEOF
32936 #line $LINENO "configure"
32939 cat confdefs.h
>>conftest.
$ac_ext
32940 cat >>conftest.
$ac_ext <<_ACEOF
32941 /* end confdefs.h. */
32943 /* Override any gcc2 internal prototype to avoid an error. */
32947 /* We use char because int might match the return type of a gcc2
32948 builtin and then its argument prototype would still apply. */
32958 rm -f conftest.
$ac_objext conftest
$ac_exeext
32959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32960 (eval $ac_link) 2>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } &&
32964 { ac_try
='test -s conftest$ac_exeext'
32965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32966 (eval $ac_try) 2>&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; }; then
32970 ac_cv_lib_socket_socket
=yes
32972 echo "$as_me: failed program was:" >&5
32973 sed 's/^/| /' conftest.
$ac_ext >&5
32975 ac_cv_lib_socket_socket
=no
32977 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32978 LIBS
=$ac_check_lib_save_LIBS
32980 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
32981 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
32982 if test $ac_cv_lib_socket_socket = yes; then
32983 if test "$INET_LINK" != " -lsocket"; then
32984 INET_LINK
="$INET_LINK -lsocket"
32988 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
32989 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33002 if test "$wxUSE_SOCKETS" = "yes" ; then
33003 if test "$TOOLKIT" != "MSW"; then
33004 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33005 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33006 if test "${wx_cv_type_getsockname3+set}" = set; then
33007 echo $ECHO_N "(cached) $ECHO_C" >&6
33010 cat >conftest.
$ac_ext <<_ACEOF
33011 #line $LINENO "configure"
33014 cat confdefs.h
>>conftest.
$ac_ext
33015 cat >>conftest.
$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33018 #include <sys/types.h>
33019 #include <sys/socket.h>
33026 getsockname(0, 0, &len);
33032 rm -f conftest.
$ac_objext
33033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33034 (eval $ac_compile) 2>&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); } &&
33038 { ac_try
='test -s conftest.$ac_objext'
33039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33040 (eval $ac_try) 2>&5
33042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043 (exit $ac_status); }; }; then
33044 wx_cv_type_getsockname3
=socklen_t
33046 echo "$as_me: failed program was:" >&5
33047 sed 's/^/| /' conftest.
$ac_ext >&5
33050 CFLAGS_OLD
="$CFLAGS"
33051 if test "$GCC" = yes ; then
33052 CFLAGS
="$CFLAGS -Werror"
33055 cat >conftest.
$ac_ext <<_ACEOF
33056 #line $LINENO "configure"
33059 cat confdefs.h
>>conftest.
$ac_ext
33060 cat >>conftest.
$ac_ext <<_ACEOF
33061 /* end confdefs.h. */
33063 #include <sys/types.h>
33064 #include <sys/socket.h>
33071 getsockname(0, 0, &len);
33077 rm -f conftest.
$ac_objext
33078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33079 (eval $ac_compile) 2>&5
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); } &&
33083 { ac_try
='test -s conftest.$ac_objext'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; }; then
33089 wx_cv_type_getsockname3
=size_t
33091 echo "$as_me: failed program was:" >&5
33092 sed 's/^/| /' conftest.
$ac_ext >&5
33094 cat >conftest.
$ac_ext <<_ACEOF
33095 #line $LINENO "configure"
33098 cat confdefs.h
>>conftest.
$ac_ext
33099 cat >>conftest.
$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33102 #include <sys/types.h>
33103 #include <sys/socket.h>
33110 getsockname(0, 0, &len);
33116 rm -f conftest.
$ac_objext
33117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33118 (eval $ac_compile) 2>&5
33120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33121 (exit $ac_status); } &&
33122 { ac_try
='test -s conftest.$ac_objext'
33123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33124 (eval $ac_try) 2>&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); }; }; then
33128 wx_cv_type_getsockname3
=int
33130 echo "$as_me: failed program was:" >&5
33131 sed 's/^/| /' conftest.
$ac_ext >&5
33133 wx_cv_type_getsockname3
=unknown
33136 rm -f conftest.
$ac_objext conftest.
$ac_ext
33139 rm -f conftest.
$ac_objext conftest.
$ac_ext
33141 CFLAGS
="$CFLAGS_OLD"
33145 rm -f conftest.
$ac_objext conftest.
$ac_ext
33148 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33149 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33151 if test "$wx_cv_type_getsockname3" = "unknown"; then
33153 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33154 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33156 cat >>confdefs.h
<<_ACEOF
33157 #define SOCKLEN_T $wx_cv_type_getsockname3
33164 if test "$wxUSE_SOCKETS" = "yes" ; then
33165 cat >>confdefs.h
<<\_ACEOF
33166 #define wxUSE_SOCKETS 1
33169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
33172 if test "$wxUSE_PROTOCOL" = "yes"; then
33173 if test "$wxUSE_SOCKETS" != "yes"; then
33174 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33175 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33180 if test "$wxUSE_PROTOCOL" = "yes"; then
33181 cat >>confdefs.h
<<\_ACEOF
33182 #define wxUSE_PROTOCOL 1
33186 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33187 cat >>confdefs.h
<<\_ACEOF
33188 #define wxUSE_PROTOCOL_HTTP 1
33192 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33193 cat >>confdefs.h
<<\_ACEOF
33194 #define wxUSE_PROTOCOL_FTP 1
33198 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33199 cat >>confdefs.h
<<\_ACEOF
33200 #define wxUSE_PROTOCOL_FILE 1
33205 if test "$wxUSE_FS_INET" = "yes"; then
33206 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33207 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33212 if test "$wxUSE_URL" = "yes"; then
33213 if test "$wxUSE_PROTOCOL" != "yes"; then
33214 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33215 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33218 if test "$wxUSE_URL" = "yes"; then
33219 cat >>confdefs.h
<<\_ACEOF
33220 #define wxUSE_URL 1
33226 if test "$wxUSE_FS_INET" = "yes"; then
33227 cat >>confdefs.h
<<\_ACEOF
33228 #define wxUSE_FS_INET 1
33234 if test "$wxUSE_GUI" = "yes"; then
33236 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33237 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33238 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
33242 if test "$TOOLKIT" != "MSW"; then
33243 if test "$wxUSE_JOYSTICK" = "yes"; then
33245 for ac_header
in linux
/joystick.h
33247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33249 echo "$as_me:$LINENO: checking for $ac_header" >&5
33250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33252 echo $ECHO_N "(cached) $ECHO_C" >&6
33254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33257 # Is the header compilable?
33258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33260 cat >conftest.
$ac_ext <<_ACEOF
33261 #line $LINENO "configure"
33264 cat confdefs.h
>>conftest.
$ac_ext
33265 cat >>conftest.
$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33267 $ac_includes_default
33268 #include <$ac_header>
33270 rm -f conftest.
$ac_objext
33271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33272 (eval $ac_compile) 2>&5
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); } &&
33276 { ac_try
='test -s conftest.$ac_objext'
33277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33278 (eval $ac_try) 2>&5
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); }; }; then
33282 ac_header_compiler
=yes
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.
$ac_ext >&5
33287 ac_header_compiler
=no
33289 rm -f conftest.
$ac_objext conftest.
$ac_ext
33290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33291 echo "${ECHO_T}$ac_header_compiler" >&6
33293 # Is the header present?
33294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33296 cat >conftest.
$ac_ext <<_ACEOF
33297 #line $LINENO "configure"
33300 cat confdefs.h
>>conftest.
$ac_ext
33301 cat >>conftest.
$ac_ext <<_ACEOF
33302 /* end confdefs.h. */
33303 #include <$ac_header>
33305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33308 grep -v '^ *+' conftest.er1
>conftest.err
33310 cat conftest.err
>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } >/dev
/null
; then
33313 if test -s conftest.err
; then
33314 ac_cpp_err
=$ac_c_preproc_warn_flag
33321 if test -z "$ac_cpp_err"; then
33322 ac_header_preproc
=yes
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.
$ac_ext >&5
33327 ac_header_preproc
=no
33329 rm -f conftest.err conftest.
$ac_ext
33330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33331 echo "${ECHO_T}$ac_header_preproc" >&6
33333 # So? What about this header?
33334 case $ac_header_compiler:$ac_header_preproc in
33336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33342 ## ------------------------------------ ##
33343 ## Report this to bug-autoconf@gnu.org. ##
33344 ## ------------------------------------ ##
33347 sed "s/^/$as_me: WARNING: /" >&2
33350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33358 ## ------------------------------------ ##
33359 ## Report this to bug-autoconf@gnu.org. ##
33360 ## ------------------------------------ ##
33363 sed "s/^/$as_me: WARNING: /" >&2
33366 echo "$as_me:$LINENO: checking for $ac_header" >&5
33367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33369 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 eval "$as_ac_Header=$ac_header_preproc"
33373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33378 cat >>confdefs.h
<<_ACEOF
33379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33386 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
33388 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
33389 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
33394 if test "$wxUSE_JOYSTICK" = "yes"; then
33395 cat >>confdefs.h
<<\_ACEOF
33396 #define wxUSE_JOYSTICK 1
33399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
33406 if test "$wxUSE_FONTMAP" = "yes" ; then
33407 cat >>confdefs.h
<<\_ACEOF
33408 #define wxUSE_FONTMAP 1
33413 if test "$wxUSE_UNICODE" = "yes" ; then
33414 cat >>confdefs.h
<<\_ACEOF
33415 #define wxUSE_UNICODE 1
33419 if test "$USE_WIN32" != 1; then
33420 wxUSE_UNICODE_MSLU
=no
33423 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
33424 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
33425 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
33426 if test "${ac_cv_lib_unicows_main+set}" = set; then
33427 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 ac_check_lib_save_LIBS
=$LIBS
33430 LIBS
="-lunicows $LIBS"
33431 cat >conftest.
$ac_ext <<_ACEOF
33432 #line $LINENO "configure"
33435 cat confdefs.h
>>conftest.
$ac_ext
33436 cat >>conftest.
$ac_ext <<_ACEOF
33437 /* end confdefs.h. */
33448 rm -f conftest.
$ac_objext conftest
$ac_exeext
33449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33450 (eval $ac_link) 2>&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } &&
33454 { ac_try
='test -s conftest$ac_exeext'
33455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33456 (eval $ac_try) 2>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); }; }; then
33460 ac_cv_lib_unicows_main
=yes
33462 echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.
$ac_ext >&5
33465 ac_cv_lib_unicows_main
=no
33467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33468 LIBS
=$ac_check_lib_save_LIBS
33470 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33471 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33472 if test $ac_cv_lib_unicows_main = yes; then
33474 cat >>confdefs.h
<<\_ACEOF
33475 #define wxUSE_UNICODE_MSLU 1
33481 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33482 Applications will only run on Windows NT/2000/XP!" >&5
33483 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33484 Applications will only run on Windows NT/2000/XP!" >&2;}
33485 wxUSE_UNICODE_MSLU
=no
33492 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33493 cat >>confdefs.h
<<\_ACEOF
33494 #define wxUSE_EXPERIMENTAL_PRINTF 1
33500 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33501 cat >>confdefs.h
<<\_ACEOF
33502 #define wxUSE_POSTSCRIPT 1
33507 cat >>confdefs.h
<<\_ACEOF
33508 #define wxUSE_AFM_FOR_POSTSCRIPT 1
33512 cat >>confdefs.h
<<\_ACEOF
33513 #define wxUSE_NORMALIZED_PS_FONTS 1
33518 if test "$wxUSE_CONSTRAINTS" = "yes"; then
33519 cat >>confdefs.h
<<\_ACEOF
33520 #define wxUSE_CONSTRAINTS 1
33523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
33526 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33527 cat >>confdefs.h
<<\_ACEOF
33528 #define wxUSE_MDI_ARCHITECTURE 1
33531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
33534 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33535 cat >>confdefs.h
<<\_ACEOF
33536 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
33539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
33540 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
33545 if test "$wxUSE_HELP" = "yes"; then
33546 cat >>confdefs.h
<<\_ACEOF
33547 #define wxUSE_HELP 1
33550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
33552 if test "$wxUSE_MSW" = 1; then
33553 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33554 cat >>confdefs.h
<<\_ACEOF
33555 #define wxUSE_MS_HTML_HELP 1
33561 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33562 if test "$wxUSE_HTML" = "yes"; then
33563 cat >>confdefs.h
<<\_ACEOF
33564 #define wxUSE_WXHTML_HELP 1
33568 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33569 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33570 wxUSE_WXHTML_HELP
=no
33575 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33576 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33577 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33578 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33580 cat >>confdefs.h
<<\_ACEOF
33581 #define wxUSE_PRINTING_ARCHITECTURE 1
33585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
33588 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33589 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33590 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33591 { (exit 1); exit 1; }; }
33595 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
33596 -o "$wxUSE_CLIPBOARD" = "yes" \
33597 -o "$wxUSE_OLE" = "yes" \
33598 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
33600 for ac_header
in ole2.h
33602 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33604 echo "$as_me:$LINENO: checking for $ac_header" >&5
33605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33607 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33612 # Is the header compilable?
33613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33615 cat >conftest.
$ac_ext <<_ACEOF
33616 #line $LINENO "configure"
33619 cat confdefs.h
>>conftest.
$ac_ext
33620 cat >>conftest.
$ac_ext <<_ACEOF
33621 /* end confdefs.h. */
33622 $ac_includes_default
33623 #include <$ac_header>
33625 rm -f conftest.
$ac_objext
33626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33627 (eval $ac_compile) 2>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); } &&
33631 { ac_try
='test -s conftest.$ac_objext'
33632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633 (eval $ac_try) 2>&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); }; }; then
33637 ac_header_compiler
=yes
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.
$ac_ext >&5
33642 ac_header_compiler
=no
33644 rm -f conftest.
$ac_objext conftest.
$ac_ext
33645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33646 echo "${ECHO_T}$ac_header_compiler" >&6
33648 # Is the header present?
33649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33651 cat >conftest.
$ac_ext <<_ACEOF
33652 #line $LINENO "configure"
33655 cat confdefs.h
>>conftest.
$ac_ext
33656 cat >>conftest.
$ac_ext <<_ACEOF
33657 /* end confdefs.h. */
33658 #include <$ac_header>
33660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33663 grep -v '^ *+' conftest.er1
>conftest.err
33665 cat conftest.err
>&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); } >/dev
/null
; then
33668 if test -s conftest.err
; then
33669 ac_cpp_err
=$ac_c_preproc_warn_flag
33676 if test -z "$ac_cpp_err"; then
33677 ac_header_preproc
=yes
33679 echo "$as_me: failed program was:" >&5
33680 sed 's/^/| /' conftest.
$ac_ext >&5
33682 ac_header_preproc
=no
33684 rm -f conftest.err conftest.
$ac_ext
33685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33686 echo "${ECHO_T}$ac_header_preproc" >&6
33688 # So? What about this header?
33689 case $ac_header_compiler:$ac_header_preproc in
33691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33697 ## ------------------------------------ ##
33698 ## Report this to bug-autoconf@gnu.org. ##
33699 ## ------------------------------------ ##
33702 sed "s/^/$as_me: WARNING: /" >&2
33705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33713 ## ------------------------------------ ##
33714 ## Report this to bug-autoconf@gnu.org. ##
33715 ## ------------------------------------ ##
33718 sed "s/^/$as_me: WARNING: /" >&2
33721 echo "$as_me:$LINENO: checking for $ac_header" >&5
33722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33726 eval "$as_ac_Header=$ac_header_preproc"
33728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33733 cat >>confdefs.h
<<_ACEOF
33734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33742 if test "$ac_cv_header_ole2_h" = "yes" ; then
33743 if test "$GCC" = yes ; then
33747 ac_cpp
='$CXXCPP $CPPFLAGS'
33748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33753 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
33754 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
33755 cat >conftest.
$ac_ext <<_ACEOF
33756 #line $LINENO "configure"
33759 cat confdefs.h
>>conftest.
$ac_ext
33760 cat >>conftest.
$ac_ext <<_ACEOF
33761 /* end confdefs.h. */
33762 #include <windows.h>
33772 rm -f conftest.
$ac_objext
33773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33774 (eval $ac_compile) 2>&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } &&
33778 { ac_try
='test -s conftest.$ac_objext'
33779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33780 (eval $ac_try) 2>&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); }; }; then
33784 echo "$as_me:$LINENO: result: no" >&5
33785 echo "${ECHO_T}no" >&6
33787 echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.
$ac_ext >&5
33790 echo "$as_me:$LINENO: result: yes" >&5
33791 echo "${ECHO_T}yes" >&6
33792 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
33794 rm -f conftest.
$ac_objext conftest.
$ac_ext
33796 ac_cpp
='$CPP $CPPFLAGS'
33797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33801 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
33802 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
33803 if test "$wxUSE_OLE" = "yes" ; then
33804 cat >>confdefs.h
<<\_ACEOF
33805 #define wxUSE_OLE 1
33811 if test "$wxUSE_DATAOBJ" = "yes" ; then
33812 cat >>confdefs.h
<<\_ACEOF
33813 #define wxUSE_DATAOBJ 1
33818 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
33819 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
33822 wxUSE_DRAG_AND_DROP
=no
33827 if test "$wxUSE_METAFILE" = "yes"; then
33828 cat >>confdefs.h
<<\_ACEOF
33829 #define wxUSE_METAFILE 1
33833 cat >>confdefs.h
<<\_ACEOF
33834 #define wxUSE_ENH_METAFILE 1
33840 if test "$wxUSE_IPC" = "yes"; then
33841 if test "$wxUSE_SOCKETS" != "yes"; then
33842 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
33843 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
33846 cat >>confdefs.h
<<\_ACEOF
33847 #define wxUSE_IPC 1
33852 if test "$wxUSE_CLIPBOARD" = "yes"; then
33853 if test "$wxUSE_MGL" = 1; then
33854 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
33855 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
33859 if test "$wxUSE_CLIPBOARD" = "yes"; then
33860 cat >>confdefs.h
<<\_ACEOF
33861 #define wxUSE_CLIPBOARD 1
33865 cat >>confdefs.h
<<\_ACEOF
33866 #define wxUSE_DATAOBJ 1
33872 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
33873 if test "$wxUSE_GTK" = 1; then
33874 if test "$WXGTK12" != 1; then
33875 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
33876 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
33877 wxUSE_DRAG_AND_DROP
=no
33881 if test "$wxUSE_MOTIF" = 1; then
33882 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
33883 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
33884 wxUSE_DRAG_AND_DROP
=no
33887 if test "$wxUSE_X11" = 1; then
33888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
33889 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
33890 wxUSE_DRAG_AND_DROP
=no
33893 if test "$wxUSE_MGL" = 1; then
33894 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
33895 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
33896 wxUSE_DRAG_AND_DROP
=no
33899 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
33900 cat >>confdefs.h
<<\_ACEOF
33901 #define wxUSE_DRAG_AND_DROP 1
33904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
33909 if test "$wxUSE_SPLINES" = "yes" ; then
33910 cat >>confdefs.h
<<\_ACEOF
33911 #define wxUSE_SPLINES 1
33918 if test "$wxUSE_CONTROLS" = "yes"; then
33922 if test "$wxUSE_ACCEL" = "yes"; then
33923 cat >>confdefs.h
<<\_ACEOF
33924 #define wxUSE_ACCEL 1
33930 if test "$wxUSE_BUTTON" = "yes"; then
33931 cat >>confdefs.h
<<\_ACEOF
33932 #define wxUSE_BUTTON 1
33938 if test "$wxUSE_BMPBUTTON" = "yes"; then
33939 cat >>confdefs.h
<<\_ACEOF
33940 #define wxUSE_BMPBUTTON 1
33946 if test "$wxUSE_CALCTRL" = "yes"; then
33947 cat >>confdefs.h
<<\_ACEOF
33948 #define wxUSE_CALENDARCTRL 1
33952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
33955 if test "$wxUSE_CARET" = "yes"; then
33956 cat >>confdefs.h
<<\_ACEOF
33957 #define wxUSE_CARET 1
33961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
33964 if test "$wxUSE_COMBOBOX" = "yes"; then
33965 cat >>confdefs.h
<<\_ACEOF
33966 #define wxUSE_COMBOBOX 1
33972 if test "$wxUSE_CHOICE" = "yes"; then
33973 cat >>confdefs.h
<<\_ACEOF
33974 #define wxUSE_CHOICE 1
33980 if test "$wxUSE_CHECKBOX" = "yes"; then
33981 cat >>confdefs.h
<<\_ACEOF
33982 #define wxUSE_CHECKBOX 1
33988 if test "$wxUSE_CHECKLST" = "yes"; then
33989 cat >>confdefs.h
<<\_ACEOF
33990 #define wxUSE_CHECKLISTBOX 1
33994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33997 if test "$wxUSE_DISPLAY" = "yes"; then
33998 cat >>confdefs.h
<<\_ACEOF
33999 #define wxUSE_DISPLAY 1
34002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
34005 if test "$wxUSE_GAUGE" = "yes"; then
34006 cat >>confdefs.h
<<\_ACEOF
34007 #define wxUSE_GAUGE 1
34013 if test "$wxUSE_GRID" = "yes"; then
34014 cat >>confdefs.h
<<\_ACEOF
34015 #define wxUSE_GRID 1
34019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
34022 if test "$wxUSE_IMAGLIST" = "yes"; then
34023 cat >>confdefs.h
<<\_ACEOF
34024 #define wxUSE_IMAGLIST 1
34029 if test "$wxUSE_LISTBOOK" = "yes"; then
34030 cat >>confdefs.h
<<\_ACEOF
34031 #define wxUSE_LISTBOOK 1
34037 if test "$wxUSE_LISTBOX" = "yes"; then
34038 cat >>confdefs.h
<<\_ACEOF
34039 #define wxUSE_LISTBOX 1
34045 if test "$wxUSE_LISTCTRL" = "yes"; then
34046 if test "$wxUSE_IMAGLIST" = "yes"; then
34047 cat >>confdefs.h
<<\_ACEOF
34048 #define wxUSE_LISTCTRL 1
34052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
34054 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34055 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34059 if test "$wxUSE_NOTEBOOK" = "yes"; then
34060 cat >>confdefs.h
<<\_ACEOF
34061 #define wxUSE_NOTEBOOK 1
34065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
34069 if test "$wxUSE_RADIOBOX" = "yes"; then
34070 cat >>confdefs.h
<<\_ACEOF
34071 #define wxUSE_RADIOBOX 1
34077 if test "$wxUSE_RADIOBTN" = "yes"; then
34078 cat >>confdefs.h
<<\_ACEOF
34079 #define wxUSE_RADIOBTN 1
34085 if test "$wxUSE_SASH" = "yes"; then
34086 cat >>confdefs.h
<<\_ACEOF
34087 #define wxUSE_SASH 1
34090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
34093 if test "$wxUSE_SCROLLBAR" = "yes"; then
34094 cat >>confdefs.h
<<\_ACEOF
34095 #define wxUSE_SCROLLBAR 1
34099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
34102 if test "$wxUSE_SLIDER" = "yes"; then
34103 cat >>confdefs.h
<<\_ACEOF
34104 #define wxUSE_SLIDER 1
34110 if test "$wxUSE_SPINBTN" = "yes"; then
34111 cat >>confdefs.h
<<\_ACEOF
34112 #define wxUSE_SPINBTN 1
34118 if test "$wxUSE_SPINCTRL" = "yes"; then
34119 cat >>confdefs.h
<<\_ACEOF
34120 #define wxUSE_SPINCTRL 1
34126 if test "$wxUSE_SPLITTER" = "yes"; then
34127 cat >>confdefs.h
<<\_ACEOF
34128 #define wxUSE_SPLITTER 1
34131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
34134 if test "$wxUSE_STATBMP" = "yes"; then
34135 cat >>confdefs.h
<<\_ACEOF
34136 #define wxUSE_STATBMP 1
34142 if test "$wxUSE_STATBOX" = "yes"; then
34143 cat >>confdefs.h
<<\_ACEOF
34144 #define wxUSE_STATBOX 1
34150 if test "$wxUSE_STATTEXT" = "yes"; then
34151 cat >>confdefs.h
<<\_ACEOF
34152 #define wxUSE_STATTEXT 1
34158 if test "$wxUSE_STATLINE" = "yes"; then
34159 cat >>confdefs.h
<<\_ACEOF
34160 #define wxUSE_STATLINE 1
34166 if test "$wxUSE_STATUSBAR" = "yes"; then
34167 cat >>confdefs.h
<<\_ACEOF
34168 #define wxUSE_STATUSBAR 1
34173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
34176 if test "$wxUSE_TABDIALOG" = "yes"; then
34177 cat >>confdefs.h
<<\_ACEOF
34178 #define wxUSE_TAB_DIALOG 1
34181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
34184 if test "$wxUSE_TEXTCTRL" = "yes"; then
34185 cat >>confdefs.h
<<\_ACEOF
34186 #define wxUSE_TEXTCTRL 1
34190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
34193 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34194 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34195 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34196 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34199 if test "$wxUSE_UNIVERSAL" = "yes"; then
34200 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34201 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34205 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34206 cat >>confdefs.h
<<\_ACEOF
34207 #define wxUSE_TOGGLEBTN 1
34214 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34215 cat >>confdefs.h
<<\_ACEOF
34216 #define wxUSE_TOOLBAR_SIMPLE 1
34219 wxUSE_TOOLBAR
="yes"
34223 if test "$wxUSE_TOOLBAR" = "yes"; then
34224 cat >>confdefs.h
<<\_ACEOF
34225 #define wxUSE_TOOLBAR 1
34230 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
34231 wxUSE_TOOLBAR_NATIVE
="yes"
34234 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
34235 cat >>confdefs.h
<<\_ACEOF
34236 #define wxUSE_TOOLBAR_NATIVE 1
34242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
34245 if test "$wxUSE_TOOLTIPS" = "yes"; then
34246 if test "$wxUSE_MOTIF" = 1; then
34247 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
34248 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
34250 if test "$wxUSE_UNIVERSAL" = "yes"; then
34251 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
34252 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
34254 cat >>confdefs.h
<<\_ACEOF
34255 #define wxUSE_TOOLTIPS 1
34262 if test "$wxUSE_TREECTRL" = "yes"; then
34263 if test "$wxUSE_IMAGLIST" = "yes"; then
34264 cat >>confdefs.h
<<\_ACEOF
34265 #define wxUSE_TREECTRL 1
34269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
34271 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
34272 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
34276 if test "$wxUSE_POPUPWIN" = "yes"; then
34277 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34278 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
34279 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
34281 if test "$wxUSE_PM" = 1; then
34282 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
34283 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
34285 cat >>confdefs.h
<<\_ACEOF
34286 #define wxUSE_POPUPWIN 1
34295 if test "$wxUSE_TIPWINDOW" = "yes"; then
34296 if test "$wxUSE_PM" = 1; then
34297 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
34298 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
34300 cat >>confdefs.h
<<\_ACEOF
34301 #define wxUSE_TIPWINDOW 1
34307 if test "$USES_CONTROLS" = 1; then
34308 cat >>confdefs.h
<<\_ACEOF
34309 #define wxUSE_CONTROLS 1
34315 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
34316 cat >>confdefs.h
<<\_ACEOF
34317 #define wxUSE_ACCESSIBILITY 1
34320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
34323 if test "$wxUSE_DRAGIMAGE" = "yes"; then
34324 cat >>confdefs.h
<<\_ACEOF
34325 #define wxUSE_DRAGIMAGE 1
34328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
34331 if test "$wxUSE_EXCEPTIONS" = "yes"; then
34332 cat >>confdefs.h
<<\_ACEOF
34333 #define wxUSE_EXCEPTIONS 1
34339 if test "$wxUSE_HTML" = "yes"; then
34340 cat >>confdefs.h
<<\_ACEOF
34341 #define wxUSE_HTML 1
34345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
34348 if test "$wxUSE_MENUS" = "yes"; then
34349 cat >>confdefs.h
<<\_ACEOF
34350 #define wxUSE_MENUS 1
34353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
34356 if test "$wxUSE_METAFILE" = "yes"; then
34357 cat >>confdefs.h
<<\_ACEOF
34358 #define wxUSE_METAFILE 1
34363 if test "$wxUSE_MIMETYPE" = "yes"; then
34364 cat >>confdefs.h
<<\_ACEOF
34365 #define wxUSE_MIMETYPE 1
34370 if test "$wxUSE_MINIFRAME" = "yes"; then
34371 cat >>confdefs.h
<<\_ACEOF
34372 #define wxUSE_MINIFRAME 1
34375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
34378 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
34379 cat >>confdefs.h
<<\_ACEOF
34380 #define wxUSE_SYSTEM_OPTIONS 1
34383 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
34384 "$TOOLKIT" = "MOTIF"; then
34385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
34390 if test "$wxUSE_VALIDATORS" = "yes"; then
34391 cat >>confdefs.h
<<\_ACEOF
34392 #define wxUSE_VALIDATORS 1
34395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
34398 if test "$wxUSE_PALETTE" = "yes" ; then
34399 cat >>confdefs.h
<<\_ACEOF
34400 #define wxUSE_PALETTE 1
34405 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
34406 LIBS
=" -lunicows $LIBS"
34410 if test "$wxUSE_IMAGE" = "yes" ; then
34411 cat >>confdefs.h
<<\_ACEOF
34412 #define wxUSE_IMAGE 1
34416 if test "$wxUSE_GIF" = "yes" ; then
34417 cat >>confdefs.h
<<\_ACEOF
34418 #define wxUSE_GIF 1
34423 if test "$wxUSE_PCX" = "yes" ; then
34424 cat >>confdefs.h
<<\_ACEOF
34425 #define wxUSE_PCX 1
34430 if test "$wxUSE_IFF" = "yes" ; then
34431 cat >>confdefs.h
<<\_ACEOF
34432 #define wxUSE_IFF 1
34437 if test "$wxUSE_PNM" = "yes" ; then
34438 cat >>confdefs.h
<<\_ACEOF
34439 #define wxUSE_PNM 1
34444 if test "$wxUSE_XPM" = "yes" ; then
34445 cat >>confdefs.h
<<\_ACEOF
34446 #define wxUSE_XPM 1
34451 if test "$wxUSE_ICO_CUR" = "yes" ; then
34452 cat >>confdefs.h
<<\_ACEOF
34453 #define wxUSE_ICO_CUR 1
34460 if test "$wxUSE_CHOICEDLG" = "yes"; then
34461 cat >>confdefs.h
<<\_ACEOF
34462 #define wxUSE_CHOICEDLG 1
34467 if test "$wxUSE_COLOURDLG" = "yes"; then
34468 cat >>confdefs.h
<<\_ACEOF
34469 #define wxUSE_COLOURDLG 1
34474 if test "$wxUSE_FILEDLG" = "yes"; then
34475 cat >>confdefs.h
<<\_ACEOF
34476 #define wxUSE_FILEDLG 1
34481 if test "$wxUSE_FINDREPLDLG" = "yes"; then
34482 cat >>confdefs.h
<<\_ACEOF
34483 #define wxUSE_FINDREPLDLG 1
34488 if test "$wxUSE_FONTDLG" = "yes"; then
34489 cat >>confdefs.h
<<\_ACEOF
34490 #define wxUSE_FONTDLG 1
34495 if test "$wxUSE_DIRDLG" = "yes"; then
34496 if test "$wxUSE_TREECTRL" != "yes"; then
34497 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34498 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34500 cat >>confdefs.h
<<\_ACEOF
34501 #define wxUSE_DIRDLG 1
34507 if test "$wxUSE_MSGDLG" = "yes"; then
34508 cat >>confdefs.h
<<\_ACEOF
34509 #define wxUSE_MSGDLG 1
34514 if test "$wxUSE_NUMBERDLG" = "yes"; then
34515 cat >>confdefs.h
<<\_ACEOF
34516 #define wxUSE_NUMBERDLG 1
34521 if test "$wxUSE_PROGRESSDLG" = "yes"; then
34522 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34523 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34524 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34526 cat >>confdefs.h
<<\_ACEOF
34527 #define wxUSE_PROGRESSDLG 1
34533 if test "$wxUSE_SPLASH" = "yes"; then
34534 cat >>confdefs.h
<<\_ACEOF
34535 #define wxUSE_SPLASH 1
34540 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34541 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34542 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34543 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34545 cat >>confdefs.h
<<\_ACEOF
34546 #define wxUSE_STARTUP_TIPS 1
34552 if test "$wxUSE_TEXTDLG" = "yes"; then
34553 cat >>confdefs.h
<<\_ACEOF
34554 #define wxUSE_TEXTDLG 1
34559 if test "$wxUSE_WIZARDDLG" = "yes"; then
34560 cat >>confdefs.h
<<\_ACEOF
34561 #define wxUSE_WIZARDDLG 1
34564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
34568 if test "$cross_compiling" = "yes"; then
34571 OSINFO
=`uname -s -r -m`
34572 OSINFO
="\"$OSINFO\""
34575 cat >>confdefs.h
<<_ACEOF
34576 #define WXWIN_OS_DESCRIPTION $OSINFO
34581 if test "x$prefix" != "xNONE"; then
34584 wxPREFIX
=$ac_default_prefix
34587 cat >>confdefs.h
<<_ACEOF
34588 #define wxINSTALL_PREFIX "$wxPREFIX"
34592 top_builddir_wxconfig
=`pwd`
34596 CORE_BASE_LIBS
="net base"
34597 CORE_GUI_LIBS
="adv core"
34599 if test "$wxUSE_XML" = "yes" ; then
34600 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
34602 if test "$wxUSE_ODBC" != "no" ; then
34603 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
34604 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
34606 if test "$wxUSE_HTML" = "yes" ; then
34607 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
34610 if test "$wxUSE_GUI" != "yes"; then
34621 if test "$wxUSE_MAC" = 1 ; then
34622 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
34624 if test "$wxUSE_COCOA" = 1 ; then
34625 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
34629 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34636 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34637 echo "$as_me:$LINENO: checking for $ac_func" >&5
34638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34639 if eval "test \"\${$as_ac_var+set}\" = set"; then
34640 echo $ECHO_N "(cached) $ECHO_C" >&6
34642 cat >conftest.
$ac_ext <<_ACEOF
34643 #line $LINENO "configure"
34646 cat confdefs.h
>>conftest.
$ac_ext
34647 cat >>conftest.
$ac_ext <<_ACEOF
34648 /* end confdefs.h. */
34649 /* System header to define __stub macros and hopefully few prototypes,
34650 which can conflict with char $ac_func (); below.
34651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34652 <limits.h> exists even on freestanding compilers. */
34654 # include <limits.h>
34656 # include <assert.h>
34658 /* Override any gcc2 internal prototype to avoid an error. */
34663 /* We use char because int might match the return type of a gcc2
34664 builtin and then its argument prototype would still apply. */
34666 /* The GNU C library defines this for functions which it implements
34667 to always fail with ENOSYS. Some functions are actually named
34668 something starting with __ and the normal name is an alias. */
34669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34672 char (*f) () = $ac_func;
34681 return f != $ac_func;
34686 rm -f conftest.
$ac_objext conftest
$ac_exeext
34687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34688 (eval $ac_link) 2>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try
='test -s conftest$ac_exeext'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; }; then
34698 eval "$as_ac_var=yes"
34700 echo "$as_me: failed program was:" >&5
34701 sed 's/^/| /' conftest.
$ac_ext >&5
34703 eval "$as_ac_var=no"
34705 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34709 if test `eval echo '${'$as_ac_var'}'` = yes; then
34710 cat >>confdefs.h
<<_ACEOF
34711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34718 for ac_func
in floor
34720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34721 echo "$as_me:$LINENO: checking for $ac_func" >&5
34722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34723 if eval "test \"\${$as_ac_var+set}\" = set"; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 cat >conftest.
$ac_ext <<_ACEOF
34727 #line $LINENO "configure"
34730 cat confdefs.h
>>conftest.
$ac_ext
34731 cat >>conftest.
$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 /* System header to define __stub macros and hopefully few prototypes,
34734 which can conflict with char $ac_func (); below.
34735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34736 <limits.h> exists even on freestanding compilers. */
34738 # include <limits.h>
34740 # include <assert.h>
34742 /* Override any gcc2 internal prototype to avoid an error. */
34747 /* We use char because int might match the return type of a gcc2
34748 builtin and then its argument prototype would still apply. */
34750 /* The GNU C library defines this for functions which it implements
34751 to always fail with ENOSYS. Some functions are actually named
34752 something starting with __ and the normal name is an alias. */
34753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34756 char (*f) () = $ac_func;
34765 return f != $ac_func;
34770 rm -f conftest.
$ac_objext conftest
$ac_exeext
34771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34772 (eval $ac_link) 2>&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } &&
34776 { ac_try
='test -s conftest$ac_exeext'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; }; then
34782 eval "$as_ac_var=yes"
34784 echo "$as_me: failed program was:" >&5
34785 sed 's/^/| /' conftest.
$ac_ext >&5
34787 eval "$as_ac_var=no"
34789 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34793 if test `eval echo '${'$as_ac_var'}'` = yes; then
34794 cat >>confdefs.h
<<_ACEOF
34795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34801 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
34802 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
34803 if test "$have_cos" = 1 -a "$have_floor" = 1; then
34804 echo "$as_me:$LINENO: result: yes" >&5
34805 echo "${ECHO_T}yes" >&6
34807 echo "$as_me:$LINENO: result: no" >&5
34808 echo "${ECHO_T}no" >&6
34810 # use different functions to avoid configure caching
34816 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34817 echo "$as_me:$LINENO: checking for $ac_func" >&5
34818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34819 if eval "test \"\${$as_ac_var+set}\" = set"; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 cat >conftest.
$ac_ext <<_ACEOF
34823 #line $LINENO "configure"
34826 cat confdefs.h
>>conftest.
$ac_ext
34827 cat >>conftest.
$ac_ext <<_ACEOF
34828 /* end confdefs.h. */
34829 /* System header to define __stub macros and hopefully few prototypes,
34830 which can conflict with char $ac_func (); below.
34831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34832 <limits.h> exists even on freestanding compilers. */
34834 # include <limits.h>
34836 # include <assert.h>
34838 /* Override any gcc2 internal prototype to avoid an error. */
34843 /* We use char because int might match the return type of a gcc2
34844 builtin and then its argument prototype would still apply. */
34846 /* The GNU C library defines this for functions which it implements
34847 to always fail with ENOSYS. Some functions are actually named
34848 something starting with __ and the normal name is an alias. */
34849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34852 char (*f) () = $ac_func;
34861 return f != $ac_func;
34866 rm -f conftest.
$ac_objext conftest
$ac_exeext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34868 (eval $ac_link) 2>&5
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); } &&
34872 { ac_try
='test -s conftest$ac_exeext'
34873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34874 (eval $ac_try) 2>&5
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); }; }; then
34878 eval "$as_ac_var=yes"
34880 echo "$as_me: failed program was:" >&5
34881 sed 's/^/| /' conftest.
$ac_ext >&5
34883 eval "$as_ac_var=no"
34885 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34889 if test `eval echo '${'$as_ac_var'}'` = yes; then
34890 cat >>confdefs.h
<<_ACEOF
34891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 for ac_func
in ceil
34900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34901 echo "$as_me:$LINENO: checking for $ac_func" >&5
34902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34903 if eval "test \"\${$as_ac_var+set}\" = set"; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 cat >conftest.
$ac_ext <<_ACEOF
34907 #line $LINENO "configure"
34910 cat confdefs.h
>>conftest.
$ac_ext
34911 cat >>conftest.
$ac_ext <<_ACEOF
34912 /* end confdefs.h. */
34913 /* System header to define __stub macros and hopefully few prototypes,
34914 which can conflict with char $ac_func (); below.
34915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34916 <limits.h> exists even on freestanding compilers. */
34918 # include <limits.h>
34920 # include <assert.h>
34922 /* Override any gcc2 internal prototype to avoid an error. */
34927 /* We use char because int might match the return type of a gcc2
34928 builtin and then its argument prototype would still apply. */
34930 /* The GNU C library defines this for functions which it implements
34931 to always fail with ENOSYS. Some functions are actually named
34932 something starting with __ and the normal name is an alias. */
34933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34936 char (*f) () = $ac_func;
34945 return f != $ac_func;
34950 rm -f conftest.
$ac_objext conftest
$ac_exeext
34951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34952 (eval $ac_link) 2>&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); } &&
34956 { ac_try
='test -s conftest$ac_exeext'
34957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34958 (eval $ac_try) 2>&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); }; }; then
34962 eval "$as_ac_var=yes"
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.
$ac_ext >&5
34967 eval "$as_ac_var=no"
34969 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34973 if test `eval echo '${'$as_ac_var'}'` = yes; then
34974 cat >>confdefs.h
<<_ACEOF
34975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34981 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34982 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34983 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34984 echo "$as_me:$LINENO: result: yes" >&5
34985 echo "${ECHO_T}yes" >&6
34987 echo "$as_me:$LINENO: result: no" >&5
34988 echo "${ECHO_T}no" >&6
34989 # not sure we should warn the user, crash, etc.
34993 if test "$wxUSE_GUI" = "yes"; then
34996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34997 drawing dynamic erase event exec font image \
34998 minimal propsize rotate shaped widgets render"
35000 if test "$wxUSE_MONOLITHIC" != "yes"; then
35001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
35004 SAMPLES_SUBDIRS
="console"
35008 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
35009 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
35011 if test "$GXX" = yes ; then
35012 CXXWARNINGS
="-Wall"
35015 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
35017 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
35018 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
35019 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
35022 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
35023 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35024 EXTRALIBS_XML
="$EXPAT_LINK"
35025 EXTRALIBS_HTML
="$MSPACK_LINK"
35026 EXTRALIBS_ODBC
="$ODBC_LINK"
35027 if test "$wxUSE_GUI" = "yes"; then
35028 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35030 if test "$wxUSE_OPENGL" = "yes"; then
35031 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
35034 LDFLAGS
="$LDFLAGS $PROFILE"
35036 if test "$wxUSE_GTK" = 1; then
35039 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
35042 WXCONFIG_EXTRALIBS
="$LIBS"
35044 if test "$wxUSE_REGEX" = "builtin" ; then
35045 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
35047 if test "$wxUSE_EXPAT" = "builtin" ; then
35048 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
35050 if test "$wxUSE_ODBC" = "builtin" ; then
35051 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
35053 if test "$wxUSE_LIBTIFF" = "builtin" ; then
35054 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
35056 if test "$wxUSE_LIBJPEG" = "builtin" ; then
35057 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
35059 if test "$wxUSE_LIBPNG" = "builtin" ; then
35060 wxconfig_3rdparty
="$wxconfig_3rdparty png"
35062 if test "$wxUSE_ZLIB" = "builtin" ; then
35063 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
35065 if test "$wxUSE_ODBC" = "builtin" ; then
35066 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
35069 for i
in $wxconfig_3rdparty ; do
35070 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35074 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35088 if test $wxUSE_MONOLITHIC = "yes" ; then
35094 if test $wxUSE_PLUGINS = "yes" ; then
35100 if test $wxUSE_ODBC != "no" ; then
35106 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35132 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35140 if test "x$BAKEFILE_HOST" = "x"; then
35141 BAKEFILE_HOST
="${host}"
35144 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35146 if test -n "$ac_tool_prefix"; then
35147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35148 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
35149 echo "$as_me:$LINENO: checking for $ac_word" >&5
35150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35151 if test "${ac_cv_prog_RANLIB+set}" = set; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 if test -n "$RANLIB"; then
35155 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
35157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35158 for as_dir
in $PATH
35161 test -z "$as_dir" && as_dir
=.
35162 for ac_exec_ext
in '' $ac_executable_extensions; do
35163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35164 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
35165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35173 RANLIB
=$ac_cv_prog_RANLIB
35174 if test -n "$RANLIB"; then
35175 echo "$as_me:$LINENO: result: $RANLIB" >&5
35176 echo "${ECHO_T}$RANLIB" >&6
35178 echo "$as_me:$LINENO: result: no" >&5
35179 echo "${ECHO_T}no" >&6
35183 if test -z "$ac_cv_prog_RANLIB"; then
35184 ac_ct_RANLIB
=$RANLIB
35185 # Extract the first word of "ranlib", so it can be a program name with args.
35186 set dummy ranlib
; ac_word
=$2
35187 echo "$as_me:$LINENO: checking for $ac_word" >&5
35188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35189 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35190 echo $ECHO_N "(cached) $ECHO_C" >&6
35192 if test -n "$ac_ct_RANLIB"; then
35193 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
35195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35196 for as_dir
in $PATH
35199 test -z "$as_dir" && as_dir
=.
35200 for ac_exec_ext
in '' $ac_executable_extensions; do
35201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35202 ac_cv_prog_ac_ct_RANLIB
="ranlib"
35203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35209 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
35212 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
35213 if test -n "$ac_ct_RANLIB"; then
35214 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35215 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35217 echo "$as_me:$LINENO: result: no" >&5
35218 echo "${ECHO_T}no" >&6
35221 RANLIB
=$ac_ct_RANLIB
35223 RANLIB
="$ac_cv_prog_RANLIB"
35226 # Find a good install program. We prefer a C program (faster),
35227 # so one script is as good as another. But avoid the broken or
35228 # incompatible versions:
35229 # SysV /etc/install, /usr/sbin/install
35230 # SunOS /usr/etc/install
35231 # IRIX /sbin/install
35233 # AmigaOS /C/install, which installs bootblocks on floppy discs
35234 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
35235 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
35236 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
35237 # ./install, which can be erroneously created by make from ./install.sh.
35238 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
35239 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
35240 if test -z "$INSTALL"; then
35241 if test "${ac_cv_path_install+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35245 for as_dir
in $PATH
35248 test -z "$as_dir" && as_dir
=.
35249 # Account for people who put trailing slashes in PATH elements.
35251 .
/ | .
// | /cC
/* | \
35252 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
35255 # OSF1 and SCO ODT 3.0 have their own names for install.
35256 # Don't use installbsd from OSF since it installs stuff as root
35258 for ac_prog
in ginstall scoinst
install; do
35259 for ac_exec_ext
in '' $ac_executable_extensions; do
35260 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
35261 if test $ac_prog = install &&
35262 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
35263 # AIX install. It has an incompatible calling convention.
35265 elif test $ac_prog = install &&
35266 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
35267 # program-specific install script used by HP pwplus--don't use.
35270 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
35282 if test "${ac_cv_path_install+set}" = set; then
35283 INSTALL
=$ac_cv_path_install
35285 # As a last resort, use the slow shell script. We don't cache a
35286 # path for INSTALL within a source directory, because that will
35287 # break other packages using the cache if that directory is
35288 # removed, or if the path is relative.
35289 INSTALL
=$ac_install_sh
35292 echo "$as_me:$LINENO: result: $INSTALL" >&5
35293 echo "${ECHO_T}$INSTALL" >&6
35295 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35296 # It thinks the first close brace ends the variable substitution.
35297 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
35299 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
35301 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
35303 echo "$as_me:$LINENO: checking whether ln -s works" >&5
35304 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
35306 if test "$LN_S" = "ln -s"; then
35307 echo "$as_me:$LINENO: result: yes" >&5
35308 echo "${ECHO_T}yes" >&6
35310 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
35311 echo "${ECHO_T}no, using $LN_S" >&6
35315 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35316 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35317 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35318 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35319 echo $ECHO_N "(cached) $ECHO_C" >&6
35321 cat >conftest.
make <<\_ACEOF
35323 @
echo 'ac_maketemp="$(MAKE)"'
35325 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35326 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35327 if test -n "$ac_maketemp"; then
35328 eval ac_cv_prog_make_
${ac_make}_set
=yes
35330 eval ac_cv_prog_make_
${ac_make}_set
=no
35332 rm -f conftest.
make
35334 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35335 echo "$as_me:$LINENO: result: yes" >&5
35336 echo "${ECHO_T}yes" >&6
35339 echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6
35341 SET_MAKE
="MAKE=${MAKE-make}"
35346 if test -n "$ac_tool_prefix"; then
35347 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
35348 set dummy
${ac_tool_prefix}ar; ac_word
=$2
35349 echo "$as_me:$LINENO: checking for $ac_word" >&5
35350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35351 if test "${ac_cv_prog_AR+set}" = set; then
35352 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 if test -n "$AR"; then
35355 ac_cv_prog_AR
="$AR" # Let the user override the test.
35357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35358 for as_dir
in $PATH
35361 test -z "$as_dir" && as_dir
=.
35362 for ac_exec_ext
in '' $ac_executable_extensions; do
35363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35364 ac_cv_prog_AR
="${ac_tool_prefix}ar"
35365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35374 if test -n "$AR"; then
35375 echo "$as_me:$LINENO: result: $AR" >&5
35376 echo "${ECHO_T}$AR" >&6
35378 echo "$as_me:$LINENO: result: no" >&5
35379 echo "${ECHO_T}no" >&6
35383 if test -z "$ac_cv_prog_AR"; then
35385 # Extract the first word of "ar", so it can be a program name with args.
35386 set dummy
ar; ac_word
=$2
35387 echo "$as_me:$LINENO: checking for $ac_word" >&5
35388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35389 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
35390 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 if test -n "$ac_ct_AR"; then
35393 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
35395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35396 for as_dir
in $PATH
35399 test -z "$as_dir" && as_dir
=.
35400 for ac_exec_ext
in '' $ac_executable_extensions; do
35401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35402 ac_cv_prog_ac_ct_AR
="ar"
35403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35409 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
35412 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
35413 if test -n "$ac_ct_AR"; then
35414 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
35415 echo "${ECHO_T}$ac_ct_AR" >&6
35417 echo "$as_me:$LINENO: result: no" >&5
35418 echo "${ECHO_T}no" >&6
35423 AR
="$ac_cv_prog_AR"
35426 if test -n "$ac_tool_prefix"; then
35427 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
35428 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
35429 echo "$as_me:$LINENO: checking for $ac_word" >&5
35430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35431 if test "${ac_cv_prog_STRIP+set}" = set; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35434 if test -n "$STRIP"; then
35435 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
35437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35438 for as_dir
in $PATH
35441 test -z "$as_dir" && as_dir
=.
35442 for ac_exec_ext
in '' $ac_executable_extensions; do
35443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35444 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
35445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35453 STRIP
=$ac_cv_prog_STRIP
35454 if test -n "$STRIP"; then
35455 echo "$as_me:$LINENO: result: $STRIP" >&5
35456 echo "${ECHO_T}$STRIP" >&6
35458 echo "$as_me:$LINENO: result: no" >&5
35459 echo "${ECHO_T}no" >&6
35463 if test -z "$ac_cv_prog_STRIP"; then
35465 # Extract the first word of "strip", so it can be a program name with args.
35466 set dummy strip
; ac_word
=$2
35467 echo "$as_me:$LINENO: checking for $ac_word" >&5
35468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35469 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 if test -n "$ac_ct_STRIP"; then
35473 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
35475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35476 for as_dir
in $PATH
35479 test -z "$as_dir" && as_dir
=.
35480 for ac_exec_ext
in '' $ac_executable_extensions; do
35481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35482 ac_cv_prog_ac_ct_STRIP
="strip"
35483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35489 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
35492 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
35493 if test -n "$ac_ct_STRIP"; then
35494 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35495 echo "${ECHO_T}$ac_ct_STRIP" >&6
35497 echo "$as_me:$LINENO: result: no" >&5
35498 echo "${ECHO_T}no" >&6
35503 STRIP
="$ac_cv_prog_STRIP"
35506 if test -n "$ac_tool_prefix"; then
35507 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35508 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
35509 echo "$as_me:$LINENO: checking for $ac_word" >&5
35510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35511 if test "${ac_cv_prog_NM+set}" = set; then
35512 echo $ECHO_N "(cached) $ECHO_C" >&6
35514 if test -n "$NM"; then
35515 ac_cv_prog_NM
="$NM" # Let the user override the test.
35517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35518 for as_dir
in $PATH
35521 test -z "$as_dir" && as_dir
=.
35522 for ac_exec_ext
in '' $ac_executable_extensions; do
35523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35524 ac_cv_prog_NM
="${ac_tool_prefix}nm"
35525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35534 if test -n "$NM"; then
35535 echo "$as_me:$LINENO: result: $NM" >&5
35536 echo "${ECHO_T}$NM" >&6
35538 echo "$as_me:$LINENO: result: no" >&5
35539 echo "${ECHO_T}no" >&6
35543 if test -z "$ac_cv_prog_NM"; then
35545 # Extract the first word of "nm", so it can be a program name with args.
35546 set dummy nm
; ac_word
=$2
35547 echo "$as_me:$LINENO: checking for $ac_word" >&5
35548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35549 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 if test -n "$ac_ct_NM"; then
35553 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
35555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35556 for as_dir
in $PATH
35559 test -z "$as_dir" && as_dir
=.
35560 for ac_exec_ext
in '' $ac_executable_extensions; do
35561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35562 ac_cv_prog_ac_ct_NM
="nm"
35563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35569 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
35572 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
35573 if test -n "$ac_ct_NM"; then
35574 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35575 echo "${ECHO_T}$ac_ct_NM" >&6
35577 echo "$as_me:$LINENO: result: no" >&5
35578 echo "${ECHO_T}no" >&6
35583 NM
="$ac_cv_prog_NM"
35587 case ${BAKEFILE_HOST} in
35589 INSTALL_DIR
="mkdir"
35591 *) INSTALL_DIR
="$INSTALL -d"
35597 case ${BAKEFILE_HOST} in
35598 *-*-cygwin* | *-*-mingw32* )
35599 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
35605 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35606 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35607 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35611 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
35612 egrep -s GNU
> /dev
/null
); then
35613 bakefile_cv_prog_makeisgnu
="yes"
35615 bakefile_cv_prog_makeisgnu
="no"
35619 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35620 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35622 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35637 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35638 case "${BAKEFILE_HOST}" in
35639 *-*-cygwin* | *-*-mingw32* )
35645 *-pc-os2_emx | *-pc-os2-emx )
35648 powerpc
-*-darwin* )
35657 case "$BAKEFILE_FORCE_PLATFORM" in
35675 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
35676 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
35677 { (exit 1); exit 1; }; }
35691 SO_SUFFIX_MODULE
="so"
35697 case "${BAKEFILE_HOST}" in
35700 SO_SUFFIX_MODULE
="sl"
35704 SO_SUFFIX_MODULE
="a"
35706 *-*-cygwin* | *-*-mingw32* )
35708 SO_SUFFIX_MODULE
="dll"
35716 *-pc-os2_emx | *-pc-os2-emx )
35721 powerpc
-*-darwin* )
35723 SO_SUFFIX_MODULE
="bundle"
35735 SHARED_LD_CC
="\$(CC) -shared -o"
35736 SHARED_LD_CXX
="\$(CXX) -shared -o"
35738 if test "x$GCC" = "xyes"; then
35742 case "${BAKEFILE_HOST}" in
35744 if test "x$GCC" = "xyes"; then
35745 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
35746 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
35748 LDFLAGS
="$LDFLAGS -L/usr/lib"
35750 SHARED_LD_CC
="${CC} -b -o"
35751 SHARED_LD_CXX
="${CXX} -b -o"
35757 if test "x$GCC" != "xyes"; then
35758 echo "$as_me:$LINENO: checking for Intel compiler" >&5
35759 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
35760 if test "${bakefile_cv_prog_icc+set}" = set; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 cat >conftest.
$ac_ext <<_ACEOF
35765 #line $LINENO "configure"
35768 cat confdefs.h
>>conftest.
$ac_ext
35769 cat >>conftest.
$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35776 #ifndef __INTEL_COMPILER
35784 rm -f conftest.
$ac_objext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35786 (eval $ac_compile) 2>&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try
='test -s conftest.$ac_objext'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; }; then
35796 bakefile_cv_prog_icc
=yes
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.
$ac_ext >&5
35801 bakefile_cv_prog_icc
=no
35804 rm -f conftest.
$ac_objext conftest.
$ac_ext
35807 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
35808 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
35809 if test "$bakefile_cv_prog_icc" = "yes"; then
35816 if test "x$GCC" != xyes
; then
35817 SHARED_LD_CC
="${CC} -G -o"
35818 SHARED_LD_CXX
="${CXX} -G -o"
35824 CFLAGS
="$CFLAGS -fno-common"
35825 CXXFLAGS
="$CXXFLAGS -fno-common"
35828 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
35829 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
35830 if test "${wx_cv_gcc31+set}" = set; then
35831 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 cat >conftest.
$ac_ext <<_ACEOF
35835 #line $LINENO "configure"
35838 cat confdefs.h
>>conftest.
$ac_ext
35839 cat >>conftest.
$ac_ext <<_ACEOF
35840 /* end confdefs.h. */
35846 #if (__GNUC__ < 3) || \
35847 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
35855 rm -f conftest.
$ac_objext
35856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35857 (eval $ac_compile) 2>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); } &&
35861 { ac_try
='test -s conftest.$ac_objext'
35862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35863 (eval $ac_try) 2>&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); }; }; then
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.
$ac_ext >&5
35879 rm -f conftest.
$ac_objext conftest.
$ac_ext
35882 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
35883 echo "${ECHO_T}$wx_cv_gcc31" >&6
35884 if test "$wx_cv_gcc31" = "no"; then
35885 cat <<EOF >shared-ld-sh
35887 #-----------------------------------------------------------------------------
35888 #-- Name: distrib/mac/shared-ld-sh
35889 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
35890 #-- Author: Gilles Depeyrot
35891 #-- Copyright: (c) 2002 Gilles Depeyrot
35892 #-- Licence: any use permitted
35893 #-----------------------------------------------------------------------------
35898 linking_flag="-dynamiclib"
35900 while test \${#} -gt 0; do
35907 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
35908 # collect these options and values
35909 args="\${args} \${1} \${2}"
35913 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
35914 # collect these options
35915 args="\${args} \${1}"
35918 -dynamiclib|-bundle)
35919 linking_flag="\${1}"
35923 echo "shared-ld: unhandled option '\${1}'"
35927 *.o | *.a | *.dylib)
35928 # collect object files
35929 objects="\${objects} \${1}"
35933 echo "shared-ld: unhandled argument '\${1}'"
35942 # Link one module containing all the others
35944 if test \${verbose} = 1; then
35945 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
35947 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
35949 if test \${status} != 0; then
35954 # Link the shared library from the single module created
35956 if test \${verbose} = 1; then
35957 echo "cc \${linking_flag} master.\$\$.o \${args}"
35959 c++ \${linking_flag} master.\$\$.o \${args}
35961 if test \${status} != 0; then
35966 # Remove intermediate module
35968 rm -f master.\$\$.o
35972 chmod +x shared
-ld-sh
35974 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
35975 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
35976 SHARED_LD_CXX
="$SHARED_LD_CC"
35977 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
35979 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
35980 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
35981 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
35982 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
35985 PIC_FLAG
="-dynamic -fPIC"
35989 if test "x$GCC" != "xyes"; then
35990 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
35991 set dummy makeC
++SharedLib
; ac_word
=$2
35992 echo "$as_me:$LINENO: checking for $ac_word" >&5
35993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35994 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35997 if test -n "$AIX_CXX_LD"; then
35998 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
36000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36001 for as_dir
in $PATH
36004 test -z "$as_dir" && as_dir
=.
36005 for ac_exec_ext
in '' $ac_executable_extensions; do
36006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36007 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
36008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36014 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
36017 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
36018 if test -n "$AIX_CXX_LD"; then
36019 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
36020 echo "${ECHO_T}$AIX_CXX_LD" >&6
36022 echo "$as_me:$LINENO: result: no" >&5
36023 echo "${ECHO_T}no" >&6
36026 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
36027 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
36032 SHARED_LD_CC
="${LD} -shared -o"
36033 SHARED_LD_CXX
="${LD} -shared -o"
36037 if test "x$GCC" != "xyes"; then
36042 *-*-cygwin* | *-*-mingw32* )
36046 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
36050 *-pc-os2_emx | *-pc-os2-emx | \
36055 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
36056 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
36057 { (exit 1); exit 1; }; }
36060 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
36061 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
36063 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
36064 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
36081 case "${BAKEFILE_HOST}" in
36083 SONAME_FLAG
="-Wl,-soname,"
36111 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
36112 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
36115 if test "x$GCC" = "xyes"; then
36118 case "${BAKEFILE_HOST}" in
36119 powerpc
-*-darwin* )
36120 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
36123 DEPSFLAG_GCC
="-MMD"
36126 echo "$as_me:$LINENO: result: gcc" >&5
36127 echo "${ECHO_T}gcc" >&6
36129 echo "$as_me:$LINENO: result: none" >&5
36130 echo "${ECHO_T}none" >&6
36133 if test $DEPS_TRACKING = 1 ; then
36137 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36138 # script. It is used to track C/C++ files dependencies in portable way.
36140 # Permission is given to use this file in any way.
36144 DEPSFLAG_GCC="$DEPSFLAG_GCC"
36148 if test \$DEPSMODE = gcc ; then
36149 \${*} \${DEPSFLAG_GCC}
36151 if test \${status} != 0 ; then
36154 # move created file to the location we want it in:
36155 while test \${#} -gt 0; do
36169 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
36170 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
36171 if test -f \$depfile ; then
36172 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36175 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
36176 if test -f \$depfile ; then
36177 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36196 case ${BAKEFILE_HOST} in
36197 *-*-cygwin* | *-*-mingw32* )
36198 if test "$build" != "$host" ; then
36199 RESCOMP
=$host_alias-windres
36201 # Extract the first word of "windres", so it can be a program name with args.
36202 set dummy windres
; ac_word
=$2
36203 echo "$as_me:$LINENO: checking for $ac_word" >&5
36204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36205 if test "${ac_cv_prog_RESCOMP+set}" = set; then
36206 echo $ECHO_N "(cached) $ECHO_C" >&6
36208 if test -n "$RESCOMP"; then
36209 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
36211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36212 for as_dir
in $PATH
36215 test -z "$as_dir" && as_dir
=.
36216 for ac_exec_ext
in '' $ac_executable_extensions; do
36217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36218 ac_cv_prog_RESCOMP
="windres"
36219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36225 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
36228 RESCOMP
=$ac_cv_prog_RESCOMP
36229 if test -n "$RESCOMP"; then
36230 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36231 echo "${ECHO_T}$RESCOMP" >&6
36233 echo "$as_me:$LINENO: result: no" >&5
36234 echo "${ECHO_T}no" >&6
36241 # Extract the first word of "Rez", so it can be a program name with args.
36242 set dummy Rez
; ac_word
=$2
36243 echo "$as_me:$LINENO: checking for $ac_word" >&5
36244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36245 if test "${ac_cv_prog_RESCOMP+set}" = set; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 if test -n "$RESCOMP"; then
36249 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
36251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36252 for as_dir
in $PATH
36255 test -z "$as_dir" && as_dir
=.
36256 for ac_exec_ext
in '' $ac_executable_extensions; do
36257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36258 ac_cv_prog_RESCOMP
="Rez"
36259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36265 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
36268 RESCOMP
=$ac_cv_prog_RESCOMP
36269 if test -n "$RESCOMP"; then
36270 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36271 echo "${ECHO_T}$RESCOMP" >&6
36273 echo "$as_me:$LINENO: result: no" >&5
36274 echo "${ECHO_T}no" >&6
36277 # Extract the first word of "SetFile", so it can be a program name with args.
36278 set dummy SetFile
; ac_word
=$2
36279 echo "$as_me:$LINENO: checking for $ac_word" >&5
36280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36281 if test "${ac_cv_prog_SETFILE+set}" = set; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 if test -n "$SETFILE"; then
36285 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
36287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36288 for as_dir
in $PATH
36291 test -z "$as_dir" && as_dir
=.
36292 for ac_exec_ext
in '' $ac_executable_extensions; do
36293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36294 ac_cv_prog_SETFILE
="SetFile"
36295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36301 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
36304 SETFILE
=$ac_cv_prog_SETFILE
36305 if test -n "$SETFILE"; then
36306 echo "$as_me:$LINENO: result: $SETFILE" >&5
36307 echo "${ECHO_T}$SETFILE" >&6
36309 echo "$as_me:$LINENO: result: no" >&5
36310 echo "${ECHO_T}no" >&6
36325 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
36326 if test "${enable_precomp_headers+set}" = set; then
36327 enableval
="$enable_precomp_headers"
36328 bk_use_pch
="$enableval"
36333 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
36334 if test "x$GCC" = "xyes"; then
36335 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
36336 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
36337 cat >conftest.
$ac_ext <<_ACEOF
36338 #line $LINENO "configure"
36341 cat confdefs.h
>>conftest.
$ac_ext
36342 cat >>conftest.
$ac_ext <<_ACEOF
36343 /* end confdefs.h. */
36349 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
36350 #error "no pch support"
36353 #error "no pch support"
36355 #if (__GNUC__ == 3) && \
36356 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
36357 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
36358 #error "no pch support"
36365 rm -f conftest.
$ac_objext
36366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36367 (eval $ac_compile) 2>&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } &&
36371 { ac_try
='test -s conftest.$ac_objext'
36372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36373 (eval $ac_try) 2>&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); }; }; then
36378 echo "$as_me:$LINENO: result: yes" >&5
36379 echo "${ECHO_T}yes" >&6
36380 CPPFLAGS
="-fpch-deps $CPPFLAGS"
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.
$ac_ext >&5
36388 echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6
36392 rm -f conftest.
$ac_objext conftest.
$ac_ext
36393 if test $GCC_PCH = 1 ; then
36394 cat <<EOF >bk-make-pch
36397 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36398 # script. It is used to generated precompiled headers.
36400 # Permission is given to use this file in any way.
36409 while test \${#} -gt 0; do
36412 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
36413 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
36414 headerfile="\${incdir}/\${header}"
36418 compiler="\${compiler} \${1}"
36422 if test "x\${headerfile}" = "x" ; then
36423 echo "error: can't find header \${header} in include paths" >2
36425 if test -f \${outfile} ; then
36428 mkdir -p \`dirname \${outfile}\`
36430 depsfile=".deps/\`basename \${outfile}\`.d"
36432 # can do this because gcc is >= 3.4:
36433 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
36437 chmod +x bk
-make-pch
36446 COND_BUILD_DEBUG
="#"
36447 if test "x$BUILD" = "xdebug" ; then
36448 COND_BUILD_DEBUG
=""
36451 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
36452 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
36453 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
36456 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
36457 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
36458 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
36461 COND_BUILD_DEBUG_UNICODE_0
="#"
36462 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
36463 COND_BUILD_DEBUG_UNICODE_0
=""
36466 COND_BUILD_DEBUG_UNICODE_1
="#"
36467 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
36468 COND_BUILD_DEBUG_UNICODE_1
=""
36471 COND_BUILD_RELEASE
="#"
36472 if test "x$BUILD" = "xrelease" ; then
36473 COND_BUILD_RELEASE
=""
36476 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
36477 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
36478 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
36481 COND_BUILD_RELEASE_UNICODE_0
="#"
36482 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
36483 COND_BUILD_RELEASE_UNICODE_0
=""
36486 COND_BUILD_RELEASE_UNICODE_1
="#"
36487 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
36488 COND_BUILD_RELEASE_UNICODE_1
=""
36491 COND_DEBUG_FLAG_1
="#"
36492 if test "x$DEBUG_FLAG" = "x1" ; then
36493 COND_DEBUG_FLAG_1
=""
36496 COND_DEBUG_INFO_0
="#"
36497 if test "x$DEBUG_INFO" = "x0" ; then
36498 COND_DEBUG_INFO_0
=""
36501 COND_DEBUG_INFO_1
="#"
36502 if test "x$DEBUG_INFO" = "x1" ; then
36503 COND_DEBUG_INFO_1
=""
36506 COND_DEPS_TRACKING_0
="#"
36507 if test "x$DEPS_TRACKING" = "x0" ; then
36508 COND_DEPS_TRACKING_0
=""
36511 COND_DEPS_TRACKING_1
="#"
36512 if test "x$DEPS_TRACKING" = "x1" ; then
36513 COND_DEPS_TRACKING_1
=""
36517 if test "x$GCC_PCH" = "x1" ; then
36521 COND_MONOLITHIC_0
="#"
36522 if test "x$MONOLITHIC" = "x0" ; then
36523 COND_MONOLITHIC_0
=""
36526 COND_MONOLITHIC_0_SHARED_0
="#"
36527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
36528 COND_MONOLITHIC_0_SHARED_0
=""
36531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
36532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
36533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
36536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
36537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
36541 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
36542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
36543 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
36546 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
36547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
36548 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
36551 COND_MONOLITHIC_0_SHARED_1
="#"
36552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
36553 COND_MONOLITHIC_0_SHARED_1
=""
36556 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
36557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
36558 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
36561 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
36562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36563 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
36566 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
36567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
36568 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
36571 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
36572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
36573 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
36576 COND_MONOLITHIC_0_USE_ODBC_1
="#"
36577 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
36578 COND_MONOLITHIC_0_USE_ODBC_1
=""
36581 COND_MONOLITHIC_1
="#"
36582 if test "x$MONOLITHIC" = "x1" ; then
36583 COND_MONOLITHIC_1
=""
36586 COND_MONOLITHIC_1_SHARED_0
="#"
36587 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
36588 COND_MONOLITHIC_1_SHARED_0
=""
36591 COND_MONOLITHIC_1_SHARED_1
="#"
36592 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
36593 COND_MONOLITHIC_1_SHARED_1
=""
36596 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
36597 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
36598 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
36601 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
36602 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
36603 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
36606 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
36607 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
36608 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
36611 COND_PLATFORM_MACOSX_1
="#"
36612 if test "x$PLATFORM_MACOSX" = "x1" ; then
36613 COND_PLATFORM_MACOSX_1
=""
36616 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
36617 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
36618 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
36621 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
36622 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
36623 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
36626 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
36627 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
36628 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
36631 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
36632 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
36633 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
36636 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
36637 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
36638 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
36641 COND_PLATFORM_MAC_1
="#"
36642 if test "x$PLATFORM_MAC" = "x1" ; then
36643 COND_PLATFORM_MAC_1
=""
36646 COND_PLATFORM_OS2_1
="#"
36647 if test "x$PLATFORM_OS2" = "x1" ; then
36648 COND_PLATFORM_OS2_1
=""
36651 COND_PLATFORM_UNIX_0
="#"
36652 if test "x$PLATFORM_UNIX" = "x0" ; then
36653 COND_PLATFORM_UNIX_0
=""
36656 COND_PLATFORM_UNIX_1
="#"
36657 if test "x$PLATFORM_UNIX" = "x1" ; then
36658 COND_PLATFORM_UNIX_1
=""
36661 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
36662 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
36663 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
36666 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
36667 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
36668 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
36671 COND_PLATFORM_WIN32_0
="#"
36672 if test "x$PLATFORM_WIN32" = "x0" ; then
36673 COND_PLATFORM_WIN32_0
=""
36676 COND_PLATFORM_WIN32_1
="#"
36677 if test "x$PLATFORM_WIN32" = "x1" ; then
36678 COND_PLATFORM_WIN32_1
=""
36682 if test "x$SHARED" = "x0" ; then
36686 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
36687 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36688 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
36691 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
36692 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36693 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
36696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
36697 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36698 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
36701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
36702 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36703 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
36706 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
36707 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
36708 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
36711 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
36712 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
36713 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
36716 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
36717 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
36718 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
36721 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
36722 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
36723 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
36727 if test "x$SHARED" = "x1" ; then
36731 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
36732 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36733 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
36736 COND_TOOLKIT_COCOA
="#"
36737 if test "x$TOOLKIT" = "xCOCOA" ; then
36738 COND_TOOLKIT_COCOA
=""
36741 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
36742 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36743 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
36746 COND_TOOLKIT_GTK
="#"
36747 if test "x$TOOLKIT" = "xGTK" ; then
36748 COND_TOOLKIT_GTK
=""
36751 COND_TOOLKIT_GTK_USE_GUI_1
="#"
36752 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
36753 COND_TOOLKIT_GTK_USE_GUI_1
=""
36756 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
36757 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36758 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
36761 COND_TOOLKIT_MAC
="#"
36762 if test "x$TOOLKIT" = "xMAC" ; then
36763 COND_TOOLKIT_MAC
=""
36766 COND_TOOLKIT_MAC_USE_GUI_1
="#"
36767 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
36768 COND_TOOLKIT_MAC_USE_GUI_1
=""
36771 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
36772 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36773 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
36776 COND_TOOLKIT_MGL
="#"
36777 if test "x$TOOLKIT" = "xMGL" ; then
36778 COND_TOOLKIT_MGL
=""
36781 COND_TOOLKIT_MGL_USE_GUI_1
="#"
36782 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
36783 COND_TOOLKIT_MGL_USE_GUI_1
=""
36786 COND_TOOLKIT_MOTIF
="#"
36787 if test "x$TOOLKIT" = "xMOTIF" ; then
36788 COND_TOOLKIT_MOTIF
=""
36791 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
36792 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
36793 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
36796 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
36797 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36798 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
36801 COND_TOOLKIT_MSW
="#"
36802 if test "x$TOOLKIT" = "xMSW" ; then
36803 COND_TOOLKIT_MSW
=""
36806 COND_TOOLKIT_MSW_USE_GUI_1
="#"
36807 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
36808 COND_TOOLKIT_MSW_USE_GUI_1
=""
36811 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
36812 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36813 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
36816 COND_TOOLKIT_PM
="#"
36817 if test "x$TOOLKIT" = "xPM" ; then
36821 COND_TOOLKIT_PM_USE_GUI_1
="#"
36822 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
36823 COND_TOOLKIT_PM_USE_GUI_1
=""
36826 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
36827 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36828 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
36831 COND_TOOLKIT_X11
="#"
36832 if test "x$TOOLKIT" = "xX11" ; then
36833 COND_TOOLKIT_X11
=""
36836 COND_TOOLKIT_X11_USE_GUI_1
="#"
36837 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
36838 COND_TOOLKIT_X11_USE_GUI_1
=""
36842 if test "x$UNICODE" = "x1" ; then
36846 COND_USE_EXCEPTIONS_0
="#"
36847 if test "x$USE_EXCEPTIONS" = "x0" ; then
36848 COND_USE_EXCEPTIONS_0
=""
36851 COND_USE_EXCEPTIONS_1
="#"
36852 if test "x$USE_EXCEPTIONS" = "x1" ; then
36853 COND_USE_EXCEPTIONS_1
=""
36857 if test "x$USE_GUI" = "x0" ; then
36862 if test "x$USE_GUI" = "x1" ; then
36866 COND_USE_GUI_1_WXUNIV_0
="#"
36867 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36868 COND_USE_GUI_1_WXUNIV_0
=""
36871 COND_USE_GUI_1_WXUNIV_1
="#"
36872 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
36873 COND_USE_GUI_1_WXUNIV_1
=""
36876 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
36877 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36878 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
36881 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
36882 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36883 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
36886 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
36887 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36888 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
36891 COND_USE_ODBC_1
="#"
36892 if test "x$USE_ODBC" = "x1" ; then
36896 COND_USE_PLUGINS_0
="#"
36897 if test "x$USE_PLUGINS" = "x0" ; then
36898 COND_USE_PLUGINS_0
=""
36901 COND_USE_SOSYMLINKS_1
="#"
36902 if test "x$USE_SOSYMLINKS" = "x1" ; then
36903 COND_USE_SOSYMLINKS_1
=""
36906 COND_USE_SOVERLINUX_1
="#"
36907 if test "x$USE_SOVERLINUX" = "x1" ; then
36908 COND_USE_SOVERLINUX_1
=""
36911 COND_USE_SOVERSION_0
="#"
36912 if test "x$USE_SOVERSION" = "x0" ; then
36913 COND_USE_SOVERSION_0
=""
36916 COND_USE_SOVERSOLARIS_1
="#"
36917 if test "x$USE_SOVERSOLARIS" = "x1" ; then
36918 COND_USE_SOVERSOLARIS_1
=""
36921 COND_WITH_PLUGIN_SDL_1
="#"
36922 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
36923 COND_WITH_PLUGIN_SDL_1
=""
36926 COND_WITH_SDL_1
="#"
36927 if test "x$WITH_SDL" = "x1" ; then
36932 if test "x$WXUNIV" = "x1" ; then
36936 COND_WXUSE_EXPAT_BUILTIN
="#"
36937 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
36938 COND_WXUSE_EXPAT_BUILTIN
=""
36941 COND_WXUSE_LIBJPEG_BUILTIN
="#"
36942 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36943 COND_WXUSE_LIBJPEG_BUILTIN
=""
36946 COND_WXUSE_LIBPNG_BUILTIN
="#"
36947 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36948 COND_WXUSE_LIBPNG_BUILTIN
=""
36951 COND_WXUSE_LIBTIFF_BUILTIN
="#"
36952 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36953 COND_WXUSE_LIBTIFF_BUILTIN
=""
36956 COND_WXUSE_ODBC_BUILTIN
="#"
36957 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
36958 COND_WXUSE_ODBC_BUILTIN
=""
36961 COND_WXUSE_REGEX_BUILTIN
="#"
36962 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
36963 COND_WXUSE_REGEX_BUILTIN
=""
36966 COND_WXUSE_ZLIB_BUILTIN
="#"
36967 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
36968 COND_WXUSE_ZLIB_BUILTIN
=""
36975 if test $GCC_PCH = 1 ; then
36976 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36977 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
36980 powerpc
-*-darwin* )
36981 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36982 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
36988 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
37088 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37089 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37090 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
37091 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37092 echo $ECHO_N "(cached) $ECHO_C" >&6
37094 cat >conftest.
make <<\_ACEOF
37096 @
echo 'ac_maketemp="$(MAKE)"'
37098 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37099 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37100 if test -n "$ac_maketemp"; then
37101 eval ac_cv_prog_make_
${ac_make}_set
=yes
37103 eval ac_cv_prog_make_
${ac_make}_set
=no
37105 rm -f conftest.
make
37107 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37108 echo "$as_me:$LINENO: result: yes" >&5
37109 echo "${ECHO_T}yes" >&6
37112 echo "$as_me:$LINENO: result: no" >&5
37113 echo "${ECHO_T}no" >&6
37114 SET_MAKE
="MAKE=${MAKE-make}"
37118 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
37119 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
37122 ac_config_headers
="$ac_config_headers setup.h"
37125 ac_config_files
="$ac_config_files wx-config version-script Makefile"
37128 ac_config_commands
="$ac_config_commands default"
37132 if test "$wxUSE_GUI" = "yes"; then
37133 SUBDIRS
="samples demos utils contrib"
37134 else SUBDIRS
="samples utils"
37137 for subdir
in `echo $SUBDIRS`; do
37138 if test -d ${srcdir}/${subdir} ; then
37139 if test "$wxUSE_GUI" = "yes"; then
37140 if test ${subdir} = "samples"; then
37141 makefiles
="samples/Makefile.in $makefiles"
37142 for sample
in `echo $SAMPLES_SUBDIRS`; do
37143 if test -d $srcdir/samples
/$sample; then
37144 makefiles
="samples/$sample/Makefile.in $makefiles"
37147 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
37149 else if test ${subdir} = "samples"; then
37150 makefiles
="samples/Makefile.in samples/console/Makefile.in"
37151 else makefiles
="utils/HelpGen/Makefile.in \
37152 utils/HelpGen/src/Makefile.in \
37153 utils/tex2rtf/Makefile.in \
37154 utils/tex2rtf/src/Makefile.in"
37158 for mkin
in $makefiles ; do
37159 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
37160 ac_config_files
="$ac_config_files $mk"
37167 cat >confcache
<<\_ACEOF
37168 # This file is a shell script that caches the results of configure
37169 # tests run on this system so they can be shared between configure
37170 # scripts and configure runs, see configure's option --config-cache.
37171 # It is not useful on other systems. If it contains results you don't
37172 # want to keep, you may remove or edit it.
37174 # config.status only pays attention to the cache file if you give it
37175 # the --recheck option to rerun configure.
37177 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37178 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37179 # following values.
37183 # The following way of writing the cache mishandles newlines in values,
37184 # but we know of no workaround that is simple, portable, and efficient.
37185 # So, don't put newlines in cache variables' values.
37186 # Ultrix sh set writes to stderr and can't be redirected directly,
37187 # and sets the high bit in the cache file unless we assign to the vars.
37190 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37192 # `set' does not quote correctly, so add quotes (double-quote
37193 # substitution turns \\\\ into \\, and sed turns \\ into \).
37196 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37199 # `set' quotes correctly as required by POSIX, so do not add quotes.
37201 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37208 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37210 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37212 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37213 if test -w $cache_file; then
37214 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37215 cat confcache
>$cache_file
37217 echo "not updating unwritable cache $cache_file"
37222 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
37223 # Let make expand exec_prefix.
37224 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
37226 # VPATH may cause trouble with some makes, so we remove $(srcdir),
37227 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37228 # trailing colons and then remove the whole line if VPATH becomes empty
37229 # (actually we leave an empty line to preserve line numbers).
37230 if test "x$srcdir" = x.
; then
37231 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
37232 s/:*\$(srcdir):*/:/;
37233 s/:*\${srcdir}:*/:/;
37235 s/^\([^=]*=[ ]*\):*/\1/;
37241 DEFS
=-DHAVE_CONFIG_H
37245 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
37246 # 1. Remove the extension, and $U if already installed.
37247 ac_i
=`echo "$ac_i" |
37248 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37250 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
37251 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
37253 LIBOBJS
=$ac_libobjs
37255 LTLIBOBJS
=$ac_ltlibobjs
37259 : ${CONFIG_STATUS=./config.status}
37260 ac_clean_files_save
=$ac_clean_files
37261 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
37262 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37263 echo "$as_me: creating $CONFIG_STATUS" >&6;}
37264 cat >$CONFIG_STATUS <<_ACEOF
37266 # Generated by $as_me.
37267 # Run this file to recreate the current configuration.
37268 # Compiler output produced by configure, useful for debugging
37269 # configure, is in config.log if it exists.
37272 ac_cs_recheck=false
37274 SHELL=\${CONFIG_SHELL-$SHELL}
37277 cat >>$CONFIG_STATUS <<\_ACEOF
37278 ## --------------------- ##
37279 ## M4sh Initialization. ##
37280 ## --------------------- ##
37282 # Be Bourne compatible
37283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
37286 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37287 # is contrary to our usage. Disable this feature.
37288 alias -g '${1+"$@"}'='"$@"'
37289 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
37293 # Support unset when possible.
37294 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37301 # Work around bugs in pre-3.0 UWIN ksh.
37302 $as_unset ENV MAIL MAILPATH
37309 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
37310 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
37311 LC_TELEPHONE LC_TIME
37313 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
37314 eval $as_var=C
; export $as_var
37320 # Required to use basename.
37321 if expr a
: '\(a\)' >/dev
/null
2>&1; then
37327 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
37328 as_basename
=basename
37334 # Name of the executable.
37335 as_me
=`$as_basename "$0" ||
37336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37337 X"$0" : 'X\(//\)$' \| \
37338 X"$0" : 'X\(/\)$' \| \
37339 . : '\(.\)' 2>/dev/null ||
37341 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
37342 /^X\/\(\/\/\)$/{ s//\1/; q; }
37343 /^X\/\(\/\).*/{ s//\1/; q; }
37347 # PATH needs CR, and LINENO needs CR and PATH.
37348 # Avoid depending upon Character Ranges.
37349 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37350 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37351 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37352 as_cr_digits
='0123456789'
37353 as_cr_alnum
=$as_cr_Letters$as_cr_digits
37355 # The user is always right.
37356 if test "${PATH_SEPARATOR+set}" != set; then
37357 echo "#! /bin/sh" >conf$$.sh
37358 echo "exit 0" >>conf$$.sh
37360 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
37369 as_lineno_1
=$LINENO
37370 as_lineno_2
=$LINENO
37371 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
37372 test "x$as_lineno_1" != "x$as_lineno_2" &&
37373 test "x$as_lineno_3" = "x$as_lineno_2" || {
37374 # Find who we are. Look in the path if we contain no path at all
37377 *[\\/]* ) as_myself
=$0 ;;
37378 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37379 for as_dir
in $PATH
37382 test -z "$as_dir" && as_dir
=.
37383 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
37388 # We did not find ourselves, most probably we were run as `sh COMMAND'
37389 # in which case we are not to be found in the path.
37390 if test "x$as_myself" = x
; then
37393 if test ! -f "$as_myself"; then
37394 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
37395 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
37396 { (exit 1); exit 1; }; }
37398 case $CONFIG_SHELL in
37400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37401 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
37404 test -z "$as_dir" && as_dir
=.
37405 for as_base
in sh bash ksh sh5
; do
37408 if ("$as_dir/$as_base" -c '
37409 as_lineno_1=$LINENO
37410 as_lineno_2=$LINENO
37411 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37412 test "x$as_lineno_1" != "x$as_lineno_2" &&
37413 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
37414 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
37415 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
37416 CONFIG_SHELL
=$as_dir/$as_base
37417 export CONFIG_SHELL
37418 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
37426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37427 # uniformly replaced by the line number. The first 'sed' inserts a
37428 # line-number line before each line; the second 'sed' does the real
37429 # work. The second script uses 'N' to pair each line-number line
37430 # with the numbered line, and appends trailing '-' during
37431 # substitution so that $LINENO is not a special case at line end.
37432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37433 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37434 sed '=' <$as_myself |
37439 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37442 s,^['$as_cr_digits']*\n,,
37443 ' >$as_me.lineno
&&
37444 chmod +x
$as_me.lineno
||
37445 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37446 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37447 { (exit 1); exit 1; }; }
37449 # Don't try to exec as it changes $[0], causing all sort of problems
37450 # (the dirname of $[0] is not the place where we might find the
37451 # original and so on. Autoconf is especially sensible to this).
37453 # Exit status is that of the last command.
37458 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37459 *c
*,-n*) ECHO_N
= ECHO_C
='
37461 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
37462 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
37465 if expr a
: '\(a\)' >/dev
/null
2>&1; then
37471 rm -f conf$$ conf$$.exe conf$$.
file
37473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
37474 # We could just check for DJGPP; but this test a) works b) is more generic
37475 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37476 if test -f conf$$.exe
; then
37477 # Don't use ln at all; we don't have any links
37482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
37487 rm -f conf$$ conf$$.exe conf$$.
file
37489 if mkdir -p .
2>/dev
/null
; then
37495 as_executable_p
="test -f"
37497 # Sed expression to map a string onto a valid CPP name.
37498 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
37500 # Sed expression to map a string onto a valid variable name.
37501 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
37505 # We need space, tab and new line, in precisely that order.
37515 # Open the log real soon, to keep \$[0] and so on meaningful, and to
37516 # report actual input values of CONFIG_FILES etc. instead of their
37517 # values after options handling. Logging --version etc. is OK.
37521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37522 ## Running $as_me. ##
37527 This file was extended by wxWindows $as_me 2.5.1, which was
37528 generated by GNU Autoconf 2.57. Invocation command line was
37530 CONFIG_FILES = $CONFIG_FILES
37531 CONFIG_HEADERS = $CONFIG_HEADERS
37532 CONFIG_LINKS = $CONFIG_LINKS
37533 CONFIG_COMMANDS = $CONFIG_COMMANDS
37537 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37541 # Files that config.status was made for.
37542 if test -n "$ac_config_files"; then
37543 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37546 if test -n "$ac_config_headers"; then
37547 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37550 if test -n "$ac_config_links"; then
37551 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37554 if test -n "$ac_config_commands"; then
37555 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37558 cat >>$CONFIG_STATUS <<\_ACEOF
37561 \`$as_me' instantiates files from templates according to the
37562 current configuration.
37564 Usage: $0 [OPTIONS] [FILE]...
37566 -h, --help print this help, then exit
37567 -V, --version print version number, then exit
37568 -q, --quiet do not print progress messages
37569 -d, --debug don't remove temporary files
37570 --recheck update $as_me by reconfiguring in the same conditions
37571 --file=FILE[:TEMPLATE]
37572 instantiate the configuration file FILE
37573 --header=FILE[:TEMPLATE]
37574 instantiate the configuration header FILE
37576 Configuration files:
37579 Configuration headers:
37582 Configuration commands:
37585 Report bugs to <bug-autoconf@gnu.org>."
37588 cat >>$CONFIG_STATUS <<_ACEOF
37590 wxWindows config.status 2.5.1
37591 configured by $0, generated by GNU Autoconf 2.57,
37592 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37594 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
37595 Free Software Foundation, Inc.
37596 This config.status script is free software; the Free Software Foundation
37597 gives unlimited permission to copy, distribute and modify it."
37602 cat >>$CONFIG_STATUS <<\_ACEOF
37603 # If no file are specified by the user, then we need to provide default
37604 # value. By we need to know if files were specified by the user.
37610 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
37611 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
37619 *) # This is not an option, so the user has probably given explicit
37622 ac_need_defaults
=false
;;
37626 # Handling of the options.
37628 cat >>$CONFIG_STATUS <<\_ACEOF
37629 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37631 --version | --vers* | -V )
37632 echo "$ac_cs_version"; exit 0 ;;
37634 # Conflict between --help and --header
37635 { { echo "$as_me:$LINENO: error: ambiguous option: $1
37636 Try \`$0 --help' for more information." >&5
37637 echo "$as_me: error: ambiguous option: $1
37638 Try \`$0 --help' for more information." >&2;}
37639 { (exit 1); exit 1; }; };;
37640 --help | --hel | -h )
37641 echo "$ac_cs_usage"; exit 0 ;;
37642 --debug | --d* | -d )
37644 --file | --fil | --fi | --f )
37646 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
37647 ac_need_defaults
=false
;;
37648 --header | --heade | --head | --hea )
37650 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
37651 ac_need_defaults
=false
;;
37652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37653 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37656 # This is an error.
37657 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37658 Try \`$0 --help' for more information." >&5
37659 echo "$as_me: error: unrecognized option: $1
37660 Try \`$0 --help' for more information." >&2;}
37661 { (exit 1); exit 1; }; } ;;
37663 *) ac_config_targets
="$ac_config_targets $1" ;;
37669 ac_configure_extra_args
=
37671 if $ac_cs_silent; then
37673 ac_configure_extra_args
="$ac_configure_extra_args --silent"
37677 cat >>$CONFIG_STATUS <<_ACEOF
37678 if \$ac_cs_recheck; then
37679 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37680 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37685 cat >>$CONFIG_STATUS <<_ACEOF
37687 # INIT-COMMANDS section.
37691 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
37700 cat >>$CONFIG_STATUS <<\_ACEOF
37701 for ac_config_target
in $ac_config_targets
37703 case "$ac_config_target" in
37704 # Handling of arguments.
37705 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
37706 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
37707 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
37708 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
37709 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
37710 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
37711 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37712 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37713 { (exit 1); exit 1; }; };;
37717 # If the user did not use the arguments to specify the items to instantiate,
37718 # then the envvar interface is used. Set only those that are not.
37719 # We use the long form for the default assignment because of an extremely
37720 # bizarre bug on SunOS 4.1.3.
37721 if $ac_need_defaults; then
37722 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
37723 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
37724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
37727 # Have a temporary directory for convenience. Make it in the build tree
37728 # simply because there is no reason to put it here, and in addition,
37729 # creating and moving files from /tmp can sometimes cause problems.
37730 # Create a temporary directory, and hook for its removal unless debugging.
37733 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37734 trap '{ (exit 1); exit 1; }' 1 2 13 15
37737 # Create a (secure) tmp directory for tmp files.
37740 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37741 test -n "$tmp" && test -d "$tmp"
37744 tmp
=.
/confstat$$
-$RANDOM
37745 (umask 077 && mkdir $tmp)
37748 echo "$me: cannot create a temporary directory in ." >&2
37749 { (exit 1); exit 1; }
37754 cat >>$CONFIG_STATUS <<_ACEOF
37757 # CONFIG_FILES section.
37760 # No need to generate the scripts if there are no CONFIG_FILES.
37761 # This happens for instance when ./config.status config.h
37762 if test -n "\$CONFIG_FILES"; then
37763 # Protect against being on the right side of a sed subst in config.status.
37764 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37765 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37766 s,@SHELL@,$SHELL,;t t
37767 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37768 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37769 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37770 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37771 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37772 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37773 s,@exec_prefix@,$exec_prefix,;t t
37774 s,@prefix@,$prefix,;t t
37775 s,@program_transform_name@,$program_transform_name,;t t
37776 s,@bindir@,$bindir,;t t
37777 s,@sbindir@,$sbindir,;t t
37778 s,@libexecdir@,$libexecdir,;t t
37779 s,@datadir@,$datadir,;t t
37780 s,@sysconfdir@,$sysconfdir,;t t
37781 s,@sharedstatedir@,$sharedstatedir,;t t
37782 s,@localstatedir@,$localstatedir,;t t
37783 s,@libdir@,$libdir,;t t
37784 s,@includedir@,$includedir,;t t
37785 s,@oldincludedir@,$oldincludedir,;t t
37786 s,@infodir@,$infodir,;t t
37787 s,@mandir@,$mandir,;t t
37788 s,@build_alias@,$build_alias,;t t
37789 s,@host_alias@,$host_alias,;t t
37790 s,@target_alias@,$target_alias,;t t
37791 s,@DEFS@,$DEFS,;t t
37792 s,@ECHO_C@,$ECHO_C,;t t
37793 s,@ECHO_N@,$ECHO_N,;t t
37794 s,@ECHO_T@,$ECHO_T,;t t
37795 s,@LIBS@,$LIBS,;t t
37796 s,@build@,$build,;t t
37797 s,@build_cpu@,$build_cpu,;t t
37798 s,@build_vendor@,$build_vendor,;t t
37799 s,@build_os@,$build_os,;t t
37800 s,@host@,$host,;t t
37801 s,@host_cpu@,$host_cpu,;t t
37802 s,@host_vendor@,$host_vendor,;t t
37803 s,@host_os@,$host_os,;t t
37804 s,@target@,$target,;t t
37805 s,@target_cpu@,$target_cpu,;t t
37806 s,@target_vendor@,$target_vendor,;t t
37807 s,@target_os@,$target_os,;t t
37809 s,@CFLAGS@,$CFLAGS,;t t
37810 s,@LDFLAGS@,$LDFLAGS,;t t
37811 s,@CPPFLAGS@,$CPPFLAGS,;t t
37812 s,@ac_ct_CC@,$ac_ct_CC,;t t
37813 s,@EXEEXT@,$EXEEXT,;t t
37814 s,@OBJEXT@,$OBJEXT,;t t
37816 s,@EGREP@,$EGREP,;t t
37818 s,@CXXFLAGS@,$CXXFLAGS,;t t
37819 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
37820 s,@RANLIB@,$RANLIB,;t t
37821 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37823 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37824 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37825 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37826 s,@STRIP@,$STRIP,;t t
37827 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
37828 s,@LN_S@,$LN_S,;t t
37829 s,@CXXCPP@,$CXXCPP,;t t
37830 s,@subdirs@,$subdirs,;t t
37831 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
37832 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
37833 s,@GTK_LIBS@,$GTK_LIBS,;t t
37834 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
37835 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
37836 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
37837 s,@X_CFLAGS@,$X_CFLAGS,;t t
37838 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
37839 s,@X_LIBS@,$X_LIBS,;t t
37840 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
37841 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
37842 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
37843 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
37844 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
37845 s,@RESCOMP@,$RESCOMP,;t t
37846 s,@DEREZ@,$DEREZ,;t t
37847 s,@SETFILE@,$SETFILE,;t t
37848 s,@LIBICONV@,$LIBICONV,;t t
37849 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
37850 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
37851 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
37852 s,@SDL_LIBS@,$SDL_LIBS,;t t
37853 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
37854 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
37855 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
37856 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
37857 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
37858 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
37859 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
37860 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
37861 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
37862 s,@VENDOR@,$VENDOR,;t t
37863 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
37864 s,@WXUNIV@,$WXUNIV,;t t
37865 s,@MONOLITHIC@,$MONOLITHIC,;t t
37866 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
37867 s,@EXTRALIBS@,$EXTRALIBS,;t t
37868 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
37869 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
37870 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
37871 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
37872 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
37873 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
37874 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
37875 s,@UNICODE@,$UNICODE,;t t
37876 s,@BUILD@,$BUILD,;t t
37877 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
37878 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
37879 s,@SHARED@,$SHARED,;t t
37880 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
37881 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
37882 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
37883 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
37884 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
37885 s,@SET_MAKE@,$SET_MAKE,;t t
37886 s,@MAKE_SET@,$MAKE_SET,;t t
37887 s,@ac_ct_AR@,$ac_ct_AR,;t t
37888 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37890 s,@ac_ct_NM@,$ac_ct_NM,;t t
37891 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
37892 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
37893 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
37894 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
37895 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
37896 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
37897 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
37898 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
37899 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
37900 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
37901 s,@LIBPREFIX@,$LIBPREFIX,;t t
37902 s,@DLLPREFIX@,$DLLPREFIX,;t t
37903 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
37904 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
37905 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
37906 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
37907 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
37908 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
37909 s,@PIC_FLAG@,$PIC_FLAG,;t t
37910 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
37911 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
37912 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
37913 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
37914 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
37915 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
37916 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
37917 s,@GCC_PCH@,$GCC_PCH,;t t
37918 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
37919 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
37920 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
37921 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
37922 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
37923 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
37924 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
37925 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
37926 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
37927 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
37928 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
37929 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
37930 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
37931 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
37932 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
37933 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
37934 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
37935 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
37936 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
37937 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
37938 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
37939 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
37940 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
37941 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
37942 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
37943 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
37944 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
37945 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
37946 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
37947 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
37948 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
37949 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
37950 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
37951 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
37952 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
37953 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
37954 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
37955 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
37956 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
37957 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
37958 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
37959 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
37960 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
37961 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
37962 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
37963 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
37964 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
37965 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
37966 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
37967 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37968 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37969 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37970 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
37971 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
37972 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
37973 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
37974 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
37975 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
37976 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
37977 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
37978 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
37979 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
37980 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
37981 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
37982 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
37983 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
37984 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
37985 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
37986 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
37987 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
37988 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
37989 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
37990 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
37991 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
37992 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
37993 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
37994 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
37995 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
37996 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
37997 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
37998 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
37999 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
38000 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
38001 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
38002 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
38003 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
38004 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
38005 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
38006 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
38007 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
38008 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
38009 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
38010 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
38011 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
38012 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
38013 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
38014 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
38015 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
38016 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
38017 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
38018 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
38019 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
38020 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
38021 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
38022 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
38023 s,@PATH_IFS@,$PATH_IFS,;t t
38024 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
38025 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
38026 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
38027 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
38028 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
38029 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
38030 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
38031 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
38032 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
38033 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
38034 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
38035 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
38036 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
38037 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
38038 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
38039 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
38040 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
38041 s,@WX_ALL@,$WX_ALL,;t t
38042 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
38043 s,@SHARED_LD@,$SHARED_LD,;t t
38044 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
38045 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
38046 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
38047 s,@USE_GUI@,$USE_GUI,;t t
38048 s,@AFMINSTALL@,$AFMINSTALL,;t t
38049 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
38050 s,@TOOLKIT@,$TOOLKIT,;t t
38051 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
38052 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
38053 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
38054 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
38055 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
38056 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
38057 s,@cross_compiling@,$cross_compiling,;t t
38058 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
38059 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
38060 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
38061 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
38062 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
38063 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
38064 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
38065 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
38066 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
38067 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
38068 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
38069 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
38070 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
38071 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
38072 s,@GUIDIST@,$GUIDIST,;t t
38073 s,@PORT_FILES@,$PORT_FILES,;t t
38074 s,@DISTDIR@,$DISTDIR,;t t
38075 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
38076 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
38077 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
38078 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
38079 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
38080 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
38081 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
38082 s,@RESFLAGS@,$RESFLAGS,;t t
38083 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
38084 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
38085 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
38086 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
38087 s,@MACRESCOMP@,$MACRESCOMP,;t t
38088 s,@MACSETFILE@,$MACSETFILE,;t t
38089 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
38091 s,@DLLTOOL@,$DLLTOOL,;t t
38094 s,@MAKEINFO@,$MAKEINFO,;t t
38095 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
38096 s,@LIBOBJS@,$LIBOBJS,;t t
38097 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
38102 cat >>$CONFIG_STATUS <<\_ACEOF
38103 # Split the substitutions into bite-sized pieces for seds with
38104 # small command number limits, like on Digital OSF/1 and HP-UX.
38105 ac_max_sed_lines
=48
38106 ac_sed_frag
=1 # Number of current file.
38107 ac_beg
=1 # First line for current file.
38108 ac_end
=$ac_max_sed_lines # Line after last line for current file.
38111 while $ac_more_lines; do
38112 if test $ac_beg -gt 1; then
38113 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
38115 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
38117 if test ! -s $tmp/subs.frag
; then
38118 ac_more_lines
=false
38120 # The purpose of the label and of the branching condition is to
38121 # speed up the sed processing (if there are no `@' at all, there
38122 # is no need to browse any of the substitutions).
38123 # These are the two extra sed commands mentioned above.
38125 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
38126 if test -z "$ac_sed_cmds"; then
38127 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
38129 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
38131 ac_sed_frag
=`expr $ac_sed_frag + 1`
38133 ac_end
=`expr $ac_end + $ac_max_sed_lines`
38136 if test -z "$ac_sed_cmds"; then
38139 fi # test -n "$CONFIG_FILES"
38142 cat >>$CONFIG_STATUS <<\_ACEOF
38143 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
38144 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38146 - | *:- | *:-:* ) # input from stdin
38148 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38149 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38150 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38151 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38152 * ) ac_file_in
=$ac_file.
in ;;
38155 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
38156 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
38157 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38158 X"$ac_file" : 'X\(//\)[^/]' \| \
38159 X"$ac_file" : 'X\(//\)$' \| \
38160 X"$ac_file" : 'X\(/\)' \| \
38161 . : '\(.\)' 2>/dev/null ||
38163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38165 /^X\(\/\/\)$/{ s//\1/; q; }
38166 /^X\(\/\).*/{ s//\1/; q; }
38168 { if $as_mkdir_p; then
38173 while test ! -d "$as_dir"; do
38174 as_dirs
="$as_dir $as_dirs"
38175 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38177 X"$as_dir" : 'X\(//\)[^/]' \| \
38178 X"$as_dir" : 'X\(//\)$' \| \
38179 X"$as_dir" : 'X\(/\)' \| \
38180 . : '\(.\)' 2>/dev/null ||
38182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38183 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38184 /^X\(\/\/\)$/{ s//\1/; q; }
38185 /^X\(\/\).*/{ s//\1/; q; }
38188 test ! -n "$as_dirs" || mkdir $as_dirs
38189 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38190 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38191 { (exit 1); exit 1; }; }; }
38195 if test "$ac_dir" != .
; then
38196 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38197 # A "../" for each directory in $ac_dir_suffix.
38198 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38200 ac_dir_suffix
= ac_top_builddir
=
38204 .
) # No --srcdir option. We are building in place.
38206 if test -z "$ac_top_builddir"; then
38209 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38211 [\\/]* | ?
:[\\/]* ) # Absolute path.
38212 ac_srcdir
=$srcdir$ac_dir_suffix;
38213 ac_top_srcdir
=$srcdir ;;
38214 *) # Relative path.
38215 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38216 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38218 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38220 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38221 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38222 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38223 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38227 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
38228 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
38231 if test x
"$ac_file" != x
-; then
38232 { echo "$as_me:$LINENO: creating $ac_file" >&5
38233 echo "$as_me: creating $ac_file" >&6;}
38236 # Let's still pretend it is `configure' which instantiates (i.e., don't
38237 # use $as_me), people would be surprised to read:
38238 # /* config.h. Generated by config.status. */
38239 if test x
"$ac_file" = x
-; then
38242 configure_input
="$ac_file. "
38244 configure_input
=$configure_input"Generated from `echo $ac_file_in |
38245 sed 's,.*/,,'` by configure."
38247 # First look for the input files in the build tree, otherwise in the
38249 ac_file_inputs
=`IFS=:
38250 for f in $ac_file_in; do
38252 -) echo $tmp/stdin ;;
38254 # Absolute (can't be DOS-style, as IFS=:)
38255 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38256 echo "$as_me: error: cannot find input file: $f" >&2;}
38257 { (exit 1); exit 1; }; }
38260 if test -f "$f"; then
38263 elif test -f "$srcdir/$f"; then
38268 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38269 echo "$as_me: error: cannot find input file: $f" >&2;}
38270 { (exit 1); exit 1; }; }
38273 done` || { (exit 1); exit 1; }
38275 cat >>$CONFIG_STATUS <<_ACEOF
38279 cat >>$CONFIG_STATUS <<\_ACEOF
38281 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
38282 s
,@configure_input@
,$configure_input,;t t
38283 s
,@srcdir@
,$ac_srcdir,;t t
38284 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
38285 s
,@top_srcdir@
,$ac_top_srcdir,;t t
38286 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
38287 s
,@builddir@
,$ac_builddir,;t t
38288 s
,@abs_builddir@
,$ac_abs_builddir,;t t
38289 s
,@top_builddir@
,$ac_top_builddir,;t t
38290 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
38291 s
,@INSTALL@
,$ac_INSTALL,;t t
38292 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
38294 if test x"$ac_file" != x-; then
38295 mv $tmp/out $ac_file
38303 cat >>$CONFIG_STATUS <<\_ACEOF
38306 # CONFIG_HEADER section.
38309 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
38310 # NAME is the cpp macro being defined and VALUE is the value it is being given.
38312 # ac_d sets the value in "#define NAME VALUE" lines.
38313 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
38314 ac_dB
='[ ].*$,\1#\2'
38317 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
38318 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
38319 ac_uB
='$,\1#\2define\3'
38323 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
38324 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38326 - | *:- | *:-:* ) # input from stdin
38328 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38329 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38330 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38331 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
38332 * ) ac_file_in
=$ac_file.
in ;;
38335 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
38336 echo "$as_me: creating $ac_file" >&6;}
38338 # First look for the input files in the build tree, otherwise in the
38340 ac_file_inputs
=`IFS=:
38341 for f in $ac_file_in; do
38343 -) echo $tmp/stdin ;;
38345 # Absolute (can't be DOS-style, as IFS=:)
38346 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38347 echo "$as_me: error: cannot find input file: $f" >&2;}
38348 { (exit 1); exit 1; }; }
38351 if test -f "$f"; then
38354 elif test -f "$srcdir/$f"; then
38359 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38360 echo "$as_me: error: cannot find input file: $f" >&2;}
38361 { (exit 1); exit 1; }; }
38364 done` || { (exit 1); exit 1; }
38365 # Remove the trailing spaces.
38366 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
38370 # Transform confdefs.h into two sed scripts, `conftest.defines' and
38371 # `conftest.undefs', that substitutes the proper values into
38372 # config.h.in to produce config.h. The first handles `#define'
38373 # templates, and the second `#undef' templates.
38374 # And first: Protect against being on the right side of a sed subst in
38375 # config.status. Protect against being in an unquoted here document
38376 # in config.status.
38377 rm -f conftest.defines conftest.undefs
38378 # Using a here document instead of a string reduces the quoting nightmare.
38379 # Putting comments in sed scripts is not portable.
38381 # `end' is used to avoid that the second main sed command (meant for
38382 # 0-ary CPP macros) applies to n-ary macro definitions.
38383 # See the Autoconf documentation for `clear'.
38384 cat >confdef2sed.
sed <<\_ACEOF
38389 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
38391 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
38394 # If some macros were called several times there might be several times
38395 # the same #defines, which is useless. Nevertheless, we may not want to
38396 # sort them, since we want the *last* AC-DEFINE to be honored.
38397 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
38398 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
38399 rm -f confdef2sed.sed
38401 # This sed command replaces #undef with comments. This is necessary, for
38402 # example, in the case of _POSIX_SOURCE, which is predefined and required
38403 # on some systems where configure will not decide to define it.
38404 cat >>conftest.undefs <<\_ACEOF
38405 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
38408 # Break up conftest.defines because some shells have a limit on the size
38409 # of here documents, and old seds have small limits too (100 cmds).
38410 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
38411 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
38412 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
38413 echo ' :' >>$CONFIG_STATUS
38414 rm -f conftest.tail
38415 while grep . conftest.defines >/dev/null
38417 # Write a limited-size here document to $tmp/defines.sed.
38418 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
38419 # Speed up: don't consider the non `#define' lines.
38420 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
38421 # Work around the forget-to-reset-the-flag bug.
38422 echo 't clr' >>$CONFIG_STATUS
38423 echo ': clr' >>$CONFIG_STATUS
38424 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
38426 sed -f $tmp/defines.sed $tmp/in >$tmp/out
38428 mv $tmp/out $tmp/in
38430 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
38431 rm -f conftest.defines
38432 mv conftest.
tail conftest.defines
38434 rm -f conftest.defines
38435 echo ' fi # grep' >>$CONFIG_STATUS
38436 echo >>$CONFIG_STATUS
38438 # Break up conftest.undefs because some shells have a limit on the size
38439 # of here documents, and old seds have small limits too (100 cmds).
38440 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38441 rm -f conftest.
tail
38442 while grep . conftest.undefs
>/dev
/null
38444 # Write a limited-size here document to $tmp/undefs.sed.
38445 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38446 # Speed up: don't consider the non
`#undef'
38447 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38448 # Work around the forget-to-reset-the-flag bug.
38449 echo 't clr' >>$CONFIG_STATUS
38450 echo ': clr' >>$CONFIG_STATUS
38451 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38453 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38455 mv $tmp/out $tmp/in
38457 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38458 rm -f conftest.undefs
38459 mv conftest.tail conftest.undefs
38461 rm -f conftest.undefs
38463 cat >>$CONFIG_STATUS <<\_ACEOF
38464 # Let's still pretend it is `configure
' which instantiates (i.e., don't
38465 # use $as_me), people would be surprised to read:
38466 # /* config.h. Generated by config.status. */
38467 if test x
"$ac_file" = x
-; then
38468 echo "/* Generated by configure. */" >$tmp/config.h
38470 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38472 cat $tmp/in >>$tmp/config.h
38474 if test x
"$ac_file" != x
-; then
38475 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
38476 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38477 echo "$as_me: $ac_file is unchanged" >&6;}
38479 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
38480 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38481 X"$ac_file" : 'X\(//\)[^/]' \| \
38482 X"$ac_file" : 'X\(//\)$' \| \
38483 X"$ac_file" : 'X\(/\)' \| \
38484 . : '\(.\)' 2>/dev/null ||
38486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38488 /^X\(\/\/\)$/{ s//\1/; q; }
38489 /^X\(\/\).*/{ s//\1/; q; }
38491 { if $as_mkdir_p; then
38496 while test ! -d "$as_dir"; do
38497 as_dirs
="$as_dir $as_dirs"
38498 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38499 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38500 X"$as_dir" : 'X\(//\)[^/]' \| \
38501 X"$as_dir" : 'X\(//\)$' \| \
38502 X"$as_dir" : 'X\(/\)' \| \
38503 . : '\(.\)' 2>/dev/null ||
38505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38507 /^X\(\/\/\)$/{ s//\1/; q; }
38508 /^X\(\/\).*/{ s//\1/; q; }
38511 test ! -n "$as_dirs" || mkdir $as_dirs
38512 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38513 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38514 { (exit 1); exit 1; }; }; }
38517 mv $tmp/config.h
$ac_file
38521 rm -f $tmp/config.h
38525 cat >>$CONFIG_STATUS <<\_ACEOF
38528 # CONFIG_COMMANDS section.
38530 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
38531 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
38532 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
38533 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
38534 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38535 X"$ac_dest" : 'X\(//\)[^/]' \| \
38536 X"$ac_dest" : 'X\(//\)$' \| \
38537 X"$ac_dest" : 'X\(/\)' \| \
38538 . : '\(.\)' 2>/dev/null ||
38540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38542 /^X\(\/\/\)$/{ s//\1/; q; }
38543 /^X\(\/\).*/{ s//\1/; q; }
38547 if test "$ac_dir" != .
; then
38548 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38549 # A "../" for each directory in $ac_dir_suffix.
38550 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38552 ac_dir_suffix
= ac_top_builddir
=
38556 .
) # No --srcdir option. We are building in place.
38558 if test -z "$ac_top_builddir"; then
38561 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38563 [\\/]* | ?
:[\\/]* ) # Absolute path.
38564 ac_srcdir
=$srcdir$ac_dir_suffix;
38565 ac_top_srcdir
=$srcdir ;;
38566 *) # Relative path.
38567 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38568 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38570 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38572 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38573 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38574 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38575 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38578 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
38579 echo "$as_me: executing $ac_dest commands" >&6;}
38582 if test ! -h wx
-config; then
38584 mv wx
-config wx
${TOOLCHAIN_NAME}-config
38585 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
38588 if test ! -d lib
; then
38591 if test ! -d lib
/wx
; then
38594 if test ! -d lib
/wx
/include
; then
38595 mkdir lib
/wx
/include
38597 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
38598 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
38600 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
38601 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
38603 if test -f setup.h
; then
38604 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
38611 cat >>$CONFIG_STATUS <<\_ACEOF
38613 { (exit 0); exit 0; }
38615 chmod +x
$CONFIG_STATUS
38616 ac_clean_files
=$ac_clean_files_save
38619 # configure is writing to config.log, and then calls config.status.
38620 # config.status does its own redirection, appending to config.log.
38621 # Unfortunately, on DOS this fails, as config.log is still kept open
38622 # by configure, so config.status won't be able to write to it; its
38623 # output is simply discarded. So we exec the FD to /dev/null,
38624 # effectively closing config.log, so it can be properly (re)opened and
38625 # appended to by config.status. When coming back to configure, we
38626 # need to make the FD available again.
38627 if test "$no_create" != yes; then
38629 ac_config_status_args
=
38630 test "$silent" = yes &&
38631 ac_config_status_args
="$ac_config_status_args --quiet"
38633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
38635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38636 # would make configure fail if this is the last instruction.
38637 $ac_cs_success || { (exit 1); exit 1; }
38641 # CONFIG_SUBDIRS section.
38643 if test "$no_recursion" != yes; then
38645 # Remove --cache-file and --srcdir arguments so they do not pile up.
38646 ac_sub_configure_args
=
38648 for ac_arg
in $ac_configure_args; do
38649 if test -n "$ac_prev"; then
38654 -cache-file | --cache-file | --cache-fil | --cache-fi \
38655 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38656 ac_prev
=cache_file
;;
38657 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38658 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38661 --config-cache | -C)
38663 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38665 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38667 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38669 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38671 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
38675 # Always prepend --prefix to ensure using the same prefix
38676 # in subdir configurations.
38677 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
38680 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
38682 # Do not complain, so a configure script can configure whichever
38683 # parts of a large source tree are present.
38684 test -d $srcdir/$ac_dir || continue
38686 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
38687 echo "$as_me: configuring in $ac_dir" >&6;}
38688 { if $as_mkdir_p; then
38693 while test ! -d "$as_dir"; do
38694 as_dirs
="$as_dir $as_dirs"
38695 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
38696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38697 X"$as_dir" : 'X\(//\)[^/]' \| \
38698 X"$as_dir" : 'X\(//\)$' \| \
38699 X"$as_dir" : 'X\(/\)' \| \
38700 . : '\(.\)' 2>/dev/null ||
38702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38704 /^X\(\/\/\)$/{ s//\1/; q; }
38705 /^X\(\/\).*/{ s//\1/; q; }
38708 test ! -n "$as_dirs" || mkdir $as_dirs
38709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38711 { (exit 1); exit 1; }; }; }
38715 if test "$ac_dir" != .
; then
38716 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38717 # A "../" for each directory in $ac_dir_suffix.
38718 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38720 ac_dir_suffix
= ac_top_builddir
=
38724 .
) # No --srcdir option. We are building in place.
38726 if test -z "$ac_top_builddir"; then
38729 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
38731 [\\/]* | ?
:[\\/]* ) # Absolute path.
38732 ac_srcdir
=$srcdir$ac_dir_suffix;
38733 ac_top_srcdir
=$srcdir ;;
38734 *) # Relative path.
38735 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
38736 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
38738 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38740 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
38741 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38742 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38743 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38748 # Check for guested configure; otherwise get Cygnus style configure.
38749 if test -f $ac_srcdir/configure.gnu
; then
38750 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
38751 elif test -f $ac_srcdir/configure
; then
38752 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
38753 elif test -f $ac_srcdir/configure.
in; then
38754 ac_sub_configure
=$ac_configure
38756 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38757 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38761 # The recursion is here.
38762 if test -n "$ac_sub_configure"; then
38763 # Make the cache file name correct relative to the subdirectory.
38764 case $cache_file in
38765 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
38766 *) # Relative path.
38767 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
38770 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38771 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38772 # The eval makes quoting arguments work.
38773 eval $ac_sub_configure $ac_sub_configure_args \
38774 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
38775 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38776 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38777 { (exit 1); exit 1; }; }
38786 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
38788 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
38789 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
38791 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
38792 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
38793 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
38795 echo " What level of wxWindows compatibility should be enabled?"
38796 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
38797 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
38799 echo " Which libraries should wxWindows use?"
38800 echo " jpeg ${wxUSE_LIBJPEG-none}"
38801 echo " png ${wxUSE_LIBPNG-none}"
38802 echo " regex ${wxUSE_REGEX}"
38803 echo " tiff ${wxUSE_LIBTIFF-none}"
38804 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
38805 echo " xpm ${wxUSE_LIBXPM-none}"
38807 echo " zlib ${wxUSE_ZLIB}"
38808 echo " odbc ${wxUSE_ODBC}"
38809 echo " expat ${wxUSE_EXPAT}"
38810 echo " libmspack ${wxUSE_LIBMSPACK}"
38811 echo " sdl ${wxUSE_LIBSDL}"